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
555 stars 346 forks source link

Fails to run the command according to the section "Running locally" #233

Open jianingwang123 opened 8 months ago

jianingwang123 commented 8 months ago

Describe the issue: When run the command dotnet run --project ./app/backend/MinimalApi.csproj --urls=http://localhost:7181/ according to the section "Running locally" of README.md , the terminal shows the error as follow. image image

Environment:

Repro Steps: 1.Run azd auth login 2.After the application deploys, set the environment variable AZURE_KEY_VAULT_ENDPOINT. 3.Run dotnet run --project ./app/backend/MinimalApi.csproj --urls=http://localhost:7181/.

Expected behavior: Run command dotnet run --project ./app/backend/MinimalApi.csproj --urls=http://localhost:7181/ successfully.

@charris-msft to notification.