Tagged articles

ChatOpenAI

2 articles · Page 1 of 1
James' Growth Diary
James' Growth Diary
Apr 25, 2026 · Artificial Intelligence

LangChain Memory Best Practices: Avoid Common Pitfalls and Choose the Right Module

This article dissects the most frequent LangChain Memory pitfalls—missing placeholders, wrong memory type, shared instances, and multi‑process issues—provides correct code patterns, compares the five built‑in memory classes, introduces the new RunnableWithMessageHistory approach, and offers a production‑ready checklist.

ChatOpenAIConversationSummaryBufferMemoryLLMChain
0 likes · 12 min read
LangChain Memory Best Practices: Avoid Common Pitfalls and Choose the Right Module
Tech Ocean
Tech Ocean
Apr 22, 2026 · Artificial Intelligence

Day 4 of LangChain 7‑Day Series: Build a Full‑Chain RAG QA Bot Step‑by‑Step

This tutorial walks through the complete RAG pipeline—indexing documents into a vector store, retrieving relevant chunks with similarity, Top‑K, and MMR methods, and generating answers using LCEL chains, culminating in a multi‑turn internal knowledge‑base chatbot that cuts query latency below 100 ms.

ChatOpenAILLMLangChain
0 likes · 11 min read
Day 4 of LangChain 7‑Day Series: Build a Full‑Chain RAG QA Bot Step‑by‑Step