BidiModel<CustomOptions> class
Methods
-
call(ModelRequest? input, {StreamingCallback<ModelResponseChunk>? onChunk, Map<String, dynamic>? context, Stream<ModelRequest>? inputStream, ModelRequest? init, TraceStartCallback? onTraceStart})
→ Future<ModelResponse>
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
run(ModelRequest? input, {StreamingCallback<ModelResponseChunk>? onChunk, Map<String, dynamic>? context, Stream<ModelRequest>? inputStream, ModelRequest? init, TraceStartCallback? onTraceStart})
→ Future<RunResult<ModelResponse>>
-
inherited
-
runRaw(dynamic input, {StreamingCallback<ModelResponseChunk>? onChunk, Map<String, dynamic>? context, Stream<ModelRequest>? inputStream, dynamic init, TraceStartCallback? onTraceStart})
→ Future<RunResult<ModelResponse>>
-
inherited
-
stream(ModelRequest? input, {Map<String, dynamic>? context, Stream<ModelRequest>? inputStream, ModelRequest? init})
→ ActionStream<ModelResponseChunk, ModelResponse>
-
inherited
-
streamBidi({Stream<ModelRequest>? inputStream, StreamingCallback<ModelResponseChunk>? onChunk, Map<String, dynamic>? context, ModelRequest? init})
→ BidiActionStream<ModelResponseChunk, ModelResponse, ModelRequest>
-
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited