[PR #203] [CLOSED] feat: Adding PGChatMessageHistory #231

Closed
opened 2026-02-16 05:17:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/203
Author: @dishaprakash
Created: 4/25/2025
Status: Closed

Base: mainHead: main


📝 Commits (10+)

  • 56f76e4 feat: Add PGChatMessageHistory
  • a4846f3 Add incorrect schema test
  • eddc6ef Merge pull request #1 from dishaprakash/chat-message
  • f62eaab Merge branch 'langchain-ai:main' into main
  • 0d78b87 chore(docs): Add documentation for PGChatMessageHistory
  • cb896c7 Merge pull request #2 from dishaprakash/chat-message
  • d713aa8 Update test_imports.py
  • 7e80b4f fix test
  • 68741c8 review changes
  • c4c036f Merge branch 'main' into main

📊 Changes

8 files changed (+1048 additions, -0 deletions)

View changed files

examples/pg_chat_message_history.ipynb (+314 -0)
📝 langchain_postgres/__init__.py (+2 -0)
langchain_postgres/v2/async_chat_message_history.py (+181 -0)
langchain_postgres/v2/chat_message_history.py (+129 -0)
📝 langchain_postgres/v2/engine.py (+98 -0)
📝 tests/unit_tests/test_imports.py (+1 -0)
tests/unit_tests/v2/test_async_chat_message_history.py (+139 -0)
tests/unit_tests/v2/test_chat_message_history.py (+184 -0)

📄 Description

feat: Adding PGChatMessageHistory along with it's documentation

Not deprecating the PostgresChatMessageHistory for now (as the deprcation for PGVector has been removed).


🔄 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/langchain-postgres/pull/203 **Author:** [@dishaprakash](https://github.com/dishaprakash) **Created:** 4/25/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`56f76e4`](https://github.com/langchain-ai/langchain-postgres/commit/56f76e4e0e7d9f0a82fca34f194551286d3d20cc) feat: Add PGChatMessageHistory - [`a4846f3`](https://github.com/langchain-ai/langchain-postgres/commit/a4846f3945c46a0065f9a38b2b06719a7bb19ea0) Add incorrect schema test - [`eddc6ef`](https://github.com/langchain-ai/langchain-postgres/commit/eddc6efc724ea0af4d8404e0e5e7517c1b5945d5) Merge pull request #1 from dishaprakash/chat-message - [`f62eaab`](https://github.com/langchain-ai/langchain-postgres/commit/f62eaab6d67f9aa9ed17793dd26213a4fc4bff21) Merge branch 'langchain-ai:main' into main - [`0d78b87`](https://github.com/langchain-ai/langchain-postgres/commit/0d78b876bd79ad81eb279b71f6a9e547637a808d) chore(docs): Add documentation for PGChatMessageHistory - [`cb896c7`](https://github.com/langchain-ai/langchain-postgres/commit/cb896c7f960f1bcce9ff4bff18f454f6cf079d4a) Merge pull request #2 from dishaprakash/chat-message - [`d713aa8`](https://github.com/langchain-ai/langchain-postgres/commit/d713aa8ae0624c088859514885dcda03948fb5c9) Update test_imports.py - [`7e80b4f`](https://github.com/langchain-ai/langchain-postgres/commit/7e80b4f67f0659e5490b678fd522002e9071e8f4) fix test - [`68741c8`](https://github.com/langchain-ai/langchain-postgres/commit/68741c84163da13fbe27ba9040020ed70745d8b7) review changes - [`c4c036f`](https://github.com/langchain-ai/langchain-postgres/commit/c4c036f5276862e58fe67720dc734f278048f27e) Merge branch 'main' into main ### 📊 Changes **8 files changed** (+1048 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/pg_chat_message_history.ipynb` (+314 -0) 📝 `langchain_postgres/__init__.py` (+2 -0) ➕ `langchain_postgres/v2/async_chat_message_history.py` (+181 -0) ➕ `langchain_postgres/v2/chat_message_history.py` (+129 -0) 📝 `langchain_postgres/v2/engine.py` (+98 -0) 📝 `tests/unit_tests/test_imports.py` (+1 -0) ➕ `tests/unit_tests/v2/test_async_chat_message_history.py` (+139 -0) ➕ `tests/unit_tests/v2/test_chat_message_history.py` (+184 -0) </details> ### 📄 Description feat: Adding PGChatMessageHistory along with it's documentation Not deprecating the PostgresChatMessageHistory for now (as the deprcation for PGVector has been removed). --- <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-02-16 05:17:02 -05:00
yindo closed this issue 2026-02-16 05:17:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#231