Skip to content

Commit fa9060d

Browse files
Fixing descriptions in the Inference APIs (#5549) (#5565)
(cherry picked from commit 8dd0bca) Co-authored-by: kosabogi <105062005+kosabogi@users.noreply.github.com>
1 parent a9bfc73 commit fa9060d

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

specification/inference/_types/CommonTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class RequestChatCompletion {
3030
*/
3131
messages: Array<Message>
3232
/**
33-
* The ID of the model to use.
33+
* The ID of the model to use. By default, the model ID is set to the value included when creating the inference endpoint.
3434
*/
3535
model?: string
3636
/**

specification/inference/completion/CompletionRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface Request extends RequestBase {
5656
*/
5757
input: string | Array<string>
5858
/**
59-
* Optional task settings
59+
* Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service.
6060
*/
6161
task_settings?: TaskSettings
6262
}

specification/inference/delete/DeleteRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface Request extends RequestBase {
5353
}
5454
query_parameters: {
5555
/**
56-
* When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned.
56+
* When true, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint.
5757
* @server_default false
5858
*/
5959
dry_run?: boolean

specification/inference/put_anthropic/PutAnthropicRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export interface Request extends RequestBase {
6868
*/
6969
service: AnthropicServiceType
7070
/**
71-
* Settings used to install the inference model. These settings are specific to the `watsonxai` service.
71+
* Settings used to install the inference model. These settings are specific to the `anthropic` service.
7272
*/
7373
service_settings: AnthropicServiceSettings
7474
/**

specification/inference/put_azureaistudio/PutAzureAiStudioRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export interface Request extends RequestBase {
7575
*/
7676
service: AzureAiStudioServiceType
7777
/**
78-
* Settings used to install the inference model. These settings are specific to the `openai` service.
78+
* Settings used to install the inference model. These settings are specific to the `azureaistudio` service.
7979
*/
8080
service_settings: AzureAiStudioServiceSettings
8181
/**

specification/inference/sparse_embedding/SparseEmbeddingRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface Request extends RequestBase {
5656
*/
5757
input: string | Array<string>
5858
/**
59-
* Optional task settings
59+
* Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service.
6060
*/
6161
task_settings?: TaskSettings
6262
}

specification/inference/stream_completion/StreamInferenceRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface Request extends RequestBase {
6464
*/
6565
input: string | string[]
6666
/**
67-
* Optional task settings
67+
* Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service.
6868
*/
6969
task_settings?: TaskSettings
7070
}

specification/inference/text_embedding/TextEmbeddingRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export interface Request extends RequestBase {
6969
*/
7070
input_type?: string
7171
/**
72-
* Optional task settings
72+
* Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service.
7373
*/
7474
task_settings?: TaskSettings
7575
}

0 commit comments

Comments
 (0)