# springboot-ollama **Repository Path**: k14201357/springboot-ollama ## Basic Information - **Project Name**: springboot-ollama - **Description**: springboot 整合ollama,调用本地大语言模型 qwen - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-12-20 - **Last Updated**: 2025-06-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: ollama, SpringBoot, qwen ## README # springboot-ollama #### 介绍 springboot 整合ollama,调用本地大语言模型 qwen #### 安装教程 0. 需要提前安装ollama 1. 后端,直接启动类启动 2. spring-ai-ollama-spring-boot-starter包,如何下载不了,可以在这里下载,maven仓库地址: https://repo.spring.io/ui/native/milestone/org/springframework/ai/spring-ai-ollama-spring-boot-starter/ 3. 前端,chatgpt-ui,直接npm 安装后启动(注:github上找到的仿chatgpt的前端项目) npm install npm run dev 前端配置: .env文件中,修改后端服务地址、端口号:url,(端口对应yml 文件中的server.port) 模型名称:model #### 使用说明 1. jdk17 2. spring-ai-ollama-spring-boot-starter 3. qwen2.5:7b/qwen2.5:0.5b 4. vue #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 本地springboot服务调用OllamaApi,实现本地调用 qwen,llama等大语言模型。