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://fastgpt.in
Other
15.23k stars 3.97k forks source link

知识库无法上传文件 #1911

Closed wanyh2012 closed 1 day ago

wanyh2012 commented 2 days ago

例行检查

你的版本

问题描述, 日志截图

复现步骤

预期结果

相关截图

wanyh2012 commented 2 days ago

image

wanyh2012 commented 2 days ago

curl --location --request POST 'http://172.16.1.85:3000/api/core/dataset/collection/create/localFile' \ --header 'Authorization: Bearer fastgpt-kOoBAKBzyFfwNtlssnEEN6FB24xSghGAEw9qJzC7PYCQnuYg7EHGIknsjUV' \ --form 'file=@"/home/gpt/file/人生.txt"' \ --form 'data="{\"datasetId\":\"667e7b838c9069d1a46c72b1\",\"parentId\":null,\"trainingType\":\"chunk\",\"chunkSize\":512,\"chunkSplitter\":\"\",\"qaPrompt\":\"\",\"metadata\":{}}"'

wanyh2012 commented 2 days ago

image 使用的是账号生成的apikey,开源版本没有上传功能吗

c121914yu commented 1 day ago

填写完 例行检查 再说