-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: add history persistence component #354
base: main
Are you sure you want to change the base?
Conversation
Trivy scanning results. |
Code Coverage Summary
Diff against main
Results for commit: 1073314 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
packages/ragbits-conversations/src/ragbits/conversations/history/models.py
Outdated
Show resolved
Hide resolved
packages/ragbits-conversations/src/ragbits/conversations/history/store.py
Outdated
Show resolved
Hide resolved
packages/ragbits-conversations/src/ragbits/conversations/history/store.py
Outdated
Show resolved
Hide resolved
from ragbits.core.utils.config_handling import ConfigurableComponent | ||
|
||
|
||
class BaseHistoryStore(ConfigurableComponent, ABC): |
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.
ConfigurableComponent
requires a couple of static properties to be set on the base class: options_cls
, default_module
, configuration_key
- see other ConfigurableComponent
s for examples.
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.
thanks, fixed :)
packages/ragbits-conversations/src/ragbits/conversations/history/stores/sql.py
Outdated
Show resolved
Hide resolved
packages/ragbits-conversations/src/ragbits/conversations/history/stores/sql.py
Outdated
Show resolved
Hide resolved
packages/ragbits-conversations/src/ragbits/conversations/history/stores/sql.py
Outdated
Show resolved
Hide resolved
packages/ragbits-conversations/src/ragbits/conversations/history/stores/sql.py
Outdated
Show resolved
Hide resolved
packages/ragbits-conversations/src/ragbits/conversations/history/stores/sql.py
Outdated
Show resolved
Hide resolved
how do I create the tables for the chat history? i don't see any interface for this |
No description provided.