For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

API Reference

The langchain-mariadb API reference covers four modules: vector stores, chat message history, expression filters, and translator for natural language to SQL conversion.

MariaDBStore provides a LangChain-compatible vector store backed by MariaDB, supporting similarity search, metadata filtering, and maximal marginal relevance retrieval.

MariaDBChatMessageHistory persists LangChain conversation history to a MariaDB database table, providing methods to add, retrieve, and clear messages per session.

Expression filter reference for langchain-mariadb, documenting the operator enum, filter builder classes, and MariaDBFilterExpressionConverter for metadata-based vector queries.

MariaDBTranslator converts LangChain internal query language operations and comparisons into valid MariaDB filter dictionaries for use with structured vector store queries.

This page is: Copyright © 2026 MariaDB. All rights reserved.

Last updated

Was this helpful?