stream method

  1. @override
Stream<List<ParsedToolCall>> stream(
  1. ChatResult input, {
  2. OutputParserOptions? options,
})
override

Streams the output of invoking the Runnable on the given input.

  • input - the input to invoke the Runnable on.
  • options - the options to use when invoking the Runnable.

Implementation

@override
Stream<List<ParsedToolCall>> stream(
  final ChatResult input, {
  final OutputParserOptions? options,
}) async* {
  yield await _parseStream(input, options: options);
}