# Chat

The chat section allows users to interact with a selected bot by initiating a new chat session.&#x20;

Users can start a new chat by clicking the "new chat" button. The system automatically assigns a chat name based on the first message from the user. Once a new chat is initiated, users must choose an appropriate bot for their interaction. This selection is finalized to ensure context consistency throughout the conversation. The chosen bot is displayed at the bottom left of the chat interface, and it cannot be changed within the same chat session.

<figure><img src="/files/FmcJ0doxOWyrKSR1hLHF" alt="" width="375"><figcaption></figcaption></figure>

## New chat

User can create a new chat clicking on the "new chat" button in the top right of the page. Wilson will automatically assign a name to the chat based on the first user message.&#x20;

When you create a new chat, select the most suitable bot for the interaction you want to have!

Once you have chosen the bot, you can start chatting.&#x20;

<figure><img src="/files/jUiahGPRnpyDmJah9QYg" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
The selected bot is displayed at the bottom left. Once selected, the bot cannot be changed for that specific chat, to maintain context consistency.
{% endhint %}

{% hint style="warning" %}
**Pay attention**

Once you create a bot, remember to set it among the available bots for each user you want to give access to!
{% endhint %}

## Edit chat

Clicking on the button with three dots on chat selection, it is possible to rename a chat or archive it.ù

{% hint style="info" %}
The system automatically generate a name for the chat, based on the topic of the questions.
{% endhint %}

## Chat with Wilson

Inside the chat window, the user can chat with Wilson. By typing a message into the bar at the bottom, the user can send a message and receive a response from Wilson.

For each of Wilson's responses, actions can be performed:

<figure><img src="/files/D8859MPsCSIZHT2pA3Ud" alt="" width="189"><figcaption></figcaption></figure>

* **Date:** View timestamp of message.<br>

  <figure><img src="/files/c0rAk0B1Dbij3s9Xoe2m" alt="" width="166"><figcaption></figcaption></figure>
* **Message Information:** open a dialog where is possibile to view all the information about that message response, such as rephrasing applied, ratings, tags, sources Wilson used to get that response.

  <figure><img src="/files/0P90W4egdVozRe3xvtwI" alt="" width="375"><figcaption></figcaption></figure>
* **Copy Answer**: allows to copy to clipboard the response message.
* **Valutate Answer:** rate the response, providing a score: like or dislike.

  <figure><img src="/files/VAhSvxnZycz2ngIN0HFi" alt="" width="145"><figcaption></figcaption></figure>
* **Correct Answer:** allows the user to modify the response and suggest an alternative answer to Wilson. The correction will be visible in the Feedback tab in Knowledge Base section, where it can be further modified.

  <figure><img src="/files/9VMgK1C30iWFNYpSwebM" alt="" width="375"><figcaption></figcaption></figure>

## Customize messages configuration

In the lower left corner is a button that allows a menu to pop up with some selections. The options appear and are available according to the settings of the selected bot.&#x20;

The options are: Filters, Auto Document Selector, and Data Scientist Mode.

<figure><img src="/files/UvATpMvJ5FGrZuYrRKSN" alt="" width="320"><figcaption></figcaption></figure>

### Filters

The **Filters** button allows you to filter the documentation used by Wilson during the conversation. Specifically, only documents that contain at least one of the selected tags will be used by Wilson to respond to the user. This is very useful to make Wilson focus only on documentation relevant to the topics the user wishes to discuss.

You can choose in which folder to apply the filter, to which tags, or which combination of folders and tags.

<figure><img src="/files/296ViffhR0dJvkyviO7C" alt="" width="375"><figcaption></figcaption></figure>

### Auto Document Selector

When enabled the **Auto Document Selector** Wilson filters and selects the most relevant tags based on the user's question and the conversation context and use only the relevant documents. You can view the tags utilized by Wilson for each question in the "Info" section in the chat interface.

This feature can be easily managed within the chat settings, allowing users to toggle it on or off as needed.

### Data Scientist Mode

Is possible to switch to **Data Scientist mode**, in this case is required to select a csv file from knowledge base, and all the request will be focus on that file.

<figure><img src="/files/s9oZhwfLSpVzaDlfLb6m" alt="" width="375"><figcaption></figcaption></figure>

This feature allows for inspecting and extracting more detailed information from a CSV file, which is typically structured as a table. It enables users to glean more comprehensive and structured insights from the data within the CSV file.

<figure><img src="/files/xbV8Gz3CDDvHzeqv6S8z" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://40factory.gitbook.io/wilson/3.10/wilson-academy/chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
