deploy of a prompt flow just reponse I dont Know

Caio Freire - Databasers 20 Reputation points
2025-03-20T20:05:09.2166667+00:00

I developed a prompt flow in Azure AI foundry which uses a Index on Azure AI Search.
in the portal i get the responses, but when i try to use the REST API, i only get the response:
"i dont know"

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,350 questions
0 comments No comments
{count} votes

Accepted answer
  1. kothapally Snigdha 3,020 Reputation points Microsoft External Staff Moderator
    2025-03-21T00:42:11.7+00:00

    Hi Caio Freire - Databasers

    The issue of receiving "I don't know" as a response when using the REST API for your prompt flow could be related to several factors. Here are some steps to follow.

    • Ensure that the endpoint identity has the necessary permissions to access the Azure AI Search index. If your flow contains an Index Look Up tool, the endpoint needs to access the workspace datastore to read the necessary files.
    • Check if the model used in your flow is powerful enough. If the model is not suitable for the queries being made, it might return a generic response. Consider using a more powerful model if available.
    • If the index query is not optimized, it may lead to poor performance or generic responses. Review the index and ensure that it is set up correctly to handle the queries you are sending.
    • If your flow has many steps or is overly complex, it might lead to delays or failures in processing the query. Simplifying the flow could help improve response accuracy.
    • Before deploying, ensure that you test the flow thoroughly in the Azure AI Foundry portal to confirm that it behaves as expected.
    • kindly refer these https://learn.microsoft.com/en-us/azure/machine-learning/prompt-flow/how-to-deploy-for-real-time-inference?view=azureml-api-2#troubleshoot-endpoints-deployed-from-prompt-flow

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

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.