This paper proposes a Retrieval-Augmented Generation (RAG) framework that combines knowledge graphs and vector databases to enhance the performance of large language models (LLMs). This method first retrieves relevant subgraphs from the knowledge graph and then integrates this information with that from the vector database to enhance the generative capabilities of the model. Through experimental evaluations in the medical field, the results show that this framework significantly improves the quality and accuracy of responses generated by the model when handling complex questions, outperforming RAG frameworks that use only a single knowledge base. This approach effectively leverages the strengths of different knowledge bases, optimizing information retrieval.

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

A Retrieval-Augmented Framework Based on Knowledge Graphs and Vector Databases for Enhancing Large Language Model Performance

  • Genggeng Zhang,
  • Linfeng Li,
  • Hong Chen,
  • Zhijie Qiu,
  • Lei Luo

摘要

This paper proposes a Retrieval-Augmented Generation (RAG) framework that combines knowledge graphs and vector databases to enhance the performance of large language models (LLMs). This method first retrieves relevant subgraphs from the knowledge graph and then integrates this information with that from the vector database to enhance the generative capabilities of the model. Through experimental evaluations in the medical field, the results show that this framework significantly improves the quality and accuracy of responses generated by the model when handling complex questions, outperforming RAG frameworks that use only a single knowledge base. This approach effectively leverages the strengths of different knowledge bases, optimizing information retrieval.