genkitx-azure-openai
    Preparing search index...

    Interface CallableAzureFunction<F>

    Callable function type that includes the raw handler and metadata

    interface CallableAzureFunction<F extends Flow> {
        flow: F;
        flowName: string;
        handler: HttpHandler;
        run: (
            input: FlowInput<F>,
            options?: FlowRunOptions,
        ) => Promise<FlowOutput<F>>;
        stream: (
            input: FlowInput<F>,
            options?: FlowRunOptions,
        ) => {
            output: Promise<FlowOutput<F>>;
            stream: AsyncIterable<FlowStream<F>>;
        };
    }

    Type Parameters

    • F extends Flow
    Index

    Properties

    flow: F

    The underlying Genkit flow

    flowName: string

    Flow name

    handler: HttpHandler

    The Azure Functions HTTP handler

    run: (input: FlowInput<F>, options?: FlowRunOptions) => Promise<FlowOutput<F>>

    Execute the flow directly (for testing)

    stream: (
        input: FlowInput<F>,
        options?: FlowRunOptions,
    ) => {
        output: Promise<FlowOutput<F>>;
        stream: AsyncIterable<FlowStream<F>>;
    }

    Stream the flow directly (for testing)