AIServiceExtensions Class
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.
Extension methods for IAIService.
public static class AIServiceExtensions
type AIServiceExtensions = class
Public Module AIServiceExtensions
- Inheritance
-
AIServiceExtensions
Properties
ApiVersionKey |
Gets the key used to store the API version in the Attributes dictionary. |
EndpointKey |
Gets the key used to store the endpoint key in the Attributes dictionary. |
ModelIdKey |
Gets the key used to store the model identifier in the Attributes dictionary. |
Methods
GetApiVersion(IAIService) |
Gets the API version from |
GetEndpoint(IAIService) |
Gets the endpoint from |
GetModelId(IAIService) |
Gets the model identifier from |
SelectAIService<T>(IAIServiceSelector, Kernel, KernelFunction, KernelArguments) |
Resolves an IAIService and associated PromptExecutionSettings from the specified Kernel based on a KernelFunction and associated KernelArguments. |