devflowinc / trieve

All-in-one infrastructure for search, recommendations, RAG, and analytics offered via API
https://dashboard.trieve.ai
Other
1.44k stars 123 forks source link

feature: return rag_query id for analytics on a response header #2474

Closed cdxker closed 3 days ago

cdxker commented 3 days ago

Description

Return TR-QueryID on /api/message as part of the streaming response. Where TR-QueryID refers to the QueryID that is being tracked in analytics.

Target(s)

server

Community channels

Matrix is preferred. Reach out on discord or Matrix for further assistance.