feat(kitchen-sink): persist conversation ids and feedback#229
Open
gabrielelpidio wants to merge 4 commits intomainfrom
Open
feat(kitchen-sink): persist conversation ids and feedback#229gabrielelpidio wants to merge 4 commits intomainfrom
gabrielelpidio wants to merge 4 commits intomainfrom
Conversation
commit: |
…LITY_NAME constant - Add conversation persistence with localStorage via useConversations hook - Add conversation list/selector UI component - Pass conversationId to API and set as span attribute for telemetry - Export CAPABILITY_NAME constant and use it across all eval files Amp-Thread-ID: https://ampcode.com/threads/T-019c05e1-7db0-7084-a8e0-fa92e3e8d21d Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019c06fe-acb5-763e-a0a2-3b8e0c5799d3 Co-authored-by: Amp <amp@ampcode.com>
…aces - Pass conversationId from frontend through API to all support agent spans - Add gen_ai.conversation.id attribute to GenAI spans via withSpan - Include conversationId in FeedbackLinks for trace correlation - Update categorizeMessage and extractTicketInfo to accept conversationId - Follows OpenTelemetry GenAI semantic conventions Amp-Thread-ID: https://ampcode.com/threads/T-019c0b09-d2b6-71a9-8710-1361f8cfe781 Co-authored-by: Amp <amp@ampcode.com>
- Store traceId/spanId with each assistant message in localStorage - Use per-message links for sendFeedback instead of latest result - Add StoredMessage and FeedbackLinksData types to conversations.ts - Enables accurate feedback for any message in conversation history Amp-Thread-ID: https://ampcode.com/threads/T-019c0b09-d2b6-71a9-8710-1361f8cfe781 Co-authored-by: Amp <amp@ampcode.com>
bbfa8d6 to
c0dc545
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds persistent conversation ID support to the kitchen-sink support agent example to enable multi-turn conversation correlation in traces and feedback.
Changes