---
title: "Have a multi-turn conversation with the AI Assistant"
description: "Start a chat in the AI Assistant, keep asking follow-up questions and attach images, and pin, delete, or regenerate answers"
canonical_url: "https://docs.ardge.com/en/knowledge/doclake/ai-assistant"
---
# Have a multi-turn conversation with the AI Assistant

> Start a chat in the AI Assistant, keep asking follow-up questions and attach images, and pin, delete, or regenerate answers

## Overview

The **AI Assistant** lets you ask a series of questions about a library. The AI remembers the earlier questions and answers in the same chat, and every part of an answer cites its source documents. Chats are saved automatically, so you can come back from the chat history and keep asking.

How it differs from **AI Summary**:

|  | AI Summary | AI Assistant |
| --- | --- | --- |
| Purpose | Get a written-up answer while you search | Ask follow-up after follow-up on one topic |
| Chat saved | Not kept once you leave the page | Saved automatically — come back from the chat history |
| Attach images | Yes | Yes |

## What you'll learn

- Start a new chat and keep asking follow-up questions
- Attach images to a question
- Stop and regenerate answers
- Pin and delete chats
- Ask about a single document

**Estimated time: about 5 minutes**

## Applies to

- DocLake 1.0.0 and later

## Before you begin

- You can access at least one library

## Step 1: Start a new chat

1. In the left menu of **Search**, click **AI Assistant**
2. Click **New Chat**. The page shows "**What would you like to ask?**"
3. Check that the library on the question box is the one you want to ask about. To switch, type `@` or click the library button. Each question in the same chat can use a different library
4. Switch between **Quick Answer** and **Deep Thinking** if needed. Choose **Deep Thinking** when the question involves several documents or needs comparing or pulling together. For how they differ, see Step 3 of [Find information with File Search and AI Summary](https://docs.ardge.com/en/knowledge/doclake/search)
5. Enter your question and submit it. Questions can be up to 2,048 characters

A chat appears in the chat history only after you submit its first question. Its title is the first 64 characters of that question.

![A new chat in the AI Assistant](https://docs.ardge.com/screenshots/knowledge/en/doclake/ai-assistant/step-1.webp)

## Step 2: Keep asking follow-up questions

Type your next question in the same chat. The AI takes the chat's last 20 rounds of questions and answers into account, so you can follow up with something like "What about the second point?" Failed answers aren't taken into account.

Each question can use a different library.

A chat can generate only one answer at a time. If you ask again while an answer is still being generated, the page shows "**Another answer is still being generated. Wait for it to finish, then ask again.**" Different chats can generate answers at the same time.

![A multi-turn chat with sources cited for every part of each answer](https://docs.ardge.com/screenshots/knowledge/en/doclake/ai-assistant/step-2.webp)

## Step 3: Attach images to a question (if needed)

You can attach images such as screenshots or photos of forms to a question. The AI answers using both the images and the library's content.

1. Click **Upload Files** in the question box, or drag images onto the question box
2. Check that the image thumbnails appear in the question box. To remove one, click **Remove image** on its thumbnail
3. Enter your question and submit it

| Item | Limit |
| --- | --- |
| Formats | JPEG, PNG, WebP, GIF |
| Size per image | Up to 10 MB |
| Per question | Up to 5 images |

Attached images belong only to this chat. They aren't added to any library, and no one else can find them in search.

## Step 4: Stop or regenerate an answer

- Click **Stop** while an answer is being generated. What's been generated so far is kept
- Click **Regenerate** on the last answer to have the AI answer the same question again. The new answer replaces the original
- Click **Copy** to copy the answer

Answers are generated on the DocLake server. If the network drops briefly, the page picks up the answer where it left off.

## Step 5: Manage the chat history

Click **Show conversations**. Chats are grouped into **Pinned**, **Today**, **Yesterday**, **Previous 7 Days**, **Previous 30 Days**, and **Older**. Click a chat to go back to it and keep asking.

**Pin a chat:**

1. Click **More actions** next to the chat
2. Click **Pin Chat**

Pinned chats stay at the top, up to 10. To undo, click **Unpin Chat**.

**Delete a chat:**

1. Click the chat's **More actions** → **Delete Chat**
2. In the **Delete Chat** dialog, click **Delete**

Deleting can't be undone.

## Ask about a single document

At the top of the document preview, click **Ask About This Document** to start a new chat about that document only. If you opened the document from the search results in **Search**, your original search text is submitted automatically as the first question.

The chat is locked to that document. You can't switch libraries or unlock it. To ask about the whole library, click **New Chat**.

## Troubleshooting

| Message | Likely cause | What to do |
| --- | --- | --- |
| `This document has been deleted or moved. Click "New Chat" to ask about your libraries.` | The document the chat is locked to was removed from the library, or you've lost access to it | Click **New Chat** and ask about the library instead |
| `Another answer is still being generated. Wait for it to finish, then ask again.` | An answer is already being generated in this chat | Wait for it to finish, or click **Stop** |
| `You can pin up to 10 chats. Unpin one first.` | 10 chats are already pinned | Unpin another chat first |
| `Only JPEG, PNG, WebP, and GIF images are supported.` | The attached file isn't in a supported image format | Convert it to a supported format |
| `Images must be smaller than 10 MB.` | The image is too large | Shrink the image, then attach it again |
| `You can attach up to 5 images per question.` | More than 5 images | Remove the extra images, or split them across several questions |
| `No relevant content found in the libraries you can access.` | The library has nothing relevant | Rephrase the question, or use `@` to switch libraries |
| `The language model timed out. Please try again later.` | The answer took too long | Click **Regenerate**, or break the question into smaller ones |
| `Unable to start the chat. Please try again later.` | The request didn't go through | Try again later |

For other model and library error messages, see Troubleshooting in [Find information with File Search and AI Summary](https://docs.ardge.com/en/knowledge/doclake/search).

## Related articles

- [Find information with File Search and AI Summary](https://docs.ardge.com/en/knowledge/doclake/search)


## Sitemap

See the full [sitemap](https://docs.ardge.com/sitemap.md) for all pages.
