How to Use Document Q&A
How to quickly implement Document Q&A with DMflow.chat
Last updated
How to quickly implement Document Q&A with DMflow.chat
Last updated
Go to 'Domain' and click on the new Document Q&A you created.
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."