labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.46k stars 4.69k forks source link

创建一个文件集合的提示接口命令提示无效数据集 #1987

Closed SDAIer closed 3 months ago

SDAIer commented 3 months ago

本地4.8.4

{"code":501000,"statusText":"unExistDataset","message":"core.dataset.error.unExistDataset","data":null}

更换了数据集一样的错误

image image

c121914yu commented 3 months ago

是要知识库 id,不是要集合 id

daijunlin commented 2 months ago

是要知识库 id,不是要集合 id

我也遇到这个问题,传的就是知识库ID,但是一样提示无效

daijunlin commented 2 months ago

问一下,后续有成功不

SDAIer commented 2 months ago

成功了  不知道咋回事  后来就ok了

---原始邮件--- 发件人: "Tad @.> 发送时间: 2024年7月26日(周五) 下午2:42 收件人: @.>; 抄送: @.**@.>; 主题: Re: [labring/FastGPT] 创建一个文件集合的提示接口命令提示无效数据集 (Issue #1987)

问一下,后续有成功不

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

daijunlin commented 2 months ago

成功了  不知道咋回事  后来就ok了 ---原始邮件--- 发件人: "Tad @.> 发送时间: 2024年7月26日(周五) 下午2:42 收件人: @.>; 抄送: @.**@.>; 主题: Re: [labring/FastGPT] 创建一个文件集合的提示接口命令提示无效数据集 (Issue #1987) 问一下,后续有成功不 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

辛苦能把去掉apikey和datasetId的请求代码截个图看看不,我对比和我的请求有没有用差异

2662007798 commented 2 months ago

注意两点: 1、请求的时候要知识库的id 你需要拿到 2、file上传文件 3、data里面需要是json序列化后的内容,不是字符串的json。

根据这三点检查更正即可对接。