AIServiceSelection<T> Class
- java.
lang. Object - com.
microsoft. semantickernel. services. AIServiceSelection<T>
- com.
Type Parameters
- T
The type of AI service.
public class AIServiceSelection<T>
The result of an AI service selection.
Constructor Summary
| Constructor | Description |
|---|---|
| AIServiceSelection(T service, PromptExecutionSettings settings) |
Creates a new AI service selection. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| T |
getService()
Gets the selected AI service. |
|
Prompt |
getSettings()
Gets the settings associated with the selected service. |
Methods inherited from java.lang.Object
Constructor Details
AIServiceSelection
public AIServiceSelection(T service, PromptExecutionSettings settings)
Creates a new AI service selection.
Parameters:
null
even if a service is selected..
Method Details
getService
public T getService()
Gets the selected AI service.
Returns:
getSettings
public PromptExecutionSettings getSettings()
Gets the settings associated with the selected service.
Returns:
null even if a
service is selected.