# File Upload

<figure><img src="/files/MXIEl1xCSL3ok8GoBOZ5" alt=""><figcaption><p>BLACKBOX AI Web Chat - Upload Files</p></figcaption></figure>

BLACKBOX allows you to upload files in various formats including code, text documents, PDFs, and images to provide context that helps the AI better understand your needs and provide more accurate responses.

You can upload files from your local device, Dropbox, or connect with Github to access and import your code repositories. Once uploaded, BLACKBOX will analyze the content and use it as context to provide more tailored and accurate responses to your queries. This seamless file integration helps create a more personalized and efficient AI experience.

### Getting Started

Head to [blackbox.ai](http://blackbox.ai) and click on “Upload” and select one of the methods that works for you.


---

# 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.blackbox.chat/blackbox-ai-1/website/ai-chat/file-upload.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.
