Skip to content
프로젝트

ThomasVitale/llm-apps-java-spring-ai

GitHub에서 보기

소개

Spring AI와 Spring Boot를 사용해 생성형 AI와 LLM 기반의 Java 애플리케이션을 구축하는 방법을 보여 주는 샘플입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

LLM and AI-Infused Applications with Java & Spring AI

Samples showing how to build Java applications powered by Generative AI and Large Language Models (LLMs) using Spring AI.

🛠️ Pre-Requisites

  • Java 25
  • Podman/Docker

💡 Use Cases

🧠 Models

Chat Models

Chat completion with LLMs via different model providers:

Decision Models

Typed probabilistic decisions with decision models via different model providers:

Embedding Models

Vector transformation (embeddings) with LLMs via different model providers:

Image Models

Image generation with LLMs via different model providers:

Audio Models

Speech generation with LLMs via different model providers:

Speech transcription with LLMs via different model providers:

Moderation Models

Coming soon

📐 Patterns

Prompts, Messages, and Templates

Prompting using simple text:

Prompting using structured messages and roles:

Prompting using templates:

Structured Output

Converting LLM output to structured JSON and Java objects:

Multimodality

Including various media in prompts with LLMs:

Tool Calling

Tool calling with LLMs via different model providers:

Memory

Using chat memory to preserve context in conversations with LLMs:

Guardrails

Guardrails for input and output with LLMs via different model providers:

📥 Data Ingestion

Document Readers

Reading and vectorizing documents with LLMs via Ollama:

Document Transformers

Document transformation with LLMs via Ollama:

  • Metadata
    Enrich documents with keywords and summary metadata for enhanced retrieval.
  • Splitters
    Divide documents into chunks to fit the LLM context window.

🔢 Vector Stores

Coming soon

🔄 Retrieval Augmented Generation (RAG)

Question answering with documents using different RAG flows (with Ollama and PGVector):

Sequential RAG

Branching RAG

Conditional RAG

📊 Observability

LLM Observability

LLM Observability for different model providers:

Vector Store Observability

Vector Store Observability for different vector stores:

⚙️ Model Context Protocol

Integrations with MCP Servers for providing contexts to LLMs.

📋 Evaluation

Coming soon

🤖 Agents

Coming soon

📚 References and Additional Resources

Conferences

Videos

Demos

Workshops

관련 프로젝트 살펴보기

불러오는 중…