Langfuse

L

Langfuse

Langfuse is the open source LLM Engineering Platform. This is our Community Discord.

Join

support

self-host-support

get-support

feedback

feature-suggestion

self-host-discussion

announcements-releases

Exports of generations when self-hosting

Hi đź‘‹ I wanted to play with Langfuse and took the deploy to railway route (since it was super easy to play with Langfuse). On the generations page when I select "Export selection --> As OpenAI JSONL (Fine-tuning)" it doesnt do anything and I dont see an error in the browser console. The export as CSV and JSON work correctly but not the JSONL.

Python: get_trace & get_observation

Hey everyone! Is there any plan to add get_trace and get_observation to the python SDK?

python sdk: observations n same trace

Hey, I try to have one trace for all my endpoints without succeed example of my code ...

delete traces

Hey guys, I have a seemingly very simple problem but I'm stumped: How can I delete traces from langfuse?

Hiya, I'm using the langchain

Hiya, I'm using the langchain OpenAiEmbeddings I want to track the calls to this using langfuse but I'm not sure whether this is supported/how to inject the CallbackHandler. Cheers

Flowise Integration - Langfuse

I'm trying to integrate Langfuse with Flowise to get information from different users. I'm using the code: import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"...

Auth error

Hey, I created a new API key today, but no matter what I do, Langfuse keeps telling me it's invalid. According to the LS console everything seems in order. All I did was try to follow the "getting started" page first steps: ```...

JS SDK (Bundling)

Hey guys, just started tinkering with langfuse, loving the idea! I have a quick question, I am using LangchainJS on my node backend, and typescript is complaining about the CallbackHandler type ``` Type  CallbackHandler  is not assignable to type BaseCallbackHandler | BaseCallbackHandlerMethodsClass...

Langchain Python AzureOpenAi

trying to get langfuse to work using the first step of https://langfuse.com/docs/integrations/langchain/python I am using AzureOpenAI as llm. The problem is that I dont get the generation as last step and also this output. Ive tried to setup a generation manually and it worked but not with the CallbackHandler...
No description

Datasets

Hi, I'm experiencing some issues trying to create a Dataset, My code is very simple and taken from the docs: ```import os import openai from dotenv import load_dotenv...

Extended scores

Hey, thanks for building this tool. This looks great. - I was wondering what would be best way to get track score from multiple users. Say i want to have two human rate a completion - How would we separate machine and human feedback? Should each score have a source type...

Hey Guys,

Hey Guys, I'm just testing out your new LCEL Support and I'm super happy with it! One question though: when comparing the traces the new LCEL chain has a lot more with some generic names (runnable Sequence is all over the place) so its much harder identifiying each processing block. Is there a way to set customized labels to the generated spans or to controll which elements (spans, etc) are captured?...

Delete traces

Currently not possible via UI/SDK, what's the use case?

Openai integration, support for userId

i see. yep, i can work on this tomorrow

LangChain Expression Language (LCEL) | ...

Hi, langchain has the new recommended way to execute chains instead of using LLMChains: https://python.langchain.com/docs/expression_language is it possible to integrate langfuse to this? ...

Oauth 2.0 API protection

Hi, we wanted to use langfuse in a project where operations wants to install langfuse server with Oauth 2.0. Is it possible to add extra security via Oauth in the python SDK. Basically we would need to add the access token somehow to the HTTP auth header. It might be a bit related to this topic: https://github.com/langfuse/langfuse-python/pull/114 But we wanto to add Authorization header. Thanks!...

Experimentation (releases & versions) - ...

Version and release are two different things in Langfuse, more details here: https://langfuse.com/docs/experimentation Let me know if you have any questions...

Langchain handler with multiple spans as parent elements

I end up with a trace like this ``` TRACE (id: trace_id) |-- GENERATION: OpenAI (id: generated by Langfuse)...

JS/TS Langchain SDK - Langfuse

Hey there, Im using the JS/Lanchain version of the library and hitting a few road bumps > https://langfuse.com/docs/integrations/langchain/typescript#create-a-simple-llm-call-using-langchain docs dont 100% lineup with what langchain is expecting w.g. new LLMChain is expecting 1 object but the docs have 2. There is a callback function inside of that object but when I add it I get `Type 'CallbackHandler' is missing the following properties from type 'BaseCallbackHandler': lc_serializable, awaitH...

Hi y all I m having trouble logging

Hi y'all, I'm having trouble logging score with the python sdk. I have a minimal example I'll put in a thread here