Hi Working on Azure AI project,
It seems like the error message you are facing indicates that the model text-embedding-ada-002 is not recognized.
This could be due to a few reasons:
The model's name text-embedding-ada-002 might not be available or supported in your current environment, this could happen due to Azure OpenAI resource is not deployed in your model or not available, if it is not deployed you need to deploy them, and also if you are using OpenAI’s API, make sure your API key is valid and has access to embedding models, and also check you are using correct API versions when you are making request to Azure OpenAI service.
Check the environment variable EMBEDDINGS_MODEL is correctly set to text-embedding-ada-002. If it is not correct or is set to an incorrect value, this may know as unknown model error, and also you can try another embedding model (like text-embedding-3-small or a newer available option).
Check if the model is available in the region where your Azure OpenAI resource is deployed. if not, the model may be not accessible to specific region
https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/legacy-models#embedding-models
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/create-resource?pivots=web-portal
If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.
Let me know if you have any further Queries.