AIServiceSelector Interface
public interface AIServiceSelector
Represents a selector which will return an AIServiceSelection<T> containing instances of AIService and PromptExecutionSettings from the specified provider based on the model settings.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
AIService |
trySelectAIService(Class<T> serviceType, KernelFunction<?> function, KernelFunctionArguments arguments)
Resolves an AIService and associated and PromptExecutionSettings based on the associated KernelFunction<T> and KernelFunctionArguments. |
Method Details
trySelectAIService
public abstract AIServiceSelection
Resolves an AIService and associated and PromptExecutionSettings based on the associated KernelFunction<T> and KernelFunctionArguments.
Parameters:
null.
null.
Returns:
AIServiceSelection containing the selected service and associated
PromptExecutionSettings.