https://github.com/kpavlov/langfuse-jvm
JVM clients for LangFuse
https://github.com/kpavlov/langfuse-jvm
http-client langfuse spring
Last synced: about 1 month ago
JSON representation
JVM clients for LangFuse
- Host: GitHub
- URL: https://github.com/kpavlov/langfuse-jvm
- Owner: kpavlov
- Created: 2024-11-03T18:06:57.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-11T19:17:53.000Z (about 2 months ago)
- Last Synced: 2025-04-15T09:50:16.984Z (about 2 months ago)
- Topics: http-client, langfuse, spring
- Language: Kotlin
- Homepage: https://kpavlov.github.io/langfuse-jvm/api
- Size: 125 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Langfuse-JVM πͺ’βοΈ
JVM clients for [Langfuse](https://api.reference.langfuse.com)
[](https://github.com/kpavlov/langfuse-jvm/actions/workflows/maven.yml)
[](https://app.codacy.com/gh/kpavlov/langfuse-jvm/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[](https://app.codacy.com/gh/kpavlov/langfuse-jvm/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)
[](https://kpavlov.github.io/langfuse-jvm/api/)
[](https://pinterest.github.io/ktlint/)# Overview
Project provides various JVM clients for Langfuse
Clients are generated from Langfuse [OpenAPI specification](https://api.reference.langfuse.com).
- [Spring Client](https://kpavlov.github.io/langfuse-jvm/api/root/me.kpavlov.langfuse.spring/-langfuse-client/) built on top of [Webclient](https://docs.spring.io/spring-framework/reference/web/webflux-webclient.html).
## How to run
Create `.env` file in root directory and add your API keys:
```dotenv
LANGFUSE_SECRET_KEY="sk-lf-..."
LANGFUSE_PUBLIC_KEY="pk-lf-..."
LANGFUSE_HOST="https://cloud.langfuse.com" # πͺπΊ EU region
# LANGFUSE_HOST="https://us.cloud.langfuse.com" # πΊπΈ US region
```Building project locally:
```shell
mvn clean verify
```or
```shell
make build
```