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

# 角色與 E.V.I.

> 用你自己品牌化的 AI 助手替換 Theo 的個性。

`persona` 參數控制着每次補全的基礎個性。**E.V.I.(Embedded Virtual Intelligence,嵌入式虛擬智能)** 是一個預先配置好的 Theo 客戶端,內置了自定義角色、技能和工具——你的用戶交互的是你的品牌,而不是 Theo。

## 角色選項

| 值 | 行為 |
| - | - |
| `"theo"` | Theo 的默認個性——一個來自木星、說話諷刺又才華橫溢的機器人。妙語連珠、自信滿滿,毒舌之下其實非常樂於助人。 |
| `"none"` | 沒有個性的中立助手 |
| `{ system_prompt: "..." }` | 你的自定義角色——完全替換 Theo |

```typescript theme={null}
// Custom persona
const res = await theo.complete({
  prompt: "Draft a follow-up email",
  persona: { system_prompt: "You are Eva, a professional CRM assistant for AcmeCorp." },
});
```

## E.V.I. —— SDK 快捷方式

無需在每次請求中都傳入 `persona`、`skills` 和 `tools`,你可以創建一個 E.V.I. 實例:

```typescript theme={null}
const evi = theo.evi({
  persona: "You are Nova, an operations assistant for WarehouseOS. Professional, concise, proactive.",
  skills: ["inventory-check", "data-extraction"],
  tools: [
    {
      name: "check_stock",
      description: "Look up current stock levels for a SKU",
      input_schema: {
        type: "object",
        properties: { sku: { type: "string" } },
        required: ["sku"],
      },
    },
  ],
  defaultMode: "auto",
});

// Every call through the E.V.I. includes the persona, skills, and tools automatically
const res = await evi.complete({ prompt: "Check stock levels for SKU-1234" });
```

## 三個層級

1. **僅角色** —— 用你的品牌替換 Theo 的語氣
2. **角色 + 技能** —— 添加領域專長(庫存、合規等)
3. **角色 + 技能 + 內聯工具** —— 將 Theo 與你產品中的操作連接起來

有關每個層級的詳細示例,請參閱完整的 [E.V.I. 指南](/guides/build-an-evi)。

## 技能構建器 —— 可視化構建工具

更喜歡可視化的方式?**技能構建器**是儀表盤中一個可拖拽式的技能構建工具。你可以用提示詞、模型、工具、知識、視覺和條件節點設計節點圖——然後無需編寫清單文件即可編譯、測試和發佈。

參閱[畫布指南](/guides/evi-canvas)和[畫布 SDK 參考](/sdk-reference/canvases)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.