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

Reference X not showing up when X>=2, in web app #1072

Open
3 tasks
cherifbenham opened this issue Jun 21, 2024 · 4 comments
Open
3 tasks

Reference X not showing up when X>=2, in web app #1072

cherifbenham opened this issue Jun 21, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cherifbenham
Copy link

Describe the bug

The answer object sometimes does not display all the used sources (clickable) to generate the answers.

Expected behavior

The answer should contain all the references of the retrieved sources - see screenshot below

How does this bug make you feel?


Debugging information

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

image

Logs

If applicable, add logs to help the engineer debug the problem.


Tasks

To be filled in by the engineer picking up the issue

  • Task 1
  • Task 2
  • ...
@cherifbenham cherifbenham added the bug Something isn't working label Jun 21, 2024
@adamdougal
Copy link
Collaborator

Heya @cherifbenham, I'm not sure I understand the issue. From the screenshot, it looks like it's retrieved all of the data from one reference correctly. Could you explain a bit more? Thanks

@cherifbenham
Copy link
Author

cherifbenham commented Jul 3, 2024

Thanks @adamdougal Adam for your reactivity

The issue is that the generated answer mentions specifically 2 source documents dt-1075 and dt-3567 but only 1 source URL is displayed dt-1075
Does it make more sense?

@adamdougal
Copy link
Collaborator

Gotcha! That's an odd one. Can you see the reference documents being returned in the logs of the backend application? Are they both there? It could be that the OpenAI System prompt needs tweaking.

@Roopan-Microsoft
Copy link
Contributor

Hey @cherifbenham - Could you please re-test this and let us know if the issue persists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants