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

# 配置 AI 提供商

以下是 Xpert AI 系统中 AI 智能助理的基础配置：

| 配置项                  | 描述                                  |
| -------------------- | ----------------------------------- |
| **AI Model 提供商**     | 支持的 AI 供应商，如 OpenAI、Azure OpenAI 等。 |
| **Default Model**    | 默认选择的 AI 模型，用于处理常规任务。               |
| **Token limit/User** | 每个账号的初始 token 使用限制，控制 API 使用量。      |

这个表格简洁明了地列出了 AI 智能助理的基础配置，便于用户快速理解和设置。

## AI 提供商

Xpert 平台支持主流的 AI 模型提供商。

<img src="https://mintcdn.com/xpertai/0avAZsO6pri8DJS6/public/img/copilot/copilot-ai-providers.png?fit=max&auto=format&n=0avAZsO6pri8DJS6&q=85&s=24b342af7149c2f7b987f30b988e2cf7" alt="Ai Providers" width="1698" height="1535" data-path="public/img/copilot/copilot-ai-providers.png" />

### 支持的模型提供商

Xpert AI 支持多种 AI 供应商，以增强灵活性和任务处理能力：

| AI Provider    | 官网地址                                                                       |
| -------------- | -------------------------------------------------------------------------- |
| OpenAI         | [https://openai.com](https://openai.com)                                   |
| Azure OpenAI   | [https://azure.microsoft.com](https://azure.microsoft.com)                 |
| Ollama         | [https://ollama.com](https://ollama.com)                                   |
| DeepSeek       | [https://deepseek.com](https://deepseek.com)                               |
| Anthropic      | [https://anthropic.com](https://anthropic.com)                             |
| Alibaba Tongyi | [https://bailian.console.aliyun.com/](https://bailian.console.aliyun.com/) |
| Zhipu AI       | [https://zhipu.ai](https://zhipu.ai)                                       |
| Together AI    | [https://together.ai](https://together.ai)                                 |
| Moonshot AI    | [https://moonshot.ai](https://moonshot.ai)                                 |
| Groq AI        | [https://groq.com](https://groq.com)                                       |
| Mistral AI     | [https://mistral.ai](https://mistral.ai)                                   |
| Cohere AI      | [https://cohere.ai](https://cohere.ai)                                     |

<Info>
  **排名不分先后**

  [添加更多供应商](https://github.com/xpert-ai/xpert/tree/main/packages/server-ai/src/ai-model/model_providers)
</Info>

Xpert AI 的多供应商支持使其能够适应各种业务场景，并根据需求动态选择最佳模型来应对特定任务。

## 智能助理角色

Xpert AI 系统的智能助理分为三个角色，每个角色承担不同的任务，未来可能会增加更多不同用途的角色。

1. **Primary**：这是主力推理助手，负责核心任务的推理和解决方案生成。主要用于用户复杂问题的解决和深度对话。
2. **Secondary**：作为用户对话的辅助角色，能够协助用户在对话中提供背景信息、快速回答或建议，提升交互效率。
3. **Embedding**：专注于将文件和文本向量化，以便于进行语义搜索和深度信息检索，特别适用于大规模文档处理与分析。
