GenerateRequest class

Constructors

GenerateRequest({required List<Message> messages, Map<String, dynamic>? config, List<ToolDefinition>? tools, String? toolChoice, OutputConfig? output, List<DocumentData>? docs, double? candidates})
factory
GenerateRequest.fromJson(Map<String, dynamic> json)
factory

Properties

candidates double?
getter/setter pair
config Map<String, dynamic>?
getter/setter pair
docs List<DocumentData>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
messages List<Message>
getter/setter pair
output OutputConfig?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolChoice String?
getter/setter pair
tools List<ToolDefinition>?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

$schema → const SchemanticType<GenerateRequest>