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
237 stars 121 forks source link

employee-info.csv not package in container when deployed to Azure Container Apps #184

Closed JasonHaley closed 7 months ago

JasonHaley commented 7 months ago

When I do the standard azd up, the deployment of the search container app does not include the employee-info.csv file in the docker container.

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

azd auth login azd up

go to static web app select the "Ask a question" tab enter the question "I am Employee1, what insurance do I have?" click the light bulb button to see the "Though Process"

Any log messages given by the failure

[chain/start] [1:chain:AgentExecutor] Entering chain

[agent/action] [1:chain:AgentExecutor] Agent selected action: Action: { "action": "Employee", "action_input": "Employee1" }

[tool/error] Tool error: "Failed to load CSV file /app/packages/search/data/employee-info.csv: ENOENT: no such file or directory, open '/app/packages/search/data/employee-info.csv'"

Expected/desired behavior

Application returns the Employee1 information from the csv file

JasonHaley commented 7 months ago

This can be closed, it was fixed this week.