Skip to content

往知识库中导入文档格式未text的文档,任务显示成功,但无法在知识库列表中获取 #2

Description

@Leizhenpeng

问题复现

curl --location --request POST 'http://47.106.72.199/api/collection/64ae3cda4927ea0019123c93/documents?file=' \
--header 'User-Agent: Apifox/1.0.0 (https://www.apifox.cn)' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer 3c7f2c86-92bb-4df6-8f28-867e80b1ec69' \
--data-raw '{
    "fileType": "text",
    "content": "hello what is ur name"
}'

返回

{
    "code": 0,
    "data": {
        "task_id": "48f5fb87-c268-415e-973b-d79ff4d2d1c1"
    },
    "msg": "success"
}

但是查询知识库中文档列表,始终无法找到

curl --location --request GET 'http://47.106.72.199/api/collection/64ae3cda4927ea0019123c93/documents?page=1&size=10' \
--header 'User-Agent: Apifox/1.0.0 (https://www.apifox.cn)' \
--header 'Authorization: Bearer 3c7f2c86-92bb-4df6-8f28-867e80b1ec69'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions