deepset-ai / haystack

AI orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.
https://haystack.deepset.ai
Apache License 2.0
17.72k stars 1.92k forks source link

added `precision` parameter to sentence transformers embeddings #8179

Closed nickprock closed 3 months ago

nickprock commented 3 months ago

Related Issues

Proposed Changes:

Added precision parameter to SentenceTransformersEmbedder

How did you test it?

unit tests

Notes for the reviewer

@anakin87 please check if it's what you expect.

Checklist

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 10316796911

Details


Files with Coverage Reduction New Missed Lines %
components/embedders/sentence_transformers_document_embedder.py 2 96.55%
components/embedders/sentence_transformers_text_embedder.py 2 96.0%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 10301663157: 0.003%
Covered Lines: 6917
Relevant Lines: 7671

💛 - Coveralls