AsyncMongoDb class.
Usage
Install thepymongo (4.9 or later, for the async client) and openai packages:
motor clients are also supported, but motor is deprecated. Use PyMongo’s async client instead.async_mongodb_for_agent.py
Use MongoDB asynchronously for agent session storage.
AsyncMongoDb class.
pymongo (4.9 or later, for the async client) and openai packages:
motor clients are also supported, but motor is deprecated. Use PyMongo’s async client instead.