-
Notifications
You must be signed in to change notification settings - Fork 841
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
Added support for mongoDB KV store #543
base: main
Are you sure you want to change the base?
Conversation
collection_name: str = "llamastack_kvstore" | ||
|
||
@classmethod | ||
def sample_run_config(cls, collection_name: str = "llamastack_kvstore"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should also add a **kwargs
parameter to sample run config (since the distro_codegen.py
script invokes it with a "distro" parameter)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks cool. I have a minor comment inline. Are you able to add some tests? I believe we have some KVStore related tests...
Added the support for mongoDB as KV store
validated in mongodb, it is able to store agent data, session data and turn data
this is how run.yaml would look: