-
Notifications
You must be signed in to change notification settings - Fork 51
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
RAG Engine Enhancements #244
Conversation
…Ds. This change enhances the uniqueness of index names and document IDs by incorporating timestamps, improving test reliability and traceability. Additionally, update Qdrant engine to utilize a string-to-uint64 ID conversion for document indexing and retrieval, ensuring consistent ID handling across operations.
… integration tests. This update adds functionality to check for the existence of indexes and documents, improving the reliability of the RAG engine. Integration tests have been updated to validate these new methods, ensuring proper behavior before and after indexing operations.
This update introduces the GetMetadata method to the RAG engine, allowing retrieval of document metadata by its ID. The implementation includes error handling for non-existent documents and collections, as well as checks for nil context and closed engine states. Integration tests have been added to validate the GetMetadata functionality, ensuring it behaves correctly under various scenarios. This enhancement improves the metadata management capabilities of the RAG engine.
Thank you for the PR! The test workflow ( GO:1.23.0 DB:MySQL8.0 Redis:6 ) is running, the results of the run will be commented later. |
Thank you for the PR! The test workflow ( GO:1.23.0 DB:MySQL8.0 Redis:4 ) is running, the results of the run will be commented later. |
Thank you for the PR! The test workflow ( GO:1.23.0 DB:SQLite3 Redis:5 ) is running, the results of the run will be commented later. |
Thank you for the PR! The test workflow ( GO:1.23.0 DB:SQLite3 Redis:6 ) is running, the results of the run will be commented later. |
Thank you for the PR! The test workflow ( GO:1.23.0 DB:MySQL8.0 Redis:5 ) is running, the results of the run will be commented later. |
Thank you for the PR! The test workflow ( GO:1.23.0 DB:SQLite3 Redis:4 ) is running, the results of the run will be commented later. |
✨DONE✨ GO:1.23.0 DB:MySQL8.0 Redis:6 passed. |
✨DONE✨ GO:1.23.0 DB:SQLite3 Redis:6 passed. |
✨DONE✨ GO:1.23.0 DB:SQLite3 Redis:5 passed. |
✨DONE✨ GO:1.23.0 DB:MySQL8.0 Redis:4 passed. |
✨DONE✨ GO:1.23.0 DB:SQLite3 Redis:4 passed. |
✨DONE✨ GO:1.23.0 DB:MySQL8.0 Redis:5 passed. |
Changes
HasIndex()
: Check if an index existsHasDocument()
: Verify document existenceGetMetadata()
: Retrieve document metadata