Skip to main content

Setup

Run SingleStore with Docker:
Create the database:
Then set the environment variables:
SingleStore supports both cloud-based and local deployments. For cloud setup, see the SingleStore Setup Guide.

Example

agent_with_knowledge.py

Async Support ⚡

SingleStore also supports asynchronous operations, enabling concurrency and leading to better performance.

async_singlestore_db.py
Use ainsert() and aprint_response() methods with asyncio.run() for non-blocking operations in high-throughput applications.

SingleStore Params