netease-youdao / QAnything

Question and Answer based on Anything.
https://qanything.ai
GNU Affero General Public License v3.0
11.3k stars 1.09k forks source link

可以回答某数据出自数据集里xxx文件的第几页吗? #58

Open zzeric opened 7 months ago

zzeric commented 7 months ago

比如提供某企业的年报,询问该企业的净利润,QAnyThing回答后,我追问一句该净利润数据具体在年报pdf的哪一页,以便人工核实。

Nydaym commented 7 months ago

回答不了,效果比较一般。

fire717 commented 7 months ago

这个功能自己改下代码就行了,现在可以看到数据来源,原理也是根据embedding和原始切片的对应,你把原始切片再和页码对应上就可以了。

successren commented 7 months ago

The current citation information tracing is indeed quite rudimentary, a large lump with poor visualization. We will enhance the citation information tracing to make it more user-friendly in the future.

cristianohello commented 4 months ago

@successren 实现答案溯源了吗?源代码在哪里

cristianohello commented 4 months ago

@fire717 在哪里改代码?

yuhp-zts commented 3 months ago

The current citation information tracing is indeed quite rudimentary, a large lump with poor visualization. We will enhance the citation information tracing to make it more user-friendly in the future.

请问找到答案溯源的代码位置了吗

GreatStep commented 1 week ago

所谓索源~~~后台按照file_id 和chunk_id 进行分组排序合并,然后list丢给前端(黑盒子);