[PR #3912] [MERGED] Improve the Python scripts in the short term memory docs #3921

Closed
opened 2026-06-05 18:53:35 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3912
Author: @Yacklin
Created: 5/7/2026
Status: Merged
Merged: 5/28/2026
Merged by: @npentrel

Base: mainHead: Yacklin-patch-2


📝 Commits (2)

  • 46957c2 Improve the Python scripts in the short term memory docs
  • 9d0df3c move to testable code snippets

📊 Changes

5 files changed (+596 additions, -42 deletions)

View changed files

src/code-samples/langchain/short-term-memory-checkpointer-inmemory.py (+41 -0)
src/code-samples/langchain/short-term-memory-checkpointer-inmemory.ts (+64 -0)
📝 src/oss/langchain/short-term-memory.mdx (+20 -42)
src/snippets/code-samples/short-term-memory-usage-js.mdx (+246 -0)
src/snippets/code-samples/short-term-memory-usage-py.mdx (+225 -0)

📄 Description

Overview

Improve the Python Scripts in the short term memory docs

Type of change

Update existing documentation / Fix typo/bug/link/formatting

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

Additional notes

Try to make the docs more copy-then-pasteable


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3912 **Author:** [@Yacklin](https://github.com/Yacklin) **Created:** 5/7/2026 **Status:** ✅ Merged **Merged:** 5/28/2026 **Merged by:** [@npentrel](https://github.com/npentrel) **Base:** `main` ← **Head:** `Yacklin-patch-2` --- ### 📝 Commits (2) - [`46957c2`](https://github.com/langchain-ai/docs/commit/46957c2ee1a7f2a02948fda3b8f3430b04c57c66) Improve the Python scripts in the short term memory docs - [`9d0df3c`](https://github.com/langchain-ai/docs/commit/9d0df3c17fe089dcb0cd66b6b38ced1cd41f8adb) move to testable code snippets ### 📊 Changes **5 files changed** (+596 additions, -42 deletions) <details> <summary>View changed files</summary> ➕ `src/code-samples/langchain/short-term-memory-checkpointer-inmemory.py` (+41 -0) ➕ `src/code-samples/langchain/short-term-memory-checkpointer-inmemory.ts` (+64 -0) 📝 `src/oss/langchain/short-term-memory.mdx` (+20 -42) ➕ `src/snippets/code-samples/short-term-memory-usage-js.mdx` (+246 -0) ➕ `src/snippets/code-samples/short-term-memory-usage-py.mdx` (+225 -0) </details> ### 📄 Description ## Overview Improve the Python Scripts in the short term memory docs ## Type of change Update existing documentation / Fix typo/bug/link/formatting ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed ## Additional notes Try to make the docs more copy-then-pasteable --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:53:35 -04:00
yindo closed this issue 2026-06-05 18:53:35 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3921