Philippe PRADOS
Philippe PRADOS
The constructor of `PostgresChatMessageHistory` accepts only sync or async connection, and not an Engine. First, the connection was open in get_session_history, and pending during the life cycle of `RunnableWithMessageHistory`. So,...
Langchain offers two Markdown splitter implementations: - MarkdownTextSplitter - MarkdownHeaderTextSplitter The `MarkdownHeaderTextSplitter` class is not langchain compliant, since it inherits from anyone. It is not possible to use in a...
The `MongoDBStore` can manage only documents. It's not possible to use MongoDB for an `CacheBackedEmbeddings`. With this new implementation, it's possible to use: ```python CacheBackedEmbeddings.from_bytes_store( underlying_embeddings=embeddings, document_embedding_cache=MongoDBByteStore( connection_string=db_uri, db_name=db_name, collection_name=collection_name,...