Genkit JS API reference
    Preparing search index...

    Interface GenkitFastifyOptions

    Options for the genkitFastify plugin.

    interface GenkitFastifyOptions {
        flows: (
            | Flow<any, any, any, any>
            | FlowWithContextProvider<any, any, any, any, any>
            | FlowWithOptions<any, any, any, any>
        )[];
        pathPrefix?: string;
    }
    Index

    Properties

    Properties

    flows: (
        | Flow<any, any, any, any>
        | FlowWithContextProvider<any, any, any, any, any>
        | FlowWithOptions<any, any, any, any>
    )[]

    Flows (or flows wrapped with withFlowOptions) to expose as routes.

    pathPrefix?: string

    HTTP path prefix prepended to each exposed flow (e.g. /api).