# Chat

## Chatting

The basis of SafeGPT is the AI-assisted chat function. You can find the Chat in both the web app and the add-in.

1. Start the web app or the add-in.&#x20;
2. Simply ask the AI assistant a question in the Chat screen
3. Click the send icon&#x20;
4. You will receive a response in the main screen

<figure><img src="/files/98b883c89f1f49854b13a0a06e1eea0d4280b35b" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/be08055e735493b9bcdf1fdc79b84a2ceb459194" alt=""><figcaption><p>Chat conversation in Word add-in</p></figcaption></figure>

## Chat features

In the right-hand menu of the web app you will find a number of extra chat features. These give you additional options for the chat, which influence the context and content of the result.  &#x20;

* Code Interpreter (data analysis)
* AI images&#x20;
* Online Search &#x20;
* Diagrams&#x20;
* Co-Worker (formerly knowledge bases)&#x20;
* Bookmarks for Prompts
* Templates <br>

<figure><img src="/files/7f5aecfb586489c90fcfd593c88015d11811739c" alt="" width="300"><figcaption></figcaption></figure>

### **Code Interpreter (data analysis)**

The Code Interpreter option makes it possible to ask more complex questions, allowing more data to be analyzed. For example, with this option you can have charts created, have content directly converted into a Word or Docx format, and you can also give the chat multiple combined tasks. \
\
There are many examples of how you can use the data analysis function. For example, this function allows you to analyze the statistics of your social media posts within minutes, or to have an analysis made of the results of a customer satisfaction survey\
\
\&#xNAN;*An example prompt is:* \
*Create an analysis of the data from this survey, give me three charts on topics x, y, z, and put these results into a PowerPoint presentation.*

### ImageGPT (Images)

Easily create images by selecting the AI Images function. As with all tasks, give a clear description of what you expect.&#x20;

* For example, style: photo, graphic
* Provide insight into the color palette
* Indicate whether it should be realistic&#x20;

For more information, see the [chapter on prompts](/en/overview/the-power-of-prompts.md#prompts-schrijven-voor-beeld)

*Example prompt: create an image of a cat in a kitchen. The cat is brown and white. The kitchen is modern.*

<figure><img src="/files/7c2a6f6daef8c9ba5cde26765eaf09322280771c" alt=""><figcaption></figcaption></figure>

### Search with Online Search&#x20;

Activate "online Search" and retrieve current data from the internet to enrich your chat conversation. This online search function uses offline caching and is therefore a safe search function within the SafeGPT platform.&#x20;

<figure><img src="/files/991d15f4f60819330b4b503f45927a8551509bce" alt="" width="240"><figcaption></figcaption></figure>

### Diagrams

<figure><img src="/files/693270de9b9f11dca630de7608908320d12b183c" alt="" width="62"><figcaption></figcaption></figure>

Within the SafeGPT chat you can directly create complex visualizations, such as process flows, mind maps and charts. This allows you to present processes, themes and data clearly without leaving the chat. Optionally add data on which you want a diagram created and describe the desired output.&#x20;

*Example prompt: create a mind map on the topic of IT management.*&#x20;

<figure><img src="/files/cdefac3ebdd0bd0547955bd41637756d191a6c27" alt=""><figcaption><p>Visualization with diagrams</p></figcaption></figure>

#### Which diagrams can you create?&#x20;

Below you will find a short description of the different diagram types, so you can quickly see which diagram best suits your purpose.

* **Flowcharts:** Clearly show steps and decisions in a process.&#x20;
* **Sequence:** Shows how elements follow each other in a certain order.&#x20;
* **Class:** Displays the structure of objects, properties, and relationships.&#x20;
* **Relationship Status:** Clearly shows relationships and their current status.&#x20;
* **Requirement:** Clearly maps out requirements and conditions.&#x20;
* **Git:** Visualizes the branches, commits, and version history of code.&#x20;
* **C4:** Clearly shows software architecture at different levels.&#x20;
* **Blocks:** Shows a system or process in separate, clear components.&#x20;
* **Mind maps:** Visually lays out ideas and connections around a central topic.&#x20;
* **Timelines:** Shows events or milestones in chronological order.&#x20;
* **Charts – Pie:** Shows proportions within a whole.&#x20;
* **Charts – Quadrant:** Places topics in four boxes based on two properties.&#x20;
* **Charts – XY:** Visualizes the relationship between two variables in a graph.&#x20;
* **User journey:** Shows the steps and experiences of a user in a process.&#x20;
* **Architectures:** Shows the structure and coherence of a system or environment.&#x20;
* **Kanban:** Makes tasks and progress in a workflow clear.\ <br>

The sequence diagram below shows step by step how the different parties collaborate within the process, which actions they perform, and how consultation, input, and decision-making follow each other in the correct order.

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

## **Chat with documents**

Using the + sign, add a document or multiple documents to the Chat and use them for a conversation. Ask questions about the content of a document, ask cross-questions about multiple documents, make comparisons between documents, or draw connections between two documents.

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

### Chatting with AI assistant or Co-Workers

Activate an AI assistant or knowledge base to consult specific content from the knowledge base using SafeGPT's chat function. \
\
Create new content based on this knowledge base, for example marketing texts based on a company brochure or project plans based on additional documentation about a topic.&#x20;

<figure><img src="/files/06c0dfa56229d99c9a770d43aef7ed3776b2cb57" alt=""><figcaption></figcaption></figure>

### Prompt book - Bookmarks

**Bookmarks for saving and reusing prompts:**&#x20;

Save frequently used commands or instructions in "Bookmarks" and reuse these instructions. For example, for creating repetitive writing work. Think of a prompt instruction for writing news articles, checking texts against specific writing guidelines, or standard meeting write-ups. You can save bookmarks in the chat window and in the advanced setting of Speech.&#x20;

### **Add bookmarks**

You can add prompts to bookmarks in different ways. By saving prompts from the chat window.&#x20;

1. Click the bookmark icon in the chat.&#x20;
2. Click Add&#x20;
3. Give your prompt a name&#x20;
4. Bookmark name

<figure><img src="/files/0251d52924e62eb561099b6ee25dfc6d50783d2a" alt=""><figcaption></figcaption></figure>

### **Using prompts from bookmarks**

Using prompts from your bookmarks&#x20;

1. Click on the bookmarks
2. Select the desired prompt
3. Click apply
4. The prompt will automatically be placed in the chat field.&#x20;

You can now still adjust it, or run it.&#x20;

## Convert chat conversation to a document&#x20;

Use the templates to have a chat conversation converted directly into a Word format with branding. Click the three dots at the top of the chat conversation and then click Open in MS Word. If templates are available for the organization, select the relevant template.&#x20;

<figure><img src="/files/5da68257103b13b05739322c4b70d011790a33e2" alt=""><figcaption></figcaption></figure>

## Chat history

On the right-hand side you can see the history of chat conversations. Retrieve a chat conversation by clicking on the conversation topic. You can continue with a previously started chat conversation. Delete conversations by removing each conversation separately, or delete all conversations at once with the trash can.&#x20;

Chat conversations are retained for 30 days by default.&#x20;

## Pinning chat conversations&#x20;

Pin important conversations with the **pin option.** This ensures that the content of a chat conversation is preserved and appears at the top of the chat conversations.&#x20;

<figure><img src="/files/0fd588dfcf50da53e6887a46b66ce8ab025d8ad9" 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://docs.safegpt.nl/en/features/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.
