LangChain4j Retrieval-Augmented Generation (RAG) Tutorial

LangChain4j Retrieval-Augmented Generation (RAG) Tutorial

In this article, we will explore the following:

  • Understand the need for Retrieval-Augmented Generation (RAG).
  • Understand EmbeddingModel, EmbeddingStore, DocumentLoaders, EmbeddingStoreIngestor.
  • Working with different EmbeddingModels and EmbeddingStores.
  • Ingesting data into EmbeddingStore.
  • Querying LLMs with data from EmbeddingStore.

Let’s get started.

LangChain4j AiServices Tutorial

LangChain4j AiServices Tutorial

In this article, we will explore the following:

  • Using LangChain4j AiServices to interact with LLMs.
  • How to ask questions and map responses to different formats?
  • Summarizing the given text in different formats.
  • Analyzing the sentiment of the given text.

Let’s get started.

Should I use a framework or libraries?

Should I use a framework or libraries?

In the software development world, trends come and go, and often we go through the same cycle again and again. It seems 2024 is the year of “Framework vs Libraries” debate. I mean this debate is not new, but it is getting louder again.

Its time to apply KISS principle to career

Its time to apply KISS principle to career

You might have heard from IT employees that there is no work-life balance in IT due to unrealistic deadlines, long working hours, etc. I did work crazy hours in the first 7 or 8 years of my career, but not anymore. Fortunately, I have been working in the companies that value work-life balance, and I never had to work beyond 8 hours in the recent past.

Go for Java/SpringBoot Developers

Go for Java/SpringBoot Developers

I have been using Java for more than 17 years, and I really like Java and its ecosystem. Within the Java ecosystem, Spring Boot is my go-to framework for building applications.

I used the Go language for an official project a couple of years ago, and initially I had mixed feelings about it. But the more I use it, the more I like it.

My First Year at AtomicJar as a Developer Advocate

My First Year at AtomicJar as a Developer Advocate

I joined AtomicJar as a Developer Advocate on 1st November 2022. Time flies when you are enjoying your work, isn’t it.

Before joining AtomicJar, I worked as a TechLead/Architect at various companies for more than 15 years. When I got the opportunity to join AtomicJar, I was very excited to work with my favourite technology Testcontainers. I have been using Testcontainers for more than 4 years, and I am a big fan of it.