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] Citation Highlight feature rarely works under small LLMs #541

Open
Yanjieij opened this issue Dec 2, 2024 · 0 comments
Open

[BUG] Citation Highlight feature rarely works under small LLMs #541

Yanjieij opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Yanjieij
Copy link

Yanjieij commented Dec 2, 2024

Description

The LLM I use is Llama3.1-8B running on Ollama.

All functions running smoothly but the citation highlight. For most of the time, there is no green high light in my Information Panel, but rarely it works properly (less than once in ten times).

Then I check the log, found that even when the CitationPipeline returns "evidences" in json, the subsequent output could still be "Got 0 cited docs".

I have no idea about this, maybe the text matching rules are too strict? Or the prompts of CitationPipeline is too hard to understand, so the small-scale LLMs cannot give the correct output in evidences json?

BTW, under my conditions, the new "inline" feature could work, but always with only one citation and a very short answer.

Thanks for your helping.

highlight

Reproduction steps

1. Set the options correctly: Citation style->highlight on.
2. Conduct the QA.

Screenshots

highlight

Logs

CitationPipeline: invoking LLM
CitationPipeline: finish invoking LLM
CitationPipeline: {"evidences":["...(Omit Here)"]}
Got 0 cited docs

Browsers

Chrome

OS

Linux

@Yanjieij Yanjieij added the bug Something isn't working label Dec 2, 2024
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

1 participant