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

[Bug]: doc_aggs are sometimes empty even though resources are provided in API response /v1/api/completion #2459

Open
1 task done
Defozo opened this issue Sep 17, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Defozo
Copy link
Contributor

Defozo commented Sep 17, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch name

v0.10.0

Commit ID

e18f407

Other environment information

AWS EC2 r7i.xlarge, Ubuntu

Actual behavior

I received response from /v1/api/completion that had empty doc_aggs even though the chatbot referenced an article and reference and the chunks were provided. This resulted in no links to documents when the message was displayed on the frontend in the chat.

Expected behavior

I believe doc_aggs should always be populated when the chatbot references anything.

Steps to reproduce

I'm not sure.

Additional information

The answer was based on an image from a pdf file.

@Defozo Defozo added the bug Something isn't working label Sep 17, 2024
@jackerha123
Copy link

jackerha123 commented Sep 17, 2024

I am experiencing the same issue with V0.11.0. No matter what the question is, the reference is empy.
Screenshot 2024-09-17 at 08 56 27

@KevinHuSh
Copy link
Collaborator

I am experiencing the same issue with V0.11.0. No matter what the question is, the reference is empy. Screenshot 2024-09-17 at 08 56 27

The prompt says there is nothing retrievaled.

@jacker000
Copy link

I am experiencing the same issue with V0.11.0. No matter what the question is, the reference is empy. Screenshot 2024-09-17 at 08 56 27

The prompt says there is nothing retrievaled.

image
image
I have configured it correctly. With version V0.9.0, it still runs and has data. However, after upgrading to V0.11.0, it encounters an error.

@KevinHuSh
Copy link
Collaborator

It seems nothing retrieved. What about runing a retrieval test on the page of knowledge base detail?

@jacker000
Copy link

Running Retrieval testing on the Knowledge Base still doesn't return any data.

@KevinHuSh
Copy link
Collaborator

Running Retrieval testing on the Knowledge Base still doesn't return any data.

What is your query, and what's the content you want to retrieve by this query?

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

4 participants