Context Storages#

chatsky.context_storages.ydb

The Yandex DB module provides a version of the DBContextStorage class that designed to work with Yandex and other databases. Yandex DataBase is a fully-managed cloud-native SQL service that makes it easy to set up, operate, and scale high-performance and high-availability databases for your applications.

chatsky.context_storages.database

The Database module provides classes for managing the context storage of a dialog system. The module can be used to store information such as the current state of the conversation and other data. This module includes the intermediate class (DBContextStorage) is a class that developers can inherit from in order to create their own context storage solutions. This class implements the basic functionality and can be extended to add additional features as needed.

chatsky.context_storages.mongo

The Mongo module provides a MongoDB-based version of the DBContextStorage class. This class is used to store and retrieve context data in a MongoDB. It allows Chatsky to easily store and retrieve context data in a format that is highly scalable and easy to work with.

chatsky.context_storages.shelve

The Shelve module provides a shelve-based version of the DBContextStorage class. This class is used to store and retrieve context data in a shelve format. It allows Chatsky to easily store and retrieve context data in a format that is efficient for serialization and deserialization and can be easily used in python.

chatsky.context_storages.redis

The Redis module provides a Redis-based version of the DBContextStorage class. This class is used to store and retrieve context data in a Redis. It allows Chatsky to easily store and retrieve context data in a format that is highly scalable and easy to work with.

chatsky.context_storages.protocol

The Protocol module contains the base code for the different communication protocols used in Chatsky. It defines the PROTOCOLS constant, which lists all the supported protocols in Chatsky.

chatsky.context_storages.sql

The SQL module provides a SQL-based version of the DBContextStorage class. This class is used to store and retrieve context data from SQL databases. It allows Chatsky to easily store and retrieve context data in a format that is highly scalable and easy to work with.

chatsky.context_storages.json

The JSON module provides a json-based version of the DBContextStorage class. This class is used to store and retrieve context data in a JSON. It allows Chatsky to easily store and retrieve context data.

chatsky.context_storages.pickle

The Pickle module provides a pickle-based version of the DBContextStorage class. This class is used to store and retrieve context data in a pickle format. It allows Chatsky to easily store and retrieve context data in a format that is efficient for serialization and deserialization and can be easily used in python.