不同子方面数量的子集实验,RichRAG框架在所有子集上都优于所有基线,框架在多样化搜索场景中的鲁棒性
Yourtaskistoadjusttheresultsofquery-facetsmining.Thequery-facetsareextensionsoftheoriginalqueryinvariousgenericperspectives,ratherthansomespecificfacts.Givenaquerythatrequiresinformationfrommultiplequery-facets,youshouldreturnallquery-facetsofthequerytofullyansweritquery.Notethateachqueryhasatleasttwoquery-facets.Iwillgiveyouthelong-formanswertotheoriginalquerytohelpyouexplorequery-facetsbasedontheperspectivesofitsanswer.Butrefrainfromusingtheadditionalinformationfromtheanswertogeneratethequery-facets.Thenyoushouldsegmenttheoriginallong-formanswerintoseveralsub-answersthateacharepairedwithaquery-facet.Pleasereturneachquery-facetoftheoriginalqueryanditscorrespondingsub-answers.Thequery-facetsandsub-answersshouldbeone-to-oneandreturnedinJSONformat.Youneedtofollowthefollowingrules:1.Theanswersareonlyusedtohelpyoudeterminethegenericdirection.Youmustn’tgeneratequery-facetsbasedonthecontentsofanswersandthefacetsmustn’tcontaintheanswers’additionalinformationbeyondtheinputquery.2.Sub-answersareconstructedbysegmentingtheoriginalanswer,youcannotgenerateorreordertheoriginalanswertocreatesub-answers.3.Thesub-answersshouldbecomplete.Youmustensurethatwhenthesub-answersarejoinedtogetherinorder,thecompleteoriginalanswershouldbeformed.4.Thegeneratedquery-facetsshouldbesufficientlygenericandcontainnospecificinformationaboutthesub-answers.5.**Youshouldensurethatgeneratedquery-facetscoverallperspectivesoriginalanswer.**6.**Youshouldensurethatallsub-answerscoverallcontentsoftheoriginalanswer.**7.**Thenumberofquerysurfacesmustrangefrom2to7.**8.**Youshouldensurethateachquery-facetissufficientlygenericandcanbeeasilyderivedfromtheoriginalquery.**9.**Youshouldensureeachquery-facetcontainsnoinformationfromtheanswer.**10.**Youshouldrewriteorcombinethequery-facetstobemoregenericifsomequery-facetsdonotmeettheaboverequirements.**11.ThereturnedresultsshouldbeinJSONformatandcontainthefollowingkey:results,whichisalistofJSONdata.Eachitemofresultsshouldcontainthefollowingkeys:query-facet,andsub-answer.12.Iwillgiveyousomedemonstrations,youshouldlearnthepatternofthemtominequery-facetsandsplitsub-answers.**Demonstration**{demonstrations}Query:{query}Answer:{answer}Results:对于RAG整个框架的更多技术,PaperAgent团队RAG专栏进行过详细的归纳总结:高级RAG之36技(术)。
高级RAG之36技试看私信获取:RAG专栏RichRAG:CraftingRichResponsesforMulti-facetedQueriesinRetrieval-AugmentedGenerationhttps://arxiv.org/pdf/2406.12566
| 欢迎光临 链载Ai (https://www.lianzai.com/) | Powered by Discuz! X3.5 |