---
title: "Discussion on \"Conversation Memory with LangChain4j: Keeping Context Across Turns\" | Hashnode"
description: "Discussion on \"Conversation Memory with LangChain4j: Keeping Context Across Turns\". 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"
url: "https://hashnode.com/posts/conversation-memory-with-langchain4j-keeping-context-across-turns/6a6eaab834c1dbc54ba6a4ea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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

Aug 2 · 6 min read · blog.prasadgaikwad.dev  
Read the article

-   [#langchain4j](https://hashnode.com/tag/langchain4j)
-   [#memory](https://hashnode.com/tag/memory)
-   [#agent](https://hashnode.com/tag/agent)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Prasad Gaikwad](https://hashnode.com/@prasadgaikwad)

@prasadgaikwad · Texas, US

  
[View profile](https://hashnode.com/@prasadgaikwad)

Keep Learning!

I am a Software Engineer from Dallas, Texas, USA, developing cyber security softwares.

## Responses

Comments are turned off for this post.
