sdk-python
sdk-python copied to clipboard
[FEATURE] Add durable identifiers to messages
SDK Language
Python
Problem Statement
Message extraction by MemoryStores currently needs its own deduping solution with identifiers, because messages do not carry their own durable ids. The only tracking we can currently provide is in-session hwm sequence numbers, which don't scale beyond a session. This poses problems for session restore.
Proposed Solution
Add durable IDs to each message
Use Case
MemoryStores can use these durable IDs together with a SessionID to identify uniqueness and take care of deduplication.
Alternatives Solutions
No response
Additional Context
No response