-
Notifications
You must be signed in to change notification settings - Fork 103
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
Semantic cache for InMemory Vector store #218
Conversation
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.
@LakshmiPeri23
Thanks for submitting this change. Should this be part of caches
module, rather than root?
I saw even tn elangchain code cache is in root and not moved to a seperate module so left the same format. |
i will work on addressing remaining feedback and submit the changes |
Let's add it inside the cache module. We can add an export inside the root, so users can import from root. |
Added cache.py which provide Semantic Caching functionality to store question and answers in MemoryDB. Inlucded an example SemanticCache.ipynb jupyter notebook for test