Skip to content

Commit d7411ee

Browse files
kosabogigithub-actions[bot]
authored andcommitted
Fixing descriptions in the Inference APIs (#5549)
(cherry picked from commit 8dd0bca)
1 parent 104f8be commit d7411ee

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
@@ -52,7 +52,7 @@ export interface Request extends RequestBase {
5252
}
5353
query_parameters: {
5454
/**
55-
* When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned.
55+
* 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.
5656
* @server_default false
5757
*/
5858
dry_run?: boolean

specification/inference/put_anthropic/PutAnthropicRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export interface Request extends RequestBase {
7474
*/
7575
service: AnthropicServiceType
7676
/**
77-
* Settings used to install the inference model. These settings are specific to the `watsonxai` service.
77+
* Settings used to install the inference model. These settings are specific to the `anthropic` service.
7878
*/
7979
service_settings: AnthropicServiceSettings
8080
/**

specification/inference/put_azureaistudio/PutAzureAiStudioRequest.ts

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

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)