React Native Firebase
    Preparing search index...

    Class for generative model APIs.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Internal

      Normalizes the given model name to a fully qualified model resource name.

      Parameters

      • modelName: string

        The model name to normalize.

      • backendType: BackendType

      Returns string

      The fully qualified model resource name.

    Properties

    _apiSettings: ApiSettings
    generationConfig: GenerationConfig
    model: string

    The fully qualified model resource name (for example, gemini-3.1-flash-lite for text or publishers/google/models/gemini-3.1-flash-lite-image for image models).

    requestOptions?: RequestOptions
    safetySettings: SafetySetting[]
    systemInstruction?: Content
    toolConfig?: ToolConfig
    tools?: Tool[]