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 to use for generating images (for example, publishers/google/models/imagen-3.0-generate-002).

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