Why does the document creation API using the knowledge base after deployment display: File not Found #11396

Closed
opened 2026-02-21 18:59:12 -05:00 by yindo · 0 comments
Owner

Originally created by @qq312888991 on GitHub (Mar 17, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Interface address:
/datasets/{dataset_id}/document/create-by-text

Call the parameters of the interface:

{
    "name": "测试通过文本创建文档",
    "text": "文本内容",
    "indexing_technique": "high_quality",
    "doc_form": "text_model",
    "process_rule": {
        "mode": "custom",
        "rules": {
            "pre_processing_rules": [
                {
                    "id": "remove_extra_spaces",
                    "enabled": true
                },
                {
                    "id": "remove_urls_emails",
                    "enabled": true
                }
            ],
            "segmentation": {
                "separator": "\n\n",
                "max_tokens": 500
            },
            "parent_mode": "paragraph",
            "subchunk_segmentation": {
                "separator": "\n",
                "max_tokens": 500,
                "chunk_overlap": 50
            }
        }
    },
    "retrieval_model": {
        "search_method": "full_text_search",
        "reranking_enable": false,
        "reranking_model": {
            "reranking_provider_name": "",
            "reranking_model_name": ""
        },
        "top_k": 5,
        "score_threshold_enabled": false,
        "score_threshold": 0.6
    },
    "embedding_model": "text-embedding-ada-002",
    "embedding_model_provider": "OpenAI"
}

Image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @qq312888991 on GitHub (Mar 17, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.0.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Interface address: /datasets/{dataset_id}/document/create-by-text Call the parameters of the interface: ``` { "name": "测试通过文本创建文档", "text": "文本内容", "indexing_technique": "high_quality", "doc_form": "text_model", "process_rule": { "mode": "custom", "rules": { "pre_processing_rules": [ { "id": "remove_extra_spaces", "enabled": true }, { "id": "remove_urls_emails", "enabled": true } ], "segmentation": { "separator": "\n\n", "max_tokens": 500 }, "parent_mode": "paragraph", "subchunk_segmentation": { "separator": "\n", "max_tokens": 500, "chunk_overlap": 50 } } }, "retrieval_model": { "search_method": "full_text_search", "reranking_enable": false, "reranking_model": { "reranking_provider_name": "", "reranking_model_name": "" }, "top_k": 5, "score_threshold_enabled": false, "score_threshold": 0.6 }, "embedding_model": "text-embedding-ada-002", "embedding_model_provider": "OpenAI" } ``` ![Image](https://github.com/user-attachments/assets/20a8ceec-068a-4a0c-802b-8d9c9cd3ca91) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug🤔 cant-reproduce labels 2026-02-21 18:59:12 -05:00
yindo closed this issue 2026-02-21 18:59:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11396