-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(core): Add gen_ai.conversation.id attribute to OpenAI and LangGr… #18703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): Add gen_ai.conversation.id attribute to OpenAI and LangGr… #18703
Conversation
size-limit report 📦
|
node-overhead report 🧳Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
|
nicohrubec
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Just some minor comments
nicohrubec
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! lgtm
This PR adds support for capturing conversation/session identifiers in AI integrations to enable linking messages across API calls.
Changes
OpenAI
conversations.create)gen_ai.conversation.idfrom:conversationparameter inresponses.createprevious_response_idparameter for response chainingconversations.createLangGraph
gen_ai.conversation.idfromconfig.configurable.thread_idwhen invoking agentsCloses #18702