fix: Update CI tests for new unified examples interface

- Rename test_main_cli.py to test_document_rag.py
- Update all references from main_cli_example.py to document_rag.py
- Update tests/README.md documentation

The tests now properly test the new unified interface while maintaining
the same test coverage and functionality.
This commit is contained in:
Andy Lee
2025-07-28 23:16:51 -07:00
parent 46f6f76fc3
commit 4e3bcda5fa
2 changed files with 12 additions and 12 deletions

View File

@@ -18,8 +18,8 @@ Basic functionality tests that verify:
- Basic index building and searching works for both HNSW and DiskANN backends
- Uses parametrized tests to test both backends
### `test_main_cli.py`
Tests the main CLI example functionality:
### `test_document_rag.py`
Tests the document RAG example functionality (formerly main_cli_example):
- Tests with facebook/contriever embeddings
- Tests with OpenAI embeddings (if API key is available)
- Tests error handling with invalid parameters