Open hardikshah9678 opened 11 months ago
Please help.
Hi @hardikshah9678, I believe there is an issue with your environment variables. Can you verify that your AZURE_SEARCH_KEY is set and using the Primary admin key of your Azure Search Resource? I would also verify that the AZURE_SEARCH_SERVICE and AZURE_SEARCH_INDEX is correct. Also, can you confirm that the chat experience works as intended in the Azure OpenAI Studio?
I have this same issue, but I am trying to deploy the app and search service in Azure Government. I have modified the code to use the relevant .us search endpoints instead of .com.
The app works fine as a chatbot when I run it without the AZURE_SEARCH_KEY, AZURE_SEARCH_SERVICE and AZURE_SEARCH_INDEX variables set, but when I put in the service, key and index vars for my Gov instance of search, the app fails saying the same error message: "Invalid AzureCognitiveSearch configuration detected: Azure Cognitive Search url fails to resolve."
Is there an easy way to drop some debugging into the code to see the actual URL that this is trying to reach? I have a suspicion that it's not hitting the correct endpoint for Gov.
I have this same issue, but I am trying to deploy the app and search service in Azure Government. I have modified the code to use the relevant .us search endpoints instead of .com.
The app works fine as a chatbot when I run it without the AZURE_SEARCH_KEY, AZURE_SEARCH_SERVICE and AZURE_SEARCH_INDEX variables set, but when I put in the service, key and index vars for my Gov instance of search, the app fails saying the same error message: "Invalid AzureCognitiveSearch configuration detected: Azure Cognitive Search url fails to resolve."
Is there an easy way to drop some debugging into the code to see the actual URL that this is trying to reach? I have a suspicion that it's not hitting the correct endpoint for Gov.
Just writing to state I'm working through similar issue as well as seen in #317
Hello Team, I have followed the documentation and created the resources. I am using bring your own data model. I have also deployed the web app. Now when enter a question, it gives me error of "Invalid AzureCognitiveSearch configuration detected: Azure Cognitive Search url fails to resolve."
am i missing any configurations?