FunctionChoiceBehaviorOptions 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.
Represents the options for a function choice behavior.
public sealed class FunctionChoiceBehaviorOptions
type FunctionChoiceBehaviorOptions = class
Public NotInheritable Class FunctionChoiceBehaviorOptions
- Inheritance
-
FunctionChoiceBehaviorOptions
Constructors
FunctionChoiceBehaviorOptions() |
Properties
AllowConcurrentInvocation |
Gets or sets whether multiple function invocations requested in parallel by the service may be invoked to run concurrently. |
AllowParallelCalls |
Gets or sets whether AI model should prefer parallel function calls over sequential ones. If set to true, instructs the model to call multiple functions in one request if the model supports parallel function calls. Otherwise, it will send a request for each function call. If set to null, the AI model default value will be used. |
AllowStrictSchemaAdherence |
Gets or sets whether the AI model should strictly adhere to the function schema. |
RetainArgumentTypes |
Gets or sets whether the types of function arguments provided by the AI model are retained by SK or not. By default, or if set to false, SK will deserialize function arguments to strings, and type information will not be retained. If set to true, function arguments will be deserialized as JsonElement, which retains type information. |