Skills2026年4月1日·1 分钟阅读

Spring AI — AI Engineering for Java/Spring

Spring AI provides Spring-friendly APIs for AI apps. 8.4K+ stars. Chat, embeddings, RAG, vector DBs, function calling. Major providers. Apache 2.0.

介绍

Spring AI is an application framework for AI engineering providing Spring-friendly APIs and abstractions. With 8,400+ GitHub stars and Apache 2.0 license, it supports major AI providers (Anthropic, OpenAI, Google, Amazon, Ollama), multiple model types (chat, embeddings, image, audio), vector database integration (PostgreSQL, Pinecone, Qdrant, Weaviate), tools/function calling, and RAG.

Best for: Java/Spring teams integrating AI into enterprise applications Works with: Claude Code, OpenAI Codex, Cursor, Gemini CLI, Windsurf


Key Features

  • Spring Boot auto-configuration
  • Major AI providers (Anthropic, OpenAI, Google, Amazon, Ollama)
  • Chat, embeddings, image, audio models
  • Vector DB integration
  • Function calling and RAG
  • ChatClient and Advisors APIs

FAQ

Q: What is Spring AI? A: AI framework for Java/Spring with 8.4K+ stars. Chat, embeddings, RAG, vector DBs, function calling. Apache 2.0.

Q: How do I install Spring AI? A: Add Spring AI starter to pom.xml or use start.spring.io.


🙏

来源与感谢

spring-projects/spring-ai — 8,400+ GitHub stars

讨论

登录后参与讨论。
还没有评论,来写第一条吧。