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

# 自定义模型集成

> 学习 LangChain4j 的 自定义模型集成 功能和特性

> 版权归属于 LangChat Team\
> 官网：[https://langchat.cn](https://langchat.cn)

# 31 - 自定义模型集成

## 版本说明

本文档基于 **LangChain4j 1.10.0** 版本编写。

## 学习目标

* 了解如何集成自定义模型
* 掌握模型适配器的使用
* 理解自定义模型的配置方法

## 概述

LangChain4j 支持集成自定义的 LLM 模型，允许开发者将自己的模型或第三方服务无缝集成到框架中。

### 自定义模型场景

1. **企业内部模型** - 部署在内部的专有模型
2. **第三方服务** - 使用其他 AI 服务的 API
3. **微调模型** - 基于开源模型进行微调的版本
4. **实验性模型** - 正在开发中的新模型

## 待补充内容

> ⚠️ **注意**：本文档内容待补充。请参考以下官方文档获取详细信息：

* **LangChain4j 官方文档**：[https://docs.langchain4j.dev/](https://docs.langchain4j.dev/)
* **自定义模型集成指南**：查看官方文档中的 Custom Models 章节
* **模型适配器**：了解如何实现自定义的 ChatModel 接口
* **示例代码**：参考 LangChain4j GitHub 仓库中的示例

### 推荐学习资源

* [LangChain4j Custom Models 文档](https://docs.langchain4j.dev/tutorials/custom-models)
* [LangChain4j GitHub Examples](https://github.com/langchain4j/langchain4j-examples)
* [LangChain4j 社区讨论](https://discord.gg/langchain4j)

## 参考资料

* [LangChain4j 文档](https://docs.langchain4j.dev/)
* [LangChat 官网](https://langchat.cn)

***

> 版权归属于 LangChat Team\
> 官网：[https://langchat.cn](https://langchat.cn)
