Freigeben über


GeminiToolCallBehavior Class

Definition

Represents a behavior for Gemini tool calls.

public abstract class GeminiToolCallBehavior
type GeminiToolCallBehavior = class
Public MustInherit Class GeminiToolCallBehavior
Inheritance
GeminiToolCallBehavior

Properties

AutoInvokeKernelFunctions

Gets an instance that will both provide all of the Kernel's plugins' function information to the model and attempt to automatically handle any function call requests.

EnableKernelFunctions

Gets an instance that will provide all of the Kernel's plugins' function information. Function call requests from the model will be propagated back to the caller.

MaximumAutoInvokeAttempts

Gets how many tool call request/response roundtrips are supported with auto-invocation.

MaximumUseAttempts

Gets how many requests are part of a single interaction should include this tool in the request.

Methods

EnableFunctions(IEnumerable<GeminiFunction>, Boolean)

Gets an instance that will provide the specified list of functions to the model.

Applies to