Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TTL to runs stored in conversational memory #644

Open
1 task done
igor-2lemetry opened this issue Feb 13, 2024 · 0 comments
Open
1 task done

Add TTL to runs stored in conversational memory #644

igor-2lemetry opened this issue Feb 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@igor-2lemetry
Copy link
Contributor

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.

@igor-2lemetry igor-2lemetry added the enhancement New feature or request label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant