mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
fix typo: Retrieve Chunks API Docs (#10412)
This commit is contained in:
parent
f562a88249
commit
0b16270b88
|
@ -1115,7 +1115,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||||
title="Request"
|
title="Request"
|
||||||
tag="POST"
|
tag="POST"
|
||||||
label="/datasets/{dataset_id}/retrieve"
|
label="/datasets/{dataset_id}/retrieve"
|
||||||
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/retrieve' \\\n--header 'Authorization: Bearer {api_key}'\\\n--header 'Content-Type: application/json'\\\n--data-raw '{
|
targetCode={`curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/retrieve' \\\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",
|
||||||
|
|
|
@ -1116,7 +1116,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||||
title="Request"
|
title="Request"
|
||||||
tag="POST"
|
tag="POST"
|
||||||
label="/datasets/{dataset_id}/retrieve"
|
label="/datasets/{dataset_id}/retrieve"
|
||||||
targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets/{dataset_id}/retrieve' \\\n--header 'Authorization: Bearer {api_key}'\\\n--header 'Content-Type: application/json'\\\n--data-raw '{
|
targetCode={`curl --location --request POST '${props.apiBaseUrl}/datasets/{dataset_id}/retrieve' \\\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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user