Replies: 1 comment
-
Any help? T_T |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
Content
using curl is OK:
curl --location --request POST 'http://{server_ip}/v1/datasets/{dataset_id}/document/create_by_file' --header 'Authorization: Bearer {api_key}' --form 'data={"name":"assistant","indexing_technique":"high_quality","process_rule":{"rules":{"pre_processing_rules":[{"id":"remove_extra_spaces","enabled":true},{"id":"remove_urls_emails","enabled":true}],"segmentation":{"separator":"###","max_tokens":500}},"mode":"custom"}};type=text/plain' --form 'file=@"{file_path}"'
Referred issue answer https://github.com/langgenius/dify/issues/2589#issuecomment-1968046442, use the following python script:
Returned error:
400 {"code": "too_many_files", "message": "Only one file is allowed.", "status": 400}
How to resolve this?
Beta Was this translation helpful? Give feedback.
All reactions