What if you could connect an LLM to your database with a simple Java annotation? Learn to build powerful, autonomous AI agents, entirely in Java.
#1about 2 minutes
Navigating the complex AI landscape for Java developers
The overwhelming Python-centric AI ecosystem doesn't require Java developers to switch languages, as powerful Java-native tools exist for AI integration.
#2about 2 minutes
Understanding LangChain4j for Java AI applications
LangChain4j, inspired by Python's LangChain, provides a Java-native framework for integrating AI models, with Quarkus offering simplified integration features.
#3about 5 minutes
Getting started with prompting and structured output
Begin by adding dependencies and using annotations like @AiService to define prompts, parameterize questions, and automatically map model responses to Java objects.
#4about 2 minutes
Implementing stateful conversations with chat memory
LangChain4j provides out-of-the-box chat memory to maintain conversational context, enabling follow-up questions and parallel conversations using a memory ID.
#5about 3 minutes
Connecting AI models to external Java services
Use function calling, also known as tools, to allow the AI model to invoke your existing Java methods and services by describing them with the @Tool annotation.
#6about 4 minutes
Building autonomous agents with the MCP protocol
The Multi-tool Calling Protocol (MCP) enables an AI model to autonomously decide which external tools to call in sequence to fulfill a user's request within a Java environment.
#7about 4 minutes
Implementing guardrails to secure AI interactions
Protect against misuse like prompt injection by using input and output guardrails to sanitize requests and responses, ensuring the model behaves as intended.
#8about 2 minutes
Adding custom knowledge with retrieval-augmented generation
Use Retrieval-Augmented Generation (RAG) to supplement the model's knowledge with your own documents by loading them into a vector store for relevant context retrieval.
#9about 5 minutes
Demo of an AI assistant using LangChain4j and Quarkus
A demonstration of a car rental chatbot showcases how to integrate a database, an external weather service via MCP, and custom documents via RAG to create a comprehensive AI assistant.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
03:10 MIN
Integrating generative AI into Java applications with LangChain4j
Infusing Generative AI in your Java Apps with LangChain4j
02:54 MIN
Exploring frameworks for building agentic AI applications in Java
Supercharge Agentic AI Apps: A DevEx-Driven Approach to Cloud-Native Scaffolding
01:59 MIN
Why Java is a strong choice for enterprise AI applications
Agentic AI Systems for Critical Workloads
04:24 MIN
An overview of the LangChain4j framework for Java
AI Agents Graph: Your following tool in your Java AI journey
06:57 MIN
Building an AI application using LangChain4j
Java Meets AI: Empowering Spring Developers to Build Intelligent Apps
04:40 MIN
Simplifying GenAI development with the LangChain4J framework
Langchain4J - An Introduction for Impatient Developers
02:07 MIN
Using prompts and AI services in LangChain4j
Infusing Generative AI in your Java Apps with LangChain4j
03:16 MIN
Defining the agent's behavior with a Java interface
Supercharge Agentic AI Apps: A DevEx-Driven Approach to Cloud-Native Scaffolding
Panel Discussion: Responsible AI in Practice - Real-World Examples and ChallengesIntroductionIn the ever-evolving landscape of artificial intelligence, the concept of "responsible AI" has emerged as a cornerstone for ethical and practical AI implementation. During the WWC24 Panel discussion, three eminent experts—Mina, Bjorn Brin...
Daniel Cranney
Stephan Gillich - Bringing AI EverywhereIn the ever-evolving world of technology, AI continues to be the frontier for innovation and transformation. Stephan Gillich, from the AI Center of Excellence at Intel, dove into the subject in a recent session titled "Bringing AI Everywhere," sheddi...
Chris Heilmann
Exploring AI: Opportunities and Risks for DevelopersIn today's rapidly evolving tech landscape, the integration of Artificial Intelligence (AI) in development presents both exciting opportunities and notable risks. This dynamic was the focus of a recent panel discussion featuring industry experts Kent...
Eli McGarvie
13 AI Tools You Have to TryFirst, it was NFTs, then it was Web3, and now it’s generative AI… it’s probably time to stop collecting pictures of monkeys and kitties. Chatbots and generative AI are the next big thing. This time we’ve jumped on a trend that has real-world applicat...
From learning to earning
Jobs that call for the skills explored in this talk.