Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy csv file over to search container #186

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Conversation

JasonHaley
Copy link
Contributor

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

@anfibiacreativa anfibiacreativa self-assigned this Feb 26, 2024
@anfibiacreativa anfibiacreativa self-requested a review February 26, 2024 13:50
@anfibiacreativa anfibiacreativa added the needs-triage Issues to be triaged by maintainers label Feb 26, 2024
@sinedied
Copy link
Contributor

Thanks for the catch!

@sinedied sinedied merged commit 655c7da into Azure-Samples:main Feb 26, 2024
6 checks passed
@anfibiacreativa anfibiacreativa added backend Backend features or code and removed needs-triage Issues to be triaged by maintainers labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend features or code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants