WeKnora icon indicating copy to clipboard operation
WeKnora copied to clipboard

[Question]: 开启了env文件中知识图谱的功能,web端却没有显示

Open Serendipity341026 opened this issue 3 months ago • 4 comments

问题类别

使用问题

问题描述

想问一下,知识图谱的构建和检索在哪里,为什么我env文件里修改了,web端也没有显示

背景信息

No response

操作系统

Windows 10

其他环境信息

-Weknora版本0.1.4 -docker部署

相关日志


已查找的资源

No response

确认事项

  • [x] 我已经搜索了现有的 issues 和文档
  • [x] 我已经提供了足够的信息来帮助理解问题

Serendipity341026 avatar Sep 24 '25 10:09 Serendipity341026

同问,是不是需要用其他工具打开?

MingjunHu avatar Sep 24 '25 10:09 MingjunHu

很疑惑,项目的知识图谱打开后找不到显示,解决了吗。

smallxinpilot avatar Oct 13 '25 08:10 smallxinpilot

https://github.com/Tencent/WeKnora/blob/main/config/config.yaml 这里是构建的提示词; https://github.com/Tencent/WeKnora/blob/main/internal/application/service/graph.go 这里是构建图谱的代码; https://github.com/Tencent/WeKnora/blob/f24cd817cbaf18cfd2b1f695328b85190db65da3/internal/application/service/knowledge.go#L992 这里是启用图谱功能; https://github.com/Tencent/WeKnora/blob/main/migrations/paradedb/00-init-db.sql 这里是数据库的表的存储结构

nullptr-error avatar Oct 13 '25 12:10 nullptr-error

https://github.com/Tencent/WeKnora/blob/main/config/config.yaml 这里是构建的提示词; https://github.com/Tencent/WeKnora/blob/main/internal/application/service/graph.go 这里是构建图谱的代码;

WeKnora/internal/application/service/knowledge.go

Line 992 in f24cd81

if enableGraphRAG { 这里是启用图谱功能; https://github.com/Tencent/WeKnora/blob/main/migrations/paradedb/00-init-db.sql 这里是数据库的表的存储结构

您好,如果我想关闭知识图谱的构建以及禁止它依据知识图谱进行检索,只需要“ENABLE_GRAPH_RAG=False”就可以了吗?

WCX0221 avatar Oct 16 '25 06:10 WCX0221