Release Notes
Product Announcement
Operation Steps | Tencent Cloud ADP Built-In COS | Customer Self-Purchased COS |
1. Key Acquisition | Use the fixed key (SecretId/Key) obtained upon purchase. | |
2. Client Initialization | Create a low-privilege CosClient with a temporary key | Create a CosClient with a fixed key |
3. Data Operation | Call the COS API (requires temporary key permission match) | Call the COS API directly |
Scenario | Parameter Combination | Remark |
Upload documents to the knowledge base (offline) | {"BotBizId":"182693390xxxx", "FileType":"pdf", "IsPublic":false} | Refer to offline document upload |
Upload documents in dialogue (real-time) | {"BotBizId":"182693390xxxx", "FileType":"pdf", "IsPublic":false, "TypeKey":"realtime"} | Refer to real-time document parsing |
Upload images in dialogue | {"BotBizId":"182693390xxxx", "FileType":"jpeg", "IsPublic":true, "TypeKey":"realtime"} | The image must be set to IsPublic:true. Refer to real-time document parsing |
File download | {"BotBizId":"182693390xxxx", "IsPublic":false} | No need to specify file type |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan