Interface ChatResponseStreamOptions

interface ChatResponseStreamOptions {
    onPush?: ((content) => void);
}

Properties

Properties

onPush?: ((content) => void)

Callback function to push content to the stream

Type declaration

    • (content): void
    • Parameters

      Returns void

Returns

void