---
title: "#langchain4j articles | Hashnode"
description: "Explore 15 articles tagged #langchain4j on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/langchain4j"
---

Tag

# #langchain4j

15 posts · 2 followers

[Prasad Gaikwad](https://hashnode.com/@prasadgaikwad) · [Aug 2](https://hashnode.com/posts/conversation-memory-with-langchain4j-keeping-context-across-turns/6a6eaab834c1dbc54ba6a4ea)

### [Conversation Memory with LangChain4j: Keeping Context Across Turns](https://blog.prasadgaikwad.dev/conversation-memory-with-langchain4j-keeping-context-across-turns?utm_source=hashnode&utm_medium=feed)

In our previous post, we built a simple command-line chat with LangChain4j. It worked, but there was one big limitation: the model had no memory. Every question was answered in isolation, as if the co

6 min read · [blog.prasadgaikwad.dev](https://blog.prasadgaikwad.dev/conversation-memory-with-langchain4j-keeping-context-across-turns?utm_source=hashnode&utm_medium=feed)

[Prasad Gaikwad](https://hashnode.com/@prasadgaikwad) · [Nov 4, 2025](https://hashnode.com/posts/getting-started-with-langchain4j-building-your-first-ai-powered-java-application/69097d8bf65c1c78bb5a9630)

### [Getting Started with LangChain4j: Building Your First AI-Powered Java Application](https://blog.prasadgaikwad.dev/getting-started-with-langchain4j-building-your-first-ai-powered-java-application?utm_source=hashnode&utm_medium=feed)

Learn how to build an AI-powered Java application using LangChain4j and Spring Boot for interactive, language-driven solutions

3 min read · [blog.prasadgaikwad.dev](https://blog.prasadgaikwad.dev/getting-started-with-langchain4j-building-your-first-ai-powered-java-application?utm_source=hashnode&utm_medium=feed)

[Ravi Ranjan](https://hashnode.com/@raviranjan) · [Jun 18, 2025](https://hashnode.com/posts/building-a-local-speech-to-speech-translator-in-java/6853324df36fa0ba7f3f9072)

### [Building a Local Speech-to-Speech Translator in Java](https://blog.ravir.in/building-a-local-speech-to-speech-translator-in-java?utm_source=hashnode&utm_medium=feed)

Introduction Creating a local speech-to-speech translator is now more accessible than ever, thanks to advancements in open-source speech recognition, translation, and text-to-speech technologies. In this blog, I'll walk you through how I built a full...

5 min read · [blog.ravir.in](https://blog.ravir.in/building-a-local-speech-to-speech-translator-in-java?utm_source=hashnode&utm_medium=feed)

[Nicolas Fränkel](https://hashnode.com/@nfrankel) · [May 1, 2025](https://hashnode.com/posts/langchain4j-musings-six-months-after/6812b9b73b8a4e8a387f76d6)

### [LangChain4J musings, six months after](https://frankel.hashnode.dev/langchain4j-musings-six-months-after?utm_source=hashnode&utm_medium=feed)

Last year, I started to dig a bit around LangChain4J. It's a fast-growing project, and I wanted to get familiar with the updates. I also wanted to check how to integrate a Model Context Protocol server in LangChain4J. Version 1 beta I wrote my last p...

9 min read · [frankel.hashnode.dev](https://frankel.hashnode.dev/langchain4j-musings-six-months-after?utm_source=hashnode&utm_medium=feed)

[Nicolas Fränkel](https://hashnode.com/@nfrankel) · [Nov 14, 2024](https://hashnode.com/posts/langchain4j-musings/67353db3f7d86c8e169d573a)

### [Langchain4J musings](https://frankel.hashnode.dev/langchain4j-musings?utm_source=hashnode&utm_medium=feed)

I’m coming relatively late to the LLM party, but I rarely come very early in the hype cycle. For example, I never bought into blockchain, the solution still searching for problems to solve, nor in microservices, the latest in the cargo cult IT trend...

9 min read · [frankel.hashnode.dev](https://frankel.hashnode.dev/langchain4j-musings?utm_source=hashnode&utm_medium=feed)

[Taehyeong Lee](https://hashnode.com/@jsonobject) · [Oct 20, 2024](https://hashnode.com/posts/building-a-custom-openai-compatible-api-server-with-kotlin-spring-boot-langchain4j/67152aa94bbaef07174de9fc)

### [Building a Custom OpenAI-Compatible API Server with Kotlin, Spring Boot, LangChain4j](https://jsonobject.com/building-a-custom-openai-compatible-api-server-with-kotlin-spring-boot-langchain4j?utm_source=hashnode&utm_medium=feed)

Overview Since OpenAI released ChatGPT to the world in November 2022, OpenAI's LLM has become the de facto standard. Many open-source and commercial solutions supporting LLM integration offer OpenAI Compatible APIs that function identically to OpenA...

14 min read · [jsonobject.com](https://jsonobject.com/building-a-custom-openai-compatible-api-server-with-kotlin-spring-boot-langchain4j?utm_source=hashnode&utm_medium=feed)

[Georgii Turevich](https://hashnode.com/@georgiiturevich) · [Aug 24, 2024](https://hashnode.com/posts/java-developers-journey-integrating-openai-and-anthropic-apis-with-langchain4j/66c9890599caaf41edad73a7)

### [Java Developer's Journey: Integrating OpenAI and Anthropic APIs with LangChain4j](https://georgiiturevich.hashnode.dev/java-developers-journey-integrating-openai-and-anthropic-apis-with-langchain4j?utm_source=hashnode&utm_medium=feed)

As a Java developer, I've often felt left out when it comes to working with Large Language Models (LLMs). Many LLM providers offer SDKs primarily for Python or JavaScript, leaving Java developers at a disadvantage. That's why I was excited to discove...

3 min read · [georgiiturevich.hashnode.dev](https://georgiiturevich.hashnode.dev/java-developers-journey-integrating-openai-and-anthropic-apis-with-langchain4j?utm_source=hashnode&utm_medium=feed)

[Rob Brown](https://hashnode.com/@rob166) · [Aug 15, 2024](https://hashnode.com/posts/building-a-desktop-ai-chat-application-with-langchain4j-and-install4j/66be42f48248b8191f22a8a0)

### [Building a Desktop AI Chat Application with LangChain4j and Install4j](https://java-ai.hashnode.dev/building-a-desktop-ai-chat-application-with-langchain4j-and-install4j?utm_source=hashnode&utm_medium=feed)

1\. Introduction In the rapidly evolving landscape of artificial intelligence (AI), there is a growing interest in harnessing the power of AI for various applications. While browser-based AI tools have gained popularity, they often come with limitatio...

16 min read · [java-ai.hashnode.dev](https://java-ai.hashnode.dev/building-a-desktop-ai-chat-application-with-langchain4j-and-install4j?utm_source=hashnode&utm_medium=feed)

[Taehyeong Lee](https://hashnode.com/@jsonobject) · [Jul 22, 2024](https://hashnode.com/posts/building-a-slack-ai-chatbot-with-amazon-bedrock-claude-and-langchain4j/669deacc0dcba39aeddce678)

### [Building a Slack AI Chatbot with Amazon Bedrock Claude and LangChain4j](https://jsonobject.com/building-a-slack-ai-chatbot-with-amazon-bedrock-claude-and-langchain4j?utm_source=hashnode&utm_medium=feed)

Overview In the era of Gen AI, one of the best ways to leverage Large Language Models (LLMs) is through the familiar platform of Slack. By creating an AI Chatbot as a Slack App, we can make it operate with a specified persona, much like interacting ...

7 min read · [jsonobject.com](https://jsonobject.com/building-a-slack-ai-chatbot-with-amazon-bedrock-claude-and-langchain4j?utm_source=hashnode&utm_medium=feed)

[Taehyeong Lee](https://hashnode.com/@jsonobject) · [Jun 8, 2024](https://hashnode.com/posts/how-to-create-a-shell-script-to-query-llm-with-local-file-using-kotlin-and-langchain4j/66646e11a7a4fdf44c7b7dd1)

### [How to Create a Shell Script to Query LLM with Local File Using Kotlin and LangChain4j](https://jsonobject.com/how-to-create-a-shell-script-to-query-llm-with-local-file-using-kotlin-and-langchain4j?utm_source=hashnode&utm_medium=feed)

Introduction OpenAI's GPT-4o model currently supports text and image data through the Chat Completions API but does not support binary files. By converting files such as PDF, EPUB, DOCX, PPTX, and XLSX to text, you can perform productive tasks with ...

4 min read · [jsonobject.com](https://jsonobject.com/how-to-create-a-shell-script-to-query-llm-with-local-file-using-kotlin-and-langchain4j?utm_source=hashnode&utm_medium=feed)
