weaviate / Verba

Retrieval Augmented Generation (RAG) chatbot powered by Weaviate
BSD 3-Clause "New" or "Revised" License
6.09k stars 651 forks source link

Azure Open AI - Resource Not Found and Chunk Mismatch #186

Closed Tansif closed 4 weeks ago

Tansif commented 4 months ago

I am trying to integrate Azure Open AI and using these below environment variables for the verba and weaviate but getting 404 error: Resource not found. Also in UI: Embedding not successful: Chunk mismatch for 51** 0 != 14 ,

verba: environment:

thomashacker commented 4 months ago

Thanks for the issue! Did you install Verba from source?

schoi80 commented 4 months ago

I can confirm the same issue on my end. This what I see in the log image

Tansif commented 4 months ago

Thanks for the issue! Did you install Verba from source?

I am using Docker for the deployment.

thomashacker commented 4 months ago

Thanks for the info! There seems to be an issue with the azure implementation, we're looking into it

liqingqing562 commented 3 months ago

Has the problem been solved? @Tansif I had the same problem,Below is a screenshot of my journal

dial tcp: lookup https on xx.xx.xx.xx:53: no such host'}]}, 'status': 'FAILED'}

Tansif commented 3 months ago

Has the problem been solved? @Tansif

I had the same problem,Below is a screenshot of my journal dial tcp: lookup https on xx.xx.xx.xx:53: no such host'}]}, 'status': 'FAILED'}

not yet @liqingqing562

DWDNZ001 commented 3 months ago

Hi, looks like its calling the old Azure Open AI API's api-version=2022-12-01, could be due to using the retired version of of the OpenAI Python package which is hardset in the setup.py. Not a big jump to port to the new package.

Current == openai 1.34.0 Verba == openai-0.27.9

Heres the error I was getting "https://XXXXXXXXXXXXXX-XXXXXX-XXX/openai/deployments/text-embedding-ada-002/embeddings?_api-version=2022-12-01": dial tcp: lookup XXXXXXXXXXXXXX-XXXXXX-XXX.openai.azure.com on 127.0.0.53:53: no such host'}]}, 'status': 'FAILED'}

https://learn.microsoft.com/en-us/azure/ai-services/openai/reference

2023-03-15-preview (retiring July 1, 2024) Swagger spec 2023-05-15 Swagger spec 2023-06-01-preview Swagger spec 2023-07-01-preview (retiring July 1, 2024) Swagger spec 2023-08-01-preview (retiring July 1, 2024) Swagger spec 2023-09-01-preview (retiring July 1, 2024) Swagger spec 2023-10-01-preview Swagger spec 2023-12-01-preview (retiring July 1, 2024) Swagger spec 2024-02-15-previewSwagger spec 2024-03-01-preview Swagger spec 2024-04-01-preview Swagger spec 2024-05-01-preview Swagger spec 2024-02-01 Swagger spec