Development PracticesDevelopment Practices
Hands-on Lab180min
BEGINNER

Create AI-Infused Java Apps with LangChain4j

This proposal focuses on integrating AI into Java applications using open-source projects. It highlights the use of Quarkus and LangChain4j for easy AI integration, offering features like prompting and retrieval augmented generation. The lab provides hands-on experience in building AI-enhanced applications, emphasizing observability, fault tolerance, and native binary compilation.

Martin Stefanko
Martin StefankoRed Hat
Jan Martiška
Jan MartiškaRed Hat
Georgios Andrianakis
Georgios AndrianakisRed Hat

talkDetail.whenAndWhere

Wednesday, June 11, 15:10-18:10
Room Lab 2
talks.description
Generative AI has taken the world by storm over the last year, and it seems like every executive leader out there is telling us “regular” Java application developers to “add AI” to our applications. Does that mean we need to drop everything we’ve built and become data scientists instead now? Luckily, we can infuse AI models built by actual AI experts into our applications using new open source projects. 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 lab, we’ll start from the Quarkus DevUI where you can try out AI models even before writing any code. Then we’ll get our hands dirty with some code and exploring LangChain4j features such as prompting, chaining, and preserving state; agents and function-calling; enriching your AI model’s knowledge with your documents using retrieval augmented generation (RAG); and discovering ways to run (and train) models locally using tools like Ollama and/or Podman AI Lab. you'll also learn the observability and fault tolerance of the AI integration and compile the app to a native binary. Come to this lab to learn how to build AI-infused applications with Quarkus experts working on the Quarkus LangChain4j extensions.
ai
quarkus
generative
langchain4j
talks.speakers
Martin Stefanko

Martin Stefanko

Red Hat

Czech Republic

Principal software engineer at Red Hat, BrnoJUG leader, author Quarkus in Action, MicroProfile committer, working on Red Hat middleware technologies like Quarkus, SmallRye, Wildfly, JBoss middleware (RESTEasy, Weld, ...), programming and microservices enthusiast.
Jan Martiška

Jan Martiška

Red Hat

Czech Republic

Jan is a software engineer working at Red Hat with 13+ years of experience in Java and Open source, nowadays focusing on Quarkus and, among other things, its AI capabilities through the LangChain4j extension. He also drives its GraphQL capabilities. He's also a MicroProfile committer and a book author (Quarkus in Action).
Georgios Andrianakis

Georgios Andrianakis

Red Hat

Greece

Georgios works for Red Hat as a Senior Principal Software Engineer and is currently the most active contributor for Quarkus, where he works in all sorts of areas, including but not limited to LangChain4j, RESTEasy Reactive, Spring compatibility, Kubernetes support, testing, Kotlin and more.

He is also an enthusiastic promoter of Quarkus that never misses a chance to spread the Quarkus love!
comments.title

comments.speakerNotEnabledComments