Skip to content

Commit

Permalink
refactor: Changed the error display of the API request method for the…
Browse files Browse the repository at this point in the history
… hit testing of the knowledge base
  • Loading branch information
gubinjie committed Oct 14, 2024
1 parent 20ca210 commit 5d96e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/app/(commonLayout)/datasets/template/template.en.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
<Col sticky>
<CodeGroup
title="Request"
tag="GET"
tag="POST"
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 '{
"query": "test",
Expand Down
2 changes: 1 addition & 1 deletion web/app/(commonLayout)/datasets/template/template.zh.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
<Col sticky>
<CodeGroup
title="Request"
tag="GET"
tag="POST"
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 '{
"query": "test",
Expand Down

0 comments on commit 5d96e73

Please sign in to comment.