# Interface StartChatParams (1.10.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.10.0 (latest)](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/latest/vertexai/startchatparams)
- [1.9.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.9.0/vertexai/startchatparams)
- [1.8.1](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.8.1/vertexai/startchatparams)
- [1.7.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.7.0/vertexai/startchatparams)
- [1.6.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.6.0/vertexai/startchatparams)
- [1.5.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.5.0/vertexai/startchatparams)
- [1.4.1](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.4.1/vertexai/startchatparams)
- [1.3.1](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.3.1/vertexai/startchatparams)
- [1.2.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.2.0/vertexai/startchatparams)
- [1.1.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.1.0/vertexai/startchatparams)
- [1.0.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/1.0.0/vertexai/startchatparams)
- [0.5.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/0.5.0/vertexai/startchatparams)
- [0.4.0](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/0.4.0/vertexai/startchatparams)
- [0.3.1](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/0.3.1/vertexai/startchatparams)
- [0.2.1](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/0.2.1/vertexai/startchatparams)
Params to initiate a multiturn chat with the model via startChat.

## Package

[@google-cloud/vertexai](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/latest/overview.html)

## Properties

### apiEndpoint

    apiEndpoint?: string;

Optional. The base Vertex AI endpoint to use for the request.

### cachedContent

    cachedContent?: string;

Optional. The name of the cached content used as context to serve the prediction. This is the name of a `CachedContent` and not the cache object itself.

### generationConfig

    generationConfig?: GenerationConfig;

Optional. [GenerationConfig](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/latest/vertexai/generationconfig).

### history

    history?: Content[];

Optional. History of the chat session. [Content](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/latest/vertexai/content)

### safetySettings

    safetySettings?: SafetySetting[];

Optional. Array of [SafetySetting](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/latest/vertexai/safetysetting).

### systemInstruction

    systemInstruction?: string | Content;

Optional. The user provided system instructions for the model. Note: only text should be used in parts of [Content](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/latest/vertexai/content)

### toolConfig

    toolConfig?: ToolConfig;

Optional. This config is shared for all tools provided in the request.

### tools

    tools?: Tool[];

Optional. Array of [Tool](https://docs.cloud.google.com/nodejs/docs/reference/vertexai/latest/overview.html).