Kimi接入
小于 1 分钟
Kimi接入
通用配置
请参考通用配置
依赖配置
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-moonshot-spring-boot-starter</artifactId>
</dependency>
密钥配置
spring:
ai:
# kimi
moonshot:
api-key: xxx
使用
private final MoonshotChatModel moonshotChatModel;
消息发送案例
请参考消息发送