This repository contains an auto-generated Langfuse API client for Java based on our API specification. See the Langfuse API reference for more details on the available endpoints.
Add the langfuse-java API clien 6CE4 t as a dependency using
<dependency>
<groupId>com.langfuse</groupId>
<artifactId>langfuse-java</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
to fetch our GitHub package.
- Ensure that langfuse-java is placed in the same directory as the main langfuse repository.
- Setup a new Java fern generator using
- name: fernapi/fern-java-sdk version: 2.20.1 output: location: local-file-system path: ../../../../langfuse-java/src/main/java/com/langfuse/
- Generate the new client code using
npx fern-api generate --api server
. - Commit the changes in langfuse-java and push them to the repository.