> 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/knowledge-settings.md).

# Knowledge Settings

## Mục lục

·       \[Tổng quan]\(#tổng-quan)

·       \[Thay đổi Index Method]\(#thay-đổi-index-method)

·       \[Thay đổi Embedding Model]\(#thay-đổi-embedding-model)

·       \[Cấu hình Retrieval Settings]\(#cấu-hình-retrieval-settings)

·       \[Thông tin Knowledge Base]\(#thông-tin-knowledge-base)

&#x20;

## Tổng quan

Trang Settings cho phép bạn điều chỉnh cấu hình Knowledge Base sau khi đã tạo. Các thay đổi có thể yêu cầu re-index tài liệu.

Truy cập Settings:

1\.     Mở Knowledge Base

2\.     Nhấn tab Settings (hoặc biểu tượng gear)

&#x20;

## Thay đổi Index Method

Bạn có thể chuyển đổi giữa 2 index method:

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Method</td><td valign="top">Mô tả</td></tr><tr><td valign="top">High Quality</td><td valign="top">Sử dụng Embedding Model tạo vector cho mỗi chunk. Hỗ trợ semantic search</td></tr><tr><td valign="top">Economical</td><td valign="top">Sử dụng keyword indexing. Nhanh hơn, không tốn token embedding</td></tr></tbody></table>

&#x20;

🚨 WARNING: Thay đổi Index Method sẽ kích hoạt re-index toàn bộ tài liệu. Quá trình này có thể mất thời gian tùy thuộc vào lượng dữ liệu.

&#x20;

## Thay đổi Embedding Model

Nếu đang sử dụng High Quality index method, bạn có thể thay đổi Embedding Model:

3\.     Vào Settings của Knowledge Base

4\.     Trong phần Embedding Model, chọn model mới

5\.     Nhấn Save

⚠️ IMPORTANT: Thay đổi Embedding Model sẽ re-embed toàn bộ chunks. Đảm bảo model mới đã được cấu hình API key trong Settings > Model Providers.

&#x20;

## Cấu hình Retrieval Settings

Điều chỉnh các tham số retrieval:

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Setting</td><td valign="top">Mô tả</td></tr><tr><td valign="top">Retrieval Mode</td><td valign="top">Semantic Search, Keyword Search, hoặc Hybrid</td></tr><tr><td valign="top">Weight Settings</td><td valign="top">Trọng số giữa Semantic và Keyword (khi dùng Hybrid)</td></tr><tr><td valign="top">Top K</td><td valign="top">Số chunks tối đa trả về</td></tr><tr><td valign="top">Score Threshold</td><td valign="top">Điểm similarity tối thiểu</td></tr><tr><td valign="top">Rerank Model</td><td valign="top">Bật/tắt và chọn Rerank model</td></tr></tbody></table>

&#x20;

Xem chi tiết về các tùy chọn tại: \[Index Method & Retrieval Settings]\(./04-index-retrieval-settings.md)

&#x20;

## Thông tin Knowledge Base

Trong Settings, bạn cũng có thể:

·       Đổi tên Knowledge Base

·       Cập nhật mô tả

·       Xem thống kê: Tổng documents, tổng chunks, dung lượng sử dụng

·       Xem applications đang liên kết

·       Xóa Knowledge Base (thao tác không thể hoàn tác)

🛑 CAUTION: Xóa Knowledge Base sẽ xóa vĩnh viễn tất cả tài liệu, chunks và cấu hình. Các ứng dụng đang liên kết sẽ mất kết nối knowledge. Thao tác này KHÔNG THỂ hoàn tác.

&#x20;

*📖 Trước: \[Metadata]\(./09-metadata.md) · Tiếp: \[Test Retrieval]\(./11-test-retrieval.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/knowledge-settings.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.
