Pamela Fox
Pamela Fox
The error "No module named 'main'" generally means that the App Service does not have your application code (it cannot find main.py, which should be in the backend folder that...
These docs describe how to update the index: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/data_ingestion.md For dynamic updating, I recommend using the Integrated Vectorizer approach, which will soon be enabled in this repo. See https://github.com/Azure-Samples/azure-search-openai-demo/pull/1159 That...
Azure OpenAI deployment quotas are per region/model. Please check to see what your Quotas are for the region where you're deployment, in Azure OpenAI studio, and then reduce the quotas...
Did you set up the endpoints yourself or did you deploy the private endpoints pull request? You may want to check https://github.com/Azure-Samples/azure-search-openai-demo/pull/864 to see if you did anything differently than...
We have now merged full support for private endpoints. See deployment guide here: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_private.md For prepdocs, we recommend first running it with private access disabled, then re-running it once the...
Are you referring to this preview version for OpenAI? https://github.com/Azure-Samples/azure-search-openai-demo/blob/5e9d142e50a624cd70e42c4c654097e2fb646d36/app/backend/app.py#L298 We are using "2023-07-01-preview" in order to use function_call support. There is actually a more recent version of the API...
I just tested, and the current version of the app requires more recent versions of the SDK, as we use the "tools" functionality of the API. If you use the...
This is where we specify tools: https://github.com/Azure-Samples/azure-search-openai-demo/blob/d23c7cca71799ef8535389e8033a7a8f2cb09cdb/app/backend/approaches/chatreadretrieveread.py#L128 You would need to remove tools and then change get_search_query to be simpler, as you wouldn't need to parse the full tools response....
I'm going to close this issue since I think I answered your questions. Open a new issue if you have others, thanks!
Have you looked through the suggestions in the related threads? https://github.com/Azure-Samples/azure-search-openai-demo/issues/343 It's generally a Python environment issue, and there are some links/ideas there. If all else fails, you could use...