# Replicate

ChatX hỗ trợ truy cập vào các [mô hình Ngôn ngữ](https://replicate.com/collections/language-models) và các [mô hình Nhúng](https://replicate.com/collections/embedding-models) trên Replicate. Các mô hình Ngôn ngữ tương ứng với mô hình lập luận của ChatX, và các mô hình Nhúng tương ứng với mô hình Nhúng của ChatX.

Các bước cụ thể như sau:

1. Bạn cần phải có một tài khoản Replicate ([registered address](https://replicate.com/signin?next=/docs)).
2. Lấy API Key ([get address](https://replicate.com/signin?next=/docs)).
3. Chọn một mô hình. Chọn mô hình trong phần [Mô hình Ngôn ngữ](https://replicate.com/collections/language-models) và [Mô hình Nhúng](https://replicate.com/collections/embedding-models).
4. Thêm mô hình trong `Cài đặt  > Nhà cung cấp Mô hình > Replicate` của ChatX.

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

API Key là API Key được thiết lập ở bước 2. Tên Mô hình và Phiên bản Mô hình có thể được tìm thấy trên trang chi tiết của mô hình:

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


---

# Agent Instructions: 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://developer.chatx.vn/iv-huong-dan-tich-hop-nang-cao/ket-noi-voi-cac-mo-hinh-khac-nhau/replicate.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.
