You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/tests/unit_tests
Daniel Chalef c7f7788d0b
Add ZepMemory; improve ZepChatMessageHistory handling of metadata; Fix bugs (#7444)
Hey @hwchase17 - 

This PR adds a `ZepMemory` class, improves handling of Zep's message
metadata, and makes it easier for folks building custom chains to
persist metadata alongside their chat history.

We've had plenty confused users unfamiliar with ChatMessageHistory
classes and how to wrap the `ZepChatMessageHistory` in a
`ConversationBufferMemory`. So we've created the `ZepMemory` class as a
light wrapper for `ZepChatMessageHistory`.

Details:
- add ZepMemory, modify notebook to demo use of ZepMemory
- Modify summary to be SystemMessage
- add metadata argument to add_message; add Zep metadata to
Message.additional_kwargs
- support passing in metadata
1 year ago
..
agents Add `OpenAIMultiFunctionsAgent` to import list in agents directory (#6824) 1 year ago
callbacks Make Ref Example Threadsafe (#7383) 1 year ago
chains Docs combine document chain (#6994) 1 year ago
chat_models Harrison/split schema dir (#7025) 1 year ago
client Base language model docstrings (#7104) 1 year ago
data Prompt from file proof of concept using plain text (#127) 2 years ago
docstore Enable InMemoryDocstore to be constructed without providing a dict (#6976) 1 year ago
document_loaders Document loader for Cube Semantic Layer (#6882) 1 year ago
evaluation Add String Distance and Embedding Evaluators (#7123) 1 year ago
examples Doc refactor (#6300) 1 year ago
llms Harrison/split schema dir (#7025) 1 year ago
load Include placeholder value for all secrets, not just kwargs (#6421) 1 year ago
memory Add ZepMemory; improve ZepChatMessageHistory handling of metadata; Fix bugs (#7444) 1 year ago
output_parsers Re-use Trajectory Evaluator (#7248) 1 year ago
prompts Jinja2 validation changed to issue warnings rather than issuing exceptions. (#7161) 1 year ago
retrievers Add serialized object to retriever start callback (#7074) 1 year ago
tools Fix: Recognize `List` at `from_function` (#7178) 1 year ago
utilities Fix graphql tool (#4984) 1 year ago
vectorstores Add maximal relevance search to SKLearnVectorStore (#5430) 1 year ago
__init__.py initial commit 2 years ago
conftest.py Add pytest --only-extended and --only-core options (#4494) 1 year ago
test_bash.py Add Mastodon toots loader (#5036) 1 year ago
test_cache.py Unset Cache in Tests (#7362) 1 year ago
test_dependencies.py Docs combine document chain (#6994) 1 year ago
test_document_transformers.py Contextual compression retriever (#2915) 1 year ago
test_formatting.py initial commit 2 years ago
test_math_utils.py add get_top_k_cosine_similarity method to get max top k score and index (#5059) 1 year ago
test_pytest_config.py Block sockets for unit-tests (#4803) 1 year ago
test_python.py option for csv agent to not include df in prompt (#4610) 1 year ago
test_schema.py Harrison/split schema dir (#7025) 1 year ago
test_sql_database.py Fix SQLAlchemy truncating text when it is too big (#5206) 1 year ago
test_sql_database_schema.py Suppress duckdb warning in unit tests explicitly (#3653) 1 year ago
test_text_splitter.py Fix inconsistent behavior of `CharacterTextSplitter` when changing `keep_separator` (#7263) 1 year ago
test_utils.py Refac package version check (#7312) 1 year ago