infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
19.86k stars 1.98k forks source link

How is the "!" preview function of ragflow implemented? I can't find the corresponding code. #2743

Open DAAworld opened 1 week ago

DAAworld commented 1 week ago

Discussed in https://github.com/orgs/infiniflow/discussions/2741

Originally posted by **DAAworld** October 8, 2024 ![image](https://github.com/user-attachments/assets/06439251-ceb5-40ac-8e9f-bc009cba6d5f) When answering questions, an “!” will be displayed on the message, and a preview of the source of the quote will appear above it. How is this function implemented?
KevinHuSh commented 1 week ago

image

DAAworld commented 1 week ago

image

thinkyou,I thought it was directly searching for matching, and in the end I found that it was not.