How to deploy chat prompt flow?

Ajay Rao 0 Reputation points
2024-03-02T02:44:30.8466667+00:00

Hi,

I have created a chat prompt flow using the Multi-Round Q&A on Your Data sample prompt flow. There are 3 vector index in the flow.

The flow works great in the test mode. However, when I deploy it as an endpoint, I am unable to consume the deployment. Can someone help me with this?

Thanks,

Ajay

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,332 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2024-03-02T04:31:40.45+00:00

    I can recommend some troubleshooting steps

    • Double-check the authentication keys or tokens you're using in requests to the endpoint.
    • Ensure that the environment variables required for your flow, such as PRT_CONFIG_OVERRIDE for pulling connections from the workspace, are correctly set and match your Azure resources​
    • Cross-Origin Resource Sharing (CORS) might be an issue if you're calling the endpoint from a web application. Configure CORS appropriately on your endpoint.

    Also if you have some error codes please include them so we can offer more specific recommendation


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.