Open rstropek opened 1 year ago
BTW - if I can help enhance the docs, please point me in the right direction. I would be happy to help.
Thank you for your feedback. This has been routed to the support team for assistance.
Adding service team to look into this.
Library name
Azure.AI.OpenAI
Please describe the feature.
When combining function calling with streaming, the behavior of OpenAI/this library is not apparent. Here is an example:
The output is:
In order to process a function call, one needs to "stitch together" the results. Otherwise, a caller never receives the function's name and arguments in a single response. I am aware that this library behavior reflects the OpenAI service's behavior. So it is not wrong. However, at least for me it was not clear from reading the docs.
It would be nice if the library would contain specific support for that scenario. If that is not possible, having a sample or a note in the docs would be helpful.