DVAI class
Constructors
-
DVAI()
-
const
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>
-