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

deepset-ai / haystack / 9103206687
92%

Build:
DEFAULT BRANCH: main
Ran 15 May 2024 10:11PM UTC
Jobs 1
Files 159
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 May 2024 09:58PM UTC coverage: 90.585% (+0.03%) from 90.557%
9103206687

push

github

web-flow
feat: widen support of env vars in OpenAI components (#7653)

* add enviroment variables to the _enviroment.py file

* add support for two of the three variables

* Add support for 'OPENAI_TIMEOUT' and 'OPENAI_MAX_RETRIES' on OpenAIDocument Ebedder.

* Replicate support for env vars in OpenAITextEmbedder.

* Add support for env vars in OpenAIGenerator..

* Add support for env vars in OpenAIChatGenerator.

* add docstrings and reno

* add params to __init__ in OpenAIDocumentEmbedder

* add params to __init__ in OpenAITextEmbedder

* make fully functional implementation of env vars and unit tests

* update reno

* Update haystack/components/embedders/openai_text_embedder.py

* reverse changes to telemetry/_enviroment.py

* Update haystack/components/embedders/openai_text_embedder.py

---------

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>

6591 of 7276 relevant lines covered (90.59%)

0.91 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
84.21
0.0% telemetry/_environment.py
3
96.34
0.24% components/generators/openai.py
10
75.61
5.02% components/embedders/openai_text_embedder.py
14
79.1
1.69% components/embedders/openai_document_embedder.py
21
78.9
1.01% components/generators/chat/openai.py
Jobs
ID Job ID Ran Files Coverage
1 9103206687.1 15 May 2024 10:11PM UTC 159
90.59
GitHub Action Run
Source Files on build 9103206687
  • Tree
  • List 159
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9103206687
  • 686a4999 on github
  • Prev Build on main (#9101640205)
  • Next Build on main (#9116506765)
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