|
@@ -89,7 +89,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets?page=1&limit=20' \\\n--header 'Authorization: Bearer {api_key}'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location --request GET 'https://api.dify.ai/v1/datasets?page=1&limit=20' \
|
|
|
+ curl --location --request GET '${props.apiBaseUrl}/datasets?page=1&limit=20' \
|
|
|
--header 'Authorization: Bearer {api_key}'
|
|
|
```
|
|
|
</CodeGroup>
|
|
@@ -162,7 +162,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
- <code>rules</code> (object) Custom rules (in automatic mode, this field is empty)
|
|
|
- <code>pre_processing_rules</code> (array[object]) Preprocessing rules
|
|
|
- <code>id</code> (string) Unique identifier for the preprocessing rule
|
|
|
- - enumerate
|
|
|
+ - enumerate
|
|
|
- <code>remove_extra_spaces</code> Replace consecutive spaces, newlines, tabs
|
|
|
- <code>remove_urls_emails</code> Delete URL, email address
|
|
|
- <code>enabled</code> (bool) Whether to select this rule or not. If no document ID is passed in, it represents the default value.
|
|
@@ -173,14 +173,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
</Properties>
|
|
|
</Col>
|
|
|
<Col sticky>
|
|
|
- <CodeGroup
|
|
|
- title="Request"
|
|
|
- tag="POST"
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="POST"
|
|
|
label="/datasets/{dataset_id}/document/create_by_text"
|
|
|
targetCode={`curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/document/create_by_text' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{"name": "text","text": "text","indexing_technique": "high_quality","process_rule": {"mode": "automatic"}}'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location --request POST 'https://api.dify.ai/v1/datasets/{dataset_id}/document/create_by_text' \
|
|
|
+ curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/document/create_by_text' \
|
|
|
--header 'Authorization: Bearer {api_key}' \
|
|
|
--header 'Content-Type: application/json' \
|
|
|
--data-raw '{
|
|
@@ -269,7 +269,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
- <code>rules</code> (object) Custom rules (in automatic mode, this field is empty)
|
|
|
- <code>pre_processing_rules</code> (array[object]) Preprocessing rules
|
|
|
- <code>id</code> (string) Unique identifier for the preprocessing rule
|
|
|
- - enumerate
|
|
|
+ - enumerate
|
|
|
- <code>remove_extra_spaces</code> Replace consecutive spaces, newlines, tabs
|
|
|
- <code>remove_urls_emails</code> Delete URL, email address
|
|
|
- <code>enabled</code> (bool) Whether to select this rule or not. If no document ID is passed in, it represents the default value.
|
|
@@ -280,14 +280,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
</Properties>
|
|
|
</Col>
|
|
|
<Col sticky>
|
|
|
- <CodeGroup
|
|
|
- title="Request"
|
|
|
- tag="POST"
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="POST"
|
|
|
label="/datasets/{dataset_id}/document/create_by_file"
|
|
|
targetCode={`curl --location POST '${props.apiBaseUrl}/datasets/{dataset_id}/document/create_by_file' \\\n--header 'Authorization: Bearer {api_key}' \\\n--form 'data="{"name":"Dify","indexing_technique":"high_quality","process_rule":{"rules":{"pre_processing_rules":[{"id":"remove_extra_spaces","enabled":true},{"id":"remove_urls_emails","enabled":true}],"segmentation":{"separator":"###","max_tokens":500}},"mode":"custom"}}";type=text/plain' \\\n--form 'file=@"/path/to/file"'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location POST 'https://api.dify.ai/v1/datasets/{dataset_id}/document/create_by_file' \
|
|
|
+ curl --location POST '${props.apiBaseUrl}/datasets/{dataset_id}/document/create_by_file' \
|
|
|
--header 'Authorization: Bearer {api_key}' \
|
|
|
--form 'data="{\"name\":\"Dify\",\"indexing_technique\":\"high_quality\",\"process_rule\":{\"rules\":{\"pre_processing_rules\":[{\"id\":\"remove_extra_spaces\",\"enabled\":true},{\"id\":\"remove_urls_emails\",\"enabled\":true}],\"segmentation\":{\"separator\":\"###\",\"max_tokens\":500}},\"mode\":\"custom\"}}";type=text/plain' \
|
|
|
--form 'file=@"/path/to/file"'
|
|
@@ -363,7 +363,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
- <code>rules</code> (object) Custom rules (in automatic mode, this field is empty)
|
|
|
- <code>pre_processing_rules</code> (array[object]) Preprocessing rules
|
|
|
- <code>id</code> (string) Unique identifier for the preprocessing rule
|
|
|
- - enumerate
|
|
|
+ - enumerate
|
|
|
- <code>remove_extra_spaces</code> Replace consecutive spaces, newlines, tabs
|
|
|
- <code>remove_urls_emails</code> Delete URL, email address
|
|
|
- <code>enabled</code> (bool) Whether to select this rule or not. If no document ID is passed in, it represents the default value.
|
|
@@ -374,14 +374,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
</Properties>
|
|
|
</Col>
|
|
|
<Col sticky>
|
|
|
- <CodeGroup
|
|
|
- title="Request"
|
|
|
- tag="POST"
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="POST"
|
|
|
label="/datasets/{dataset_id}/documents/{document_id}/update_by_text"
|
|
|
targetCode={`curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}/update_by_text' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{"name": "name","text": "text"}'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location --request POST 'https://api.dify.ai/v1/datasets/{dataset_id}/documents/{document_id}/update_by_text' \
|
|
|
+ curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}/update_by_text' \
|
|
|
--header 'Authorization: Bearer {api_key}' \
|
|
|
--header 'Content-Type: application/json' \
|
|
|
--data-raw '{
|
|
@@ -460,7 +460,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
- <code>rules</code> (object) Custom rules (in automatic mode, this field is empty)
|
|
|
- <code>pre_processing_rules</code> (array[object]) Preprocessing rules
|
|
|
- <code>id</code> (string) Unique identifier for the preprocessing rule
|
|
|
- - enumerate
|
|
|
+ - enumerate
|
|
|
- <code>remove_extra_spaces</code> Replace consecutive spaces, newlines, tabs
|
|
|
- <code>remove_urls_emails</code> Delete URL, email address
|
|
|
- <code>enabled</code> (bool) Whether to select this rule or not. If no document ID is passed in, it represents the default value.
|
|
@@ -471,14 +471,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
</Properties>
|
|
|
</Col>
|
|
|
<Col sticky>
|
|
|
- <CodeGroup
|
|
|
- title="Request"
|
|
|
- tag="POST"
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="POST"
|
|
|
label="/datasets/{dataset_id}/documents/{document_id}/update_by_file"
|
|
|
targetCode={`curl --location POST '${props.apiBaseUrl}/datasets/{dataset_id}/document/{document_id}/create_by_file' \\\n--header 'Authorization: Bearer {api_key}' \\\n--form 'data="{"name":"Dify","indexing_technique":"high_quality","process_rule":{"rules":{"pre_processing_rules":[{"id":"remove_extra_spaces","enabled":true},{"id":"remove_urls_emails","enabled":true}],"segmentation":{"separator":"###","max_tokens":500}},"mode":"custom"}}";type=text/plain' \\\n--form 'file=@"/path/to/file"'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location POST 'https://api.dify.ai/v1/datasets/{dataset_id}/document/{document_id}/create_by_file' \
|
|
|
+ curl --location POST '${props.apiBaseUrl}/datasets/{dataset_id}/document/{document_id}/create_by_file' \
|
|
|
--header 'Authorization: Bearer {api_key}' \
|
|
|
--form 'data="{\"name\":\"Dify\",\"indexing_technique\":\"high_quality\",\"process_rule\":{\"rules\":{\"pre_processing_rules\":[{\"id\":\"remove_extra_spaces\",\"enabled\":true},{\"id\":\"remove_urls_emails\",\"enabled\":true}],\"segmentation\":{\"separator\":\"###\",\"max_tokens\":500}},\"mode\":\"custom\"}}";type=text/plain' \
|
|
|
--form 'file=@"/path/to/file"'
|
|
@@ -539,14 +539,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
</Properties>
|
|
|
</Col>
|
|
|
<Col sticky>
|
|
|
- <CodeGroup
|
|
|
- title="Request"
|
|
|
- tag="GET"
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="GET"
|
|
|
label="/datasets/{dataset_id}/batch/{batch}/indexing-status"
|
|
|
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{batch}/indexing-status' \\\n--header 'Authorization: Bearer {api_key}'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location --request GET 'https://api.dify.ai/v1/datasets/{dataset_id}/documents/{batch}/indexing-status' \
|
|
|
+ curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{batch}/indexing-status' \
|
|
|
--header 'Authorization: Bearer {api_key}' \
|
|
|
```
|
|
|
</CodeGroup>
|
|
@@ -555,7 +555,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
{
|
|
|
"data":[{
|
|
|
"id": "",
|
|
|
- "indexing_status": "indexing",
|
|
|
+ "indexing_status": "indexing",
|
|
|
"processing_started_at": 1681623462.0,
|
|
|
"parsing_completed_at": 1681623462.0,
|
|
|
"cleaning_completed_at": 1681623462.0,
|
|
@@ -594,14 +594,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
</Properties>
|
|
|
</Col>
|
|
|
<Col sticky>
|
|
|
- <CodeGroup
|
|
|
- title="Request"
|
|
|
- tag="DELETE"
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="DELETE"
|
|
|
label="/datasets/{dataset_id}/documents/{document_id}"
|
|
|
targetCode={`curl --location --request DELETE '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}' \\\n--header 'Authorization: Bearer {api_key}'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location --request DELETE 'https://api.dify.ai/v1/datasets/{dataset_id}/documents/{document_id}' \
|
|
|
+ curl --location --request DELETE '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}' \
|
|
|
--header 'Authorization: Bearer {api_key}' \
|
|
|
```
|
|
|
</CodeGroup>
|
|
@@ -646,14 +646,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
</Properties>
|
|
|
</Col>
|
|
|
<Col sticky>
|
|
|
- <CodeGroup
|
|
|
- title="Request"
|
|
|
- tag="GET"
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="GET"
|
|
|
label="/datasets/{dataset_id}/documents"
|
|
|
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents' \\\n--header 'Authorization: Bearer {api_key}'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location --request GET 'https://api.dify.ai/v1/datasets/{dataset_id}/documents' \
|
|
|
+ curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents' \
|
|
|
--header 'Authorization: Bearer {api_key}' \
|
|
|
```
|
|
|
</CodeGroup>
|
|
@@ -720,14 +720,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
</Properties>
|
|
|
</Col>
|
|
|
<Col sticky>
|
|
|
- <CodeGroup
|
|
|
- title="Request"
|
|
|
- tag="POST"
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="POST"
|
|
|
label="/datasets/{dataset_id}/documents/{document_id}/segments"
|
|
|
targetCode={`curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}/segments' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{"segments": [{"content": "1","answer": "1","keywords": ["a"]}]}'`}
|
|
|
>
|
|
|
```bash {{ title: 'cURL' }}
|
|
|
- curl --location --request POST 'https://api.dify.ai/v1/datasets/{dataset_id}/documents/{document_id}/segments' \
|
|
|
+ curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}/segments' \
|
|
|
--header 'Authorization: Bearer {api_key}' \
|
|
|
--header 'Content-Type: application/json' \
|
|
|
--data-raw '{
|
|
@@ -778,6 +778,212 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
|
|
|
|
|
---
|
|
|
|
|
|
+<Heading
|
|
|
+ url='/datasets/{dataset_id}/documents/{document_id}/segments'
|
|
|
+ method='GET'
|
|
|
+ title='get documents segments'
|
|
|
+ name='#get_segment'
|
|
|
+/>
|
|
|
+<Row>
|
|
|
+ <Col>
|
|
|
+ ### Path
|
|
|
+ <Properties>
|
|
|
+ <Property name='dataset_id' type='string' key='dataset_id'>
|
|
|
+ Dataset ID
|
|
|
+ </Property>
|
|
|
+ <Property name='document_id' type='string' key='document_id'>
|
|
|
+ Document ID
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+
|
|
|
+ ### Query
|
|
|
+ <Properties>
|
|
|
+ <Property name='keyword' type='string' key='keyword'>
|
|
|
+ keyword,choosable
|
|
|
+ </Property>
|
|
|
+ <Property name='status' type='string' key='status'>
|
|
|
+ Search status,completed
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ </Col>
|
|
|
+ <Col sticky>
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="GET"
|
|
|
+ label="/datasets/{dataset_id}/documents/{document_id}/segments"
|
|
|
+ targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}/segments' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json'`}
|
|
|
+ >
|
|
|
+ ```bash {{ title: 'cURL' }}
|
|
|
+ curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}/segments' \
|
|
|
+ --header 'Authorization: Bearer {api_key}' \
|
|
|
+ --header 'Content-Type: application/json'
|
|
|
+ ```
|
|
|
+ </CodeGroup>
|
|
|
+ <CodeGroup title="Response">
|
|
|
+ ```json {{ title: 'Response' }}
|
|
|
+ {
|
|
|
+ "data": [{
|
|
|
+ "id": "",
|
|
|
+ "position": 1,
|
|
|
+ "document_id": "",
|
|
|
+ "content": "1",
|
|
|
+ "answer": "1",
|
|
|
+ "word_count": 25,
|
|
|
+ "tokens": 0,
|
|
|
+ "keywords": [
|
|
|
+ "a"
|
|
|
+ ],
|
|
|
+ "index_node_id": "",
|
|
|
+ "index_node_hash": "",
|
|
|
+ "hit_count": 0,
|
|
|
+ "enabled": true,
|
|
|
+ "disabled_at": null,
|
|
|
+ "disabled_by": null,
|
|
|
+ "status": "completed",
|
|
|
+ "created_by": "",
|
|
|
+ "created_at": 1695312007,
|
|
|
+ "indexing_at": 1695312007,
|
|
|
+ "completed_at": 1695312007,
|
|
|
+ "error": null,
|
|
|
+ "stopped_at": null
|
|
|
+ }],
|
|
|
+ "doc_form": "text_model"
|
|
|
+ }
|
|
|
+ ```
|
|
|
+ </CodeGroup>
|
|
|
+ </Col>
|
|
|
+</Row>
|
|
|
+
|
|
|
+---
|
|
|
+
|
|
|
+<Heading
|
|
|
+ url='/datasets/{dataset_id}/segments/{segment_id}'
|
|
|
+ method='DELETE'
|
|
|
+ title='delete document segment'
|
|
|
+ name='#delete_segment'
|
|
|
+/>
|
|
|
+<Row>
|
|
|
+ <Col>
|
|
|
+ ### Path
|
|
|
+ <Properties>
|
|
|
+ <Property name='dataset_id' type='string' key='dataset_id'>
|
|
|
+ Dataset ID
|
|
|
+ </Property>
|
|
|
+ <Property name='segment_id' type='string' key='segment_id'>
|
|
|
+ Document Segment ID
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ </Col>
|
|
|
+ <Col sticky>
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="DELETE"
|
|
|
+ label="/datasets/{dataset_id}/segments/{segment_id}"
|
|
|
+ targetCode={`curl --location --request DELETE '${props.apiBaseUrl}/datasets/{dataset_id}/segments/{segment_id}' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json'`}
|
|
|
+ >
|
|
|
+ ```bash {{ title: 'cURL' }}
|
|
|
+ curl --location --request DELETE '${props.apiBaseUrl}/datasets/{dataset_id}/segments/{segment_id}' \
|
|
|
+ --header 'Authorization: Bearer {api_key}' \
|
|
|
+ --header 'Content-Type: application/json'
|
|
|
+ ```
|
|
|
+ </CodeGroup>
|
|
|
+ <CodeGroup title="Response">
|
|
|
+ ```json {{ title: 'Response' }}
|
|
|
+ {
|
|
|
+ "result": "success"
|
|
|
+ }
|
|
|
+ ```
|
|
|
+ </CodeGroup>
|
|
|
+ </Col>
|
|
|
+</Row>
|
|
|
+
|
|
|
+---
|
|
|
+
|
|
|
+<Heading
|
|
|
+ url='/datasets/{dataset_id}/segments/{segment_id}'
|
|
|
+ method='POST'
|
|
|
+ title='update document segment'
|
|
|
+ name='#update_segment'
|
|
|
+/>
|
|
|
+<Row>
|
|
|
+ <Col>
|
|
|
+ ### POST
|
|
|
+ <Properties>
|
|
|
+ <Property name='dataset_id' type='string' key='dataset_id'>
|
|
|
+ Dataset ID
|
|
|
+ </Property>
|
|
|
+ <Property name='segment_id' type='string' key='segment_id'>
|
|
|
+ Document Segment ID
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+
|
|
|
+ ### Request Body
|
|
|
+ <Properties>
|
|
|
+ <Property name='segments' type='object list' key='segments'>
|
|
|
+ - <code>content</code> (text) text content/question content,required
|
|
|
+ - <code>answer</code> (text) Answer content, not required, passed if the data set is in qa mode
|
|
|
+ - <code>keywords</code> (list) keyword, not required
|
|
|
+ - <code>enabled</code> (bool) false/true, not required
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ </Col>
|
|
|
+ <Col sticky>
|
|
|
+ <CodeGroup
|
|
|
+ title="Request"
|
|
|
+ tag="POST"
|
|
|
+ label="/datasets/{dataset_id}/segments/{segment_id}"
|
|
|
+ targetCode={`curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json'\\\n--data-raw '{\"segments\": {\"content\": \"1\",\"answer\": \"1\", \"keywords\": [\"a\"], \"enabled\": false}}'`}
|
|
|
+ >
|
|
|
+ ```bash {{ title: 'cURL' }}
|
|
|
+ curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}' \
|
|
|
+ --header 'Content-Type: application/json' \
|
|
|
+ --data-raw '{
|
|
|
+ "segments": {
|
|
|
+ "content": "1",
|
|
|
+ "answer": "1",
|
|
|
+ "keywords": ["a"],
|
|
|
+ "enabled": false
|
|
|
+ }
|
|
|
+ }'
|
|
|
+ ```
|
|
|
+ </CodeGroup>
|
|
|
+ <CodeGroup title="Response">
|
|
|
+ ```json {{ title: 'Response' }}
|
|
|
+ {
|
|
|
+ "data": [{
|
|
|
+ "id": "",
|
|
|
+ "position": 1,
|
|
|
+ "document_id": "",
|
|
|
+ "content": "1",
|
|
|
+ "answer": "1",
|
|
|
+ "word_count": 25,
|
|
|
+ "tokens": 0,
|
|
|
+ "keywords": [
|
|
|
+ "a"
|
|
|
+ ],
|
|
|
+ "index_node_id": "",
|
|
|
+ "index_node_hash": "",
|
|
|
+ "hit_count": 0,
|
|
|
+ "enabled": true,
|
|
|
+ "disabled_at": null,
|
|
|
+ "disabled_by": null,
|
|
|
+ "status": "completed",
|
|
|
+ "created_by": "",
|
|
|
+ "created_at": 1695312007,
|
|
|
+ "indexing_at": 1695312007,
|
|
|
+ "completed_at": 1695312007,
|
|
|
+ "error": null,
|
|
|
+ "stopped_at": null
|
|
|
+ }],
|
|
|
+ "doc_form": "text_model"
|
|
|
+ }
|
|
|
+ ```
|
|
|
+ </CodeGroup>
|
|
|
+ </Col>
|
|
|
+</Row>
|
|
|
+
|
|
|
+---
|
|
|
+
|
|
|
<Row>
|
|
|
<Col>
|
|
|
### Error message
|