摘要: 版本:1.1.2 官网地址:https://docs.spring.io/spring-ai/reference/api/chat/ollama-chat.html 1、描述 可以拉取LLM在本地运行,SpringAI通过OllamaChatModel支持聊天功能 可以使用 ollama pull 阅读全文
posted @ 2025-12-17 17:42 0xCAFEBABE_001 阅读(36) 评论(0) 推荐(0)
摘要: 版本:1.1.2 官网地址:https://docs.spring.io/spring-ai/reference/api/prompt.html 1、描述 Prompts是引导LLM生成特定输出的输入,Prompt的设计和措辞显著影响LLM的响应 2、Prompt类 public class Pro 阅读全文
posted @ 2025-12-17 11:21 0xCAFEBABE_001 阅读(35) 评论(0) 推荐(0)