Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,7 @@
"type": "string"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/ChatCompletionsOptions"
}
"$ref": "#/parameters/GetChatCompletionsBody"
}
],
"responses": {
Expand Down Expand Up @@ -127,13 +121,7 @@
"type": "string"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/CompletionsOptions"
}
"$ref": "#/parameters/GetCompletionsBody"
}
],
"responses": {
Expand Down Expand Up @@ -179,13 +167,7 @@
"type": "string"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/EmbeddingsOptions"
}
"$ref": "#/parameters/GetEmbeddingsBody"
}
],
"responses": {
Expand Down Expand Up @@ -224,13 +206,7 @@
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/ImageGenerationOptions"
}
"$ref": "#/parameters/GetImageGenerationsBody"
}
],
"responses": {
Expand Down Expand Up @@ -1481,6 +1457,46 @@
"minLength": 1,
"x-ms-parameter-location": "method",
"x-ms-client-name": "apiVersion"
},
"GetChatCompletionsBody": {
"name": "body",
"in": "body",
"description": "The configuration information for a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.",
"required": true,
"schema": {
"$ref": "#/definitions/ChatCompletionsOptions"
},
"x-ms-parameter-location": "method"
},
"GetCompletionsBody": {
"name": "body",
"in": "body",
"description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.",
"required": true,
"schema": {
"$ref": "#/definitions/CompletionsOptions"
},
"x-ms-parameter-location": "method"
},
"GetEmbeddingsBody": {
"name": "body",
"in": "body",
"description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.",
"required": true,
"schema": {
"$ref": "#/definitions/EmbeddingsOptions"
},
"x-ms-parameter-location": "method"
},
"GetImageGenerationsBody": {
"name": "body",
"in": "body",
"description": "Represents the request data used to generate images.",
"required": true,
"schema": {
"$ref": "#/definitions/ImageGenerationOptions"
},
"x-ms-parameter-location": "method"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,7 @@
"type": "string"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/SpeechGenerationOptions"
}
"$ref": "#/parameters/GenerateSpeechFromTextBody"
}
],
"responses": {
Expand Down Expand Up @@ -436,13 +430,7 @@
"type": "string"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/ChatCompletionsOptions"
}
"$ref": "#/parameters/GetChatCompletionsBody"
}
],
"responses": {
Expand Down Expand Up @@ -509,13 +497,7 @@
"type": "string"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/CompletionsOptions"
}
"$ref": "#/parameters/GetCompletionsBody"
}
],
"responses": {
Expand Down Expand Up @@ -561,13 +543,7 @@
"type": "string"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/EmbeddingsOptions"
}
"$ref": "#/parameters/GetEmbeddingsBody"
}
],
"responses": {
Expand Down Expand Up @@ -613,13 +589,7 @@
"type": "string"
},
{
"name": "body",
"in": "body",
"description": "Body parameter.",
"required": true,
"schema": {
"$ref": "#/definitions/ImageGenerationOptions"
}
"$ref": "#/parameters/GetImageGenerationsBody"
}
],
"responses": {
Expand Down Expand Up @@ -4808,6 +4778,56 @@
"minLength": 1,
"x-ms-parameter-location": "method",
"x-ms-client-name": "apiVersion"
},
"GenerateSpeechFromTextBody": {
"name": "body",
"in": "body",
"description": "A representation of the request options that control the behavior of a text-to-speech operation.",
"required": true,
"schema": {
"$ref": "#/definitions/SpeechGenerationOptions"
},
"x-ms-parameter-location": "method"
},
"GetChatCompletionsBody": {
"name": "body",
"in": "body",
"description": "The configuration information for a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.",
"required": true,
"schema": {
"$ref": "#/definitions/ChatCompletionsOptions"
},
"x-ms-parameter-location": "method"
},
"GetCompletionsBody": {
"name": "body",
"in": "body",
"description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.",
"required": true,
"schema": {
"$ref": "#/definitions/CompletionsOptions"
},
"x-ms-parameter-location": "method"
},
"GetEmbeddingsBody": {
"name": "body",
"in": "body",
"description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.",
"required": true,
"schema": {
"$ref": "#/definitions/EmbeddingsOptions"
},
"x-ms-parameter-location": "method"
},
"GetImageGenerationsBody": {
"name": "body",
"in": "body",
"description": "Represents the request data used to generate images.",
"required": true,
"schema": {
"$ref": "#/definitions/ImageGenerationOptions"
},
"x-ms-parameter-location": "method"
}
}
}