Core retrieval features#2
Merged
Merged
Conversation
- Updated `.env.example` to include new environment variables for embedding backends (OpenAI and local options). - Modified `pyproject.toml` description to reflect optional OpenAI/local embeddings. - Expanded `README.md` to clarify the architecture and embedding backend options. - Introduced `metadata` field in the `chunks` table for enhanced filtering capabilities. - Added `eval_recall.py` script for testing retrieval accuracy with metadata filters. - Implemented pluggable embedding backends in `embedding_backend.py` to support demo, OpenAI, and local embeddings. - Enhanced API to accept `metadata_filter` in retrieval requests and updated related tests. This commit improves the overall flexibility and usability of the RAG retrieval system, allowing for more robust embedding options and metadata handling.
- Updated project version in `pyproject.toml` to 1.2.0. - Updated `openapi.json` to reflect the new version. - Bumped versions of several dependencies in `uv.lock`, including `markdown-it-py`, `pip`, `pydantic`, and `pydantic-core` to their latest releases. This commit prepares the project for the next release and ensures compatibility with updated dependencies.
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft pull request: merge
feature/core-retrieval-featuresintomain.Made with Cursor