• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

deepset-ai / haystack-experimental / 10462886883

19 Aug 2024 12:16PM UTC coverage: 92.948% (+1.2%) from 91.754%
10462886883

push

github

web-flow
feat: support for tools in `OpenAIChatGenerator` (#57)

* first draft

* progress

* serde

* serde

* progress + tests

* header

* unused imports

* lazyimport

* toolinvocationerror

* linting

* draft

* progress

* more tests

* more tests

* inherit from haystack

* rm _check_finish_reason (inherited)

* rename internal methods

* better chatmessages conversion to openai format

* simplify logic

* wip

* handle invalid JSON strings

* better warning and more tests

* rm match from tests

* make method internal

* test type

* simplify openai conversion

* from_dict full

432 of 435 new or added lines in 3 files covered. (99.31%)

2702 of 2907 relevant lines covered (92.95%)

0.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

97.73
/haystack_experimental/components/generators/chat/openai.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc