LocalDVAIAdapter class

Deterministic in-process adapter for development and tests. It never reaches the network, so tests cannot accidentally pass because a provider was unreachable.

Implemented types

Constructors

LocalDVAIAdapter()
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

Methods

chat(String prompt, {String provider = 'gemini'}) → Future<String>
override
embed(String text) → Future<List<double>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runAgent(DVAIAgentRequest request) → Future<DVAIAgentResult>
override
structuredOutput(String prompt, DVJsonObject schema) → Future<DVJsonObject>
override
toString() → String
A string representation of this object.
inherited
transcribe(List<int> audioBytes, {String mimeType = 'audio/wav', String language = 'und'}) → Future<DVAITranscript>
override

Operators

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