FEA-Bench / testbed /deepset-ai__haystack /releasenotes /notes /add-streaming-callback-run-param-to-hf-generators-5ebde8fad75cb49f.yaml
hc99's picture
Add files using upload-large-folder tool
ce676f7 verified
raw
history blame
238 Bytes
---
enhancements:
- |
Add `streaming_callback` run parameter to `HuggingFaceAPIGenerator` and `HuggingFaceLocalGenerator` to allow users to pass a callback function that will be called after each chunk of the response is generated.