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

feat: Part 3 - Introduce Vector Store Manager and Vector Store Class #633

Merged
merged 14 commits into from
Oct 21, 2024

Conversation

ishaansehgal99
Copy link
Collaborator

Reason for Change:
This series of PR will integrate llamaindex RAG service for Kaito.

This PR introduces the main logic for indexing, querying, adding and listing documents.faiss_store.py is the most important file.

faiss_store.py introduces the code to perform RAG operations, including persisting and loading DB from disk incase it is needed. PR also includes tests for faiss_store.py in test_faiss_store.py. conftest.py is a test configuration file, in it we ensure the tests run synchronously and CPU only.

manager.py is a light abstraction around the API (main.py) which will be introduced in subsequent PRs.

Co-authored-by: jerryzhuang <zhuangqhc@gmail.com>
Signed-off-by: Ishaan Sehgal <ishaanforthewin@gmail.com>
Signed-off-by: Ishaan Sehgal <ishaanforthewin@gmail.com>
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.45%. Comparing base (5c30038) to head (457c8ec).
Report is 38 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #633      +/-   ##
==========================================
- Coverage   58.18%   54.45%   -3.74%     
==========================================
  Files          30       34       +4     
  Lines        2987     3928     +941     
==========================================
+ Hits         1738     2139     +401     
- Misses       1149     1683     +534     
- Partials      100      106       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ishaansehgal99 ishaansehgal99 merged commit 941170b into main Oct 21, 2024
6 of 8 checks passed
@ishaansehgal99 ishaansehgal99 deleted the Ishaan/RAG-Part-3-vector-stores branch October 21, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants