Azure OpenAI API not supported for embeddings
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Linux X64 6.8.0
- Continue: 0.8.40
- IDE: 1.90.1
Description
Currently, the OpenAIEmbeddingProvider does not support Azure OpenAI Endpoints.
To reproduce
- Open the configuration file.
- Add the Azure OpenAI Endpoint to the configuration.
- Attempt to update the vector database.
- Observe the following error message:
Error updating the vectordb::text-embedding-3-large index: Error: {"error":{"code":"404","message": "Resource not found"}}
Log output
Error updating the vectordb::text-embedding-3-large index: Error: {"error":{"code":"404","message": "Resource not found"}}
I see this issue was fixed in #1517, nevertheless I still see an error message in the config.json because azure is not allowed as per config_schema.json.
I have installed continue via IntelliJ Marketplace. I am on the latest version 0.0.75
The config reference is also not showing that azure is allowed: https://docs.continue.dev/customize/config.
I'm also encountering this issue. The Azure tutorial (shown below) in the docs does not work and swapping the provider to OpenAI as a hail-mary does not work. "embeddingsProvider": [{
"provider": "azure",
"model": "text-embedding-3-large",
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
"engine": "<YOUR_ENGINE>",
"apiVersion": "<YOUR_API_VERSION>",
"apiType": "azure",
"apiKey": "<MY_API_KEY>"
}]