AI/ML – LangChain4j – AiServices

The previous article our focus has been on delving into foundational elements of LangChain4j such as ChatLanguageModel, ChatMessage, ChatMemory, and others. Working with components at this level offers great flexibility and complete control, but it comes with the added burden of writing extensive boilerplate code. LLM-driven applications typically necessitate a multitude of interconnected components rather … Read more

AI/ML – Langchain4j – Chat Memory

In the preceding article, we were introduced to AI/ML concepts and explored the process of running a local Large Language Model (LLM) – Ollama. We further delved into interacting with it via Java using JBang and Langchain4j. Now, let’s explore into what "chat memory" is and how langchain4j helps in the cumbersome task of maintaining … Read more

Beginning the AI/ML Journey with Ollama, Langchain4J & JBang

The realm of AI/ML, especially Generative AI, has garnered significant attention worldwide following the emergence of ChatGPT. Consequently, there has been a surge of interest in developing various models and tools within this domain. In this article, we will take a look at how to interact with AI models using Java. But before that, we … Read more