# spring_ai **Repository Path**: buxiaode/spring_ai ## Basic Information - **Project Name**: spring_ai - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-08 - **Last Updated**: 2024-10-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring_ai #### 介绍 {**以下是 Gitee 平台说明,您可以替换此简介** Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} #### 软件架构 软件架构说明 #### 安装教程 ##### windows平台 spring ai集成ollama 运行简单问答 1. https://ollama.com/download/OllamaSetup.exe 下载ollama平台,安装 2. ollama安装模型,例如:ollama run llama3.1:8b(如太卡可能需要魔法) 3. ollama默认baseurl:http://localhost:11434 4. 默认localhost:8080/ai/msg=你得问题 ![img.png](doc/pic/img1.png) ##### 如何集成openwebui 可视化界面(需要docker) 1. 在命令行运行 docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main ![img.png](doc/pic/img.png) 2. 访问localhost:3000 注册 ![img.png](doc/pic/img3.png) 3. 选择模型后,便可以问答了 ![img.png](doc/pic/img4.png) ##### 集成lobechat 1. docker运行 docker run -d -p 3210:3210 -e OPENAI_API_KEY=sk-xxxx -e ACCESS_CODE=lobe66 --name lobe-chat lobehub/lobe-chat 2. 页面端 http://localhost:3210/ ![img.png](doc/pic/img5.png) ![img.png](doc/pic/img6.png) #### 使用说明 1. 从上到下依次执行 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)