Replies: 2 comments 2 replies
-
|
Hey @PandelisZ! I'm a bot here to help you out with any bugs, questions, or contributions. Let's tackle this together! 🤖 To ensure that your parent Langfuse span is correctly associated with a session, you need to make sure that the import { Langfuse } from "langfuse";
const langfuse = new Langfuse();
const trace = langfuse.trace({
sessionId: "your-session-id", // Ensure you include the sessionId here
...meta // Include any other metadata you need
});
return observeOpenAI(openaiClient, { parent: trace });By including the |
Beta Was this translation helpful? Give feedback.
-
|
does |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a parent langfuse span that i pass into a wrapped ChatGPT JS SDK
Beta Was this translation helpful? Give feedback.
All reactions