[Bug] [illegal params ] illegal params graphStore is null
Search before asking
- [x] I had searched in the issues and found no similar issues.
Operating system information
Linux
What happened
无法成功设置api模型,点确定抛出illegal params g
aphStore is null
How to reproduce
illegal params gaphStore is null
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
抽取会用到向量配置和模型配置,所以都需要配,请先配置向量,在配置模型
可是我先输入向量配置都有问题啊。每次创建知识库就拦截
+1
@123132456456454 @13535048320 @oqwn 跟执行顺序有关:
- 先执行 spg快速开始文档 到第2步完成
- 但此时 知识库列表 是 空的,别急着添加 模型
- 但初始密码一定要改
- 再执行 KAG安装文档
- py要3.10 (我试过3.12一堆报错)
- 此时可以准备 LLM 的服务了(可以本地,或用MAAS服务)
- 安装好后,步骤1中 spg 服务也是启动的,可以验证下
knext --version
- 初始化 第一个 案例 kag/examples/musique
- 打开 项目高级配置说明 把 全局配置 中的图存储、向量、提示词都配置好
- 选择 知识库问答 开始玩吧
附图: 我的环境 和 最终效果
@highsea 不好意思,我用的 docker compose,仍有几个问题
- spg-registry.cn-hangzhou.cr.aliyuncs.com/spg/openspg-server:latest 的 python 版本是 3.8.10
- knext --version 输出如下
(openspg_venv) root@8442cb0abea2:/# knext --version
Done initialize project config with host addr http://127.0.0.1:8887 and project_id 1
No config found.
knext, version 0.6-beta3
- 容器中没有初始案例,所以也同样没有 kag_config.yaml
- 这种项目配置都是不能在 Web UI 上面完成的吗?以为文档里面提供的基本都是 json 格式,但也没提到配置在哪个位置
- 而且文档中的 “KAG 安装” 是已经过时了
@13535048320 我也是docker-compose 方式,
- 但是它只是帮你启动了 SPG server,
- 知识库初始化还是得 KAG ,
- 你可以参考 我上文的步骤 3:“初始化 第一个 案例 kag/examples/musique”
文档都会过时 ^_^ ,我也是 通过 KAG 仓库 踩的坑,试试
- clone kag 仓库,环境按我的版本
- 修改 kag_config.yaml ,然后 看kag文档 初始化
@highsea 好的,感谢回复
Search before asking
- [x] I had searched in the issues and found no similar issues.
Operating system information
Linux
What happened
无法成功设置api模型,点确定抛出illegal params g
aphStore is null
How to reproduce
illegal params gaphStore is null
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
This bug has been fixed. And the latest User Manual is: https://openspg.github.io/v2/docs_ch