mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-06-26 22:00:13 +00:00

* feat: be tolerant to exceptions if ever an error is raised by the OpenAI API, don't fail the entire processing * fix: missing import, string separator * Enhance error handling * Use batched from more_itertools for compatibility with older Python versions * Fix batching and add test --------- Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
6 lines
193 B
YAML
6 lines
193 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Change `OpenAIDocumentEmbedder` to keep running if a batch fails embedding.
|
|
Now OpenAI returns an error we log that error and keep processing following batches.
|