> For the complete documentation index, see [llms.txt](https://unsloth.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unsloth.ai/docs/zh/ji-cheng.md).

# 集成

- [将 API 提供商和模型服务器连接到 Unsloth](https://unsloth.ai/docs/zh/ji-cheng/connections.md): 指南：将 OpenAI、Anthropic、Ollama、llama.cpp、vLLM 和其他提供商连接到 Unsloth。添加 API 密钥或模型服务器 URL，加载模型，并在聊天中使用外部模型。
- [将 OpenAI 连接到 Unsloth：在本地聊天中运行 GPT 模型](https://unsloth.ai/docs/zh/ji-cheng/connections/openai.md)
- [将 Anthropic 连接到 Unsloth：在本地聊天中运行 Claude 模型](https://unsloth.ai/docs/zh/ji-cheng/connections/anthropic-claude.md)
- [将 llama.cpp 连接到 Unsloth：使用 llama-server 运行 GGUF](https://unsloth.ai/docs/zh/ji-cheng/connections/jiang-llama.cpp-lian-jie-dao-unsloth-shi-yong-llamaserver-yun-xing-gguf.md)
- [将 vLLM 连接到 Unsloth 以进行本地聊天推理](https://unsloth.ai/docs/zh/ji-cheng/connections/vllm.md)
- [如何将 Ollama 连接到 Unsloth](https://unsloth.ai/docs/zh/ji-cheng/connections/ollama.md)
- [如何将 OpenRouter 连接到 Unsloth：API 密钥与模型设置](https://unsloth.ai/docs/zh/ji-cheng/connections/openrouter.md)
- [如何使用 OpenClaw 运行本地 AI 模型](https://unsloth.ai/docs/zh/ji-cheng/openclaw.md): 使用 OpenClaw 运行本地 LLM 的指南。
- [如何使用 OpenCode 运行本地 AI 模型](https://unsloth.ai/docs/zh/ji-cheng/opencode.md): 在你的本地设备上使用 OpenCode 连接开源 LLM 的指南。
- [如何使用 Hermes Agent 运行本地 AI 模型](https://unsloth.ai/docs/zh/ji-cheng/hermes-agent.md): 在本地使用 Hermes Agent 运行开源 LLM 的指南。
- [将 Python SDK 连接到 Unsloth](https://unsloth.ai/docs/zh/ji-cheng/jiang-python-sdk-lian-jie-dao-unsloth.md): 使用官方 OpenAI 或 Anthropic SDK 通过 Python 调用 Unsloth 的本地 API 的指南，包括流式传输、视觉、函数调用以及 Unsloth 内置的服务器端工具。
- [将 Curl 和 HTTP 连接到 Unsloth](https://unsloth.ai/docs/zh/ji-cheng/jiang-curl-he-http-lian-jie-dao-unsloth.md): 使用 curl（或任何 HTTP 客户端）调用 Unsloth 的 API 的指南，包含每个端点和功能都可直接复制粘贴的示例。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unsloth.ai/docs/zh/ji-cheng.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
