Package | Description |
---|---|
cn.hutool.ai |
Hutool-ai主要用于AI大模型的封装,只需要对AI模型最基本的设置,即可调用AI大模型。
|
cn.hutool.ai.core |
AI相关基础类
|
cn.hutool.ai.model.deepseek |
对deepSeek的封装实现
|
cn.hutool.ai.model.doubao |
对doubao的封装实现
|
cn.hutool.ai.model.grok |
对grok的封装实现
|
cn.hutool.ai.model.openai |
对openai的封装实现
|
Modifier and Type | Method and Description |
---|---|
static <T extends AIService> |
AIUtil.getAIService(AIConfig config,
Class<T> clazz)
获取AI模型服务,每个大模型提供的功能会不一样,可以调用此方法指定不同AI服务类,调用不同的功能
|
static <T extends AIService> |
AIServiceFactory.getAIService(AIConfig config,
Class<T> clazz)
获取AI服务
|
Modifier and Type | Method and Description |
---|---|
static AIService |
AIUtil.getAIService(AIConfig config)
获取AI模型服务
|
static AIService |
AIServiceFactory.getAIService(AIConfig config)
获取AI服务
|
Modifier and Type | Method and Description |
---|---|
<T extends AIService> |
AIServiceProvider.create(AIConfig config)
创建AI服务实例
|
Modifier and Type | Interface and Description |
---|---|
interface |
DeepSeekService
deepSeek支持的扩展接口
|
Modifier and Type | Class and Description |
---|---|
class |
DeepSeekServiceImpl
DeepSeek服务,AI具体功能的实现
|
Modifier and Type | Interface and Description |
---|---|
interface |
DoubaoService
doubao支持的扩展接口
|
Modifier and Type | Class and Description |
---|---|
class |
DoubaoServiceImpl
Doubao服务,AI具体功能的实现
|
Modifier and Type | Interface and Description |
---|---|
interface |
GrokService
grok支持的扩展接口
|
Modifier and Type | Class and Description |
---|---|
class |
GrokServiceImpl
Grok服务,AI具体功能的实现
|
Modifier and Type | Interface and Description |
---|---|
interface |
OpenaiService
openai支持的扩展接口
|
Modifier and Type | Class and Description |
---|---|
class |
OpenaiServiceImpl
openai服务,AI具体功能的实现
|
Copyright © 2025. All rights reserved.