Giter Club home page Giter Club logo

llm-apps-java-spring-ai's Introduction

LLM Applications with Java and Spring AI

Samples showing how to build Java applications powered by Generative AI and LLMs using Spring AI.

Pre-Requisites

Content

0. Use Cases

Project Description
chatbot Chatbot using LLMs via Ollama.
question-answering Question answering with documents (RAG) using LLMs via Ollama and PGVector.
semantic-search Semantic search using LLMs via Ollama and PGVector.
structured-data-extraction Structured data extraction using LLMs via Ollama.
text-classification Text classification using LLMs via Ollama.

1. Chat Completion Models

Project Description
chat-models-mistral-ai Text generation with LLMs via Mistral AI.
chat-models-ollama Text generation with LLMs via Ollama.
chat-models-openai Text generation with LLMs via OpenAI.
chat-models-multiple-providers Text generation with LLMs via multiple providers.

2. Prompts, Templates and Multimodality

Project Description
prompts-basics-ollama Prompting using simple text with LLMs via Ollama.
prompts-basics-openai Prompting using simple text with LLMs via OpenAI.
prompts-messages-ollama Prompting using structured messages and roles with LLMs via Ollama.
prompts-messages-openai Prompting using structured messages and roles with LLMs via OpenAI.
prompts-multimodality-ollama Multimodality to include various media in a prompt with LLMs via Ollama.
prompts-multimodality-openai Multimodality to include various media in a prompt with LLMs via OpenAI.
prompts-templates-ollama Prompting using templates with LLMs via Ollama.
prompts-templates-openai Prompting using templates with LLMs via OpenAI.

3. Output Converters

Project Description
output-converters-ollama Converting the LLM output to structured objects (Beans, Map, List) via Ollama.
output-converters-openai Converting the LLM output to structured objects (Beans, Map, List) via Open AI.

4. Embedding Models

Project Description
embedding-models-mistral-ai Vector transformation (embeddings) with LLMs via Mistral AI.
embedding-models-ollama Vector transformation (embeddings) with LLMs via Ollama.
embedding-models-openai Vector transformation (embeddings) with LLMs via OpenAI.
embedding-models-transformers Vector transformation (embeddings) with LLMs via ONNX Sentence Transformers.

5. Document ETL Pipeline

Project Description
document-readers-json-ollama Reading and vectorizing JSON documents with LLMs via Ollama.
document-readers-pdf-ollama Reading and vectorizing PDF documents with LLMs via Ollama.
document-readers-text-ollama Reading and vectorizing text documents with LLMs via Ollama.
document-transformers-metadata-ollama Enrich documents with keywords and summary metadata for enhanced retrieval via Ollama.
document-transformers-splitters-ollama Divide documents into chunks to fit the LLM context window via Ollama.

6. Vector Stores

Coming soon

7. Function Calling

Project Description
function-calling-mistral-ai Function calling with LLMs via Mistral AI.
function-calling-ollama Function calling with LLMs via Ollama.
function-calling-openai Function calling with LLMs via OpenAI.

8. Image Models

Project Description
image-models-openai Image generation with LLMs via OpenAI.

9. Audio Models

Project Description
audio-models-speech-openai Speech generation with LLMs via OpenAI.
audio-models-transcription-openai Speech transcription with LLMs via OpenAI.

10. Observability

Project Description
observability-models-openai LLM Observability for OpenAI.

References and Additional Resources

Videos

Demos

Workshops

llm-apps-java-spring-ai's People

Contributors

rajadilipkolli avatar thomasvitale avatar

llm-apps-java-spring-ai's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/commit-stage.yml
  • actions/checkout v4
  • actions/setup-java v4
  • ubuntu 22.04
gradle
gradle.properties
  • org.springframework.ai:spring-ai-bom 1.0.0-SNAPSHOT
settings.gradle
  • org.gradle.toolchains.foojay-resolver-convention 0.8.0
00-use-cases/chatbot/build.gradle
00-use-cases/question-answering-with-documents/build.gradle
01-chat-models/chat-models-mistral-ai/build.gradle
01-chat-models/chat-models-ollama/build.gradle
01-chat-models/chat-models-openai/build.gradle
02-prompts/prompts-basics-ollama/build.gradle
02-prompts/prompts-basics-openai/build.gradle
02-prompts/prompts-messages-ollama/build.gradle
02-prompts/prompts-messages-openai/build.gradle
02-prompts/prompts-multimodality-ollama/build.gradle
02-prompts/prompts-multimodality-openai/build.gradle
02-prompts/prompts-templates-ollama/build.gradle
02-prompts/prompts-templates-openai/build.gradle
03-output-converters/output-converters-ollama/build.gradle
03-output-converters/output-converters-openai/build.gradle
04-embedding-models/embedding-models-mistral-ai/build.gradle
04-embedding-models/embedding-models-ollama/build.gradle
04-embedding-models/embedding-models-openai/build.gradle
04-embedding-models/embedding-models-transformers/build.gradle
05-etl-pipeline/document-readers-json-ollama/build.gradle
05-etl-pipeline/document-readers-pdf-ollama/build.gradle
05-etl-pipeline/document-readers-text-ollama/build.gradle
05-etl-pipeline/document-transformers-metadata-ollama/build.gradle
05-etl-pipeline/document-transformers-splitters-ollama/build.gradle
07-function-calling/function-calling-mistral-ai/build.gradle
07-function-calling/function-calling-openai/build.gradle
08-image-models/image-models-openai/build.gradle
09-audio-models/audio-models-speech-openai/build.gradle
09-audio-models/audio-models-transcription-openai/build.gradle
buildSrc/build.gradle
  • io.spring.gradle:dependency-management-plugin 1.1.5
  • org.springframework.boot:spring-boot-gradle-plugin 3.3.0
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 8.7

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.