📦 引入依赖
# 选择平台模块
根据你想使用的大模型平台,引入对应的模块。以 DeepSeek 这类 OpenAI 兼容平台为例:
<dependency>
<groupId>com.yomahub</groupId>
<artifactId>liteflow-react-agent-openai</artifactId>
<version>2.16.0</version>
</dependency>
其他平台:
<!-- Anthropic Claude -->
<dependency>
<groupId>com.yomahub</groupId>
<artifactId>liteflow-react-agent-anthropic</artifactId>
<version>2.16.0</version>
</dependency>
<!-- Google Gemini -->
<dependency>
<groupId>com.yomahub</groupId>
<artifactId>liteflow-react-agent-gemini</artifactId>
<version>2.16.0</version>
</dependency>
<!-- 阿里云 DashScope / Qwen -->
<dependency>
<groupId>com.yomahub</groupId>
<artifactId>liteflow-react-agent-dashscope</artifactId>
<version>2.16.0</version>
</dependency>
平台模块会自动传递依赖 liteflow-react-agent-core,无需重复引入。
# 前提条件
- 业务应用仍需引入 LiteFlow 对应的运行集成(如
liteflow-spring-boot-starter) - JDK 17 及以上
- 如需同时使用多个模型平台,可以同时引入多个平台模块
帮助我们改善此文档 (opens new window)
上次更新: 2026/05/25, 01:23:15


