Azure / Azure/azure-sdk-for-python
Python SDK has msgIDs that do not correlate with Cosmos thread storage
- Vorherrschende Sprache
- Python
- Sterne
- 5.6k
- Forks
- 3.4k
- Ø Merge
- 2 T.
- Gemergte PRs (30 T.)
- 217
Beschreibung
**Is your feature request related to a problem? Please describe.**
The customer is using BYO-thread storage on Cosmos. The thread-message-store contains all turns of the conversation. The threadID matches fine, but the id in Cosmos, which is similar to the msgID (ex. "ent_msg_TZwpfaXbb5A354JnBMt2vd3b") doesn't correlate to the msgID (ex. "msg_a4XYxSSKFTBqJJXiv2KC7U2V") we get back from the agent streaming SDK. This creates a barrier to using the data in the thread store. For instance, a user gives feedback, we can assign that to the msgID, but then we don't know which message it was associated with in thread-store.
**Describe the solution you'd like**
I would like to see the msgID from the agent SDK also recorded in the Cosmos thread store.
**Describe alternatives you've considered**
We can compare the text in the thread-store with text returned from the agent (within the correct threadID) and then build a lookup table between the IDs.
**Additional context**
I am a Microsoft employee in ISE if you need to reach me: pelasne.
Beitragsleitfaden
Rechercherichtung
Beginne damit nachzuverfolgen, wie das Python agent streaming SDK turns in den Cosmos thread-message-store schreibt und wie es msgID-Werte generiert. Bestätige, dass der gespeicherte Datensatz die SDK msgID neben dem bestehenden Cosmos identifier beibehalten kann, und überprüfe anschließend, dass feedback die gespeicherte Nachricht innerhalb eines threads zuordnen kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, python
- Bereich
- backend-api-design, databases
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100