haystack/releasenotes/notes/add-timeout-and-max-retries-to-dict-openai-c9ad3661609ba339.yaml

6 lines
252 B
YAML
Raw Permalink Normal View History

---
fixes:
- |
Add the init parameters timeout and max_retries to the to_dict methods of OpenAITextEmbedder and OpenAIDocumentEmbedder.
This ensures that these values are properly serialized when using the to_dict method of these components.