Interface TextCompletion.Builder
-
- All Superinterfaces:
SemanticKernelBuilder<TextCompletion>
- Enclosing interface:
- TextCompletion
public static interface TextCompletion.Builder extends SemanticKernelBuilder<TextCompletion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextCompletion.BuilderwithDefaultCompletionType(CompletionType completionType)Sets the default completion type for this service.TextCompletion.BuilderwithModelId(String modelId)TextCompletion.BuilderwithOpenAIClient(com.azure.ai.openai.OpenAIAsyncClient client)-
Methods inherited from interface com.microsoft.semantickernel.builders.SemanticKernelBuilder
build
-
-
-
-
Method Detail
-
withOpenAIClient
TextCompletion.Builder withOpenAIClient(com.azure.ai.openai.OpenAIAsyncClient client)
-
withModelId
TextCompletion.Builder withModelId(String modelId)
-
withDefaultCompletionType
TextCompletion.Builder withDefaultCompletionType(CompletionType completionType)
Sets the default completion type for this service. This will be the type of request used (streaming or non-streaming) when calls to this service are made. Defaults toCompletionType.STREAMING.
-
-