CompletionsOptions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CompletionsOptions() |
Initializes a new instance of CompletionsOptions. |
CompletionsOptions(String, IEnumerable<String>) |
Initializes a new instance of CompletionsOptions. |
CompletionsOptions()
- Source:
- CompletionsOptions.cs
Initializes a new instance of CompletionsOptions.
public CompletionsOptions ();
Public Sub New ()
Applies to
CompletionsOptions(String, IEnumerable<String>)
- Source:
- CompletionsOptions.cs
Initializes a new instance of CompletionsOptions.
public CompletionsOptions (string deploymentName, System.Collections.Generic.IEnumerable<string> prompts);
new Azure.AI.OpenAI.CompletionsOptions : string * seq<string> -> Azure.AI.OpenAI.CompletionsOptions
Public Sub New (deploymentName As String, prompts As IEnumerable(Of String))
Parameters
- deploymentName
- String
The deployment name to use for a completions request.
- prompts
- IEnumerable<String>
The prompts to generate completions from.
Exceptions
deploymentName
or prompts
is null.
deploymentName
is an empty string.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for