createStreamObject
createStreamObject(
bridge): <T>(options) =>AsyncGenerator<Partial<T>,T>
Defined in: structured-output.ts:518
Create a streamObject function bound to a Bridge instance
This is a factory function that creates a streamObject implementation that uses the provided Bridge for making streaming LLM calls.
Parameters
Section titled “Parameters”bridge
Section titled “bridge”any
Returns
Section titled “Returns”<
T>(options):AsyncGenerator<Partial<T>,T>
Type Parameters
Section titled “Type Parameters”T = any
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”AsyncGenerator<Partial<T>, T>