Skip to main content
DocumentKnowledgeBase 会读取本地文档文件,将它们转换为向量嵌入并加载到向量数据库中。

用法

我们在此示例中使用本地 PgVector 数据库。请确保它正在运行
然后将 knowledge_baseAgent 一起使用:

参数

DocumentKnowledgeBaseAgentKnowledge 类的子类,可以访问相同的参数。

开发者资源