mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-04 11:25:11 +00:00
- [x] Add in code examples for the chat message history class - [ ] ~Add docs with notebook examples~ (can this be done later?) - [x] Update README.md
15 lines
346 B
Python
15 lines
346 B
Python
from importlib import metadata
|
|
|
|
from langchain_postgres.chat_message_histories import PostgresChatMessageHistory
|
|
|
|
try:
|
|
__version__ = metadata.version(__package__)
|
|
except metadata.PackageNotFoundError:
|
|
# Case where package metadata is not available.
|
|
__version__ = ""
|
|
|
|
__all__ = [
|
|
"__version__",
|
|
"PostgresChatMessageHistory",
|
|
]
|