@threadplane/chatFunctionv0.3.4

streamingDelivery

Creates the active delivery state for one response-attempt generation.

import { streamingDelivery } from '@threadplane/chat';

Declaration · overload 1

export declare function streamingDelivery(generation: string): {
    readonly generation: string;
    readonly phase: "streaming";
};

Parameters

generation · required
string

Returns

{ readonly generation: string; readonly phase: "streaming"; }