TiDB is an open-source, distributed SQL database designed for modern AI applications, offering seamless scalability, real-time analytics, and unified storage for vectors, documents, knowledge graphs, operational data and more.
🚀 Follow our Quickstart Guide to begin building your first AI application with TiDB
TiDB provide a Python SDK and a series of integrations with popular AI frameworks to help developers build AI applications efficiently.
To install the TiDB Python SDK, run the following command:
pip install pytidb
Examples:
- Getting Started: Basic Usage, Auto Embedding
- Search & Retrieval: Vector Search, Fulltext Search, Hybrid Search, Image Search
- AI Applications: RAG, Text2SQL, Memory
Integrations:
- AI Frameworks: LlamaIndex, LangChain
- ORM Libraries: SQLAlchemy, Django-ORM, Peewee
- AI Services: Bedrock
- Embedding Models/Services: JinaAI
We welcome contributions to improve the TiDB for AI documentation! For development setup, maintenance scripts, and detailed contribution guidelines, please see DEVELOPMENT.md.
- Join our Discord (recommended)
- Ask questions in our forum
- Send support tickets