New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] 上传知识文件的格式 #3906
Comments
The issue with the file upload in the 'Knowledge Management' section seems to be related to the format of the JSON file you're using. The system expects a JSON object, not a list of objects. Your file should be structured as follows: {
"prompt": "test",
"message": "answer"
} This format is required to match the
|
if I want to upload a group answers ,what formatter shall I support? is the below formatter right? |
嗯 |
功能描述 / Feature Description
在'知识库管理',功能中上传'上传知识文件'时,上传文件内容的格式是什么样的? 如果是json文件,应该是使用什么样的属性?
目前有文件 [{'prompt':'test',message:'answer'}] 这样的内容格式的json文件,上传提示失败,请问要上传的文件的格式是什么样的?
并给出示例模板
The text was updated successfully, but these errors were encountered: