DB-GPT [特性][知识图谱] 支持代理LLM用于TuGraph,

lnlaulya  于 2个月前  发布在  其他
关注(0)|答案(2)|浏览(33)

在提问前搜索

  • 我在 issues 中进行了搜索,但没有找到类似的功能需求。

描述

在使用基于代理LLM的图形数据库创建知识库时,是否支持代理LLM。
当使用基于代理LLM的图形数据库时,需要修改哪些代码文件。例如:
/DB-GPT/dbgpt/storage/knowledge_graph/knowledge_graph.py

用例

当使用图形数据库查询内容时,可以在代理LLM之间自由切换。

相关问题

功能优先级

你是否愿意提交PR?

  • 是的,我愿意提交一个PR!
zc0qhyus

zc0qhyus1#

Modify LLM_MODEL and the corresponding endpoint url and api_key in the .env file to the model you want, if it's not supported, you'll need to mock up and write some files yourself.

ykejflvf

ykejflvf2#

Modify LLM_MODEL and the corresponding endpoint url and api_key in the .env file to the model you want, if it's not supported, you'll need to mock up and write some files yourself.
I understand now. By examining the implementation content of '/DB-GPT/dbgpt/storage/knowledge_graph/knowledge_graph.py', it is indeed necessary to customize some implementation files to support proxy LLM.

相关问题