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