[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-699312-105":59,"doc-detail-699312-en":130,"doc-similar-699312":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","benchmarking-openais-apis-and-other-large-language-models-abstract-efficient-and-repeatable-question-answering-across-multiple-documents","Benchmarking OpenAI’s APIs and other Large Language Models - Abstract - Efficient and Repeatable Question Answering Across Multiple Documents","","The study benchmarks OpenAI APIs and other large language models for repeatable, efficient question answering across multiple documents, focusing on Data Privacy Policy (DPP) documents from selected EdTech providers. It evaluates efficiency, consistency, and answer quality through systematic use cases and metrics such as response format, execution time, and cost. Experiments compare API-based one-shot learning, LangChain, RAG pipelines, and locally deployed quantized Llama-2 13B-chat-GPTQ models using FAISS. Results highlight API viability for long-text analysis when local GPU deployment is impractical, while quantized models support data governance in private infrastructure.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/benchmarking-openais-apis-and-other-large-language-models-abstract-efficient-and-repeatable-question-answering-across-multiple-documents/699312/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/benchmarking-openais-apis-and-other-large-language-models-abstract-efficient-and-repeatable-question-answering-across-multiple-documents/699312.png","ImageObject",300,407,{"name":92,"@type":93},"A glass of water","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-19","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the main goal of the paper?","Question",{"text":112,"@type":113},"To evaluate the efficiency and repeatability of OpenAI’s APIs and other LLMs for automating question-answering across multiple documents, especially analyzing Data Privacy Policy (DPP) documents for EdTech providers.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which approaches and frameworks are compared?",{"text":117,"@type":113},"The study compares direct API calls (one-shot learning), LangChain, Retrieval Augmented Generation (RAG) systems, and a local deployment of quantized LLMs using FAISS.",{"name":119,"@type":110,"acceptedAnswer":120},"What evaluation metrics are used?",{"text":121,"@type":113},"Metrics include response format, execution time, and cost, assessed against predefined use cases.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},699312,1794464513,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":41,"preview_page_count":19,"preview_urls":144},962090760832,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Filipovska, Elena, Mladenovska, Ana, Bajrami, Merxhan, Dobreva, Jovana, Hillman, Velislava, Lameski, Petre & Zdravevski, Eftim (2024) Benchmarking OpenAI’s APIsand other Large Language Models for repeatable and efficient question answering across multiple documents. Annals of Computer Science and Information Systems,(2024), 107-117. [https://doi.org/10.15439/2024F3979](https://doi.org/10.15439/2024F3979)  \n[https://researchonline.lse.ac.uk/id/eprint/126674/](https://researchonline.lse.ac.uk/id/eprint/126674/)  \nVersion: Published Version  \nLicence: Creative Commons: Attribution 4 .0  \nLSE Research Online is the repository for research produced by the London School of Economics and Political Science. For more information, please refer to our Policies  \npage or contact [lseresearchonline@lse.ac.uk](lseresearchonline@lse.ac.uk)  \nBenchmarking OpenAI’s APIs and other Large Language Models for Repeatable and Ef􀀂cient Question Answering Across Multiple Documents  \nElena Filipovska†, Ana Mladenovska∗†, Merxhan Bajrami∗†, Jovana Dobreva∗†, Velislava Hillman‡, Petre Lameski∗†, Eftim Zdravevski∗†  \n∗ Faculty of Computer Science and Engineering, Ss. Cyril and Methodius University in Skopje, Macedonia  \n†Magix.AI, Skopje  \n‡Department of Media and Communications, London School of Economics and Political Science, London, UK  \n{elena, ana, jovana, merxhan.bajrami, petre, [eftim](eftim}@magix.ai)[}](eftim}@magix.ai)[@magix.ai](eftim}@magix.ai), {ana.mladenovska.1, bajrami.merdzan}@students.􀀂nki.ukim.mk,{jovana.dobreva, petre.lameski, eftim.zdravevski}@􀀂nki.ukim.mk, v.hillman@lse.ac.uk  \nAbstract—The rapid growth of document volumes and complexity in various domains necessitates advanced automated methods to enhance the ef􀀂ciency and accuracy of information extraction and analysis. This paper aims to evaluate the ef􀀂ciencyand repeatability of OpenAI’s APIs and other Large Language Models (LLMs) in automating question-answering tasks across multiple documents, speci􀀂cally focusing on analyzing Data Privacy Policy (DPP) documents of selected EdTech providers. We test how well these models perform on large-scale text processing tasks using the OpenAI’s LLM models (GPT 3.5 Turbo, GPT 4, GPT 4o) and APIs in several frameworks: direct API calls (i.e., one-shot learning), LangChain, and Retrieval Augmented Generation (RAG) systems. We also evaluate a local deployment of quantized versions (with FAISS) of LLM models (Llama-2- 13B-chat-GPTQ). Through systematic evaluation against prede􀀂ned use cases and a range of metrics, including response format, execution time, and cost, our study aims to provide insights into the optimal practices for document analysis. Our 􀀂ndings demonstrate that using OpenAI’s LLMs via API calls is a workable workaround for accelerating document analysis when using a local GPU-powered infrastructure is not a viable solution, particularly for long texts. On the other hand, the local deployment is quite valuable for maintaining the data within the private infrastructure. Our 􀀂ndings show that the quantized models retain substantial relevance even with fewer parameters than ChatGPT and do not impose processing restrictions on the number of tokens. This study offers insights on maximizing the use of LLMs for better ef􀀂ciency and data governance in addition to con􀀂rming their usefulness in improving document analysis procedures.  \nIndex Terms—OpenAI, LangChain, RAG, GPT, QA, LLM, Llama, Large Language Models, Multi-document, one-shot learning, few-shot learning Q&A  \nI. INTRODUCTION  \nTRADITIONAL document analysis methods often rely  \non manual review or simplistic keyword-based searches, leading to signi􀀂cant inef􀀂ciencies and limitations. As the volume and diversity of documents continue to expand, the need for innovative approaches that can streamline analysis while preserving accuracy and comprehensiveness arises. In this study, we explore different methods for assisting the  \nanalysis of selected EdTech providers’ Data Privacy","cbCaimFIl0bkwNPg","https://ap.wps.com/l/cbCaimFIl0bkwNPg","pdf",396924,12,"English","# I. Introduction\n## II. Methodology and Data Collection\n## III. Experimental Setup and Models\n## IV. Evaluation Metrics and Use Cases\n## V. Findings and Practical Implications","[{\"question\":\"What is the main goal of the paper?\",\"answer\":\"To evaluate the efficiency and repeatability of OpenAI’s APIs and other LLMs for automating question-answering across multiple documents, especially analyzing Data Privacy Policy (DPP) documents for EdTech providers.\"},{\"question\":\"Which approaches and frameworks are compared?\",\"answer\":\"The study compares direct API calls (one-shot learning), LangChain, Retrieval Augmented Generation (RAG) systems, and a local deployment of quantized LLMs using FAISS.\"},{\"question\":\"What evaluation metrics are used?\",\"answer\":\"Metrics include response format, execution time, and cost, assessed against predefined use cases.\"}]","Benchmarking OpenAI’s APIs and other Large Language Models - Abstract - Efficient and Repeatable Question Answering Across Multiple Documents | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/c181f1dadb3bc25a5d18d6ee3050cb52.webp",983,1390,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/fdc0273a9153a3b45cd76ef70ffd8309.webp",982,1388,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/258025b754916eed080d71a450ace720.webp",981,1387,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7660d283a02e170dc0704acd3e1d4bed.webp",980,1385,{"list":162,"token":66},[163,170,177,183,190,196,203,209,215,221],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":40,"create_tm":169},84461,"FedMosaic Federated Retrieval-Augmented Generation via Parametric Adapters","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809174475/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=wNFBNmYD88vqnerV2B0kdPXyVH4%3D","fedmosaic-federated-retrieval-augmented-generation-via-parametric-adapters",36,1784195780,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},31270,"RAG LangChain Fusion A Secure On-Premise AI Assistant for Multi-Modal Digital Forensics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229737215886/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=HEA0CQ1Hh9ZE5u9TmXgJq09BgA8%3D","rag-langchain-fusion-a-secure-on-premise-ai-assistant-for-multi-modal-digital-forensics",64,1779224620,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":8,"category_name":40,"create_tm":182},759779,"LLM Benchmarks February 2025","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044221337/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=%2FiNIhwfu0p%2B4%2FbCzRSFDRGCK9hY%3D","llm-benchmarks-february-2025",1795894675,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},497935,"DeAR: Dual-Stage Document Reranking with Reasoning Agents via LLM - Distillation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229930680491/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=CDhe9YFlaZ8w5xNk9gwt2mKCeGk%3D","dear-dual-stage-document-reranking-with-reasoning-agents-via-llm-distillation",16,1790971796,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":81,"category_name":40,"create_tm":195},686580,"Live API-Bench - 2500+ Live APIs for Testing Multi-Step Tool Calling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000538437/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=REmRWM0jS38qCV%2Bg3Cv3Rk5AK4M%3D","live-api-bench-2500-live-apis-for-testing-multi-step-tool-calling",1794057054,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":40,"create_tm":202},82600,"Embedding Inference Attack","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808767944/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=Npq5nDgWPpnEG8abwFjkf3pHErg%3D","embedding-inference-attack",22,1784181727,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":24,"category_name":40,"create_tm":208},686575,"RestGPT - Connecting Large Language Models with Real-World Applications via RESTful APIs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000538110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=dB0gPaT%2F0X9QsaJli2hg0bIFtqs%3D","restgpt-connecting-large-language-models-with-real-world-applications-via-restful-apis",1794057005,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":19,"category_name":40,"create_tm":214},711381,"MAIN-RAG - Multi-Agent Filtering Retrieval-Augmented Generation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230017066041/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=nJQGZWkkEr0ll49vIpVHLhyX25g%3D","main-rag-multi-agent-filtering-retrieval-augmented-generation",1794786018,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":46,"category_name":40,"create_tm":220},86123,"Efficient and Robust Spiking Neural Networks for sEMG-Based Muscle Fatigue Detection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809379454/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=MnucdTiOwpQhbWpwVT6oLFhuhzM%3D","efficient-and-robust-spiking-neural-networks-for-semg-based-muscle-fatigue-detection",1784208661,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":41,"category_name":40,"create_tm":226},82457,"Evaluating and Mitigating Errors in LLM-Generated Web API Integrations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808745155/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=E7%2BYzm2rqZ6QY3f2%2FFAMKVzt3uc%3D","evaluating-and-mitigating-errors-in-llm-generated-web-api-integrations",1784180558]