interface GoogleGenerativeAIChatCallOptions {
    streamUsage?: boolean;
    tools?: StructuredToolInterface[] | FunctionDeclarationsTool[];
}

Hierarchy (view full)

  • Toolkit
    • GoogleGenerativeAIChatCallOptions

Properties

Properties

streamUsage?: boolean

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

true
tools?: StructuredToolInterface[] | FunctionDeclarationsTool[]
""