Back to Firebase Js Sdk

StartChatParams interface

docs-devsite/ai.startchatparams.md

12.12.11.5 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 %}

StartChatParams interface

Params for GenerativeModel.startChat()<!-- -->.

<b>Signature:</b>

typescript
export interface StartChatParams extends BaseParams 

<b>Extends:</b> BaseParams

Properties

PropertyTypeDescription
historyContent<!-- -->[]
systemInstructionstring | Part | Content
toolConfigToolConfig
toolsTool<!-- -->[]

StartChatParams.history

<b>Signature:</b>

typescript
history?: Content[];

StartChatParams.systemInstruction

<b>Signature:</b>

typescript
systemInstruction?: string | Part | Content;

StartChatParams.toolConfig

<b>Signature:</b>

typescript
toolConfig?: ToolConfig;

StartChatParams.tools

<b>Signature:</b>

typescript
tools?: Tool[];