Crafting Intelligent Applications with Quarkus
summary
Quarkus shows concrete integrations: langchain4j (called LChain for Java) wired into a REST client API, auto-managing prompts, memory and tools; demo uses OpenAI gpt-3.5-turbo, logs requests, hot-reloads in Dev mode, and calls a Java method via a tool annotation to return current time. Also swaps to a local model via AMA/Llama 3, compiles to a native executable, exposes metrics, and implements RAG over a Postgres copy of IMDb topβ100 where the LLM generates precise SQL queries to pick movies. Numbers cited: 90+ feature releases, 600+ extensions, 800+ contributors.
AI-written summary Β· about
chapters (12)
- 0:00Introduction to AI and Quarkus
- 8:25Why developers should care about AI
- 10:14AI as an API for developers
- 13:05Setting up a Quarkus AI project
- 18:15Building a basic AI-powered endpoint
- 21:05Enhancing prompts with system messages
- 24:00Logging and debugging AI interactions
- 26:30Adding tools and functions to AI
- 32:19Using local AI models with Ollama
- 35:54Creating a translation service
- 38:25Building a movie chatbot with SQL
- 42:56Future possibilities and ethical considerations
