> For the complete documentation index, see [llms.txt](https://aiv-group.gitbook.io/mindmaid-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aiv-group.gitbook.io/mindmaid-documentation/tutorials/tao-bot-voi-kha-nang-tu-van-tu-dong-tu-danh-muc-san-pham.md).

# Tạo bot với khả năng tư vấn tự động từ danh mục sản phẩm

## A. Giới thiệu

Tính năng tư vấn là tính năng cho phép chatbot Mindmaid có thể chủ động giới thiệu sản phẩm phù hợp cho khách hàng. Ví dụ:Kịch bản 1:

* Khách: shop có bán sản phẩm X không?
* Chatbot: có ạ, đây là thông tin về sản phẩm X
* Khách: cho xin giá của sản phẩm này
* Chatbot: giá của sản phẩm này là YYY đồng

\
Kịch bản 2:

* Khách: tư vấn cho tôi rượu vang ngọt có giá dưới 2 triệu đồng
* Chatbot: dưới đây là một số dòng sản phẩm có giá dưới 2 triệu đồng
* Khách: cho xin giá của chai Bordeaux
* Chatbot: giá của sản phẩm này là YYY đồng

## B. Động lực

* Tính năng này cho phép chatbot Mindmaid không chỉ dùng để CSKH mà còn để tư vấn sản phẩm, một bước quan trọng trong hành trình bán hàng --> Giá trị của Mindmaid tăng lên. Khách cũng dễ chi tiền hơn vì đây là đầu tư cho bán hàng.

<figure><img src="https://aivgroupworking.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=OTVlNzhhMzU3Y2M0NTA3YzgzMWQwZmE5ZDdlODBiNTlfQ25sY2dsYmVlNWtteWlZNWdaUUxQbGFXOFIxaFdpRklfVG9rZW46WklmTWJQb3l4b054SDN4SUtCVWxlR1p3Z3poXzE3MDgyNjA3OTU6MTcwODI2NDM5NV9WNA" alt=""><figcaption></figcaption></figure>

* Các đơn vị bán lẻ có số lượng sản phẩm rất lớn (vd: xe máy, hàng tạp hóa, sách truyện...), do đó nhân sự con người khó có thể tư vấn hiệu quả. Chatbot có thể tư vấn được + gửi hình ảnh & video sẽ mang lại hiệu quả rất lớn

## C. Cách cài đặt

1. <mark style="color:blue;">**Chuẩn bị dữ liệu database để huấn luyện**</mark>

Vui lòng xem chi tiết tại sheet **4. Danh sách sản phẩm** của file sau: <https://docs.google.com/spreadsheets/d/1336NI827chjFkU1-C-p7luALIYwdonOAvEP3HXT76vQ/edit?usp=sharing>

<figure><img src="/files/6P0PfxF6cqlaDo3WKpD0" alt=""><figcaption></figcaption></figure>

2. <mark style="color:blue;">Vào phần Huấn luyện Trợ lý ảo, chọn Tab Tài liệu mẫu > Danh sách sản phẩm</mark>

<figure><img src="/files/lQv6QEPDRYZACKSK7zov" alt=""><figcaption></figcaption></figure>

3. <mark style="color:blue;">Tải lên file xlxs hoặc link đến file ở bước 1 để huấn luyện</mark>

<figure><img src="/files/ixSybmXF6rGJVokkHLvo" alt=""><figcaption></figcaption></figure>

4. <mark style="color:blue;">Mô tả nghiệp vụ dữ liệu</mark>

Phần này mô tả ý nghĩa của các cột.&#x20;

Ví dụ:

product\_name: tên của sản phẩm mà công ty ABC đang kinh doanh

selling\_price: giá bán hiện hành của sản phẩm&#x20;

quantity: số lượng sản phẩm còn lại trong kho&#x20;

<figure><img src="/files/yxGCAwa9FXcsMcuUhrhi" alt=""><figcaption></figcaption></figure>

5. <mark style="color:blue;">Chọn</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Đào tạo**</mark>


---

# 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:

```
GET https://aiv-group.gitbook.io/mindmaid-documentation/tutorials/tao-bot-voi-kha-nang-tu-van-tu-dong-tu-danh-muc-san-pham.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
