Skip to content
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

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

Open
Leizhenpeng opened this issue Jul 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Leizhenpeng
Copy link
Member

问题复现

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'
@Leizhenpeng Leizhenpeng added the bug Something isn't working label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant