> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superun.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI功能使用指南

> AI功能的使用技巧和問題解決方案.

## 使用技巧

### AI 模型直接接入

* 把 AI 模型直接接進你的產品,不用自己研究底層
* 無需配置 API 密鑰
* 開箱即用

***

## 問題解決

### AI 功能報錯排查

AI 功能報錯?檢查請求頭參數與請求體序列化格式是否一致.

**常見問題**:

* headers 參數導致 body 序列化問題
* Content-Type 不匹配
* 資料格式錯誤

**解決步驟**:

1. 檢查 API 請求中的請求頭參數
2. 讓 AI 排查多餘的請求頭參數
3. 確保請求頭與請求體的序列化格式一致
4. 移除不必要的請求頭配置

***

### 確保內容類型匹配

移除多餘的請求頭參數,確保內容類型匹配.

**檢查要點**:

* Content-Type 是否正確
* 請求體格式是否匹配
* 編碼方式是否一致

**常見錯誤**:

* JSON 資料但 Content-Type 是 text/plain
* Form 資料但 Content-Type 是 application/json
* 編碼方式不匹配

***
