# Welcome

Welcome to SUPgpt for iPhone/iPad documentation.

If you are looking for the Mac version click [here](https://macdocs.supgpt.app)


# API Keys

The app requires at least one API key to function, and it **specifically requires an OpenAI API key for advanced tools** such as web content extraction and knowledge files.

## How to Obtain API Keys

To use the app's features, you must individually sign up for each API provider and create your API keys:

* OpenAI <https://platform.openai.com/>
* Anthropic <https://console.anthropic.com/login>
* Google <https://aistudio.google.com/app/apikey>
* Groq <https://console.groq.com/login>

## Adding API Keys to the App

#### Open Settings

Access the Settings by tapping on the ![](https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FDCJQgmjW8nLjDexmJuMZ%2F_.tiff?alt=media\&token=8b5e930b-7b18-4cf4-bb84-0ba25f112101) button on the **Chats** screen.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Ffwb2Uffj3puHRfQyrD4D%2FImage%20Layer.tiff?alt=media&amp;token=f61c2679-2ee4-46cb-85a0-a51f9a970e04" alt=""><figcaption></figcaption></figure>

#### Input Your API Keys

In the App Settings panel select **API Keys** and paste your keys into their respective fields. The app automatically saves your entries.

## API Key Storage

Your API keys are encrypted and stored locally on your device.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FKIIkcNXh1z3t5MU5HybK%2FImage%20Layer.tiff?alt=media&amp;token=09c1b2a4-58b6-4b5a-b5e4-4aeee1729bce" alt=""><figcaption></figcaption></figure>

## Syncing API Keys Across Devices

Please note that API keys are not synced between devices. If you use the app on multiple devices, you will need to enter your keys manually for each instance.


# Starting a New Chat

From the chat list screen, tap the ![](https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fu9jLd0nWg6GqSvig2NNW%2F_.tiff?alt=media\&token=89a8a49c-c690-45e1-b2e9-0030c03759dc) button. You can then select either a new temporary chat or a new persistent chat.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fz5DAes0vZ42xTzDbM4OR%2FLayer.tiff?alt=media&amp;token=930bf775-13c4-4519-9b0b-a922473bf0e8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To learn the difference between temporary and persistent chats, follow [this link](/chat/chat/persistent-and-temporary-chat).
{% endhint %}


# Accessing App Settings

Access the Settings by tapping on the ![](https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FDCJQgmjW8nLjDexmJuMZ%2F_.tiff?alt=media\&token=8b5e930b-7b18-4cf4-bb84-0ba25f112101) button on the **Chats** screen.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Ffwb2Uffj3puHRfQyrD4D%2FImage%20Layer.tiff?alt=media&amp;token=f61c2679-2ee4-46cb-85a0-a51f9a970e04" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fn0oq3kfwAJLxHfyWEU0c%2FImage%20Layer.tiff?alt=media&amp;token=ff12ad89-8869-4806-9715-6635297a679f" alt=""><figcaption></figcaption></figure>


# API Keys

Each API key must be entered into its respective field to activate the models and features associated with these services. Changes are automatically saved.&#x20;

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FKIIkcNXh1z3t5MU5HybK%2FImage%20Layer.tiff?alt=media&amp;token=09c1b2a4-58b6-4b5a-b5e4-4aeee1729bce" alt=""><figcaption></figcaption></figure>


# General

The following settings are available in the General section:

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2F7ozrygVH7VqDfWdJ3PRF%2FImage%20Layer.tiff?alt=media&amp;token=956add91-ab70-43cb-8ff7-97bf2ba7a8f1" alt=""><figcaption></figcaption></figure>

#### Appearance

This setting allows the app's theme to match the iPhone/iPad system theme. Options include **System** (to follow the OS appearance), **Light**, and **Dark** modes

#### New Temp Chat

If 60 minutes have passed since the app was sent in the background, a new temporary chat will automatically start when the app is reopened.

{% hint style="info" %}
Learn more about temporary chats go [here](/chat/chat/persistent-and-temporary-chat)
{% endhint %}


# Chat

## New Chat Defaults

Configure the default settings for all new chats.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FIMmRZfrFb73emH9ZKse6%2FImage%20Layer.tiff?alt=media&amp;token=33f46dee-0a93-46f9-a575-40b9d79771c1" alt=""><figcaption></figcaption></figure>

#### Model

Set the default model to be used in a new chat.

#### Context Window Limit

Define the context window limit for new chats. Deleting the contents of this field will reset the limit to the maximum allowed for the selected model.

#### Output Limit

Specify the output limit for new chats. Deleting the contents of this field will set the output limit to unlimited.

{% hint style="info" %}
Context Window Limit and Output Limit are using tokens.
{% endhint %}

## Available Models

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2F49VAsmkq4ZyQpr1FSK03%2FImage%20Layer.tiff?alt=media&amp;token=a038e172-8938-44d3-af4f-976a54737e1d" alt=""><figcaption></figcaption></figure>

This section provides information about all available models, including the following details:

* **Provider**: The source of the model.
* **Max Context Window**: The maximum context window for each model.
* **Max Output Limit**: The maximum output limit for each model.
* **Tool Usage**: Indicates whether the model can utilize additional tools.

Additionally, unused models can be disabled to prevent them from appearing in the model selection.


# Tools

## New Chat Tools Defaults

Configure the default tools settings for all new chats.

#### Enabled

Toggle tools active for new chats.

#### Knowledge Limit

Set the token limit for content retrieval when using the search tool within knowledge files. This retrieved knowledge will be utilized to answer questions related to the content of those files.

## Active Tools

View a list of all available tools along with a brief description of each. Specific tools can be deactivated for use in new chats.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FzZvxPDqYcZ4oftVE4iOt%2FImage%20Layer.tiff?alt=media&amp;token=7035fa53-85c4-4861-b939-c507c28e29d8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To learn more about tools press [here](/tools/overview)
{% endhint %}


# Image Generation

## New Chat Image Generation Defaults

Configure the default image generation settings for all new chats.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FeHUeDn9s2UghiyBJWxQR%2FImage%20Layer.tiff?alt=media&amp;token=ae55ab4f-fcf0-42db-938d-9e42e407075f" alt=""><figcaption></figcaption></figure>

#### Enabled

Toggle image generation active for new chats.

#### Model

Set the default image model to be used in a new chat.

The remaining settings are model-specific and will change depending on the selected model.


# Manage Chats

All persistent chats are listed in the Chats screen, sorted by the date of the last message.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FazNuJ3a3pCpNlBfzGQVC%2FImage%20Layer.tiff?alt=media&amp;token=1fad50bf-b961-4be9-8029-d8483d7fc26d" alt=""><figcaption></figcaption></figure>

To delete or toggle chat as favourite swipe and tap the <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/G3rNL11wCSHcq06XmBgP/_.tiff" alt="" data-size="line"> to delete or <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/ZnkErKfgfklwqEx37O25/_.tiff" alt="" data-size="original"> to toggle favourite


# 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&amp;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&amp;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.


# Chat


# Persistent and Temporary Chat

When creating a new chat, you have the option to select whether the chat is temporary or persistent.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Ffk6FBxaA1CNxqpaFSslN%2FImage%20Layer.tiff?alt=media&amp;token=de25a7d1-4c40-4621-8fbb-488e20242ebf" alt=""><figcaption></figcaption></figure>

* **Temporary**: This chat is not saved in the database and will be lost when switching to another chat or closing the app. A temporary chat is indicated by the <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/yy0IlHxCVmwdWBtEUJ8E/_.tiff" alt="" data-size="original"> before the title.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FZ48ElbMh0TcqIFrmja6M%2FImage%20Layer.tiff?alt=media&amp;token=855ed8fd-a226-4306-9db4-4b4c357d502b" alt=""><figcaption></figcaption></figure>

* **Persistent**: This chat is saved in the database and synced across devices.

## Converting Temporary to Persistent

If you need to save a temporary chat, you can convert it to persistent by tapping the **...** in the top right corner, and then selecting **Keep.**

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FUhlePsRnwVtvFKRs692Q%2FImage%20Layer.tiff?alt=media&amp;token=7f1f537d-b2f7-4e63-992a-fac5642cff6c" alt=""><figcaption></figcaption></figure>


# Prompt Bar

To create a new line in the prompt bar, press **return**. To submit the prompt, press ![](https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FHhdduvzEfssFUXuFgAKn%2F_.tiff?alt=media\&token=e998defc-f59d-433a-8503-05f358466db3).

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2F15SNbNM8Kj8X4nxaYVwp%2FImage%20Layer.tiff?alt=media&amp;token=eb0d212e-0e07-4a40-81c2-2f18219aab52" alt=""><figcaption></figcaption></figure>

While the model is generating text or running a tool, you can interrupt the process by pressing the ![](https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/bkw2wVHpBeIigNZPA0k7/_.tiff) button on the prompt bar.


# Attaching Files

You can attach text-based files to your message by pressing the ![](https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/DuavAc12mYlRkGVpP1lt/_.tiff) button located below the prompt bar and then selecting **Files**.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FMww3qECvXZf8Ish8hlAx%2FImage%20Layer.tiff?alt=media&amp;token=a6ffd542-caef-4d5c-8f4c-4e403bc5785f" alt=""><figcaption></figcaption></figure>

The contents of attached files are injected into the message. As long as the message containing the attached files is within the current context window, their content will remain accessible to the model.

**I**<mark style="background-color:yellow;">**mportant**</mark><mark style="background-color:yellow;">: For large files, you may need to adjust the context window limit.</mark>

{% hint style="info" %}
**Hint**: To have continuous access to the content of larger files, it is recommended to utilize the [Search in Files](/tools/search-in-files) tool.
{% endhint %}


# Attaching Images (Vision)

You can attach images from your Photos or take a picture directly using the Camera. To do so, tap the ![](https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/DuavAc12mYlRkGVpP1lt/_.tiff) button located below the prompt bar, and then select either **Photos** or **Camera**.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FAerEM9FqvAE8UWJwoCQP%2FImage%20Layer.tiff?alt=media&amp;token=50df46ee-59f8-4d51-9713-529b07ef97a9" alt=""><figcaption></figcaption></figure>

Attached images are injected in the message. As long as the message containing the attached images is in the current context window their content will continue to be available to the model.

<mark style="background-color:yellow;">**Important**</mark><mark style="background-color:yellow;">: Different models, even from the same provider, handle image analysis differently in terms of cost. If you encounter a context window error with the GPT-4o Mini, it does not necessarily mean you will receive the same error with the GPT-4o, even if both are set to the same context limit. You will be notified if the context window is too small for the attached images.</mark>


# Messages

There are two types of messages: user messages (yours) and assistant messages (from the model).&#x20;

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FZRAxUS52rEV64OW4nmlA%2FImage%20Layer.tiff?alt=media&amp;token=5a3a0da2-d5d4-481b-989c-7c5d231c057a" alt=""><figcaption></figcaption></figure>

You can reveal additional information and functions by tapping <img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FB65CNP330XJQWiagTzP0%2F_.tiff?alt=media&amp;token=ae651c92-890e-473f-b8f2-b7b004292b7b" alt="" data-size="original"> under each message.

Pressing <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/FHamTxhU7JPYsU1SCGnF/_.tiff" alt="" data-size="line"> scrolls to the beging of the message.

## User Message

Use messages options:

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fo3fI5NAm6t2VQd9hFGKd%2FImage%20Layer.tiff?alt=media&amp;token=dde5b631-c4cf-450f-9508-c65b9e575602" alt=""><figcaption></figcaption></figure>

* <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/PqOPOdcmXDqiNol0HlZJ/_.tiff" alt="" data-size="line"> - Copy the text of the message.
* <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/RffHuN8q0zyK915Q4zfA/_.tiff" alt="" data-size="line"> - Delete the message from the conversation.

## Assistant Message

Assistant messages consist of up to three parts:

* Body:

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FNYglSFxBV24XrndRCWkn%2FImage%20Layer.tiff?alt=media&amp;token=a4839869-eb5d-4e58-b3fd-ee1810a56df6" alt=""><figcaption></figcaption></figure>

* Tools:

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fe99N9SxyWvOPkuJWSdWz%2FImage%20Layer.tiff?alt=media&amp;token=effaf52b-179b-4a84-a2d4-fc57ea7ffd84" alt=""><figcaption></figcaption></figure>

* Fragments - Generated files and images:

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FQGOtaaou2IdLzGou8J6a%2FImage%20Layer.tiff?alt=media&amp;token=d613597c-cad1-45d6-9d72-26572e0dd179" alt=""><figcaption></figcaption></figure>

When you hover over an assistant message, you will find additional options and information:

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FHw4BjbVvbYuSKc2QhrHf%2FImage%20Layer.tiff?alt=media&amp;token=440b187a-7779-4e25-aafa-f66a01d3e5c7" alt=""><figcaption></figcaption></figure>

* ![](https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/o5WBdX1J3dqS5bxfuhBB/_.tiff) claude-3-5-sonnet-20240620  - The model used to generate the message.
* Input Tokens: 1 155 - The input tokens used.
* Output Tokens: 523 - The output tokens used.
* <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/cqkwlTjfCe1FKrAa4Ell/_.tiff" alt="" data-size="line"> - Copy the body of the message.
* <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/dBVrcu3GtouHYXOM4NyB/_.tiff" alt="" data-size="original"> - Regenerate (if you have switched to a different model, it will use the new model to regenerate the message).
* <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/ToiQRbFOUBcwgu6k2uxV/_.tiff" alt="" data-size="line"> - Delete the message from the conversation.

## Limited Markdown Support

Assistant messages support limited markdown features, including the display of code blocks and tables.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FgydgWQQljPhoVDnIng1A%2FImage%20Layer.tiff?alt=media&amp;token=2a877c00-8f91-4ab0-9346-ca8c4c3183f0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fg7PL8Xls0SOLj8v226XH%2FImage%20Layer.tiff?alt=media&amp;token=323ff8a4-f4f5-40f7-a0b2-732e629c1129" alt=""><figcaption></figcaption></figure>


# Title Bar

The title bar contains the chat title.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FXjdqeICe7mg9PxaerllY%2FImage%20Layer.tiff?alt=media&amp;token=168744df-0936-44d3-becb-6f125a558c8e" alt=""><figcaption></figcaption></figure>

The title is automatically generated after the first 4 messages. To create the title, the app uses the most cost-effective model available.

When you tap the title, you will find three options:

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FbXKr8mYmcRpKzvJHvG59%2FImage%20Layer.tiff?alt=media&amp;token=ad084acf-3e39-434c-a200-cd1dbef08a0d" alt=""><figcaption></figcaption></figure>

* Favourites <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/zPQxw5nreIbJow3TH6vr/_.tiff" alt="" data-size="original"> - Toggle to add or remove the chat from favorites.
* Refresh <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/QvTXxABkCEKGedE0xqT9/_.tiff" alt="" data-size="original"> - Regenerate the title, using the content of the last messages (up to 1000 tokens).
* Edit ![](https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/0oNmnrm5qJRKhkiwfvhA/_.tiff) - Set the title manually.


# Context Window Marker

The context window marker serves as a visual cue to indicate what content is within the model's context and what is outside of it. The marker automatically recalibrates its position when the context window limit setting is changed or when new messages are added to the conversation.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FuKUuTTTIAVVVfqw2pz8c%2FImage%20Layer.tiff?alt=media&amp;token=e1ebdfb8-c330-4fd5-9769-971d0fa99021" alt=""><figcaption></figcaption></figure>

<mark style="background-color:yellow;">**Important**</mark><mark style="background-color:yellow;">: The marker does not account for the message that you are about to send, which may change its position when sent.</mark>


# Overview

Models that support tool calls can extend their capabilities beyond just chatting. Tools will appear as separate messages in the chat window, displaying a preloader while the tool is being executed and an orange checkmark when the execution is complete.&#x20;

<figure><img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/rFGVzOdyXw56MTRjU7Oj/Image%20Layer.tiff" alt=""><figcaption><p>The model is executing the <strong>Set active directory</strong> tool</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/MciZHtR377uUO36aQju8/Image%20Layer.tiff" alt=""><figcaption><p>The model has finished executing the <strong>Set active directory</strong> tool</p></figcaption></figure>

<details>

<summary>Models that support tools</summary>

**OpenAI**:

* GPT-4o mini
* GPT-4o
* GPT-4 Turbo
* GPT-3.5 Turbo

**Anthropic**:

* Claude 3.5 Sonnet
* Claude 3 Sonnet
* Claude 3 Opus
* Claude 3 Haiku

**Google**:

* Gemini 1.5 Pro
* Gemini 1.5 Flash
* Gemini 1.0 Flash

**Groq**:

* Llama 3.1 70b
* Llama 3.1 70b

</details>

{% hint style="info" %}
OpenAI API key is required for **Search in Files** and **Extract Web Content** tools.
{% endhint %}

## Using the Tools

There is no need to explicitly specify which tool the model should use. The model will attempt to infer the appropriate tool based on the context of the conversation and the content of your prompt.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FftMHnORAIjoZADHV6vEW%2FImage%20Layer.tiff?alt=media&amp;token=a5ec12f9-29e4-4b55-9683-075c2cb3fc13" alt=""><figcaption></figcaption></figure>

## Available Tools

### Create File

Creates a text based file.

### Read File

Reads an entire file from the generated fragments or knowledge files.

### List Files

Lists all files in the generated fragments or knowledge files.

### Search in Files

Searches throught the knowledge files for relevent information and use it as context.

### Generate Image

Generates an image using the selected image model.

### Memorize

Memorizes a piece of information making it always available in the context. You can manage the memorized snipets from the Chat Settings Panel.

### Extract Web Content

Tries to extract relative text content from a web page.

### Search Web

Performs a web search. **(Spawns assistant)**


# Create File

The Create File tool allows the model to generate text-based files. Supported file types include, but are not limited to:

* Code and script files
* CSVs
* PDFs
* Text

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Ff42J0FoJND95DAlWF4x0%2FImage%20Layer.tiff?alt=media&amp;token=3ae70330-9c8f-485c-86d5-dc08626fa343" alt=""><figcaption></figcaption></figure>

To view the contents of a created file, tap the ![](https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/MNbOpddsG8bP5WI0ELSN/_.tiff) button.

To export the file, press the ![](https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/1vr8EYvUFMlFbBXSReeN/_.tiff) button.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FjZm4QXdXstZ6whMDUQbN%2FImage%20Layer.tiff?alt=media&amp;token=1b9fd646-f064-4525-b051-4ec2d542534a" alt=""><figcaption></figcaption></figure>

## Generated Fragments

All created files are available in the Generated Fragments window. To open this panel, press the <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/2iL8LbAnFgr44TWzdEG8/_.tiff" alt="" data-size="original"> button in located bellow the prompt bar.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FJGsqfgL5MeV2lUCK87Ua%2FImage%20Layer.tiff?alt=media&amp;token=1b06de28-ab37-4c77-b39d-7d2698cf359f" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FucIwIEZpqhXOlIqHb2V1%2FImage%20Layer.tiff?alt=media&amp;token=46e392ea-0089-400d-90c9-4cb62786c984" alt=""><figcaption></figcaption></figure>


# Read File

The Read File tool enables the model to access and read text-based files from two distinct sources:

* Generated files
* Knowledge files

{% hint style="info" %}
If the size of the file contents exceeds the token limit set for the context window limit, the file will not be sent to the model.
{% endhint %}

{% hint style="info" %}
It is recommended to specify the desired source when asking the model to read a file. This ensures accurate retrieval of the intended content.
{% endhint %}

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fzn0TJzReKKJHQttwcZA5%2FImage%20Layer.tiff?alt=media&amp;token=fbae32e3-53df-4fc9-b58c-796e06e74b11" alt=""><figcaption></figcaption></figure>


# List Files

The List Files tool allows the model to retrieve a list of all generated or knowledge files associated with the current chat session.


# Search in Files

<mark style="background-color:red;">The Search in Files tool requires an</mark> <mark style="background-color:red;"></mark><mark style="background-color:red;">**OpenAI API key**</mark><mark style="background-color:red;">.</mark>

The Search in Files tool allows the addition of files to enhance the chat's knowledge base. Models can search for relevant information within these files and utilize it as context for responses. **Only text-based files are supported, such as texts, code, CSVs, and PDFs where the text is selectable.**

To add knowledge files, tap the <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/3XDbjOEhhuNIssepG7ED/_.tiff" alt="" data-size="original"> button bellow the prompt bar. Tap the <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/uFgp4bwMMxV8JQBVu8ms/_.tiff" alt="" data-size="line"> button to browse for files. Please wait for the files to complete processing.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FJGsqfgL5MeV2lUCK87Ua%2FImage%20Layer.tiff?alt=media&amp;token=1b06de28-ab37-4c77-b39d-7d2698cf359f" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FTFTZJ0ukETCAHyyg4WO5%2FImage%20Layer.tiff?alt=media&amp;token=62765cbc-5c29-436a-9a79-6b1d008fb3ed" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Large files may take more time to parse. While it is not mandatory, it is advisable to keep individual knowledge files under 50 MB.
{% endhint %}

{% hint style="info" %}
The models may not always choose to search in the knowledge files for content. It is a good practice to remind them to use the knowledge files to answer queries.
{% endhint %}

## Knowledge Window Limit

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fv5QMYWamE917Mn2Hyogg%2FImage%20Layer.tiff?alt=media&amp;token=0c9b77df-cfb2-4d3f-b161-8969bffca41b" alt=""><figcaption></figcaption></figure>

The Knowledge Window Limit in the **Chat Settings** defines how much content to fetch from the knowledge files.

<mark style="background-color:yellow;">**Important:**</mark> <mark style="background-color:yellow;"></mark><mark style="background-color:yellow;">It is essential that the knowledge window limit is less than the context window limit of the model, otherwise, the model will not be able to use the knowledge due to its larger size.</mark>

## Time to Process

Processing approximately 3,000,000 symbols from the knowledge files takes about 1 minute when parsing. Please keep in mind that processing time will increase with larger files.


# Generate Image

To enable image generation in the app, activate the feature in either the **App Settings -> Image Generation** or in the **Chat Settings**.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FVZeOR3Ps9m3GObBfYrPv%2FImage%20Layer.tiff?alt=media&amp;token=c8abbf31-05f3-441f-b811-4d6daa60df57" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FnhKL4ZrpPnsjhYgS8avp%2FImage%20Layer.tiff?alt=media&amp;token=560ba96d-4c15-4095-8f19-9ca67cfa79eb" alt=""><figcaption></figcaption></figure>

## Model Settings

Each model has different settings to choose from.

## Saving the Image

The generated images can be saved tapping the![](https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/6Zz91P0TJKdzi7cvBeh4/_.tiff)button.

## Generated Fragments

All generated images are available in the Generated Fragments panel. To open this panel, tap the <img src="https://content.gitbook.com/content/l72zlBe6gCpqfuDR1ofJ/blobs/2iL8LbAnFgr44TWzdEG8/_.tiff" alt="" data-size="original"> button bellow the prompt bar.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FJGsqfgL5MeV2lUCK87Ua%2FImage%20Layer.tiff?alt=media&amp;token=1b06de28-ab37-4c77-b39d-7d2698cf359f" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fira4S7BOxXcS24n5tDwS%2FImage%20Layer.tiff?alt=media&amp;token=ece91cb9-7d3d-4906-bf4b-1ecd325da38d" alt=""><figcaption></figcaption></figure>


# Memorize

The Memorize tool enables the model to "remember" specific pieces of information that remain accessible in the context of the conversation.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FogUCGcaX0eptjDq5DG7r%2FImage%20Layer.tiff?alt=media&amp;token=6a7f81be-fffe-4149-8b89-44213e763cad" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
An example use of the Memorize tool would be to ask the model to always refer to the knowledge files when aswering questions.
{% endhint %}

## Modify Memory

To view and modify what the model has in its memory, tap on the **Change** button in the **Chat Settings**. Here, you can add, edit, or delete memorized pieces of information.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2F8sn7KKiBJMvPTmPJ0wbo%2FImage%20Layer.tiff?alt=media&amp;token=1fa83bc8-702a-41f9-a82b-ca439e87453c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fdp9BYp1DfMmMPjokWHQG%2FImage%20Layer.tiff?alt=media&amp;token=643cf231-41af-4315-9649-c3d81515b850" alt=""><figcaption></figcaption></figure>


# Extract Web Content

The Extract Web Content tool enables the model to retrieve relevant information from a single web page and utilize it as context during the conversation.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FrDNP49KfXoAZKe2JF6Ub%2FImage%20Layer.tiff?alt=media&amp;token=62b8443f-cb85-4f05-9b5c-08bc71166334" alt=""><figcaption></figcaption></figure>

The size (in tokens) of the retrieved content is determined by the knowledge window limit setting in the [**Chat Settings**](/chat/chat-settings)**.**

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2F8sn7KKiBJMvPTmPJ0wbo%2FImage%20Layer.tiff?alt=media&amp;token=1fa83bc8-702a-41f9-a82b-ca439e87453c" alt=""><figcaption></figcaption></figure>

<mark style="background-color:yellow;">**Important:**</mark> <mark style="background-color:yellow;"></mark><mark style="background-color:yellow;">It is essential that the knowledge window limit is less than the context window limit of the model, otherwise, the model will not be able to use the extracted web content due to its larger size.</mark>


# Search Web

The Search Web tool enables the model to perform a real-time web search to gather external information.

<figure><img src="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2FrMtuA2ktMU4fK3MhVf6F%2FImage%20Layer.tiff?alt=media&amp;token=875a5842-525a-4f36-9ed9-f6313911bc82" alt=""><figcaption></figcaption></figure>


