RAGatouille icon indicating copy to clipboard operation
RAGatouille copied to clipboard

return data for contextual highlight as on https://colbert.aiserv.cloud/ ?

Open happy15 opened this issue 1 year ago • 3 comments

Hi, the search response contains content, score rank, document_id which are already very useful.

Is there any way to also include data for contextual highlight as on https://colbert.aiserv.cloud/ ?

Thanks.

happy15 avatar Feb 04 '24 04:02 happy15

Hey!

This is also probably related to https://github.com/bclavie/RAGatouille/pull/80

Adding the per-token score to the response would be a bit noisy so it'd have to be gated between a False-by-default flag, but I think it could be done with a special flag if there's interest!

bclavie avatar Feb 04 '24 12:02 bclavie

Totally agree on False by default.

Looking forward to the progress.

Thanks for the reply.

happy15 avatar Feb 05 '24 06:02 happy15

Hi, I'm interested in this feature as well. Will it be supported anytime soon?

Im intending to look at this in my spare time, is there any pointer on how this might be implemented?

Many thanks!

ABCbum avatar Feb 28 '24 19:02 ABCbum