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

# AI 设置

> 如何为知行之桥中的 AI 功能配置 AI 提供商设置。

export const siteNameShort = "知行之桥";

此部分包含控制 AI 功能行为的配置选项。点击**配置**即可打开**配置 AI 设置**窗格。

<img src="https://mintcdn.com/qiao/3lMD3uYuGJqErRlJ/public/images/settings_ai.png?fit=max&auto=format&n=3lMD3uYuGJqErRlJ&q=85&s=febffcc81f619051d2d948d523cedc9c" alt="Configure AI settings pane" width="400" data-path="public/images/settings_ai.png" />

| 设置         | 描述                                                                                                                                |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **AI 提供商** | 从列表中选择 AI 提供商。目前支持的提供商包括 Claude、DeepSeek、Gemini、Grok、Ollama（云端和本地）、OpenAI 以及 OpenAI Compatible（OpenAI 兼容平台）。接下来的设置将根据所选的提供商而有所不同。 |
| **API 密钥** | 输入 API 密钥以进行请求身份验证（除 Ollama 本地版外的所有提供商均需提供）。                                                                                      |
| **基础 URL** | 指定 *Ollama (Local)* 或 *OpenAI Compatible* 服务运行的端点 URL（例如，`http://localhost:11434`）。                                               |
| **模型**     | 选择要使用的特定语言模型。可用的模型取决于提供商。                                                                                                         |

<Note>并非所有开源模型都支持设置 JSON 架构以用于 {siteNameShort} 所需的响应。请确保选择的**模型**具备此功能。</Note>
