DVAI class

Constructors

DVAI()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toolNames → List<String>
no setter

Methods

callTool(String name, [DVJsonObject input = const <String, DVJsonValue>{}]) → Future<DVJsonValue>
chat(String prompt, {String provider = 'gemini'}) → Future<String>
configure(DVAIAdapter adapter) → void
embed(String text) → Future<List<double>>
hasTool(String name) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerTool(String name, DVAIToolHandler handler, {String description = '', DVJsonObject parameters = const <String, DVJsonValue>{}}) → void
runAgent(DVAIAgentRequest request) → Future<DVAIAgentResult>
structuredOutput(String prompt, DVJsonObject schema) → Future<DVJsonObject>
toString() → String
A string representation of this object.
inherited
transcribe(List<int> audioBytes, {String mimeType = 'audio/wav', String language = 'und'}) → Future<DVAITranscript>

Operators

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