You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Vietnamese/ai-stack/ai-platform/inference.md
+11-74Lines changed: 11 additions & 74 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,77 +47,14 @@ Tính năng **Inference** giúp bạn triển khai mô hình AI thành một d
47
47
48
48
## Hướng dẫn serving endpoint
49
49
50
-
Tài liệu này hướng dẫn bạn cách **gọi Inference Endpoint vừa tạo** thông qua việc xác thực bằng Service Account và thực hiện inference chuẩn OpenAI-like API (đặc biệt hữu ích với GenAI models).
51
-
52
-
### **Bước 1: Tạo Service Account có quyền với AI Platform**
53
-
54
-
1. Truy cập vào trang quản lý **IAM** trong hệ thống VNG Cloud.
55
-
2. Tạo một **Service Account** mới.
56
-
3. Gán quyền truy cập **AI Platform** (ví dụ: `aiplatform.viewer`, `aiplatform.user` hoặc cao hơn tùy nhu cầu).
57
-
4. Sau khi tạo thành công, bạn sẽ nhận được:
58
-
*`client_id`
59
-
*`client_secret`
60
-
61
-
> 🔐 Hai thông tin này sẽ được dùng để lấy `access_token` nhằm xác thực khi gọi Inference API.
62
-
63
-
Tham khảo hướng dẫn tạo Service Account [tại đây](https://docs.vngcloud.vn/vng-cloud-document/vn/identity-and-access-management-iam/cac-loai-dinh-danh-iam/tai-khoan-service-accounts).
64
-
65
-
### **Bước 2: Lấy Access Token**
66
-
67
-
Đầu tiên, mã hóa `client_id` và `client_secret` theo chuẩn Base64 theo định dạng:base64("client\_id:client\_secret")
0 commit comments