serverless-chat-langchainjs icon indicating copy to clipboard operation
serverless-chat-langchainjs copied to clipboard

info2.txt is missing

Open diberry opened this issue 1 year ago • 1 comments
trafficstars

Please provide us with the following information:

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

  1. azd up
  2. use chat
  3. select how to search and book rentals
  4. Wait for answer and suggestions
  5. from suggestions, select how can I cancel a rental booking
  6. from answer, select citiation for info2.txt
  7. {"error":"Document not found"}

Any log messages given by the failure

Expected/desired behavior

Citation goes to text.

OS and Version?

Windows 11

Versions

Mention any other details that might be useful

image image

Thanks! We'll be in touch soon.

diberry avatar Apr 27 '24 18:04 diberry

This document doesn't exists, this is an error from the generated models. I'm currently investigating why the GPT3.5 seems to perform worse than what it used to do, error like these were almost non-existant. Maybe default parameters in Langchain have been updated.

sinedied avatar Apr 29 '24 10:04 sinedied

The prompt was updated, and model was upgraded to gpt-4-turbo. I've yet to see this error again for now on the deployed version, so I'm closing this one for now.

sinedied avatar May 06 '24 16:05 sinedied