Notebooks use PGVector, not FAISS - #43
Conversation
PR Summary by QodoSwitch notebooks vector store from FAISS to remote PGVector
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
Context used 1.
|
Jdubrick
left a comment
There was a problem hiding this comment.
Do we want to force the usage of pgvector for all uses of Lightspeed or do we just want this to go on the rolling demo / dev environment for now? I ask because if we change it in the config.yaml instead of in the https://github.com/redhat-ai-dev/lightspeed-configs/blob/main/.github/workflows/sync-gitops.yml workflow then these changes are going to be required in the Operator, Helm and Local environments too. If we just want it on the cluster environment then we just have to update the sync to the environment, if we want it on all we can keep it in the config file but will need to have a discussion about the new requirement for a pgvector db on every install/deployment
|
FAISS will still be used for lightspeed queries, pgvector will only be used for notebooks. What we can do for now is I can modify the sync-gitops.yml, test the changes on rolling-demo environment, and after confirming it working, can update the lightspeed-configs. |
5606a99 to
31a67d0
Compare
@JslYoon if we are using pgvector for notebooks and want that to extend to prod deployments we should just use pgvector for everything tbh and recommend no FAISS, possibly a parking lot topic today to discuss further? Since using pgvector in our actual product will introduce another container to manage |
There was a problem hiding this comment.
Change looks good, I think this part: https://github.com/redhat-ai-dev/lightspeed-configs/blob/main/llama-stack-configs/config.yaml#L135-L137 is going to remain though, can we strip it from the yaml in the bash function you're adding just to keep the config clean?
Signed-off-by: Lucas <lyoon@redhat.com>
31a67d0 to
31cb8f0
Compare
|
fixed! |
What does this PR do?:
migrating from FAISS to pgvectors on notebooks
Which issue(s) this PR fixes:
RHDHBUGS-3302
PR acceptance criteria:
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened and linked to this PR, if they are not in the PR scope due to various constraints.
Tested and Verified
Documentation (READMEs, Product Docs, Blogs, Education Modules, etc.)
How to test changes / Special notes to the reviewer: