Skip to main content

Function: streamConverter()

streamConverter<S, D>(stream, converter): AsyncIterable<D>

Type parameters

S

D

Parameters

stream: AsyncIterable<S>

converter

Returns

AsyncIterable<D>

Source

packages/llamaindex/src/llm/utils.ts:14