Document
最新の更新:2024-02-20

Document

Add

Type

image-20240220113337542

You can add various types of documents to become the knowledge of the Bot.

  1. Files: Supports multiple formats such as .doc/.docx/.pdf/.md/.txt.
  2. Spreadsheets: Supports formats such as .xls/.xlsx/.csv.
  3. URL: Provide the URL of the website, and the system will crawl the web content as Bot knowledge.
  4. TXT: Directly enter content online as knowledge.
  5. Q&A: Knowledge type structured as "Q&A (question and answer pair, that is, one question and one answer)".

Slice

Different types of documents provide different slicing methods. You can preview the slicing effect on the page.

If you don't understand slicing, it is recommended to use the system default values.

image-20240220114928210

For files, URLs, and TXT types, you can choose two different slicing methods:

  • By Token number: Slice based on the set Token number. For example, if it is set to "1000", a slice is generated for the document every 1000 Tokens.
  • By identifier: Slice based on the selected identifier. For example, if it is set to "\n", that is, a newline character, a slice is generated for the document every time a newline occurs.

image-20240220115152702

For spreadsheet type, you can choose multiple rows as the header. The system will slice the table data based on the "header + row" method.

image-20240220115529387

For Q&A type, there is no need to choose a slicing method, the system will automatically treat each Q&A as a slice.

Copy from other Bot

image-20240220115622742

You can copy the document from other Bots within the same organization to the current Bot, making it the knowledge document of this Bot.

Edit

image-20240220120102019

For documents that have been added, they can be edited online.

Documents of the spreadsheet type are not currently supported for online editing.

URL Update

image-20240220120905669

For URL type, updates can be made to obtain the latest content of the webpage as knowledge.

image-20240308160014438

If there are too many URL documents in the Bot, you can also set up "Scheduled Updates". The Bot will update all URL document content for you in full at the time you set.

image-20240308160041115

You can choose to update your URL document daily, weekly, or monthly.