Skip to content

feat(kitchen-sink): persist conversation ids and feedback#229

Open
gabrielelpidio wants to merge 4 commits intomainfrom
gabriel/add-conversation-id-examples
Open

feat(kitchen-sink): persist conversation ids and feedback#229
gabrielelpidio wants to merge 4 commits intomainfrom
gabriel/add-conversation-id-examples

Conversation

@gabrielelpidio
Copy link
Collaborator

Summary

Adds persistent conversation ID support to the kitchen-sink support agent example to enable multi-turn conversation correlation in traces and feedback.

Changes

  • Pass from the UI through the API to support agent spans
  • Update capability helpers to accept
  • Store on feedback links for trace correlation

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 5, 2026

Open in StackBlitz

npm i https://pkg.pr.new/axiomhq/ai/axiom@229

commit: c0dc545

gabrielelpidio and others added 4 commits February 5, 2026 20:28
…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>
…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>
@gabrielelpidio gabrielelpidio force-pushed the gabriel/add-conversation-id-examples branch from bbfa8d6 to c0dc545 Compare February 6, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant