# How to Use Document Q\&A

Go to 'Domain' and click on the new Document Q\&A you created.

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FlqBC32z18lYu3mMSOxej%252Fdmflow-docqa.png%3Falt%3Dmedia%26token%3De22ffba0-ac94-4602-9d4e-cbc5708d16f7&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6d89631c&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Document Q\&A Page

You will see the following upload options:

* File: Currently limited to 5MB, supports uploading PDF, CSV, JSON, HTML, DOCX.
* Audio: Currently limited to 5MB, file formats: mp3; m4a; wav.
* Dialog: Upload CSV for Q\&A.

Additional Configurations:

* Expiration Time
* Categories (can cluster questions more precisely through large language models)

File:

* No character limit.
* CSV allows selecting several items as a group for chunking.
* JSON allows selecting several items as a group and using JSON Pointer to specify paths.
* HTML allows uploading HTML files or using links; supports XML (sitemap, rss, atom); can filter based on links, titles, and descriptions (only filters items present in the XML, not the content after website extraction).

Audio:

* 5MB, supports mp3, m4a, wav.

Dialogue Context:

* You can directly upload questions and answers, organized into CSV format.
* CSV headers are type, sentence, session\_id.
  * type: can select Q or A.
  * sentence: select the content of your Q or A.
  * session\_id: if the session\_id is the same, the same Q and A will be kept in the same chunk as much as possible."
