> ## 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.