Skip to main content

Documentation Index

Fetch the complete documentation index at: https://arivu.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Arivu ships with a robust and modular Memory System that provides context to the AI agents orchestrating Text-to-SQL logic. Memory allows Arivu to understand user references to prior messages, queries, or database tables.

Quick Storage Comparison

FeatureSQLiteRedis
SetupZero configRequires server
PerformanceFast locallyVery fast (in-memory)
DeploymentSingle machineDistributed
ScalingLimitedExcellent
Best forDevelopmentProduction

Built-in Storage Backends

SQLite (Local)

File-based local persistent memory. Great for simple setups, local development, and small applications.

Redis (Remote)

In-memory data structure store. Optimized for distributed architectures, production deployments, and horizontal scaling.

Sessions & Threads

Memory in Arivu operates on the concept of Sessions (also known as threads). Every conversation is pinned to a unique session_id, meaning subsequent inputs within the same session will maintain context over table schemas, previously selected rows, and prior conversational turns automatically.