Zep sdk version (#5267)

zep-python's sync methods no longer need an asyncio wrapper. This was
causing issues with FastAPI deployment.
Zep also now supports putting and getting of arbitrary message metadata.

Bump zep-python version to v0.30

Remove nest-asyncio from Zep example notebooks.

Modify tests to include metadata.

---------

Co-authored-by: Daniel Chalef <daniel.chalef@private.org>
Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com>
This commit is contained in:
Davis Chase
2023-05-25 13:42:10 -07:00
committed by GitHub
parent 5525602df0
commit ca88b25da6
5 changed files with 65 additions and 126 deletions

View File

@@ -30,8 +30,8 @@ def test_messages(mocker: MockerFixture, zep_chat: ZepChatMessageHistory) -> Non
content="summary",
),
messages=[
Message(content="message", role="ai"),
Message(content="message2", role="human"),
Message(content="message", role="ai", metadata={"key": "value"}),
Message(content="message2", role="human", metadata={"key2": "value2"}),
],
)
zep_chat.zep_client.get_memory.return_value = mock_memory # type: ignore