DevConf.CZ

Jan Martiška

I work as a software engineer at Red Hat, focusing on Quarkus. Nowadays I fiddle mostly with its MicroProfile capabilities and the Langchain4j extension. I love designing open-source frameworks, libraries, tools and APIs that will make developers happy. I am also a co-author of the hands-on book called Quarkus in Action.


Session

06-13
13:15
35min
Quarkus meets AI: Developing AI applications in Java with Quarkus and Langchain4j
Jan Martiška

In this practical session, I will demonstrate how Quarkus, the cloud-native Java development framework, and its Langchain4j extension can be used for working with AI models like GPT and others, including image-generating models, opening the door to endless possibilities.
I will show how to use Quarkus to:

  • Build a chatbot application that allows you to supply data from your own custom data store and feed it to the AI model, enabling it to answer questions using this data (this technique is called Retrieval Augmented Generation).
  • Build a highly autonomous agent by supplying the model with various tools, that means locally implemented functions that the model can decide to execute when necessary (for example, send something via email, or write to a database), and then letting the agent determine the appropriate sequence of steps to accomplish the given high-level goal using these tools.
  • Demonstrate the Quarkus goodies that make the development process easier, like the interface for manually chatting with the model directly through the application and for exploring image-generating capabilities of image models.

The development joy of Quarkus with all its goodies and incredible productivity now also extends to creating AI applications. Join me and see for yourself!

Application and Services Development
D0206 (capacity 154)