Selaa lähdekoodia

fix typo: Retrieve Chunks API Docs (#10412)

tags/0.11.1
huangyafei 1 vuosi sitten
vanhempi
commit
0b16270b88
No account linked to committer's email address

+ 1
- 1
web/app/(commonLayout)/datasets/template/template.en.mdx Näytä tiedosto

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",

+ 1
- 1
web/app/(commonLayout)/datasets/template/template.zh.mdx Näytä tiedosto

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…
Peruuta
Tallenna