langchain
168e9ed3 - partners: add custom options to MongoDBChatMessageHistory (#22944)

Commit
1 year ago
partners: add custom options to MongoDBChatMessageHistory (#22944) **Description:** Adds options for configuring MongoDBChatMessageHistory (no breaking changes): - session_id_key: name of the field that stores the session id - history_key: name of the field that stores the chat history - create_index: whether to create an index on the session id field - index_kwargs: additional keyword arguments to pass to the index creation **Discussion:** https://github.com/langchain-ai/langchain/discussions/22918 **Twitter handle:** @userlerueda --------- Co-authored-by: Jib <Jibzade@gmail.com> Co-authored-by: Eugene Yurtsev <eugene@langchain.dev>
Author
Parents
Loading