Getting Cosmos DB error while evaluating python-based RAG chat app using prompt flow SDK

Gaurav Rawal 20 Reputation points Microsoft Employee
2024-11-08T10:00:23.29+00:00

Hi,

I am following this https://learn.microsoft.com/en-us/azure/ai-studio/tutorials/copilot-sdk-evaluate-deploy link and trying to evaluate my RAG based chat app.

At the evaluation step, I am getting the below error:


The workspace Cosmos DB is not initialized yet, will start initialization, which may take some minutes...

[2024-11-08 15:15:07 +0530][promptflow.azure._restclient.flow_service_caller][INFO] - start polling until Cosmos DB setup finished...

waiting for Cosmos DB setup ready, current status: Failed
.......
promptflow.azure._restclient.flow_service_caller.FlowRequestException: Cosmos DB setup failed for 'sustainability-copilot', status: Failed.

Request id: 8507923c-7bf7-4d1d-90a8-e8fa872e29ad.

{

"status": "Failed",

"error": {

**"code": "DeploymentFailed",**

**"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details."**

}


Has anyone faced this issue while RAG implementation?

Thanks.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,681 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,929 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.