I’m performing one operation using PDF Rag search, and in that I have added configuration of AzureOpenAI to read the PDF file for the user query.
Then I have created agent and tasks to perform the operations, but when I’m kicking off the crew, it is giving me the error as below:
this is happenning to me as well. there is an issue when using crewai with azure openai endpoint due to crewai using litellm
CrewAI is using LiteLLM internally to make API calls
When we pass our model name gpt-4o_2024-08-06, LiteLLM doesn’t know which provider (Azure) to use…
@bigilad As @olaservo mentioned above, make sure to set the LLM provider before configuring the LLM. For Azure OpenAI, use azure/<your deployment name>. See the official LiteLLM docs on Azure OpenAI.
If you’re unsure how to do this for a specific LLM provider, refer to the LiteLLM Providers page for guidance.
azure is letting me define DEPLOYMENT_NAME and if , as i did define it, without crewai it will work with its full name, but when using crewai with litellm than