Azure-Samples / azure-search-openai-demo-csharp

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
MIT License
615 stars 403 forks source link

Long time no output to run "azd up" in section "Deployment" on local environment #230

Open jianingwang123 opened 11 months ago

jianingwang123 commented 11 months ago

Describe the issue: Long time(>30min) no output while running azd up according to the section "Deployment" of README.md. This is shown as following: image

Environment:

Repro Steps: 1.Run azd auth login 2.Run azd init -t azure-search-openai-demo-csharp 3.Run azd up

Expected behavior: Run command azd up successfully.

@charris-msft to notification.

luisquintanilla commented 9 months ago

This issue needs further validation. From the app perspective, there's not much we can do to control what azd does.

v-jiaodi commented 9 months ago

@luisquintanilla We have some suggestions for this issue.

  1. Running "PrepareDocs.dll" takes too long, could you please optimize it. If it is not possible to shorten the time, it is recommended to add some user-friendly explanations. eg: Write-Host 'Running "PrepareDocs.dll". This will take a long time (>30min)'

  2. It is recommended to add some info before Get-Location | Select-Object -ExpandProperty Path to avoid long runs that may cause users to think that the program is blocking. eg: Current path: xxx.