Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(agents-api): Fix search embeddings query to avoid snippets with e…
…mbedding == null (#662) Signed-off-by: Diwank Singh Tomer <[email protected]> <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds conditions in `search_docs_by_embedding.py` to exclude null embeddings, ensuring only valid embeddings are processed. > > - **Behavior**: > - In `search_docs_by_embedding` in `search_docs_by_embedding.py`, added conditions to exclude snippets with `embedding == null`. > - Ensures only valid embeddings are processed in the search query. > - **Misc**: > - Added `candidate` clause in `search_docs_by_text.py` for consistency. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup> for 7decd8a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Signed-off-by: Diwank Singh Tomer <[email protected]>
- Loading branch information