-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(docstore): remove DocumentStore alias and enhance test coverage
- Removed the `DocumentStore` alias for `ChromaDBDocStore` to streamline the codebase and avoid confusion. - Expanded the test suite in `test_docstore.py` to cover multiple document store implementations (`LanceDBDocStore`, `ChromaDBDocStore`, and `BM25DocStore`). - Introduced parameterized tests using Hypothesis to ensure robust testing across different document store types. - Simplified the `test_add_documents` function to focus on single document retrieval, improving test clarity and execution speed.
- Loading branch information
Showing
2 changed files
with
31 additions
and
22 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