We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.15.0
Cloud, Self Hosted (Docker)
Run
curl --location --request POST 'https://api.dify.ai/v1/datasets' \ minibanana@minibanana --header 'Authorization: Bearer KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"name": "Test Knowledge Base", "permission": "only_me"}'
Result
{"id": "c89d0a9b-82b8-4dc1-834d-3e0868750702", "name": "Test Knowledge Base", "description": "", "provider": "vendor", "permission": "only_me", "data_source_type": null, "indexing_technique": null, "app_count": 0, "document_count": 0, "word_count": 0, "created_by": "b653e75a-d227-4be7-a3b7-cae6929bc755", "created_at": 1736257682, "updated_by": "b653e75a-d227-4be7-a3b7-cae6929bc755", "updated_at": 1736257682, "embedding_model": null, "embedding_model_provider": null, "embedding_available": null, "retrieval_model_dict": {"search_method": "semantic_search", "reranking_enable": false, "reranking_mode": null, "reranking_model": {"reranking_provider_name": "", "reranking_model_name": ""}, "weights": null, "top_k": 2, "score_threshold_enabled": false, "score_threshold": null}, "tags": [], "doc_form": null, "external_knowledge_info": {"external_knowledge_id": null, "external_knowledge_api_id": null, "external_knowledge_api_name": null, "external_knowledge_api_endpoint": null}, "external_retrieval_model": {"top_k": 2, "score_threshold": 0.0, "score_threshold_enabled": null}}
curl --location 'https://api.dify.ai/v1/datasets/c89d0a9b-82b8-4dc1-834d-3e0868750702/document/create_by_text' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer dataset-b69cTwDWqNXpOr6vVvPBdggE' \ --data '{"name": "text","text": "text","indexing_technique": "high_quality","process_rule": {"mode": "automatic"}}'
{ "message": "Internal Server Error", "code": "unknown" }
200
If we choose the same indexing_technique while posting the data then everything should be fine.
--data-raw '{"name": "Test Knowledge Base", "permission": "only_me"}'
The text was updated successfully, but these errors were encountered:
update-by-text
invalid_param
fix #12453 #11430
a572d1d
743cff4
fix #12453 #12482 (#12495)
bee32d9
fix langgenius#12453 langgenius#12482 (langgenius#12495)
7ef75df
JohnJyong
Successfully merging a pull request may close this issue.
Self Checks
Dify version
0.15.0
Cloud or Self Hosted
Cloud, Self Hosted (Docker)
Steps to reproduce
Run
Result
Run
Result
✔️ Expected Behavior
200
❌ Actual Behavior
If we choose the same indexing_technique while posting the data then everything should be fine.
The text was updated successfully, but these errors were encountered: