# Chat Settings

The chat settings affect only the current chat session and override the default chat settings. To open the chat settings tap on the![](https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FQEM2GJoclkgV7XhOJrsa%2F_.tiff?alt=media\&token=741b67be-242f-4772-b77a-3f96eb687f42)button in the right corner.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FW7CHoUjSCjC5j5rRI0sQ%2FImage%20Layer.tiff?alt=media&#x26;token=fbc3c4bf-36a7-408b-831a-93f94086590b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fd65XmNBFPzkX3kJymwHJ%2FGroup.tiff?alt=media&#x26;token=c8605d97-6776-4e2c-ba84-ece4b3d051d2" alt=""><figcaption></figcaption></figure>

## Chat

#### Model

Select the model to be used for the current chat session.

#### Context Window Limit

This defines the maximum size of the context, in tokens, that the model will use. Since different models calculate tokens differently, this is an approximation. If the field is empty, the context limit is set to the maximum possible value for the model.&#x20;

**Keep in mind**: Your new, unsent messages and unsent attached files are not included in the context window limit. Adjust the context limit accordingly if attaching large files.

**Note**: The context window limit does not account for system parameters required for the app to function. These typically do not exceed an additional 1000 tokens per request. It is advisable to always set the limit to 1000 tokens more than your actual needs.

{% hint style="info" %}
**Hint**: If your files were not included in the context, simply set the context window limit to a larger value and submit an empty message.
{% endhint %}

<mark style="background-color:red;">**Important**</mark><mark style="background-color:red;">: Be cautious when using an empty context limit with long chats or large files, as this can quickly lead to high costs.</mark>

#### Output Limit

This defines the model's maximum response length in tokens.

#### Temperature

This setting varies by model but generally influences the predictability or creativity of the model's output. Switching between models resets this value.

#### Presence Penalty

Available on certain models only. This setting controls the repetition of specific phrases or words in the generated text. Switching between models resets this value.

#### Context Memory

Press **Change** to open the context memory panel. To learn more, refer to the [Memorize tool](../tools/memorize).

#### System Prompt

System prompts provide instructions and information to the model regarding the nature of the chat.&#x20;

{% hint style="info" %}
This is the place to set a persona for the model, if needed.
{% endhint %}



## Tools

Available only for models that support tools.

#### Enabled

Toggle this setting to enable or disable the model's use of tools.

## Image

Available only for models that support tools.

#### Enabled

Toggle this setting to allow or disallow the model's ability to generate images.

#### Model

Select the model to be used for image generation.

#### Image Size

This depends on the model. Choose the desired resolution for the generated images.

#### Quality

This depends on the model:

* Standard: Default setting.
* HD: Allocates more time for image generation, resulting in higher quality images but also increased latency and price.

#### Style

This depends on the model:

* Vivid: Encourages the model to generate hyper-real and dramatic images.
* Natural: Promotes a more realistic, less hyper-real appearance in the generated images.
