Azure-Samples / azure-search-openai-javascript

A TypeScript sample app for the Retrieval Augmented Generation pattern running on Azure, using Azure AI Search for retrieval and Azure OpenAI and LangChain large language models (LLMs) to power ChatGPT-style and Q&A experiences.
MIT License
252 stars 130 forks source link

Unable to successfully load data when running "azd up" #120

Closed NanaXiong00 closed 1 year ago

NanaXiong00 commented 1 year ago

Describe the issue: Run azd up, the data could not be loaded successfully. The details are as follows:

image image image

Environment:

Repro Steps:

  1. Run azd auth login
  2. Run azd init -t azure-search-openai-javascript
  3. Run azd up

Expected behavior Running azd up can add data and the web page will respond correctly, such as the following.

image

image

@charris-msft for notification.

NanaXiong00 commented 1 year ago

@sinedied, Tested with the latest code following Repro Steps above, we found an new error when run azd up locally. Please help resolve. The details are as follows:

image

azd version:

sinedied commented 1 year ago

Thanks @NanaXiong00 for the update. I've reopened the issue to investigate this

sinedied commented 1 year ago

Could you test if the change in this PR solves the issue for you? https://github.com/Azure-Samples/azure-search-openai-javascript/pull/139 I was able to test it in Codespaces, but I don't have a Windows environment at hand to see if something works differently there. Thank you

NanaXiong00 commented 1 year ago

Could you test if the change in this PR solves the issue for you? #139 I was able to test it in Codespaces, but I don't have a Windows environment at hand to see if something works differently there. Thank you

@sinedied Based on this pr, the local test was successful in the windows environment. 🎉