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

# Tạo tài liệu mới

Khi kho tri thức chưa có tài liệu nào, màn hình hiển thị thông báo: **"Không có kết quả"**

### Thao tác có thể thực hiện

* Tạo thư mục mới
* Tải tệp (tài liệu) lên

<Frame>
  <img src="https://mintcdn.com/fpt-62e894b4/QfitL1fB3TqJ6Xt-/images/AscreenshotofacomputerAI-generatedcontentmaybeincorrect_(4).png?fit=max&auto=format&n=QfitL1fB3TqJ6Xt-&q=85&s=50e32a2742db8efe6e877027e41ac9e0" alt="Ascreenshotofacomputer AI Generatedcontentmaybeincorrect (4)" width="870" height="387" data-path="images/AscreenshotofacomputerAI-generatedcontentmaybeincorrect_(4).png" />
</Frame>

### Bước 1: Mở menu tạo

* Nhấn nút **"Tạo"** (góc phải màn hình)

Chọn một trong hai tùy chọn:

* **"Thư mục mới"** – Tạo thư mục
* **"Tải tài liệu lên"** – Tải tệp

<Frame>
  <img src="https://mintcdn.com/fpt-62e894b4/QfitL1fB3TqJ6Xt-/images/AscreenshotofacomputerAI-generatedcontentmaybeincorrect_(5).png?fit=max&auto=format&n=QfitL1fB3TqJ6Xt-&q=85&s=7aa954137ddb20b796b2eae1c390e9be" alt="Ascreenshotofacomputer AI Generatedcontentmaybeincorrect (5)" width="808" height="366" data-path="images/AscreenshotofacomputerAI-generatedcontentmaybeincorrect_(5).png" />
</Frame>

### Bước 2.1: Tạo thư mục mới

Chọn **"Thư mục mới"** từ menu. Popup **Tạo thư mục mới** xuất hiện

* Nhập **Tên thư mục** *(bắt buộc, tối đa 50 ký tự)*
* Nhấn **"Tạo mới"** để hoàn tất

<Frame>
  <img src="https://mintcdn.com/fpt-62e894b4/QfitL1fB3TqJ6Xt-/images/AscreenshotofacomputerAI-generatedcontentmaybeincorrect_(6).png?fit=max&auto=format&n=QfitL1fB3TqJ6Xt-&q=85&s=7e114d8f60771fddbe96ec7909022b5b" alt="Ascreenshotofacomputer AI Generatedcontentmaybeincorrect (6)" width="871" height="370" data-path="images/AscreenshotofacomputerAI-generatedcontentmaybeincorrect_(6).png" />
</Frame>

### Bước 2.2: Tải tài liệu lên

Chọn **"Tải tài liệu lên"** từ menu. Cửa sổ **Tải tài liệu lên** xuất hiện

<Frame>
  <img src="https://mintcdn.com/fpt-62e894b4/QfitL1fB3TqJ6Xt-/images/undefined(5).png?fit=max&auto=format&n=QfitL1fB3TqJ6Xt-&q=85&s=c8110c3c53550f2ba1c07a0c9ad5653e" alt="Undefined(5)" width="841" height="360" data-path="images/undefined(5).png" />
</Frame>

* Nhấn vào vùng tải lên hoặc **kéo & thả tệp** vào khu vực này
* Khi tài liệu được chọn, hệ thống sẽ hiển thị **tiến trình tải lên** ngay bên dưới tên tài liệu
* Danh sách tệp đã chọn hiển thị bên dưới vùng tải

#### Quản lý tệp trước khi tải

* Nhấn biểu tượng **❌** bên cạnh tên tệp để xóa từng tệp
* Nhấn **"Xóa"** để xóa toàn bộ tệp đã chọn

#### Hoàn tất

* Nhấn **"Lưu & Xử lý"** để bắt đầu tải lên
* Nhấn **"Hủy"** để quay lại màn hình danh sách tài liệu (không lưu tệp)

<Frame>
  <img src="https://mintcdn.com/fpt-62e894b4/QfitL1fB3TqJ6Xt-/images/undefined(6).png?fit=max&auto=format&n=QfitL1fB3TqJ6Xt-&q=85&s=9839c719351530fd12e873b18aeed64e" alt="Undefined(6)" width="819" height="336" data-path="images/undefined(6).png" />
</Frame>

### Lưu ý

* Hệ thống hỗ trợ các định dạng:
  * PDF, PDF Scan
  * DOC, DOCX
  * PPT, PPTX
  * XLS, XLSX
  * CSV
* Với các tệp DOC, DOCX, PPT, PPTX, XLS, XLSX, CSV\
  → Hệ thống sẽ **tự động chuyển đổi sang PDF** trước khi xử lý
  Việc chuyển đổi giúp:
  * Đảm bảo tính ổn định
  * Tăng độ chính xác khi trích xuất nội dung
  * Tối ưu chất lượng dữ liệu trong kho tri thức
* Giới hạn:
  * **Dung lượng tối đa:** 30MB / tệp
  * **Số lượng tối đa:** 6 tệp / lần tải
* Nếu có lỗi có thể xóa tệp và tải lại
