# spring-ai **Repository Path**: spring-framework-case/spring-ai ## Basic Information - **Project Name**: spring-ai - **Description**: ✨这是以springboot对接ai接口的案例 欢迎加入和start🎉🎉🎉 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2024-01-15 - **Last Updated**: 2024-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Spring-AI ## 环境 1.springboot3.0.0 2.JDK17 ## 项目介绍 Spring-AI是一个基于SpringBoot的AI开发框架,主要提供以下功能: ✨1.调用AI服务接口 ✨2.流式响应 ✨3.自定义知识库 springAI官方文档地址:https://docs.spring.io/spring-ai/reference/api/clients/openai.html ## 效果展示 ##### 1.普通响应 ![springai.gif](doc%2Fimages%2Fspringai.gif) ##### 2.FluxStream 流式响应 ![FluxStream.gif](doc%2Fimages%2FFluxStream.gif) ##### 3.自定义知识库 ![customKn.gif](doc%2Fimages%2FcustomKn.gif) ## 获取免费openkey 地址:https://one.aiskt.com/register?aff=N6nk (网上我自己找的,看着免费1美元额度💸) openai接口代理地址:https://one.aiskt.com ![img.png](doc%2Fimages%2Fimg.png) ## 主要依赖: ```xml org.springframework.experimental.ai spring-ai-openai-spring-boot-starter 0.7.0-SNAPSHOT spring-snapshots Spring Snapshots https://repo.spring.io/snapshot false ```