Ollama 是一个专注于在本地运行大型语言模型(LLM)的工具,支持多种开源模型(如 Llama 3、Mistral、Gemma 等),提供简单的命令行和 API 接口。
<dependency><groupId>org.springframework.ai</groupId><artifactId>spring-ai-openai-spring-boot-starter</artifactId>
</dependency>
<dependency><groupId>org.springframework.ai</groupId><artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
</dependency>
https://blog.csdn.net/m0_62239561/article/details/138345935