{"id":{"repo_id":"vt","oai_identifier":"oai:vtechworks.lib.vt.edu:10919/143048"},"canonical_url":"https://search.ndltd.org/etd/vt/oai:vtechworks.lib.vt.edu:10919/143048","repository":{"repo_id":"vt","name":"Virginia Tech","base_url":"https://vtechworks.lib.vt.edu/oai/request"},"display":{"title":"Evaluating Function Calling in Language Models through a Conversational Agent","abstract":"This study investigates the effectiveness of function calling in Large Language Models (LLMs) for data-driven conversational systems. While LLMs excel in natural language understanding, reliably mapping user queries to structured computational functions remains a key challenge. To address this, the study develops the India Policy Insights (IPI) Chatbot, a GenAI-powered system that enables natural language interaction with complex, spatiotemporal public policy datasets. The chatbot integrates LLMs with backend functions to translate user queries into structured parameters, execute database operations, and generate multi-modal outputs, including text, charts, and maps. Proposed workflow demonstrates how natural language queries are converted into actionable analytical tasks. A systematic evaluation of GPT-4o and GPT-4o-mini is conducted across prompt specificity, query difficulty, and query type. Results show that function-calling accuracy improves significantly with more explicit and structured prompts, with GPT-4o achieving the highest performance. Spatial and constraint-based queries yield consistently high accuracy, while complex multi-indicator tasks remain challenging, particularly for smaller models. Overall, this study highlights the importance of prompt design, parameter clarity, and model selection in optimizing function-calling performance. It also demonstrates the potential of conversational AI to improve accessibility to policy-relevant data, contributing to more inclusive and data-informed decision-making.","abstract_html":"This study investigates the effectiveness of function calling in Large Language Models (LLMs) for data-driven conversational systems. While LLMs excel in natural language understanding, reliably mapping user queries to structured computational functions remains a key challenge. To address this, the study develops the India Policy Insights (IPI) Chatbot, a GenAI-powered system that enables natural language interaction with complex, spatiotemporal public policy datasets. The chatbot integrates LLMs with backend functions to translate user queries into structured parameters, execute database operations, and generate multi-modal outputs, including text, charts, and maps. Proposed workflow demonstrates how natural language queries are converted into actionable analytical tasks. A systematic evaluation of GPT-4o and GPT-4o-mini is conducted across prompt specificity, query difficulty, and query type. Results show that function-calling accuracy improves significantly with more explicit and structured prompts, with GPT-4o achieving the highest performance. Spatial and constraint-based queries yield consistently high accuracy, while complex multi-indicator tasks remain challenging, particularly for smaller models. Overall, this study highlights the importance of prompt design, parameter clarity, and model selection in optimizing function-calling performance. It also demonstrates the potential of conversational AI to improve accessibility to policy-relevant data, contributing to more inclusive and data-informed decision-making.","abstract_has_math":false,"creators":["Sharma Dulal, Sandesh"],"institution":"Virginia Tech","degree_name":"Master of Science","degree_level":"masters","degree_discipline":null,"degree_department":"Not found","school":null,"contributors":[],"advisors":[],"committee_chairs":["Kim, Junghwan"],"committee_members":["Rijal, Santosh","Crawford, Thomas Wall"],"year":2026,"date_issued":"2026-05-07","date_published":"2026-05-07","updated_at":"2026-11-18T20:27:44Z","subjects":["Chatbot; Dashboard; Generative AI; India Policy Insights (IPI); Large Language Model (LLM)"],"languages":["en"],"rights":["In Copyright"],"rights_urls":["http://rightsstatements.org/vocab/InC/1.0/"],"identifier_entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:46319"],"render_values":[{"text":"vt_gsexam:46319","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10919/143048","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10919/143048","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://vtechworks.lib.vt.edu/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Avtechworks.lib.vt.edu%3A10919%2F143048","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeechair","label":"Committee Chair","values":["Kim, Junghwan"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Rijal, Santosh","Crawford, Thomas Wall"]},{"key":"dc:contributor.department","label":"Department","values":["Not found"]},{"key":"dc:creator","label":"Author","values":["Sharma Dulal, Sandesh"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-05-08T08:00:23Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-05-08T08:00:23Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-05-07"]},{"key":"dc:publisher","label":"Institution","values":["Virginia Tech"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Virginia Polytechnic Institute and State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Chatbot; Dashboard; Generative AI; India Policy Insights (IPI); Large Language Model (LLM)"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["In Copyright"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://rightsstatements.org/vocab/InC/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:46319"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10919/143048"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This study investigates the effectiveness of function calling in Large Language Models (LLMs) for data-driven conversational systems. While LLMs excel in natural language understanding, reliably mapping user queries to structured computational functions remains a key challenge. To address this, the study develops the India Policy Insights (IPI) Chatbot, a GenAI-powered system that enables natural language interaction with complex, spatiotemporal public policy datasets. The chatbot integrates LLMs with backend functions to translate user queries into structured parameters, execute database operations, and generate multi-modal outputs, including text, charts, and maps. Proposed workflow demonstrates how natural language queries are converted into actionable analytical tasks. A systematic evaluation of GPT-4o and GPT-4o-mini is conducted across prompt specificity, query difficulty, and query type. Results show that function-calling accuracy improves significantly with more explicit and structured prompts, with GPT-4o achieving the highest performance. Spatial and constraint-based queries yield consistently high accuracy, while complex multi-indicator tasks remain challenging, particularly for smaller models. Overall, this study highlights the importance of prompt design, parameter clarity, and model selection in optimizing function-calling performance. It also demonstrates the potential of conversational AI to improve accessibility to policy-relevant data, contributing to more inclusive and data-informed decision-making."]},{"key":"dc:description.abstractgeneral","label":"General Abstract","values":["Interactive dashboards have become central tools for visualizing policy-relevant data, but they remain limited by rigid structures and technical complexity. Recent advances in large language model (LLM)-powered conversational AI offer a way to address these challenges, as LLMs can interpret unstructured natural language inputs and translate them into structured functions. This proof-of-concept study introduces a Generative AI (GenAI)-powered chatbot that integrates LLMs with an online dashboard, demonstrated through the India Policy Insights (IPI) dashboard. The system translates conversational queries into structured functions, retrieves validated outputs from a spatially enabled database, and presents results as text, charts, and maps. We implemented 13 representative functions spanning spatial, temporal, composite, classification, and constraint-based analyses. Results show that spatial, classification, and constraint-based functions achieved consistently high accuracy due to explicit parameters, while composite multi-indicator functions posed greater challenges. The findings demonstrate the potential of GenAI-powered interactive dashboards to support language-driven interaction and broaden accessibility for diverse user groups, regardless of technological literacy. Beyond the case study, the proposed framework provides a design pathway for developing GenAI-powered dashboards that democratize access to spatiotemporal data, enhance evidence-based policymaking, and help bridge persistent gaps between data and actionable insights."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master of Science"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["ETD"]},{"key":"dc:title","label":"Title","values":["Evaluating Function Calling in Language Models through a Conversational Agent"]}]}],"canonical_facts":{"dc:contributor.committeechair":["Kim, Junghwan"],"dc:contributor.committeemember":["Rijal, Santosh","Crawford, Thomas Wall"],"dc:contributor.department":["Not found"],"dc:creator":["Sharma Dulal, Sandesh"],"dc:date.accessioned":["2026-05-08T08:00:23Z"],"dc:date.available":["2026-05-08T08:00:23Z"],"dc:date.issued":["2026-05-07"],"dc:description.abstract":["This study investigates the effectiveness of function calling in Large Language Models (LLMs) for data-driven conversational systems. While LLMs excel in natural language understanding, reliably mapping user queries to structured computational functions remains a key challenge. To address this, the study develops the India Policy Insights (IPI) Chatbot, a GenAI-powered system that enables natural language interaction with complex, spatiotemporal public policy datasets. The chatbot integrates LLMs with backend functions to translate user queries into structured parameters, execute database operations, and generate multi-modal outputs, including text, charts, and maps. Proposed workflow demonstrates how natural language queries are converted into actionable analytical tasks. A systematic evaluation of GPT-4o and GPT-4o-mini is conducted across prompt specificity, query difficulty, and query type. Results show that function-calling accuracy improves significantly with more explicit and structured prompts, with GPT-4o achieving the highest performance. Spatial and constraint-based queries yield consistently high accuracy, while complex multi-indicator tasks remain challenging, particularly for smaller models. Overall, this study highlights the importance of prompt design, parameter clarity, and model selection in optimizing function-calling performance. It also demonstrates the potential of conversational AI to improve accessibility to policy-relevant data, contributing to more inclusive and data-informed decision-making."],"dc:description.abstractgeneral":["Interactive dashboards have become central tools for visualizing policy-relevant data, but they remain limited by rigid structures and technical complexity. Recent advances in large language model (LLM)-powered conversational AI offer a way to address these challenges, as LLMs can interpret unstructured natural language inputs and translate them into structured functions. This proof-of-concept study introduces a Generative AI (GenAI)-powered chatbot that integrates LLMs with an online dashboard, demonstrated through the India Policy Insights (IPI) dashboard. The system translates conversational queries into structured functions, retrieves validated outputs from a spatially enabled database, and presents results as text, charts, and maps. We implemented 13 representative functions spanning spatial, temporal, composite, classification, and constraint-based analyses. Results show that spatial, classification, and constraint-based functions achieved consistently high accuracy due to explicit parameters, while composite multi-indicator functions posed greater challenges. The findings demonstrate the potential of GenAI-powered interactive dashboards to support language-driven interaction and broaden accessibility for diverse user groups, regardless of technological literacy. Beyond the case study, the proposed framework provides a design pathway for developing GenAI-powered dashboards that democratize access to spatiotemporal data, enhance evidence-based policymaking, and help bridge persistent gaps between data and actionable insights."],"dc:description.degree":["Master of Science"],"dc:format.medium":["ETD"],"dc:identifier.other":["vt_gsexam:46319"],"dc:identifier.uri":["https://hdl.handle.net/10919/143048"],"dc:language.iso":["en"],"dc:publisher":["Virginia Tech"],"dc:rights":["In Copyright"],"dc:rights.uri":["http://rightsstatements.org/vocab/InC/1.0/"],"dc:subject":["Chatbot; Dashboard; Generative AI; India Policy Insights (IPI); Large Language Model (LLM)"],"dc:title":["Evaluating Function Calling in Language Models through a Conversational Agent"],"dc:type":["Thesis"],"thesis:degree_level":["masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Virginia Polytechnic Institute and State University"]},"updated_at":"2026-11-18T20:27:44Z"}