#128 · Primary category: LLM Application Frameworks
llm-apps-java-spring-ai
Samples showing how to build Java applications powered by Generative AI and LLMs using Spring AI and Spring Boot.
Project last updated:08/09/26
GitHub Stars
778
Forks
190
Contributors
2
License
Apache-2.0
Why we included this project
Java developers already working in Spring Boot can treat this as a working reference for adding LLM features without leaving the stack they know. It is a collection of runnable samples built on Spring AI, each covering a pattern that turns up in real applications: chat completions, retrieval-augmented question answering with PGVector, semantic search, structured output, tool calling, chat memory, and input/output guardrails. The same pattern is demonstrated against OpenAI, Ollama, and Mistral AI, which makes it easy to see how providers differ and to swap backends without touching your application code. There is also guidance on ingesting data from PDF, JSON, Markdown, and Tika, handy when you are assembling a knowledge base. Because the samples are grouped by use case, model, and pattern, you can jump to the one you need and adapt it to your own service.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform