<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    jsea
   </journal-id>
   <journal-title-group>
    <journal-title>
     Journal of Software Engineering and Applications
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    1945-3116
   </issn>
   <issn publication-format="print">
    1945-3124
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/jsea.2025.181003
   </article-id>
   <article-id pub-id-type="publisher-id">
    jsea-140351
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Computer Science 
     </subject>
     <subject>
       Communications
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Intelligent ETL for Enterprise Software Applications Using Unstructured Data
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Manthan
      </surname>
      <given-names>
       Joshi
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Vijay K.
      </surname>
      <given-names>
       Madisetti
      </given-names>
     </name>
    </contrib>
   </contrib-group> 
   <aff id="affnull">
    <addr-line>
     aSchool of Cybersecurity and Privacy, Georgia Institute of Technology, Atlanta, GA, USA
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     06
    </day> 
    <month>
     01
    </month>
    <year>
     2025
    </year>
   </pub-date> 
   <volume>
    18
   </volume> 
   <issue>
    01
   </issue>
   <fpage>
    44
   </fpage>
   <lpage>
    65
   </lpage>
   <history>
    <date date-type="received">
     <day>
      27,
     </day>
     <month>
      December
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      27,
     </day>
     <month>
      December
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      27,
     </day>
     <month>
      January
     </month>
     <year>
      2025
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    Enterprise applications utilize relational databases and structured business processes, requiring slow and expensive conversion of inputs and outputs, from business documents such as invoices, purchase orders, and receipts, into known templates and schemas before processing. We propose a new LLM Agent-based intelligent data extraction, transformation, and load (IntelligentETL) pipeline that not only ingests PDFs and detects inputs within it but also addresses the extraction of structured and unstructured data by developing tools that most efficiently and securely deal with respective data types. We study the efficiency of our proposed pipeline and compare it with enterprise solutions that also utilize LLMs. We establish the supremacy in timely and accurate data extraction and transformation capabilities of our approach for analyzing the data from varied sources based on nested and/or interlinked input constraints.
   </abstract>
   <kwd-group> 
    <kwd>
     Structured Data
    </kwd> 
    <kwd>
      Relational Model
    </kwd> 
    <kwd>
      LLM-Powered Agents
    </kwd> 
    <kwd>
      Field-Level Extraction
    </kwd> 
    <kwd>
      Knowledge Graph
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>Organizations use both structured and unstructured data, often organized in tables, as part of extract, transform, and load (ETL) processes prior to ingestion into business process software. Structured datasets, like relational databases, can be analyzed using SQL. However, crucial business information is often stored in insecure PDFs, such as invoices, contracts, and manuals. Analyzing data structures from these formats poses challenges, hindering precise calculations and insights, while compromising privacy and security.</p>
   <p>We shall now examine a prevalent use case of significance to enterprises, pertaining to supply chain procurement processes. This case study will be elaborated upon to demonstrate the application of our proposed methodology.</p>
   <sec id="s1_1">
    <title>1.1. Procurement Workflows in Enterprises</title>
    <p>
     <xref ref-type="fig" rid="fig1">
      Figure 1
     </xref> depicts a basic manual procurement workflow involving a Vendor, Manager, Purchase Agent, Recovery Agent, and Payee, each conducting their roles sequentially using traditional communication methods like emails, ticketing, document submissions, phone, or in-person talks. This dynamic process often requires repeated confirmations and verifications, making human-based systems prone to errors <xref ref-type="bibr" rid="scirp.140351-1">
      [1]
     </xref>.</p>
    <p>The manual procurement process starts with vendors standardizing documents, such as text-based contracts, clauses, and structured quotes, usually in PDF format. These documents outline product pricing and terms and go through a review and approval process to meet the organization’s objectives.</p>
    <p>The manager, after reviewing customer requests, instructs the purchasing agent to start procurement. The agent communicates with the vendor through the manager to negotiate and adjust quotes based on quantity. This involves relaying the user’s requirements to the vendor. The recovery agent oversees delivery tracking, verifies items, and resolves disputes via the manager. Once quotes are final and deliveries confirmed, the payee processes payments. Direct vendor communication to confirm quotes is sometimes needed, as shown by a dotted line in <xref ref-type="fig" rid="fig1">
      Figure 1
     </xref>.</p>
    <fig id="fig1" position="float">
     <label>Figure 1</label>
     <caption>
      <title>Figure 1. Typical manual procurement process.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId14.jpeg?20250205024139" />
    </fig>
    <p>To reduce errors stemming from human involvement in communication channels, both between users and vendors and within an organization, transitioning from manual processes to an AI-based pipeline is now a research focus. The LLM-based communication framework promises reduced time consumption, as well as more direct and efficient communication <xref ref-type="bibr" rid="scirp.140351-2">
      [2]
     </xref>.</p>
    <p>Centralized data processing and extraction are enhanced by language model integration, streamlining documentation-heavy tasks into digital processes. Instantaneous complex filtering and data retrieval, from both structured and unstructured data, rely on query speed instead of human action. Preserving memory and user context reduces workflow redundancies, boosting collaboration efficiency, reducing bottlenecks and errors, and offering flexible document handling. Recently developed Large Language Models (LLMs) promise to significantly advance ETL processes beyond manual limitations.</p>
   </sec>
   <sec id="s1_2">
    <title>1.2. Enterprise Workflows and Data Formats</title>
    <p>Relational databases effectively store and analyze structured data, but struggle with formats like PDFs and text files due to missing processing markers. Tools using OCR or LLMs to extract text from PDFs fall short of the accuracy of database queries and often convert data to JSON, which can introduce errors <xref ref-type="bibr" rid="scirp.140351-3">
      [3]
     </xref>. While LLM improvements reduce inaccuracies, they still present risks in critical areas like hospitals. Workflows for structured and unstructured data are often kept separate to preserve solution versatility, leading to fragmented insights and inefficiencies. Consequently, organizations fail to fully utilize their data, particularly when vital information is scattered across various sources. In finance, legal, and industry sectors, analyzing relational data is vital. Not being able to examine structured data with unstructured documents can be harmful. For instance, auditors might need to link PDF invoices to SQL transaction records. Lacking a unified framework leads to manual processing, raising error rates. As reliance on both data types grows, a cohesive system is essential.</p>
    <p>Contemporary AI-driven tools leveraging Large Language Models (LLMs) for prompt analysis and JSON format outputting may obstruct subsequent data processing required for comprehensive analysis. Such tools handle extractions as isolated tasks, necessitating manual transformation for continued utilization. Furthermore, the LLM is often compelled to reprocess each prompt, notwithstanding its potential relevance to previously supplied context.</p>
    <sec id="s1">
     <title>2. Problem Statement</title>
     <p>The identified issues in the ETL solutions that exist today are:</p>
     <p>Addressing these challenges, especially for structured data saved in formats such as PDFs, requires an approach that utilizes LLM along with the SQL querying and RAG generating capabilities to make sense of the data and also query as necessary <xref ref-type="bibr" rid="scirp.140351-4">
       [4]
      </xref>. Leveraging both LLM-RAG and SQL agents makes processes more specific to operations. LLMs, trained on vast datasets, excel in processing prompts and generating outputs, interpreting user requests, assigning tasks to specialized agents, and creating queries for structured data. SQL excels in retrieving structured data from relational databases, while RAG efficiently retrieves data from unstructured documents and formulates responses. Using SQL and RAG agents based on data type, user prompts, and storage location enhances performance.</p>
     <p>This paper introduces a novel method for extracting both structured and unstructured data and performing a web search for the entered prompt to generate the most relevant response. The project structure is shown in <xref ref-type="fig" rid="fig2">
       Figure 2
      </xref>. The pipeline employs three LLMs; a primary LLM analyzes prompts alongside a knowledge graph for context. Details of the SQL agent, RAG agent, and Tavily web search agent are provided in later sections.</p>
     <fig id="fig2" position="float">
      <label>Figure 2</label>
      <caption>
       <title>Figure 2. Project structure block diagram.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId15.jpeg?20250205024141" />
     </fig>
    </sec>
   </sec>
   <sec id="s3">
    <title>3. Related Work</title>
    <p>The use of LLMs for extracting structured and unstructured data is a new and rapidly growing field <xref ref-type="bibr" rid="scirp.140351-5">
      [5]
     </xref>. There are few existing contributions <xref ref-type="bibr" rid="scirp.140351-6">
      [6]
     </xref> that address certain entrepreneurial analytical requirements today. Tools have been created to turn unstructured PDF data into structured formats for final output, but these outputs cannot be modified using prompt history, query state, and context <xref ref-type="bibr" rid="scirp.140351-7">
      [7]
     </xref>.</p>
    <p>Key existing enterprise solutions include:</p>
    <p>Tools like unstract and Tabula are effective for raw data extraction but are limited for advanced analytics as they do not integrate with relational databases <xref ref-type="bibr" rid="scirp.140351-8">
      [8]
     </xref> <xref ref-type="bibr" rid="scirp.140351-9">
      [9]
     </xref>.</p>
    <sec id="s3_1">
     <title>3.1. Limitations of Existing Tools</title>
     <p>These existing instruments facilitate the extraction and conversion of raw data into JSON or CSV formats; however, they do not retain data in SQL-compatible formats. This limitation hinders their capability to support relational queries and joins with other structured data sources. Furthermore, unstract solely accepts data in PDF format.</p>
     <p>The current tools are primarily designed for field-level extraction; however, they lack the capability to directly facilitate advanced relational queries, including conditional joins or aggregations across various tabular fields derived from multiple documents within the database <xref ref-type="bibr" rid="scirp.140351-10">
       [10]
      </xref>. This limitation further constrains the potential for bidirectional interaction with the database. JSON-based outputs necessitate additional transformations to integrate effectively with SQL databases, thereby introducing further complexity.</p>
     <p>Moreover, the majority of extant solutions depend on predefined extraction models, which lack the capacity for context-sensitive processing <xref ref-type="bibr" rid="scirp.140351-11">
       [11]
      </xref> <xref ref-type="bibr" rid="scirp.140351-12">
       [12]
      </xref>.</p>
    </sec>
    <sec id="s3_2">
     <title>3.2. Solution Requirements</title>
     <p>Organizations require a comprehensive pipeline that can:</p>
     <p>1) Extract and store structured PDF data as relational data to facilitate SQL-based analytics.</p>
     <p>2) Seamlessly merge and query structured and unstructured data without needing additional ETL processes.</p>
     <p>3) Validate and standardize extracted data using AI-powered models to ensure accuracy and usability.</p>
    </sec>
    <sec id="s3_3">
     <title>3.3. Our Contribution to the Existing Solutions</title>
     <p>We now identify the main features of our solution, Intelligent ETL:</p>
     <p>We developed a Python-based workflow specifically designed for the detection and extraction of structured tabular data from PDF documents. This facilitates the seamless integration of extracted PDF data into pre-existing SQL databases, thereby enabling the execution of relational operations and complex queries. Additionally, we incorporate procedures for the extraction of unstructured data within our pipeline.</p>
     <p>By incorporating large language models (LLMs) such as GPT-3.5-turbo, our method facilitates dynamic detection and verification of fields, thereby ensuring precise identification of essential fields. This approach affords greater flexibility and adaptability compared to predefined extraction models. Additionally, we utilize the primary LLM for output validation by scrutinizing it against the input prompt and activating the suitable tool when necessary. LLMs are observed to be the best tool for taking context-aware computations into account <xref ref-type="bibr" rid="scirp.140351-13">
       [13]
      </xref>-<xref ref-type="bibr" rid="scirp.140351-16">
       [16]
      </xref>.</p>
     <p>We achieve a convergence of the ETL pipeline that processes both structured SQL data and unstructured PDFs, integrating them within a unified relational data model for analytical purposes. This integration represents a novel advancement, as traditionally, unstructured and structured datasets necessitate distinct pipeline processes, despite the possibility of PDFs harboring inherently structured data. In contrast to tools like unstract, our approach preserves the relational aspects of PDF data by embedding them within SQL tables. This methodology facilitates the direct interrogation of data using SQL, thus eliminating the requirement for additional transformations. This methodology reduces the requirement for separate ETL processes. Furthermore, it enhances the capacity for sophisticated analytics by enabling the execution of complex SQL queries on both structured and unstructured data, while maintaining data integrity through the normalization of extracted data into relational formats. The proposed solution is designed to be scalable, accommodating large datasets, and adaptable for implementation across various projects. Additionally, it supports the storage of xlsx, csv, pdf, and txt formats within databases, thus enabling the Intelligent ETL pipeline to conduct analyses on the encompassed data. In contrast to the unstract approach, this pipeline stores SQL data as opposed to JSON formatted data, thereby facilitating advanced, context-aware querying.</p>
     <p>Through the integration of structured and unstructured data within a unified relational model within IntelligentETL, organizations can be empowered to conduct sophisticated analytics and reporting with ease. The implementation of GPT-based AI models introduces an additional layer of intelligence, rendering the system flexible and responsive to diverse user queries. We develop a chatbot-based procurement application utilizing Gradio and LangChain technologies and subsequently evaluate our assertions with respect to “unstrict”.</p>
     <p>The reliance on LLMs especially under high-load scenarios, poses a possibility of encountering computational challenges such as computational cost and performance efficiency. This is because LLMs are resource-intensive and may struggle to maintain minimum latency while dealing with large datasets or while processing concurrent queries.</p>
     <p>The mentioned challenges are mitigated in the proposed pipeline as the architecture incorporates a modular design that enables task-specific agents such as SQL and RAG and utilizes capabilities of the knowledge graph to handle discrete operations without fully engaging all the LLMs for every step of the process and for every query in the subsequent chat progression. The knowledge graph works as an efficient caching mechanism thus enabling the pipeline to produce accurate answers for context-relevant queries. Additionally, it also nullifies the requirement of even activating respective LLM-powered agents in the case of context-ready or repetitive queries, thus enabling the pipeline to be scalable.</p>
     <p>This enhancement of data generation capabilities, coupled with the ongoing advancements in data storage, suggests an increasing importance of LLM-directed query agents and user-database interactions structured around meticulously designed knowledge graphs in the foreseeable future. Knowledge graphs elucidate the trajectory of system control flow, thereby guiding both developers and users in the creation of applications that encourage question formulation in a manner that, when processed through advanced ETL systems, is likely to yield precise cost-effective outcomes <xref ref-type="bibr" rid="scirp.140351-17">
       [17]
      </xref>-<xref ref-type="bibr" rid="scirp.140351-19">
       [19]
      </xref>.</p>
     <p>Distilled versions of GPT could be further researched for further enhancement in the direction of making the pipeline ready for enterprise-scale deployment.</p>
    </sec>
   </sec>
   <sec id="s4">
    <title>4. Methodology</title>
    <sec id="s4_1">
     <title>4.1. Unstructured Content Extraction and Transformation</title>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td custom-top-td aleft"><p style="text-align:left">Algorithm 1 PDF-to-SQL and Database Merging Pipeline</p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td custom-top-td aleft"><p style="text-align:left">PDF file path: pdf_path, Source DB path: src_db, Destination DB path: dest_db Extracted data stored in a SQLite database and merged into the destination database</p><p style="text-align:left">Function extract_text_from_pdf(pdf_path): Extracts and returns the plain text from all pages of the PDF.</p><p style="text-align:left">Function extract_tables_from_pdf (pdf_path): Extracts all tables from the PDF and returns them as a list of DataFrames.</p><p style="text-align:left">Function save_to_sqlite (dataframes, db_path): Saves each DataFrame in the list to the SQLite database at db_path.</p><p style="text-align:left">Function merge_databases (src_db, dest_db): </p><p style="text-align:left">for each table in src_db do </p><p style="text-align:left">if table exists in dest_db then </p><p style="text-align:left">Skip merging (to avoid duplicates). </p><p style="text-align:left">else </p><p style="text-align:left">Copy table structure and data to dest_db. </p><p style="text-align:left">end if</p><p style="text-align:left">end for</p><p style="text-align:left">Main Pipeline Execution: </p><p style="text-align:left">Run pdf_to_sql_pipeline (pdf_path, src_db) to extract </p><p style="text-align:left">PDF content and save it to SQLite. </p><p style="text-align:left">Run merge_databases (src_db, dest_db) to transfer tables to the destination database.</p></td> 
      </tr> 
     </table>
     <p>An in-detail workflow of an automated layout that detects tabular data in PDFs, extracts and transfers it to an SQLite database(s), and transfers it to the destination database that is specified, is shown in Algorithm 1. The solution leverages time-tested Python libraries to handle structured and unstructured data efficiently. pdfplumber is used to extract plain text from multiple PDF sources, camelot is used to extract detected tables from PDFs, pandas is used to refine tabular data and bring it into a structure, and sqlite3 and create _engine from sqlalchemy is used to connect the source and the destination of the data transfer and to save each data-frame in the database respectively. The pipeline is not only designed for scalable data ingestion but also for a versatile merger of multiple databases. Here an end-to-end PDF data merging to a predefined database is achieved. The Data Converter from <xref ref-type="fig" rid="fig2">
       Figure 2
      </xref> depicts this workflow. Enterprise solutions exist that carry out similar tasks. This ETL pipeline is flexible enough to be used with those solutions as well. However, this simple workflow achieves accurate results with comparatively less to none error expectancy. Analytics of structured data presented in PDF is then ready to be carried out based on user prompts, the methodology will be explained in subsequent sections of this paper.</p>
     <p>To mathematically represent the data matching and database merging operations for two data sets in different formats, let us consider the following model:</p>
     <p>First, the tables are identified by the module and extracted from PDFs using efficient Python-AI libraries. Then:</p>
     <p>For a given set of DataFrames, <img width="20.824295010845987" src="https://html.scirp.org/file/9303379-rId16.svg?20250205024153">, each DataFrame is saved in an SQLite database:</img></p>
     <p><img width="150.9761388286334" src="https://html.scirp.org/file/9303379-rId18.svg?20250205024153"> (1)</img></p>
     <p><img width="208.24295010845987" src="https://html.scirp.org/file/9303379-rId20.svg?20250205024153"> (2)</img></p>
     <p>where:</p>
     <p>Set theory is used to model the merger of source and destination databases:</p>
     <p><img width="76.35574837310196" src="https://html.scirp.org/file/9303379-rId31.svg?20250205024154"> (3)</img></p>
     <p><img width="157.91757049891538" src="https://html.scirp.org/file/9303379-rId33.svg?20250205024154"> (4)</img></p>
     <p>where:</p>
     <p>Finally, the extracted text from each page is concatenated:</p>
     <p><img width="83.29718004338395" src="https://html.scirp.org/file/9303379-rId45.svg?20250205024154"> (5)</img></p>
     <p>where:</p>
    </sec>
    <sec id="s4_2">
     <title>4.2. Prompt Inspection and Agent Identifying Block</title>
     <p>The algorithm block of prompt inspection and agent identification is an intermediate block in the system and the next step after the structured and unstructured content ingestion. Three LangChain-linked LLM-powered tools have been designed for the system to function as intended. These are respectively, the SQL agent tool block, the RAG-based retrieval module tool block, and a Tavily-based web search tool block. Each block has its own LLM agents for content retrieval. However, this block employs a GPT-4o-mini primary agent LLM to dynamically study the prompt’s intent as well as content and then identify the tool that is most probable for handling the database with respect to the user’s input prompt and forwards the user prompt to the respective agent block. It also takes into account the previous query history based on the knowledge graph for context understanding. Additionally, a feature that allows users to upload documents containing structured information adds flexibility for user interaction. The structured data is extracted and stored in the database. The LLM agent ensures that the extracted data aligns precisely with both the entered prompt and the associated data from the PDF document uploaded by the user. The primary LLM agent’s logic for prompt inspection is enclosed within the route_tools() method as seen in <xref ref-type="fig" rid="fig3">
       Figure 3
      </xref>. This method checks whether the question is associated with:</p>
     <fig id="fig3" position="float">
      <label>Figure 3</label>
      <caption>
       <title>Figure 3. Prompt inspection and deploying tools.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId53.jpeg?20250205024154" />
     </fig>
     <p>Each agent block is correlated with a specific data type as determined by the user’s prompt. For instance, operations conducted at the field level within a relational model—such as calculating the aggregate sum within a table or identifying the minimum and maximum values across all tables in a database—necessitate the engagement of the secondary agent from the SQL agent module to access structured data. Such operations are unattainable using solely a Large Language Model (LLM) agent that employs Retrieval-Augmented Generation (RAG) or functions independently of any auxiliary tool. In contrast, a user prompt necessitating a sequential response through policy search will activate the secondary LLM within the RAG tool module to generate an appropriate response by scrutinizing PDF documents. Moreover, the primary LLM ensures the adequacy of the extracted data in addressing the query before transmitting the final output to the user.</p>
    </sec>
    <sec id="s4_3">
     <title>4.3. SQL Agent Tool</title>
     <p>The core code for the SQL agent tool is as seen in <xref ref-type="fig" rid="fig4">
       Figure 4
      </xref>. This agent block handles database-related queries by accessing the relational data stored in the database. As seen in the code, the SQLAgent is implemented to produce queries. The agent, a distinct tool, converts prompts into SQL queries with the guidance of a GPT-3.5-turbo LLM, which interprets the input from the primary LLM. Tests show GPT-3.5-turbo excels in writing and performing database queries compared to GPT-4o-mini. As seen in <xref ref-type="fig" rid="fig5">
       Figure 5
      </xref>, the mentioned LLM is also responsible for analyzing the retrieved data that is returned in a structured format, against the input prompt and the uploaded document(s), and refactoring the SQL agent to design a more appropriate SQL query if needed. This ensures accurate output aligned with the user’s question and related uploaded documents in the database.</p>
     <fig id="fig4" position="float">
      <label>Figure 4</label>
      <caption>
       <title>Figure 4. SQL agent tool.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId54.jpeg?20250205024155" />
     </fig>
     <fig id="fig5" position="float">
      <label>Figure 5</label>
      <caption>
       <title>Figure 5. SQL agent.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId55.jpeg?20250205024155" />
     </fig>
     <p>The SQL agent module performs operations like joins, min/max calculations, and aggregations. For instance, it joins invoice and product tables to calculate total sales per product, which enterprise solutions like Unstract cannot achieve, as discussed in the paper.</p>
    </sec>
    <sec id="s4_4">
     <title>4.4. RAG Agent Block</title>
     <p>The core code for the RAG agent tool is as seen in <xref ref-type="fig" rid="fig6">
       Figure 6
      </xref>. The RAG agent module utilizes a Chroma-vector-based search mechanism for the extraction of pertinent unstructured data from diverse sources. Its efficacy is particularly pronounced in the context of sequential text extraction, necessitated by the nature of text vector embeddings and the corresponding text, which is conventionally documented in JSON format. This agent is developed as an independent tool, tasked with the processing of text-based queries via the implemented pdfRAGTool. When the GPT-4o-mini agent identifies PDF-based policy data extraction needs, it triggers the tool in LangChain.</p>
     <p>The RAG agent block is as seen in <xref ref-type="fig" rid="fig7">
       Figure 7
      </xref>. The agent module embeds the document and prompt into vectors using OpenAI’s text-embedding-3-small model and stores them in JSON. It queries Chroma-based data for prompt-related information, which is then used by GPT-4o-mini to create a clear user response.</p>
     <p>When a prompt involves an uploaded document with RAG models and LangChain, the tool uses vector embeddings to find and extract the most relevant sequence with GPT-4o-mini. The output is then summarized in human-readable format by the LLM within the RAG agent module. RAG is effective at synthesizing information from unstructured data, even in PDFs. GPT-4o-mini is used as both the primary and secondary LLM for its efficiency, lightweight nature, and free availability.</p>
     <fig id="fig6" position="float">
      <label>Figure 6</label>
      <caption>
       <title>Figure 6. RAG agent tool.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId56.jpeg?20250205024156" />
     </fig>
     <fig id="fig7" position="float">
      <label>Figure 7</label>
      <caption>
       <title>Figure 7. RAG agent.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId57.jpeg?20250205024157" />
     </fig>
    </sec>
    <sec id="s4_5">
     <title>4.5. Tavily Tool Integration for Web-Based Searches</title>
     <p>The workflow also integrates the Tavily tool which is most efficient for web-based searching capability. Tavily is an exclusive web search tool, designed to be easily integrated into AI-powered applications. If the primary agent deduces that the entered prompt requires web-based search, this tool is invoked. The Tavily tool in this workflow is initiated to return the 3 most relevant website links that most match the user prompt based on the analysis conducted by the primary agent.</p>
    </sec>
    <sec id="s4_6">
     <title>4.6. Knowledge Graph Generation</title>
     <p>The core code for control flow as depicted by the knowledge graph is as seen in <xref ref-type="fig" rid="fig8">
       Figure 8
      </xref>. A knowledge graph effectively represents the control flow of ensemble systems, offering a concise view of the workflow and modules while aiding in analyzing interactions for context-accurate queries. This is crucial for designing and optimizing AI applications focused on timely accuracy. All the designed agents along with their respective tools and the user prompts are represented as nodes in a knowledge graph. The control transition between these nodes as seen in <xref ref-type="fig" rid="fig8">
       Figure 8
      </xref>, is modeled as edges that denote the control flow of the system. The knowledge graph is visualized through high-level control flow modules as seen in the block diagram of the generated knowledge graph in <xref ref-type="fig" rid="fig9">
       Figure 9
      </xref>. The State graph or knowledge graph is generated by the primary LLM denoting the control flow from the user prompts and the tools invoked, to the output prompt in the chatbot. The memory is saved for the previous state retention and routing in the MemorySaver object from langgraph.checkpoint module by logging checkpoints of the previous states of interaction.</p>
     <p>With each interaction by the user, the knowledge graph undergoes dynamic expansion. The StateGraph object is configured and constructed by the principal LLM according to the flow of control across various tools and states. Performance</p>
     <fig id="fig8" position="float">
      <label>Figure 8</label>
      <caption>
       <title>Figure 8. Pipeline flow.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId58.jpeg?20250205024158" />
     </fig>
     <fig id="fig9" position="float">
      <label>Figure 9</label>
      <caption>
       <title>Figure 9. Generated knowledge graph.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId59.jpeg?20250205024158" />
     </fig>
     <p>metrics are available for examination on the LangChain dashboard. The sequence of inputs, the agents invoked consequently, and the output delivered can thus be scrutinized. The memory preservation mechanism is activated to enable the system to record prior interactions, thereby enhancing the content-awareness and adaptability of ensuing dialogues. This process is referred to as state maintenance within the framework of a knowledge graph representation.</p>
    </sec>
    <sec id="s4_7">
     <title>4.7. Integration with Enterprise Software Environments</title>
     <p>The modular design of the system, is suitable for integrating the pipeline with enterprise-grade software ecosystems such as Enterprise Resource Planning (ERP) via standardized APIs.</p>
     <p>The pipeline as a module is also suitable to be integrated with the sub-modules of ERP such as Customer Relationship Management (CRM) for automating individual parts of the ecosystem.</p>
     <p>The pipeline integrates into the ERP as seen in <xref ref-type="fig" rid="fig10">
       Figure 10
      </xref>. The results for these functionalities are discussed in the subsequent section of the paper. The modules that the IntelligentETL pipeline replaces are:</p>
     <p>1) Supply Chain Management (SCM) and CRM: The pipeline is responsible for extracting, validating, and integrating vendor contracts, invoices, purchase orders, and customer requirements into SQL-compatible formats. It enables analytics such as customer order history, and customer behavior insights based on the knowledge graph formation for each customer interaction.</p>
     <p>2) Data Warehousing: The pipeline efficiently ingests and centralizes structured and unstructured data into a relational model. This facilitates not just efficient querying but also analytics-ready storage and dynamic data retrieval for enterprise-wide reporting.</p>
     <p>3) Financial Resource Management (FRM): The extraction and validation of invoices, customer requirements, and payment data support advanced financial reconciliations through robust and accurate SQL query formulation.</p>
     <p>The modules where the IntelligentETL pipeline lacks direct applicability are: Human Resource Planning (HRP), and Manufacturing Resource Planning (MRP). The pipeline supports inventory and supply chain-related data but does not cater to functionalities specific to MRP and manufacturing processes such as production scheduling, and shop control. Also, it does not address HRP-specific functionalities such as employee records, recruitment processes, and payroll analytics in its current architecture. Designing additional modules or integrations tailored to HRP and MRP use cases is necessary to extend the pipeline’s applicability to enterprise applications dealing with the automation of these processes. An additional module specifically designed for resource planning is then necessary to be integrated with the developed pipeline to account for HRP and MRP as per respective application requirements based on the environments such as financial auditing, supply chain management, and legal documentation workflows.</p>
     <fig id="fig10" position="float">
      <label>Figure 10</label>
      <caption>
       <title>Figure 10. Integration with enterprise resource planning modules.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId60.jpeg?20250205024159" />
     </fig>
    </sec>
   </sec>
   <sec id="s5">
    <title>5. Results and Discussion</title>
    <sec id="s5_1">
     <title>5.1. PDF-to-SQL and Database Merging Pipeline</title>
     <p>The validation process for data conversion speed is conducted herein. Subsequent to this, the accuracy of structured data extraction will be evaluated, and the resulting metrics will be compared with those derived from unstract.</p>
     <p>The time taken for each of the operations is as given:</p>
     <p><img width="133.6225596529284" src="https://html.scirp.org/file/9303379-rId61.svg?20250205024202"> (6)</img></p>
     <p>where:</p>
     <p>The total time for the complete transformation workflow is given as:</p>
     <p><img width="213.54166666666666" src="https://html.scirp.org/file/9303379-rId69.svg?20250205024202"> (7)</img></p>
     <p>where:</p>
     <p>As seen in <xref ref-type="fig" rid="fig11">
       Figure 11
      </xref>, the time analysis result for all the operations for data transformation explained above sums up to 0.07 seconds for an A4-sized PDF. This is on par with the enterprise-level software that performs the task of only data conversion.</p>
     <fig id="fig11" position="float">
      <label>Figure 11</label>
      <caption>
       <title>Figure 11. Data transformation time analysis.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId77.jpeg?20250205024201" />
     </fig>
    </sec>
    <sec id="s5_2">
     <title>5.2. Accuracy of LLM-SQL Based Data Extraction</title>
     <p>
      <xref ref-type="fig" rid="fig12">
       Figure 12
      </xref> shows the performance of the LLM-backed SQL agent. The application was structured using LangChain. As such, LangChain offers excellent performance metrics reporting services.</p>
     <p>The performance metrics are displayed as seen in <xref ref-type="fig" rid="fig13">
       Figure 13
      </xref>. The metrics were obtained for the SQL agent deployed via the LLM to facilitate database querying. Upon conducting tests with a variety of prompts, it was noted that the performance of the LLM-based RAG and Tavily agents was comparable to that of the LLM-based SQL agent. Moreover, the performance metrics for any future tools that might be integrated into this pipeline through the LLM could be similarly analyzed. The adaptability to incorporate additional tools seamlessly, coupled with the ease of performance assessment via LangChain capabilities, significantly enhances the pipeline’s customizability—an aspect that is notably absent in the unstract framework.</p>
     <fig id="fig12" position="float">
      <label>Figure 12</label>
      <caption>
       <title>Figure 12. Custom-built chatbot with prompt output for LLM deployed SQL agent.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId78.jpeg?20250205024203" />
     </fig>
     <fig id="fig13" position="float">
      <label>Figure 13</label>
      <caption>
       <title>Figure 13. Performance metrics of LLM deployed SQL agent as captured by LangChain.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId79.jpeg?20250205024202" />
     </fig>
     <p>The query was initiated to determine the minimum and maximum amounts across all invoices within the database. The agent efficiently parsed through the extensive database, providing a 100% accurate response in only 6.50 seconds, based on 1399 generated tokens. Including the duration required for extracting content from PDFs and integrating it into the existing database, the entire pipeline process was completed in a total of 6.57 seconds.</p>
     <p>This performance was evaluated against that of Unstract, which utilized a state-of-the-art GPT-3.5-based large language model (LLM) and LLM extractor, alongside a Qdrant database and an enterprise-provided LLM whisperer. As seen in <xref ref-type="fig" rid="fig14">
       Figure 14
      </xref>, the prompts evaluated in this study were designed to extract the minimum and maximum values of the products, identify the product with the highest purchase frequency, and ascertain the individual who purchased the largest quantity of products alongside the total expenditure incurred. For an LLM-SQL agent, these queries are adequate to efficiently traverse the entire database, regardless of the volume of data stored, and produce precise results. Nonetheless, when executed on Unstract, the majority of these prompts either exceeded the designated time threshold or yielded inaccurate outcomes due to its sole reliance on LLM not only for prompt processing but also for data analysis. Observations indicate that Unstract requires an indefinite amount of time to execute complex field-based relational operations, defined in this context as operations taking more than 100 seconds. The time ellipsoid performance plot depicting the performance of one such comparative instance, as referenced herein, is illustrated in <xref ref-type="fig" rid="fig15">
       Figure 15
      </xref>.</p>
     <p>Having noticed these differences between the approach that we present and existing enterprise-ready software, we document these differences in a tabular structure as is seen in <xref ref-type="table" rid="table1">
       Table 1
      </xref>. Consequently, Unstract demonstrates limitations in delivering persuasive outcomes for multi-condition filtering. Specifically, implementing a combination of functions such as WHERE(), HAVING(), and GROUP BY()—commonly compliant with SQL—is not effectively handled. Furthermore, the accurate output of specific mathematical function combinations, including MIN(), MAX(), SUM(), AVG(), and COUNT(), poses challenges for the software,</p>
     <fig id="fig14" position="float">
      <label>Figure 14</label>
      <caption>
       <title>Figure 14. Unstract interface showing the LLM run for a question based on the relational data model for 1 sample document considered.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId80.jpeg?20250205024203" />
     </fig>
     <fig id="fig15" position="float">
      <label>Figure 15</label>
      <caption>
       <title>Figure 15. Time ellipsoid comparison between unstract and LLM deployed SQL agent.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9303379-rId81.jpeg?20250205024203" />
     </fig>
     <table-wrap id="table1">
      <label>
       <xref ref-type="table" rid="table1">
        Table 1
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.140351-"></xref>Table 1. Performance comparison: unstract vs. proposed pipeline.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td custom-top-td acenter" width="22.61%"><p style="text-align:center">Metric</p></td> 
        <td class="custom-bottom-td custom-top-td acenter" width="22.61%"><p style="text-align:center">Proposed Pipeline</p></td> 
        <td class="custom-bottom-td custom-top-td acenter" width="22.61%"><p style="text-align:center">Unstract</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="22.61%"><p style="text-align:center">PDF with Structured Data Extraction</p></td> 
        <td class="custom-top-td acenter" width="22.61%"><p style="text-align:center">&lt;1 s</p></td> 
        <td class="custom-top-td acenter" width="22.61%"><p style="text-align:center">&gt; 100 s</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Query Execution</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">&lt;1 s</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Not Supported</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Output Format</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">SQL</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">JSON</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Further Operation Possible</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Yes</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">No Field-Specific Relational Operations</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Multi-Condition Filtering</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Infallible</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Unreliable due to permissible LLM error margin</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Integration with Other Functions</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Seamless due to Modular Approach</p></td> 
        <td class="acenter" width="22.61%"><p style="text-align:center">Single Purpose Operation/Lacks Flexibility</p></td> 
       </tr> 
       <tr> 
        <td class="custom-bottom-td acenter" width="22.61%"><p style="text-align:center">Multi-Field Data Mismatch Analysis</p></td> 
        <td class="custom-bottom-td acenter" width="22.61%"><p style="text-align:center">Efficient</p></td> 
        <td class="custom-bottom-td acenter" width="22.61%"><p style="text-align:center">Context-Trained Combined LLM Prone to Error</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>particularly when dealing with a single multi-paged document or multiple documents. Additionally, in scenarios where numerical and field comparisons are critical, such as in detecting inconsistencies between purchase orders and vendor quotes, Language Learning Models (LLMs) tend to be error-prone and necessitate human intervention for validation. However, an LLM-powered SQL agent is capable of supporting complex multi-field numerical comparisons, such as assessing discrepancies in price, quantity, and discount, to thoroughly analyze data mismatches.</p>
     <p>As previously noted, the software is limited to processing PDF inputs and rendering outputs in JSON format, resulting in a significant inefficiency for subsequent operations on the database by utilizing the intermediate results. In contrast, the proposed pipeline incorporates an SQL agent that facilitates adjustments to administrative permissions, thereby permitting modifications to the data stored within the database. More conveniently, it can be deduced from <xref ref-type="table" rid="table2">
       Table 2
      </xref>, that the level of operational flexibility that an LLM-powered SQL agent allows is not achieved with solutions that are developed leveraging the LLMs alone. Also, these solutions are always prone to certain error occurrences. <xref ref-type="table" rid="table2">
       Table 2
      </xref> compares specific operation chains for structured data analysis which is not possible for Unstract to perform given its complete reliance on LLM alone.</p>
     <table-wrap id="table2">
      <label>
       <xref ref-type="table" rid="table2">
        Table 2
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.140351-"></xref>Table 2. Comparison of SQL agent and unstract capabilities for complex operation chains.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td custom-top-td acenter" width="27.90%"><p style="text-align:center">Complex Operation Chain</p></td> 
        <td class="custom-bottom-td custom-top-td acenter" width="36.05%"><p style="text-align:center">SQL Agent Capability</p></td> 
        <td class="custom-bottom-td custom-top-td acenter" width="36.05%"><p style="text-align:center">Why Unstract Can’t Perform</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td aleft" width="27.90%"><p style="text-align:left">Double Join with Aggregation and Grouped Filtering</p></td> 
        <td class="custom-top-td aleft" width="36.05%"><p style="text-align:left">√ Executes multi-level joins with complex conditions in one query.</p></td> 
        <td class="custom-top-td aleft" width="36.05%"><p style="text-align:left">JSON lacks relational joins and multi-level aggregation capabilities, requiring scripting.</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="27.90%"><p style="text-align:left">Nested Subquery for Conditional Summing and Ranking</p></td> 
        <td class="aleft" width="36.05%"><p style="text-align:left">√ Supports subqueries, ranking, and aggregations in a single command chain.</p></td> 
        <td class="aleft" width="36.05%"><p style="text-align:left">JSON format needs additional processing for multi-step transformations; lacks ranking capability.</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="27.90%"><p style="text-align:left">Dynamic Date-Based Analysis with Conditional Joins</p></td> 
        <td class="aleft" width="36.05%"><p style="text-align:left">√ Handles time-sensitive data and complex conditionals efficiently.</p></td> 
        <td class="aleft" width="36.05%"><p style="text-align:left">JSON is flat-structured and lacks time-based processing and complex conditional joins.</p></td> 
       </tr> 
       <tr> 
        <td class="aleft" width="27.90%"><p style="text-align:left">Recursive CTE with Hierarchical Summing</p></td> 
        <td class="aleft" width="36.05%"><p style="text-align:left">√ Enables recursive queries for cumulative hierarchical calculations.</p></td> 
        <td class="aleft" width="36.05%"><p style="text-align:left">JSON lacks hierarchical structure, making recursion impractical.</p></td> 
       </tr> 
       <tr> 
        <td class="custom-bottom-td aleft" width="27.90%"><p style="text-align:left">Complex Pivot with Conditional Aggregates</p></td> 
        <td class="custom-bottom-td aleft" width="36.05%"><p style="text-align:left">√ Performs pivot operations with conditional aggregates directly.</p></td> 
        <td class="custom-bottom-td aleft" width="36.05%"><p style="text-align:left">JSON lacks pivot functionality and requires extra transformation steps for conditional aggregates.</p></td> 
       </tr> 
      </table>
     </table-wrap>
    </sec>
   </sec>
   <sec id="s6">
    <title>6. Potential Under-Performance and Further Scope for Improvement</title>
    <p>The pipeline efficiently addresses challenges associated with querying structured and unstructured data. However, certain inherent limitations could be encountered. For instance, if for an application leveraging the pipeline, the input data deviates significantly from the training distribution of the LLMs, the extracted entity or the formulated relational query may be of reduced accuracy. Such instances may arise with the inclusion of the following:</p>
    <p>1) Input documents containing highly domain-specific language.</p>
    <p>2) Unconventional table structures in the uploaded document.</p>
    <p>3) Document with poor quality and ambiguous data.</p>
    <p>Additionally, in cases of ambiguous prompts engineered for primary LLM, the accuracy of appropriate tool selection for the query may be marred.</p>
    <p>Further scope for improvement lies in addressing these business and application-specific limitations. The techniques such as prompt engineering of primary LLM and domain-specific fine-tuning of the LLMs along with including certain fallback mechanisms such as rule-based extraction for predictable tasks, could improve the robustness of the pipeline catering to specific business applications.</p>
   </sec>
   <sec id="s7">
    <title>7. Conclusion</title>
    <p>We demonstrate that LLM-powered intelligent SQL, RAG, and Tavily agents markedly enhance extraction accuracy compared to existing enterprise-level solutions available in the market. With empirical evidence supporting these outcomes, this method is well-suited for broader applicability. By integrating business-specific prompt engineering of the primary LLM and accommodating flexible pipeline modifications in alignment with the application objectives, enterprises can adopt this for efficient data processing and output generation. Through minor alterations based on knowledge graphs to the control flow, this methodology facilitates the addition of another user for database interaction and can be further developed to support communication channels among users. Access to modify the database could be appropriately regulated. Furthermore, in financial contexts of structured data analysis, a hyperbolic scaling function, specifically of the hyperbolic tangent nature, could be utilized to introduce an additional field in tables, categorizing products into high, medium, and low price ranges. These represent some instance-based minor refinements, the implementation of which is contingent upon the specific application under development.</p>
   </sec>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.140351-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     https://planergy.com/blog/manual-procurement-process/ 
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bahameish, B., Yaqot, M., Franzoi, R. and Menezes, B. (2022) Artificial Intelligence in Procurement: An Overview and Case Study of Qatar Foundation. Proceedings of the International Conference on Industrial Engineering and Operations Management, Rome, 26-28 July 2022, 722-732. &gt;https://doi.org/10.46254/eu05.20220146
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Yang, J., Hu, X., Xiao, G. and Shen, Y. (2024) A Survey of Knowledge Enhanced Pre-Trained Language Models. ACM Transactions on Asian and Low-Resource Language Information Processing. &gt;https://doi.org/10.1145/3631392
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kalyanpur, A., Saravanakumar, K.K., Barres, V., McFate, C.J., Moon, L., Seifu, N., Eremeev, M., Barrera, J., Bautista-Castillo, A., Brown, E. and Ferrucci, D. (2024) Multi-Step Knowledge Retrieval and Inference over Unstructured Data. arXiv: 2406.17987.
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zhou, M.Y. (2024) Improving LLM Understanding of Structured Data and Exploring Advanced Prompting Methods. Microsoft Research Blog.
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Biswas, A. and Talukdar, W. (2024) Robustness of Structured Data Extraction from In-Plane Rotated Documents using Multi-Modal Large Language Models (LLM). Journal of Artificial Intelligence Research, 4, 176-195.
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Fang, X., Xu, W.J., Tan, F.A., Zhang, J.N., Hu, Z.Q., Qi, Y.J., Nickleach, S., Socolinsky, D., Sengamedu, S. and Faloutsos, C. (2024) Large Language Models (LLMs) on Tabular Data: Prediction, Generation, and Under-Standing—A Survey. &gt;https://doi.org/10.48550/arXiv.2402.17944 
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Narayanan, P.P. and Narayana Iyer, A.P. (2024) HySem: A Context Length Optimized LLM Pipeline for Unstructured Tabular Extraction. arXiv: 2408.09434.
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Li, H., Gao, H., Wu, C. and Vasarhelyi, M.A. (2023) Extracting Financial Data from Unstructured Sources: Leveraging Large Language Models. SSRN Electronic Journal.&gt;https://doi.org/10.2139/ssrn.4567607
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Dagdelen, J., Dunn, A., Lee, S., Walker, N., Rosen, A.S., Ceder, G., et al. (2024) Structured Information Extraction from Scientific Text with Large Language Models. Nature Communications, 15, Article No. 1418. &gt;https://doi.org/10.1038/s41467-024-45563-x
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Yang, Y., Wu, Z., Yang, Y., Lian, S., Guo, F. and Wang, Z. (2022) A Survey of Information Extraction Based on Deep Learning. Applied Sciences, 12, Article 9691. &gt;https://doi.org/10.3390/app12199691
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Shan, Y., Lu, H. and Lou, W. (2023) A Hybrid Attention and Dilated Convolution Framework for Entity and Relation Extraction and Mining. Scientific Reports, 13, Article No. 17062. &gt;https://doi.org/10.1038/s41598-023-40474-1
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Yang, Y., Tang, Y.X. and Tam, K.Y. (2023) InvestLM: A Large Language Model for Investment Using Financial Domain Instruction Tuning. arXiv: 2309.13064.
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Krugmann, J.O. and Hartmann, J. (2024) Sentiment Analysis in the Age of Generative AI. Customer Needs and Solutions, 11, Article No. 3. &gt;https://doi.org/10.1007/s40547-024-00143-4
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Parthasarathy, V.B., Zafar, A., Khan, A. and Shahid, A. (2024) The Ultimate Guide to Fine-Tuning LLMs from Basics to Breakthroughs: An Exhaustive Review of Technologies, Research, Best Practices, Applied Research Challenges and Opportunities. arXiv: 2408.13296.
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Trad, F. and Chehab, A. (2024) Prompt Engineering or Fine-Tuning? A Case Study on Phishing Detection with Large Language Models. Machine Learning and Knowledge Extraction, 6, 367-384. &gt;https://doi.org/10.3390/make6010018
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J. and Wu, X. (2024) Unifying Large Language Models and Knowledge Graphs: A Roadmap. IEEE Transactions on Knowledge and Data Engineering, 36, 3580-3599. &gt;https://doi.org/10.1109/tkde.2024.3352100
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Hello, N., Di Lorenzo, P. and Strinati, E.C. (2024) Semantic Communication Enhanced by Knowledge Graph Representation Learning. 2024 IEEE 25th International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), Lucca, 10-13 September 2024, 876-880. &gt;https://doi.org/10.1109/spawc60668.2024.10694291
    </mixed-citation>
   </ref>
   <ref id="scirp.140351-ref19">
    <label>19</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zhao, H., Jiang, W., Deng, J., Ren, Q. and Zhang, L. (2023) Constructing Knowledge Graph for Electricity Keywords Based on Large Language Model. 2023 IEEE 7th Conference on Energy Internet and Energy System Integration (EI2), Hangzhou, 15-18 December 2023, 4844-4849. &gt;https://doi.org/10.1109/ei259745.2023.10512525
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>