SQL (SQLAlchemy)
Structured Query Language (SQL) is a domain-specific language used in programming and designed for managing data held in a relational database management system (RDBMS), or for stream processing in a relational data stream management system (RDSMS). It is particularly useful in handling structured data, i.e., data incorporating relations among entities and variables.
SQLAlchemy is an open-source
SQLtoolkit and object-relational mapper (ORM) for the Python programming language released under the MIT License.
This notebook goes over a SQLChatMessageHistory class that allows to store chat history in any database supported by SQLAlchemy.
Please note that to use it with databases other than SQLite, you will need to install the corresponding database driver.