mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
fix the typos in the hit testing template (#10072)
This commit is contained in:
parent
219f5d9845
commit
a69513c044
|
@ -1070,7 +1070,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||||
---
|
---
|
||||||
|
|
||||||
<Heading
|
<Heading
|
||||||
url='/datasets/{dataset_id}/hit_testing'
|
url='/datasets/{dataset_id}/hit-testing'
|
||||||
method='POST'
|
method='POST'
|
||||||
title='Dataset hit testing'
|
title='Dataset hit testing'
|
||||||
name='#dataset_hit_testing'
|
name='#dataset_hit_testing'
|
||||||
|
@ -1114,8 +1114,8 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||||
<CodeGroup
|
<CodeGroup
|
||||||
title="Request"
|
title="Request"
|
||||||
tag="POST"
|
tag="POST"
|
||||||
label="/datasets/{dataset_id}/hit_testing"
|
label="/datasets/{dataset_id}/hit-testing"
|
||||||
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/hit_testing' \\\n--header 'Authorization: Bearer {api_key}'\\\n--header 'Content-Type: application/json'\\\n--data-raw '{
|
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/hit-testing' \\\n--header 'Authorization: Bearer {api_key}'\\\n--header 'Content-Type: application/json'\\\n--data-raw '{
|
||||||
"query": "test",
|
"query": "test",
|
||||||
"retrieval_model": {
|
"retrieval_model": {
|
||||||
"search_method": "keyword_search",
|
"search_method": "keyword_search",
|
||||||
|
@ -1133,7 +1133,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||||
}'`}
|
}'`}
|
||||||
>
|
>
|
||||||
```bash {{ title: 'cURL' }}
|
```bash {{ title: 'cURL' }}
|
||||||
curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/hit_testing' \
|
curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/hit-testing' \
|
||||||
--header 'Authorization: Bearer {api_key}' \
|
--header 'Authorization: Bearer {api_key}' \
|
||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
|
|
|
@ -1071,7 +1071,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||||
---
|
---
|
||||||
|
|
||||||
<Heading
|
<Heading
|
||||||
url='/datasets/{dataset_id}/hit_testing'
|
url='/datasets/{dataset_id}/hit-testing'
|
||||||
method='POST'
|
method='POST'
|
||||||
title='知识库召回测试'
|
title='知识库召回测试'
|
||||||
name='#dataset_hit_testing'
|
name='#dataset_hit_testing'
|
||||||
|
@ -1115,8 +1115,8 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||||
<CodeGroup
|
<CodeGroup
|
||||||
title="Request"
|
title="Request"
|
||||||
tag="POST"
|
tag="POST"
|
||||||
label="/datasets/{dataset_id}/hit_testing"
|
label="/datasets/{dataset_id}/hit-testing"
|
||||||
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/hit_testing' \\\n--header 'Authorization: Bearer {api_key}'\\\n--header 'Content-Type: application/json'\\\n--data-raw '{
|
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/hit-testing' \\\n--header 'Authorization: Bearer {api_key}'\\\n--header 'Content-Type: application/json'\\\n--data-raw '{
|
||||||
"query": "test",
|
"query": "test",
|
||||||
"retrieval_model": {
|
"retrieval_model": {
|
||||||
"search_method": "keyword_search",
|
"search_method": "keyword_search",
|
||||||
|
@ -1134,7 +1134,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||||
}'`}
|
}'`}
|
||||||
>
|
>
|
||||||
```bash {{ title: 'cURL' }}
|
```bash {{ title: 'cURL' }}
|
||||||
curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/hit_testing' \
|
curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/hit-testing' \
|
||||||
--header 'Authorization: Bearer {api_key}' \
|
--header 'Authorization: Bearer {api_key}' \
|
||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user