ai_edge_fc library

Classes

AiEdgeFc
A Flutter plugin for on-device AI inference with function calling support.
Candidate
Represents a single candidate response from the model.
ConstraintOptions
Represents constraint options for controlling AI model output generation.
FunctionCall
Represents a function call request from the AI model.
FunctionDeclaration
Declares a function that the AI model can call.
FunctionProperty
Defines a single parameter property for a function declaration.
FunctionResponse
Represents a response from a function call.
GenerateContentResponse
Represents a response from a content generation request.
Message
Represents a conversational message with a role and text content.
ModelConfig
Configuration parameters for loading and initializing an AI model.
SessionConfig
Configuration parameters for an inference session.
SystemInstruction
Represents a system instruction that provides context or guidelines to an AI model.
TextAndOr
Constraint for text generation with combined AND/OR stop conditions.
TextUntil
Constraint for text generation until a specific stop phrase is encountered.
Tool
Represents a collection of function declarations that can be used by an AI model.
ToolCallOnly
Constraint that forces the model to only generate tool/function calls.

Enums

ModelFormatter
Specifies the model formatter for function calling.
PreferredBackend
Preferred hardware backend for model inference execution.
PropertyType
Simplified type enum for function properties.