Cherche

Latest version: v2.2.1

Safety actively analyzes 638396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

1.0.0

What's Changed

Here is an essential update for Cherche! 🥳

- Added compatibility with two new open-source retrievers: Meilisearch and TypeSense.
- Compatibility with the Milvus index to use the `retriever.Encoder` and `retriever.DPR` models on massive corpora.
- Compatibility with the Milvus index to store ranker embeddings in a database rather than in memory.
- Progress bar when pre-computing embeddings by Encoder, DPR retrievers and Encoder, DPR rankers.
- The path parameter is no longer used.
- All pipelines (voting, intersection, concatenation) produce a similarity score. To do so, the pipeline object applies a softmax to normalize the scores, thus allowing us to "compare" the scores of two distinct models.
- Integration of collaborative filtering models via adding a Recommend retriever and a Recommend ranker (indexation via Faiss and compatible with Milvus) to consider users' preferences in the search.

Cherche is now fully compatible with large-scale corpora and deeply integrates collaborative filtering. Updates retains the previous API and is compatible with previous versions.

0.1.0

Added compatibility with the ONNX environment and quantization to significantly speed up sentence transformers and question answering models. 🏎

It is now possible to choose the type of index for the Encoder and DPR retrievers in order to process the largest corpora while using the GPU.

0.0.9

Voting operator dedicated to retrievers and rankers.

0.0.8

Avoid checking similarities in TF-IDF retrievers while filtering documents.

0.0.7

- Significant improvement in the speed of the TF-IDF retriever using sparse CSC matrix.
- The setup.py file loads the readme file as UTF-8.

0.0.6

- Update documentation
- Update retriever Encoder and DPR, path is optionnal
- Add deployment documentation
- Update similarity type
- Avoid round similarity

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.