Namelesschz
Namelesschz
Hi Steffen, If don't use spring AI or langchain4j. Can langfuse monitor normal Springboot project. like I use simple api call to LLM. how the langfuse monitor this model. Do...
@Steffen911 sure. ``` public static void main(String[] args) { OpenAIClient client = OpenAIOkHttpClient.builder() .apiKey(System.getenv("DASHSCOPE_API_KEY")) .baseUrl("https://dashscope.aliyuncs.com/compatible-mode/v1") .build(); ChatCompletionCreateParams params = ChatCompletionCreateParams.builder() .addUserMessage("who are your") .model("qwen-plus") .build(); ChatCompletion chatCompletion = client.chat().completions().create(params); System.out.println(chatCompletion.choices().get(0).message().content().orElse("not...