Hi
Thank you for your continued efforts on this project. I’ve encountered an issue while using the following code:
|
client = instructor.from_openai(OpenAI()) |
|
client = instructor.from_openai(AsyncOpenAI()) |
It seems that the OpenAI() initialization is missing some necessary configurations, such as the API key and endpoint settings. Without these configurations, it doesn't seem to function as expected.
Additionally, I would like to suggest making it compatible with Azure OpenAI as well. This would broaden the utility of the library for those using Azure's services.
Could you please confirm if the OpenAI() configuration needs to include these parameters, and if there's a possibility to support Azure OpenAI in the future?
Thank you for considering this, and I appreciate your hard work!
Hi
Thank you for your continued efforts on this project. I’ve encountered an issue while using the following code:
deepeval/deepeval/models/gpt_model_schematic.py
Line 114 in dd64174
deepeval/deepeval/models/gpt_model_schematic.py
Line 132 in dd64174
It seems that the OpenAI() initialization is missing some necessary configurations, such as the API key and endpoint settings. Without these configurations, it doesn't seem to function as expected.
Additionally, I would like to suggest making it compatible with Azure OpenAI as well. This would broaden the utility of the library for those using Azure's services.
Could you please confirm if the OpenAI() configuration needs to include these parameters, and if there's a possibility to support Azure OpenAI in the future?
Thank you for considering this, and I appreciate your hard work!