Using Off-the-Shelf LLMs to Query Enterprise Data by Progressively Revealing Ontologies
摘要
Ontologies are known to improve the ability of a Large Language Model (LLM) to translate natural language queries into formal query languages. One approach provides the ontology as part of the input question, but enterprise ontologies are often too large due to token size limitations. Our solution incrementally reveals “just enough” of an ontology to answer a given question.