How does it work?
ThanoSQL combines traditional relational databases with advanced AI models and vector databases. It provides a seamless interface for interacting with data, generating insights, and leveraging the power of large language models (LLMs). The following diagram illustrates the core components of ThanoSQL and how they work together:
Interface
ThanoSQL provides two primary interfaces for interacting with the platform:- REST API: A RESTful API that allows developers to integrate ThanoSQL functionality into their applications programmatically.
- SDK: A software development kit that provides a convenient and easy-to-use interface for interacting with ThanoSQL from various programming languages.
ThanoSQL Functions
At the core of ThanoSQL are three main functions that enable seamless integration of language models with traditional databases:thanosql.generate()
Generate text based on a given input using a pre-trained text generation model.
thanosql.embed()
Generate embeddings for given input data using a pre-trained model.
thanosql.predict()
Perform various prediction tasks using pre-trained models.
Web Apps
ThanoSQL provides web applications for managing and interacting with the platform:- Query Manager: A user-friendly interface for writing queries, executing them against the database, and retrieving results.
- Lab: An interactive environment for data exploration, AI/ML modeling, and application development, based on Jupyter Lab.
- File Manager: A tool for managing and uploading data files to the ThanoSQL Workspace.
Database
ThanoSQL utilizes two types of databases to store and manage data:- Relational Database (RDB): A traditional relational database for storing structured data in tables.
- Vector Database: A specialized database for storing and indexing dense vector representations of textual data, enabling efficient similarity search and retrieval.
Models
ThanoSQL supports the use of pre-built models as well as LLMs (Large Language Models):- Pre-built Models: ThanoSQL provides access to pre-trained models for various tasks.
- LLMs: Users can integrate their own custom-trained large language models into the ThanoSQL platform, enabling specialized and domain-specific language model capabilities.