forked from danny-avila/rag_api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀 feat: Add Atlas MongoDB as an option for Vector Store (danny-avila#21)
* Initial commit that starts the FastAPI without failure with MongoDB instead of pgvector * Expanded AtlasMongoVector Class definition to be compatible with PGVector code; working pass the /query langchain portion * Add a processing step to remove MongoDB ObjectID (_id) since it is not iterable by jsonable_encoder * implement GET /ids API for MongoDB * Fix the GET /documents query parameter * Get /documents?ids implementation for MongoDB-Altas (initial commit: not complete) * GET /documents?ids=xxx now returns metadata properly * custom_id->file_id: this is a bug even for pgvector * Implement DELETE /documents API * reorganization environment variables * restore all original code logic for pgvector * Update README.md: Add Atlas MongoDB section * Update README.md: further atlas mongo documentation * Update README.md: add VECTOR_DB_TYPE doc
- Loading branch information
1 parent
c2dda20
commit ad107dc
Showing
7 changed files
with
201 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.