Mircea Danila Dumitrescu

Results 3 issues of Mircea Danila Dumitrescu

When making hundreds of async calls to azure openai, sometimes the response is missing content. `{"finish_reason":"stop", ...}` This happens in `_create_chat_result()`. From here `_convert_dict_to_message()` is called and `_dict["content"]` is accessed....

To replicate: Make hundreds of simultaneous calls to AzureAI using gpt-3.5-turbo. I was using about 60 requests per minute. About once every 3 minute you get a response that is...

This is very useful when you parse millions of lines with the same format. There is no need to resolve patterns all the time. Also, reformatted things a bit and...