-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Openai support in tool config #541
Comments
I am also having this issue, and have not yet found a resolution. |
I believe it is now working correctly for me. I had to do 2 things.
tool = PDFSearchTool(
embeddings = AzureOpenAIEmbeddings(deployment=self.config.deployment_name, api_key=api_key, base_url=api_base) |
This solution executes (the parameters are accepted) but it's not constructing a RAG DB for me. Weirdly, when I use the code with openAI (not AzureopenAI) it creates the Chroma DB as normal. Then, if I use my code as @DavidGayda outlines above with AzureOpenAI it adds the new text to that existing DB. |
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Hello, following up on this issue. Is there a fix available for using PDFSearchTool and Azure OpenAI? |
Same question, anyone figure out this? |
|
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
I have no idea what's to be done to get Azure OpenAI working. Not even the very basic initial program generated by crewai init works. LiteLLM mentions setting three env variables, they still don't work. I assume some people are able to do it as the above comments are already advanced, but apparently nobody left a written trace of the basics... |
default_llm = LLM( researcher = Agent( |
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Hello, I am trying out the PDFSearchTool with Azure OpenAI. I see
provider = azure_openai
is a valid option but I am unable to get it working.This is my current code:
Getting error:
Any kind of help will be much appreciated.
The text was updated successfully, but these errors were encountered: