> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wisdom.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Using File Attachments in Chat

You can attach a file to your WisdomAI chat to provide additional context for the session. This feature enables WisdomAI to use the information in the file to better understand and respond to your queries, serving as a temporary knowledge base throughout your conversation.

## How it works

To attach a file to your chat session, follow these steps:

1. In your chat session, click the **Upload File** icon.
2. Select your file, and ensure it is a supported file type.
3. Add your query in the chat, and click **Send**.

WisdomAI will then process the file's content and use it as a reference for your questions.

This allows for a more fluid and intuitive interaction, especially when dealing with complex data tasks. For example, you could upload a screenshot of a bar chart and ask WisdomAI to generate a similar chart using the dataset of the Domain you are using.

## Supported file types

WisdomAI currently supports a variety of file types, including images, documents, and different text formats. See the following list:

* **Images**
  * .png
  * .jpeg
  * .webp
* **Documents**
  * .pdf
* **Text Files**
  * Any file with a text/MIME type
  * .json
  * .lkml
  * .md (Markdown)
  * .log
  * .yml
  * .yaml

<Check>
  - The maximum file size you can upload is 20MB.
  - These files can also be used as data sources. To learn how to upload files to a Domain, read [**Basic Tutorial: Connect and Test > Upload CSV files**](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)**.**
</Check>

## Next steps

<CardGroup cols={2}>
  <Card title="Configure Domains" icon="sliders" href="/setting-up-wisdom-ai/manage-domains/understand-domains">
    Manage and customize your data domains to refine context and improve query results.
  </Card>

  <Card title="Auditing" icon="clipboard-list" href="/using-wisdom-ai-everyday/auditing">
    Organize insights by tagging chats, navigating history, and sharing vetted answers with your team.
  </Card>

  <Card title="Basic Tutorial: Connect and Test" icon="rocket" href="/setting-up-wisdom-ai/basic-tutorial-connect-and-test">
    Walk through the initial setup to connect a data source and run your first query.
  </Card>

  <Card title="Advanced Data Modeling" icon="sitemap" href="/setting-up-wisdom-ai/advanced-data-modeling-creating-context">
    Define relationships and context in your data to enable more powerful analysis.
  </Card>
</CardGroup>
