fix: datasets indexing-status api document (#2019)

This commit is contained in:
Vikey Chen 2024-01-14 09:43:52 +08:00 committed by GitHub
parent cb7be3767c
commit d8c0d722d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -539,7 +539,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
--- ---
<Heading <Heading
url='/datasets/{dataset_id}/batch/{batch}/indexing-status' url='/datasets/{dataset_id}/documents/{batch}/indexing-status'
method='GET' method='GET'
title='Get document embedding status (progress)' title='Get document embedding status (progress)'
name='#indexing_status' name='#indexing_status'
@ -560,7 +560,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
<CodeGroup <CodeGroup
title="Request" title="Request"
tag="GET" tag="GET"
label="/datasets/{dataset_id}/batch/{batch}/indexing-status" label="/datasets/{dataset_id}/documents/{batch}/indexing-status"
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{batch}/indexing-status' \\\n--header 'Authorization: Bearer {api_key}'`} targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{batch}/indexing-status' \\\n--header 'Authorization: Bearer {api_key}'`}
> >
```bash {{ title: 'cURL' }} ```bash {{ title: 'cURL' }}

View File

@ -539,7 +539,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
--- ---
<Heading <Heading
url='/datasets/{dataset_id}/batch/{batch}/indexing-status' url='/datasets/{dataset_id}/documents/{batch}/indexing-status'
method='GET' method='GET'
title='获取文档嵌入状态(进度)' title='获取文档嵌入状态(进度)'
name='#indexing_status' name='#indexing_status'
@ -560,7 +560,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
<CodeGroup <CodeGroup
title="Request" title="Request"
tag="GET" tag="GET"
label="/datasets/{dataset_id}/batch/{batch}/indexing-status" label="/datasets/{dataset_id}/documents/{batch}/indexing-status"
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{batch}/indexing-status' \\\n--header 'Authorization: Bearer {api_key}'`} targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{batch}/indexing-status' \\\n--header 'Authorization: Bearer {api_key}'`}
> >
```bash {{ title: 'cURL' }} ```bash {{ title: 'cURL' }}