Data & AIData & AI
Mini Lab90min
INTERMEDIATE

Create AI-Infused Apps with LangChain4j (and Quarkus)

Learn to integrate AI into Java applications using Quarkus and LangChain4j. This session covers using Quarkus DevUI for AI model testing, coding with LangChain4j for prompting and state management, enriching models with retrieval augmented generation, and running models locally. Enhance observability and fault tolerance while contributing feedback to the community.

Daniel Oh
Daniel OhRed Hat
Kevin Dubois
Kevin DuboisRed Hat
Holly Cummins
Holly CumminsRed Hat

talkDetail.whenAndWhere

Wednesday, May 7, 13:50-15:20
Coding Cafe
talks.description
Generative AI has taken the world by storm, and it seems like every executive leader out there is telling us “regular” Java devs to “add AI” to our apps. Does that mean we need to drop everything we’ve built and become data scientists instead now? Fortunately, we can infuse AI models built by actual AI experts into our applications in a fairly straightforward way. We promise it’s not as complicated as you might think! Thanks to the ease of use and superb developer experience of Quarkus and the nice AI integration capabilities that the LangChain4j libraries offer, it becomes trivial to start working with AI and make your stakeholders happy.In this session, you’ll explore a variety of AI capabilities. We’ll start from the Quarkus DevUI where you can try out AI models before writing any code. Then we’ll get get into the code and explore LangChain4j features such as prompting, chaining, and preserving state; agents and function-calling; enriching your AI model’s knowledge with your own documents using retrieval augmented generation (RAG); and discovering ways to run (and train) models locally using tools like Ollama and/or Podman AI Lab. In addition, we’ll take a look at observability and fault tolerance of the AI integration. We might even try some new features, such as MCP.Come to this session to learn how to build AI-infused applications in Java. This is also an opportunity to provide feedback to the maintainers of these projects and contribute back to the community.
quarkus
integration
generative
langchain4j
talks.speakers
Daniel Oh

Daniel Oh

Red Hat

United States of America

Java Champion, CNCF Ambassador, Developer Advocate, Technical Marketing, International Speaker, Published Author
Kevin Dubois

Kevin Dubois

Red Hat

Belgium

Kevin is a Senior Principal Developer Advocate at Red Hat, where his deep passion for open source, Java, and cloud-native development shines through. As a recognized Java Champion, accomplished software engineer, author, and keynote speaker, Kevin is dedicated to pushing the boundaries of modern software development. His role at Red Hat allows him to immerse himself in cutting-edge open source projects while enhancing the developer experience across the globe.
A true advocate for the open source community, Kevin also contributes when he can to projects like Quarkus, Knative, Apache Camel, and Podman (Desktop). He’s also an organizing member of the Belgian CNCF and the Belgian Java User Group.
Multilingual and multicultural, Kevin speaks English, Dutch, French, and Italian fluently. Currently based in Belgium, he has lived in Italy and the USA as well.
Holly Cummins

Holly Cummins

Red Hat

United Kingdom

Holly Cummins is a Senior Principal Software Engineer on the Red Hat Quarkus team and a Java Champion. Over her career, Holly has been a full-stack javascript developer, a build architect, a client-facing consultant, a JVM performance engineer, and an innovation leader. Holly has led projects to understand climate risks, count fish, help a blind athlete run ultra-marathons in the desert solo, and invent stories (although not at all the same time). She gets worked up about sustainability, technical empathy, extreme programming, the importance of proper testing, and automating all the things. You can find her at http://hollycummins.com, or follow her on socials at @holly_cummins.
comments.title

comments.speakerNotEnabledComments