> For the complete documentation index, see [llms.txt](https://docs.clickai.vn/clickai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clickai.vn/clickai-docs/co-so-du-lieu/tao-nhanh-kien-thuc.md).

# Tạo nhanh kiến thức

&#x20;

## Mục lục

·       \[Quy trình Quick Create]\(#quy-trình-quick-create)

·       \[Bước 1: Import dữ liệu]\(#bước-1-import-dữ-liệu)

·       \[Bước 2: Cấu hình Chunk Settings]\(#bước-2-cấu-hình-chunk-settings)

·       \[Bước 3: Cấu hình Index Method & Retrieval Settings]\(#bước-3-cấu-hình-index-method--retrieval-settings)

·       \[Bước 4: Chờ xử lý hoàn tất]\(#bước-4-chờ-xử-lý-hoàn-tất)

&#x20;

## Quy trình Quick Create

Quick Create là phương pháp phổ biến nhất để tạo Knowledge Base trên ClickAI. Quy trình gồm 4 bước chính:

1\.     Nhấn Knowledge > Create Knowledge, sau đó upload file từ máy, đồng bộ dữ liệu từ Notion, hoặc thu thập từ website, hoặc tạo knowledge base trống.

2\.     Cấu hình Chunk Settings và xem trước kết quả chunking. Giai đoạn này bao gồm tiền xử lý nội dung và cấu trúc hóa — chia văn bản dài thành nhiều chunks nhỏ hơn.

3\.     Chỉ định Index Method và Retrieval Settings. Khi knowledge base nhận câu hỏi từ người dùng, nó sẽ tìm kiếm trong các tài liệu hiện có theo phương pháp retrieval đã cấu hình và trích xuất các chunks có liên quan cao nhất.

4\.     Chờ quá trình xử lý dữ liệu hoàn tất.

💡 TIP: Bạn có thể tạo Knowledge Base trống trước rồi thêm tài liệu sau. Điều này hữu ích khi bạn muốn chuẩn bị cấu hình trước.

&#x20;

## Bước 1: Import dữ liệu

ClickAI hỗ trợ 3 nguồn import dữ liệu:

### Upload Local Files (Upload file từ máy)

Hỗ trợ các định dạng tài liệu phổ biến:

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Định dạng</td><td valign="top">Mô tả</td></tr><tr><td valign="top">.txt</td><td valign="top">Văn bản thuần (plain text)</td></tr><tr><td valign="top">.md / .markdown</td><td valign="top">Tài liệu Markdown</td></tr><tr><td valign="top">.pdf</td><td valign="top">Tài liệu PDF</td></tr><tr><td valign="top">.html / .htm</td><td valign="top">Trang web HTML</td></tr><tr><td valign="top">.docx</td><td valign="top">Microsoft Word</td></tr><tr><td valign="top">.csv</td><td valign="top">Bảng dữ liệu CSV</td></tr><tr><td valign="top">.xlsx / .xls</td><td valign="top">Microsoft Excel</td></tr><tr><td valign="top">.pptx</td><td valign="top">Microsoft PowerPoint</td></tr></tbody></table>

&#x20;

Giới hạn upload:

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Thông số</td><td valign="top">Giá trị</td></tr><tr><td valign="top">Số file tối đa mỗi lần upload</td><td valign="top">20</td></tr><tr><td valign="top">Kích thước file tối đa</td><td valign="top">15 MB</td></tr></tbody></table>

&#x20;

📝 NOTE: ClickAI hỗ trợ xử lý hình ảnh nhúng trong file DOCX. Đối với các loại file khác (ví dụ PDF), bạn có thể sử dụng plugin trích xuất tài liệu trong Knowledge Pipeline để extract hình ảnh.

Hình ảnh qua URL Markdown: Ngoài hình ảnh nhúng, ClickAI cũng hỗ trợ hình ảnh được tham chiếu qua URL sử dụng cú pháp Markdown:

!\[alt text]\(image\_url)\
!\[alt text]\(image\_url "optional title")

### Sync Data from Notion (Đồng bộ từ Notion)

Kết nối tài khoản Notion để đồng bộ trang và database trực tiếp vào Knowledge Base.

Cách thực hiện:

5\.     Vào Knowledge > Create Knowledge

6\.     Chọn nguồn dữ liệu Sync from Notion

7\.     Nếu chưa kết nối, nhấn Connect để ủy quyền tài khoản Notion

8\.     Chọn các trang Notion muốn đồng bộ

9\.     Nhấn Import để bắt đầu

⚠️ IMPORTANT: Khi sử dụng Notion sync, nội dung sẽ được đồng bộ tại thời điểm import. Để cập nhật nội dung mới, bạn cần re-sync thủ công.

### Import Data from Website (Thu thập từ website)

Crawl nội dung từ các trang web công khai để tạo Knowledge Base.

Cách thực hiện:

10\.  Vào Knowledge > Create Knowledge

11\.  Chọn nguồn dữ liệu Sync from Website

12\.  Nhập URL cần crawl

13\.  Cấu hình phạm vi crawl (single page hoặc crawl sub-pages)

14\.  Nhấn Run để bắt đầu thu thập

&#x20;

## Bước 2: Cấu hình Chunk Settings

Xem chi tiết tại: \[Cấu hình Chunk Settings]\(./03-chunk-settings.md)

&#x20;

## Bước 3: Cấu hình Index Method & Retrieval Settings

Xem chi tiết tại: \[Index Method & Retrieval Settings]\(./04-index-retrieval-settings.md)

&#x20;

## Bước 4: Chờ xử lý hoàn tất

Sau khi cấu hình xong, nhấn Save & Process. ClickAI sẽ tự động:

·       Tiền xử lý văn bản (loại bỏ ký tự thừa, chuẩn hóa)

·       Chia tài liệu thành các chunks theo cấu hình

·       Tạo embedding vectors cho từng chunk

·       Lập chỉ mục (indexing) để sẵn sàng cho truy xuất

Thời gian xử lý phụ thuộc vào:

·       Số lượng và kích thước tài liệu

·       Phương pháp indexing đã chọn (High Quality mất nhiều thời gian hơn Economical)

💡 TIP: Bạn có thể theo dõi tiến trình xử lý trong trang chi tiết Knowledge Base. Trạng thái sẽ chuyển từ "Processing" sang "Available" khi hoàn tất.

&#x20;

*📖 Trước: \[Tổng quan]\(./01-overview\.md) · Tiếp: \[Cấu hình Chunk Settings]\(./03-chunk-settings.md)*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.clickai.vn/clickai-docs/co-so-du-lieu/tao-nhanh-kien-thuc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
