You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/openai/openai/src/OpenAIClient.ts
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -157,34 +157,34 @@ export class OpenAIClient {
157
157
158
158
/**
159
159
* Returns textual completions as configured for a given prompt.
160
-
* @paramdeploymentOrModelName - Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
160
+
* @paramdeploymentName - Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
161
161
* @param prompt - The prompt to use for this request.
162
162
* @param options - The options for this completions request.
* Lists the completions tokens as they become available for a given prompt.
176
-
* @paramdeploymentOrModelName - The name of the model deployment (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
176
+
* @paramdeploymentName - The name of the model deployment (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
177
177
* @param prompt - The prompt to use for this request.
178
178
* @param options - The completions options for this completions request.
179
179
* @returns An asynchronous iterable of completions tokens.
* Return the computed embeddings for a given prompt.
196
-
* @paramdeploymentOrModelName - The name of the model deployment (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
196
+
* @paramdeploymentName - The name of the model deployment (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
197
197
* @param input - The prompt to use for this request.
198
198
* @param options - The embeddings options for this embeddings request.
* Get chat completions for provided chat context messages.
212
-
* @paramdeploymentOrModelName - The name of the model deployment (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
212
+
* @paramdeploymentName - The name of the model deployment (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
213
213
* @param messages - The chat context messages to use for this request.
214
214
* @param options - The chat completions options for this completions request.
215
215
* @returns The chat completions for the given chat context messages.
* Lists the chat completions tokens as they become available for a chat context.
228
-
* @paramdeploymentOrModelName - The name of the model deployment (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
228
+
* @paramdeploymentName - The name of the model deployment (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.
229
229
* @param messages - The chat context messages to use for this request.
230
230
* @param options - The chat completions options for this chat completions request.
231
231
* @returns An asynchronous iterable of chat completions tokens.
0 commit comments