deepset-ai / haystack

:mag: 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
16.94k stars 1.85k forks source link

chore: deprecate `to_openai_format` and create similar utility functions #8146

Closed anakin87 closed 1 month ago

anakin87 commented 1 month ago

Related Issues

Proposed Changes:

How did you test it?

CI, new tests

Notes for the reviewer

I'm introducing some duplication, but it might make sense, considering how different formats can evolve.

Checklist

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 10200746237

Details


Files with Coverage Reduction New Missed Lines %
components/generators/chat/hugging_face_api.py 2 97.75%
components/generators/openai.py 3 96.43%
components/generators/chat/openai.py 9 79.28%
<!-- Total: 14 -->
Totals Coverage Status
Change from base Build 10200239554: 0.02%
Covered Lines: 6880
Relevant Lines: 7635

💛 - Coveralls