use azure OpenAI? #165
Replies: 3 comments
-
What exactly you want to integrate? You may quickly test Azure OpenAI model's functionality in a Studio UI, generate sample code there or re-use some samples from this page: https://learn.microsoft.com/en-us/azure/ai-services/openai/quickstart?tabs=command-line&pivots=programming-language-python |
Beta Was this translation helpful? Give feedback.
-
I was wondering if restarting this discussion was preferred over starting a new one. I have a similar query. I want to change the default LLM API call from OpenAI to use my Endpoints with Azure OpenAI Models I have. This is primarily due to my token rate limit and RPM/RPD with Azure being much higher than with OpenAI. I was looking through the code but could not find the exact file where the Agent ChatCompletion objects were created. |
Beta Was this translation helpful? Give feedback.
-
This is implemented. In your .env file, you need to add the keys as described in https://github.com/assafelovic/gpt-researcher/blob/master/docs/docs/gpt-researcher/llms.md Or for more detailed understanding go to the source: https://github.com/assafelovic/gpt-researcher/blob/master/gpt_researcher/llm_provider/azureopenai/azureopenai.py |
Beta Was this translation helpful? Give feedback.
-
I only have azure OpenAI, so how do I integrate azure OpenAI quickly?
Beta Was this translation helpful? Give feedback.
All reactions