mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #203] [CLOSED] feat: Adding PGChatMessageHistory #231
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langchain-postgres/pull/203
Author: @dishaprakash
Created: 4/25/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (10+)
56f76e4feat: Add PGChatMessageHistorya4846f3Add incorrect schema testeddc6efMerge pull request #1 from dishaprakash/chat-messagef62eaabMerge branch 'langchain-ai:main' into main0d78b87chore(docs): Add documentation for PGChatMessageHistorycb896c7Merge pull request #2 from dishaprakash/chat-messaged713aa8Update test_imports.py7e80b4ffix test68741c8review changesc4c036fMerge 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.