> For the complete documentation index, see [llms.txt](https://developer.chatx.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.chatx.vn/document-chatx/huong-dan/ket-noi-voi-cac-mo-hinh-khac-nhau/replicate.md).

# 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="https://docs.dify.ai/~gitbook/image?url=https%3A%2F%2F3866086014-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRncMhlfeYTrpujwzDIqw%252Fuploads%252Fgit-blob-47df9c32dc2fa4db8ad6fc9b2b0a846a21494ae0%252Fimage%2520%2873%29.png%3Falt%3Dmedia&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=5db4a57edc13351300c0980489ed32b995651fe52cd833ee19b700d777e55d7e" alt=""><figcaption></figcaption></figure>
