Various organizations’ stakeholders often base their decisions on insights extracted from financial documents such as invoices. Most of the time, these are non-technical stakeholders, thus requiring a translation into a structured database query. This paper explores two approaches that leverage the current capabilities of LLMs (Large Language Models) and facilitate natural language querying applied on factual data. We compared the established RAG retrieval method with its extension, GraphRAG, as both of these methods empower decision makers to quickly address natural language queries at their convenience to obtain actionable insights from invoices, reducing reliance on specialized personnel for database interrogation.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Natural Language Querying of Invoice Data Using RAG and GraphRAG: Leveraging LLMs for Financial Document Insights

  • Teodora Cristiana Nemtoc,
  • Ana-Maria Ghiran

摘要

Various organizations’ stakeholders often base their decisions on insights extracted from financial documents such as invoices. Most of the time, these are non-technical stakeholders, thus requiring a translation into a structured database query. This paper explores two approaches that leverage the current capabilities of LLMs (Large Language Models) and facilitate natural language querying applied on factual data. We compared the established RAG retrieval method with its extension, GraphRAG, as both of these methods empower decision makers to quickly address natural language queries at their convenience to obtain actionable insights from invoices, reducing reliance on specialized personnel for database interrogation.