Add TTL to runs stored in conversational memory #1527
igor-2lemetry
started this conversation in
Ideas
Replies: 1 comment
-
@igor-2lemetry I think this is best suited for the database to handle, what do you think? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
It would be great to exclude from prompt stack too old runs.
Describe the solution you'd like
Possible it should be done by adding ttl attribute in ConversationMemory and some timestamp for each run.
Describe alternatives you've considered
Alternatives are: pruning by max_runs or tokens_left.
Additional context
No additional context.
Beta Was this translation helpful? Give feedback.
All reactions