Class AIServiceSelection<T extends AIService>
- java.lang.Object
-
- com.microsoft.semantickernel.services.AIServiceSelection<T>
-
-
Constructor Summary
Constructors Constructor Description AIServiceSelection(T service, PromptExecutionSettings settings)Creates a new AI service selection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetService()Gets the selected AI service.PromptExecutionSettingsgetSettings()Gets the settings associated with the selected service.
-
-
-
Constructor Detail
-
AIServiceSelection
public AIServiceSelection(T service, @Nullable PromptExecutionSettings settings)
Creates a new AI service selection.- Parameters:
service- The selected AI service.settings- The settings associated with the selected service. This may benulleven if a service is selected..
-
-
Method Detail
-
getService
public T getService()
Gets the selected AI service.- Returns:
- The selected AI service.
-
getSettings
@Nullable public PromptExecutionSettings getSettings()
Gets the settings associated with the selected service.- Returns:
- The settings associated with the selected service. This may be
nulleven if a service is selected.
-
-