Chat as Code is the New Cat on the Block

Using Spring Boot with LangChain4J and Ollama Local Model to build Chat as Code (CaaC)

Dr. Lofi Dewanto
9 min readJun 27, 2024

I’ve attended presentations, read numerous articles, and watched several YouTube videos emphasizing the necessity for Java developers to understand AI (Artificial Intelligence) to sustain their careers. The consensus is clear: combining Java with AI, particularly with Large Language Models (LLMs), represents the future for Java developers.

I’m the New Cat on the Block!
Java Developer == Java + AI (LLM)

Materials for Learning

The first step is to learn from articles and videos about the topic. I’ve found that the following videos and articles help me a lot:

(1) This video Marcus Hellberg is a must if you learn it from scratch:

(2) Great talk from Lize Raes about LangChain4J:

--

--