docs-devsite/ai.startchatparams.md
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 %}
Params for GenerativeModel.startChat()<!-- -->.
<b>Signature:</b>
export interface StartChatParams extends BaseParams
<b>Extends:</b> BaseParams
| Property | Type | Description |
|---|---|---|
| history | Content<!-- -->[] | |
| systemInstruction | string | Part | Content | |
| toolConfig | ToolConfig | |
| tools | Tool<!-- -->[] |
<b>Signature:</b>
history?: Content[];
<b>Signature:</b>
systemInstruction?: string | Part | Content;
<b>Signature:</b>
toolConfig?: ToolConfig;
<b>Signature:</b>
tools?: Tool[];