{"id":"https://openalex.org/W4412376877","doi":"https://doi.org/10.1145/3726302.3730150","title":"Constructing and Evaluating Declarative RAG Pipelines in PyTerrier","display_name":"Constructing and Evaluating Declarative RAG Pipelines in PyTerrier","publication_year":2025,"publication_date":"2025-07-13","ids":{"openalex":"https://openalex.org/W4412376877","doi":"https://doi.org/10.1145/3726302.3730150"},"language":"en","primary_location":{"id":"doi:10.1145/3726302.3730150","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3726302.3730150","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3726302.3730150","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval","raw_type":"proceedings-article"},"type":"conference-paper","indexed_in":["arxiv","crossref"],"open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://dl.acm.org/doi/pdf/10.1145/3726302.3730150","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5057643560","display_name":"Craig Macdonald","orcid":"https://orcid.org/0000-0003-3143-279X"},"institutions":[{"id":"https://openalex.org/I7882870","display_name":"University of Glasgow","ror":"https://ror.org/00vtgdb53","country_code":"GB","type":"education","lineage":["https://openalex.org/I7882870"]}],"countries":["GB"],"is_corresponding":false,"raw_author_name":"Craig Macdonald","raw_affiliation_strings":["University of Glasgow, Glasgow, United Kingdom"],"raw_orcid":"https://orcid.org/0000-0003-3143-279X","affiliations":[{"raw_affiliation_string":"University of Glasgow, Glasgow, United Kingdom","institution_ids":["https://openalex.org/I7882870"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5083649914","display_name":"Jinyuan Fang","orcid":"https://orcid.org/0000-0002-6886-5882"},"institutions":[{"id":"https://openalex.org/I7882870","display_name":"University of Glasgow","ror":"https://ror.org/00vtgdb53","country_code":"GB","type":"education","lineage":["https://openalex.org/I7882870"]}],"countries":["GB"],"is_corresponding":false,"raw_author_name":"Jinyuan Fang","raw_affiliation_strings":["University of Glasgow, Glasgow, United Kingdom"],"raw_orcid":"https://orcid.org/0000-0002-6886-5882","affiliations":[{"raw_affiliation_string":"University of Glasgow, Glasgow, United Kingdom","institution_ids":["https://openalex.org/I7882870"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5075770550","display_name":"Andrew Parry","orcid":"https://orcid.org/0000-0001-5446-8328"},"institutions":[{"id":"https://openalex.org/I7882870","display_name":"University of Glasgow","ror":"https://ror.org/00vtgdb53","country_code":"GB","type":"education","lineage":["https://openalex.org/I7882870"]}],"countries":["GB"],"is_corresponding":false,"raw_author_name":"Andrew Parry","raw_affiliation_strings":["University of Glasgow, Glasgow, United Kingdom"],"raw_orcid":"https://orcid.org/0000-0001-5446-8328","affiliations":[{"raw_affiliation_string":"University of Glasgow, Glasgow, United Kingdom","institution_ids":["https://openalex.org/I7882870"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5073342482","display_name":"Zaiqiao Meng","orcid":"https://orcid.org/0000-0001-5374-0318"},"institutions":[{"id":"https://openalex.org/I7882870","display_name":"University of Glasgow","ror":"https://ror.org/00vtgdb53","country_code":"GB","type":"education","lineage":["https://openalex.org/I7882870"]}],"countries":["GB"],"is_corresponding":false,"raw_author_name":"Zaiqiao Meng","raw_affiliation_strings":["University of Glasgow, Glasgow, United Kingdom"],"raw_orcid":"https://orcid.org/0000-0001-5374-0318","affiliations":[{"raw_affiliation_string":"University of Glasgow, Glasgow, United Kingdom","institution_ids":["https://openalex.org/I7882870"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":1,"corresponding_author_ids":[],"corresponding_institution_ids":["https://openalex.org/I7882870"],"apc_list":null,"apc_paid":null,"fwci":null,"has_fulltext":true,"cited_by_count":5,"citation_normalized_percentile":null,"cited_by_percentile_year":null,"biblio":{"volume":null,"issue":null,"first_page":"4035","last_page":"4040"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T12326","display_name":"Network Packet Processing and Optimization","score":0.9890000224113464,"subfield":{"id":"https://openalex.org/subfields/1708","display_name":"Hardware and Architecture"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T12326","display_name":"Network Packet Processing and Optimization","score":0.9890000224113464,"subfield":{"id":"https://openalex.org/subfields/1708","display_name":"Hardware and Architecture"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11269","display_name":"Algorithms and Data Compression","score":0.9761999845504761,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10028","display_name":"Topic Modeling","score":0.97079998254776,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.6536731123924255},{"id":"https://openalex.org/keywords/pipeline-transport","display_name":"Pipeline transport","score":0.6305171847343445},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.5710397958755493},{"id":"https://openalex.org/keywords/engineering","display_name":"Engineering","score":0.181333988904953}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.6536731123924255},{"id":"https://openalex.org/C175309249","wikidata":"https://www.wikidata.org/wiki/Q725864","display_name":"Pipeline transport","level":2,"score":0.6305171847343445},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.5710397958755493},{"id":"https://openalex.org/C127413603","wikidata":"https://www.wikidata.org/wiki/Q11023","display_name":"Engineering","level":0,"score":0.181333988904953},{"id":"https://openalex.org/C87717796","wikidata":"https://www.wikidata.org/wiki/Q146326","display_name":"Environmental engineering","level":1,"score":0.0}],"mesh":[],"locations_count":4,"locations":[{"id":"doi:10.1145/3726302.3730150","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3726302.3730150","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3726302.3730150","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval","raw_type":"proceedings-article"},{"id":"pmh:oai:eprints.gla.ac.uk:352731","is_oa":false,"landing_page_url":"http://eprints.gla.ac.uk/view/author/3545.html>","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"acceptedVersion","is_accepted":true,"is_published":false,"raw_source_name":null,"raw_type":"PeerReviewed"},{"id":"pmh:oai:arXiv.org:2506.10802","is_oa":true,"landing_page_url":"http://arxiv.org/abs/2506.10802","pdf_url":"https://arxiv.org/pdf/2506.10802","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},{"id":"pmh:oai:eprints.gla.ac.uk:352731","is_oa":true,"landing_page_url":"https://eprints.gla.ac.uk/view/author/3545.html>","pdf_url":"https://eprints.gla.ac.uk/352731/2/352731.pdf","source":{"id":"https://openalex.org/S4210235606","display_name":"ENLIGHTEN (Jurnal Bimbingan dan Konseling Islam)","issn_l":"2622-8912","issn":["2622-8912","2622-8920"],"is_oa":true,"is_in_doaj":true,"is_core":false,"host_organization":null,"host_organization_name":null,"host_organization_lineage":[],"host_organization_lineage_names":[],"type":"journal"},"license":"cc-by-sa","license_id":"https://openalex.org/licenses/cc-by-sa","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"Conference Proceedings"}],"best_oa_location":{"id":"doi:10.1145/3726302.3730150","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3726302.3730150","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3726302.3730150","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval","raw_type":"proceedings-article"},"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"grobid_xml":true,"pdf":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4412376877.pdf","grobid_xml":"https://content.openalex.org/works/W4412376877.grobid-xml"},"referenced_works_count":39,"referenced_works":["https://openalex.org/W2149427297","https://openalex.org/W2252136820","https://openalex.org/W2740321901","https://openalex.org/W2889787757","https://openalex.org/W2912924812","https://openalex.org/W2962985038","https://openalex.org/W2963339397","https://openalex.org/W2963961878","https://openalex.org/W2998702515","https://openalex.org/W3021397474","https://openalex.org/W3045745713","https://openalex.org/W3099700870","https://openalex.org/W3104914963","https://openalex.org/W3115947671","https://openalex.org/W3154280800","https://openalex.org/W3156789018","https://openalex.org/W3175980629","https://openalex.org/W3190126809","https://openalex.org/W3197464301","https://openalex.org/W3208821253","https://openalex.org/W3209981429","https://openalex.org/W4284706395","https://openalex.org/W4310923309","https://openalex.org/W4327644554","https://openalex.org/W4385570777","https://openalex.org/W4385571271","https://openalex.org/W4387430850","https://openalex.org/W4389520103","https://openalex.org/W4389520468","https://openalex.org/W4389984066","https://openalex.org/W4391244683","https://openalex.org/W4391376033","https://openalex.org/W4400525811","https://openalex.org/W4402671152","https://openalex.org/W4402671840","https://openalex.org/W4405252961","https://openalex.org/W4409167231","https://openalex.org/W4412376925","https://openalex.org/W4415158844"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2899084033","https://openalex.org/W2748952813","https://openalex.org/W2390279801","https://openalex.org/W4391913857","https://openalex.org/W2358668433","https://openalex.org/W4396701345","https://openalex.org/W2376932109","https://openalex.org/W2001405890","https://openalex.org/W4396696052"],"abstract_inverted_index":{"Search":[0],"engines":[1],"often":[2],"follow":[3],"a":[4,40],"pipeline":[5,33],"architecture,":[6,34,67],"where":[7,35],"complex":[8],"but":[9],"effective":[10],"reranking":[11],"components":[12],"are":[13],"used":[14],"to":[15,82,117],"refine":[16],"the":[17,32,36,44,47,64,69,102,120],"results":[18],"of":[19,31,71,104],"an":[20,28],"initial":[21],"retrieval.":[22],"Retrieval":[23],"augmented":[24],"generation":[25],"(RAG)":[26],"is":[27],"exciting":[29],"application":[30],"final":[37],"component":[38],"generates":[39],"coherent":[41],"answer":[42],"for":[43,77],"users":[45],"from":[46],"retrieved":[48],"documents.":[49],"In":[50],"this":[51],"demo":[52],"paper,":[53],"we":[54],"describe":[55],"how":[56,116],"such":[57],"RAG":[58,84,107],"pipelines":[59,108],"can":[60],"be":[61],"formulated":[62],"in":[63],"declarative":[65],"PyTerrier":[66,78,122],"and":[68,86,92,106,115,128,131],"advantages":[70],"doing":[72],"so.":[73],"Our":[74],"PyTerrier-RAG":[75],"extension":[76],"provides":[79],"easy":[80],"access":[81],"standard":[83,110],"datasets":[85,111],"evaluation":[87],"measures,":[88],"state-of-the-art":[89,125],"LLM":[90],"readers,":[91],"using":[93],"PyTerrier's":[94],"unique":[95],"operator":[96],"notation,":[97],"easy-to-build":[98],"pipelines.":[99],"We":[100],"demonstrate":[101],"succinctness":[103],"indexing":[105],"on":[109,119],"(including":[112],"Natural":[113],"Questions)":[114],"build":[118],"larger":[121],"ecosystem":[123],"with":[124],"sparse,":[126],"learned-sparse,":[127],"dense":[129],"retrievers,":[130],"other":[132],"neural":[133],"rankers.":[134]},"counts_by_year":[{"year":2026,"cited_by_count":4},{"year":2025,"cited_by_count":1}],"updated_date":"2026-07-14T23:27:15.235271","created_date":"2025-10-10T00:00:00"}
