langchain.js
    Preparing search index...

    Interface GoogleGenerativeAIChatCallOptions

    interface GoogleGenerativeAIChatCallOptions {
        allowedFunctionNames?: string[];
        responseSchema?: Schema;
        streamUsage?: boolean;
        tools?: any[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowedFunctionNames?: string[]

    Allowed functions to call when the mode is "any". If empty, any one of the provided functions are called.

    responseSchema?: Schema

    JSON schema to be returned by the model.

    streamUsage?: boolean

    Whether or not to include usage data, like token counts in the streamed response chunks.

    true
    
    tools?: any[]