SpringAI整合Ollama集成DeepSeek

1. 官方

1.1 文档

github
api

1.2 api调用

1.2.1 简单问答

复制代码
curl http://localhost:11434/api/generate -d '{
  "model": "模型",
  "prompt":"提示词"
}'



1.2.2 基于角色问答

复制代码
curl http://localhost:11434/api/chat -d '{
  "model": "模型",
  "messages": [
    { "role": "user", "content": "why is the sky blue?" }
  ]
}'


2. SpringAI

官网

相关推荐
码上解惑1 小时前
从 Dify 工作流说起:常用节点怎么选、怎样组合?
java·人工智能·ai·agent·dify·智能体·spring ai
寒水馨4 小时前
Windows下载、安装ollama-v0.32.1(附安装包OllamaSetup.exe)
windows·llm·大语言模型·llama·本地部署·ollama·模型运行
张申傲5 小时前
拆解 harness9(9):Observability 可观测性
人工智能·aigc·agent·deepseek·harness
gerrywhu5 小时前
【产品研发】基于本地OCR大模型文书自动生成软件开发
ollama·本地部署大模型·离线部署·ocr大模型·paddleocr-vl·glm-ocr·文档自动生成
lincats5 小时前
SuperPower vs grill-me:AI编程圈两大skill正面交锋,你站哪边?
ai·codex·deepseek·vibe coding·skills
skywalk81631 天前
用ollama启动duan-translator 小模型
服务器·ollama·段言
AC赳赳老秦1 天前
招投标公开数据自动化采集实战:基于 OpenClaw 的定时抓取与业务关键词精准推送
运维·服务器·数据库·自动化·测试用例·deepseek·openclaw
荣--1 天前
业务智能体实战笔记:分层消除不确定性(五·终)|完全脱离 LLM 的确定性判定 + 评测闭环
ai agent·spring ai·业务智能体
码上解惑1 天前
2026 年智能体开发平台怎么选:从开源产品、云厂商到私有化平台
人工智能·ai·开源·智能体·spring ai
麦哲思科技任甲林1 天前
Codex+ChatGPT 胜过TRAE+DeepSeek组合的感受
chatgpt·deepseek·trae·工程化ai