Back to Firebase Js Sdk

BaseParams interface

docs-devsite/ai.baseparams.md

12.12.11.0 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

BaseParams interface

Base parameters for a number of methods.

<b>Signature:</b>

typescript
export interface BaseParams 

Properties

PropertyTypeDescription
generationConfigGenerationConfig
safetySettingsSafetySetting<!-- -->[]

BaseParams.generationConfig

<b>Signature:</b>

typescript
generationConfig?: GenerationConfig;

BaseParams.safetySettings

<b>Signature:</b>

typescript
safetySettings?: SafetySetting[];