|
| 1 | +# TiDB for AI |
| 2 | + |
| 3 | +> TiDB is a distributed SQL database designed for modern AI applications, offering integrated vector search, full-text search, and hybrid search capabilities. This document provides an overview of the AI features and tools available for building AI-powered applications with TiDB. |
| 4 | + |
| 5 | +## QUICK START |
| 6 | + |
| 7 | +- [Get Started via Python](https://docs.pingcap.com/ai/quickstart-via-python.md): Learn how to get started with vector search in TiDB using Python SDK. |
| 8 | +- [Get Started via SQL](https://docs.pingcap.com/ai/quickstart-via-sql.md): Learn how to quickly get started with Vector Search in TiDB using SQL statements to power your generative AI applications. |
| 9 | + |
| 10 | +## CONCEPTS |
| 11 | + |
| 12 | +- [Vector Search](https://docs.pingcap.com/ai/vector-search-overview.md): Learn about Vector Search in TiDB. This feature provides an advanced search solution for performing semantic similarity searches across various data types, including documents, images, audio, and video. |
| 13 | + |
| 14 | +## GUIDES |
| 15 | + |
| 16 | +- [Connect to TiDB](https://docs.pingcap.com/ai/connect.md): Learn how to connect to a TiDB database using the `pytidb` client. |
| 17 | +- [Working with Tables](https://docs.pingcap.com/ai/tables.md): Learn how to work with tables in TiDB. |
| 18 | +- Search Features |
| 19 | + - [Vector Search](https://docs.pingcap.com/ai/vector-search.md): Learn how to use vector search in your application. |
| 20 | + - Full-Text Search |
| 21 | + - [Full-Text Search via Python](https://docs.pingcap.com/ai/vector-search-full-text-search-python.md): Full-text search lets you retrieve documents for exact keywords. In Retrieval-Augmented Generation (RAG) scenarios, you can use full-text search together with vector search to improve the retrieval quality. |
| 22 | + - [Full-Text Search via SQL](https://docs.pingcap.com/ai/vector-search-full-text-search-sql.md): Full-text search lets you retrieve documents for exact keywords. In Retrieval-Augmented Generation (RAG) scenarios, you can use full-text search together with vector search to improve the retrieval quality. |
| 23 | + - [Hybrid Search](https://docs.pingcap.com/ai/vector-search-hybrid-search.md): Use full-text search and vector search together to improve the retrieval quality. |
| 24 | + - [Image Search](https://docs.pingcap.com/ai/image-search.md): Learn how to use image search in your application. |
| 25 | +- Advanced Features |
| 26 | + - [Auto Embedding](https://docs.pingcap.com/ai/auto-embedding.md): Learn how to use auto embedding in your application. |
| 27 | + - [Filtering](https://docs.pingcap.com/ai/filtering.md): Learn how to use filtering in your application. |
| 28 | + - [Reranking](https://docs.pingcap.com/ai/reranking.md): Learn how to use reranking in your application. |
| 29 | + - [Join Queries](https://docs.pingcap.com/ai/join-queries.md): Learn how to use multiple table joins in your application. |
| 30 | + - [Raw SQL Queries](https://docs.pingcap.com/ai/raw-queries.md): Learn how to use raw queries in your application. |
| 31 | + - [Transactions](https://docs.pingcap.com/ai/transactions.md): Learn how to use transactions in your application. |
| 32 | + |
| 33 | +## EXAMPLES |
| 34 | + |
| 35 | +- [Basic CRUD Operations](https://docs.pingcap.com/ai/basic-with-pytidb.md): Learn fundamental `pytidb` operations including database connection, table creation, and data manipulation. |
| 36 | +- [Auto Embedding](https://docs.pingcap.com/ai/auto-embedding-with-pytidb.md): Automatically generate embeddings for your text data using built-in embedding models. |
| 37 | +- Search & Retrieval |
| 38 | + - [Vector Search](https://docs.pingcap.com/ai/vector-search-with-pytidb.md): Implement semantic search using vector embeddings to find similar content. |
| 39 | + - [Full-Text Search](https://docs.pingcap.com/ai/fulltext-search-with-pytidb.md): Perform traditional text search using TiDB full-text search. |
| 40 | + - [Hybrid Search](https://docs.pingcap.com/ai/hybrid-search-with-pytidb.md): Combine vector search and full-text search for more comprehensive results. |
| 41 | + - [Image Search](https://docs.pingcap.com/ai/image-search-with-pytidb.md): Build an image search application using multimodal embeddings for both text-to-image and image-to-image search. |
| 42 | +- AI Applications |
| 43 | + - [RAG Application](https://docs.pingcap.com/ai/rag-with-pytidb.md): Build a RAG application that combines document retrieval with language generation. |
| 44 | + - [Conversational Memory](https://docs.pingcap.com/ai/memory-with-pytidb.md): Implement conversation memory for chatbots and conversational AI applications. |
| 45 | + - [Text-to-SQL](https://docs.pingcap.com/ai/text2sql-with-pytidb.md): Convert natural language queries into SQL statements using AI models. |
| 46 | + |
| 47 | +## INTEGRATIONS |
| 48 | + |
| 49 | +- [Integration Overview](https://docs.pingcap.com/ai/vector-search-integration-overview.md): An overview of TiDB vector search integration, including supported AI frameworks, embedding models, and ORM libraries. |
| 50 | +- Auto Embedding |
| 51 | + - [Overview](https://docs.pingcap.com/ai/vector-search-auto-embedding-overview.md): Learn how to use Auto Embedding to perform semantic searches with plain text instead of vectors. |
| 52 | + - [OpenAI](https://docs.pingcap.com/ai/vector-search-auto-embedding-openai.md): Learn how to use OpenAI embedding models in TiDB Cloud. |
| 53 | + - [OpenAI Compatible](https://docs.pingcap.com/ai/embedding-openai-compatible.md): Learn how to integrate TiDB Vector Search with an OpenAI-compatible embedding model to store embeddings and perform semantic search. |
| 54 | + - [Jina AI](https://docs.pingcap.com/ai/vector-search-auto-embedding-jina-ai.md): Learn how to use Jina AI embedding models in TiDB Cloud. |
| 55 | + - [Cohere](https://docs.pingcap.com/ai/vector-search-auto-embedding-cohere.md): Learn how to use Cohere embedding models in TiDB Cloud. |
| 56 | + - [Google Gemini](https://docs.pingcap.com/ai/vector-search-auto-embedding-gemini.md): Learn how to use Google Gemini embedding models in TiDB Cloud. |
| 57 | + - [Hugging Face](https://docs.pingcap.com/ai/vector-search-auto-embedding-huggingface.md): Learn how to use Hugging Face embedding models in TiDB Cloud. |
| 58 | + - [NVIDIA NIM](https://docs.pingcap.com/ai/vector-search-auto-embedding-nvidia-nim.md): Learn how to use NVIDIA NIM embedding models in TiDB Cloud. |
| 59 | + - [Amazon Titan](https://docs.pingcap.com/ai/vector-search-auto-embedding-amazon-titan.md): Learn how to use Amazon Titan embedding models in TiDB Cloud. |
| 60 | +- AI Frameworks |
| 61 | + - [LangChain](https://docs.pingcap.com/ai/vector-search-integrate-with-langchain.md): Learn how to integrate TiDB Vector Search with LangChain. |
| 62 | + - [LlamaIndex](https://docs.pingcap.com/ai/vector-search-integrate-with-llamaindex.md): Learn how to integrate TiDB Vector Search with LlamaIndex. |
| 63 | +- ORM Libraries |
| 64 | + - [SQLAlchemy](https://docs.pingcap.com/ai/vector-search-integrate-with-sqlalchemy.md): Learn how to integrate TiDB Vector Search with SQLAlchemy to store embeddings and perform semantic searches. |
| 65 | + - [Django ORM](https://docs.pingcap.com/ai/vector-search-integrate-with-django-orm.md): Learn how to integrate TiDB Vector Search with Django ORM to store embeddings and perform semantic search. |
| 66 | + - [Peewee](https://docs.pingcap.com/ai/vector-search-integrate-with-peewee.md): Learn how to integrate TiDB Vector Search with peewee to store embeddings and perform semantic searches. |
| 67 | +- Cloud Services |
| 68 | + - [Jina AI Embedding](https://docs.pingcap.com/ai/vector-search-integrate-with-jinaai-embedding.md): Learn how to integrate TiDB Vector Search with Jina AI Embeddings API to store embeddings and perform semantic search. |
| 69 | + - [Amazon Bedrock](https://docs.pingcap.com/ai/vector-search-integrate-with-amazon-bedrock.md): Learn how to integrate TiDB Vector Search with Amazon Bedrock to build a Retrieval-Augmented Generation (RAG) Q&A bot. |
| 70 | +- MCP Server |
| 71 | + - [Overview](https://docs.pingcap.com/ai/tidb-mcp-server.md): Manage your TiDB databases using natural language instructions with the TiDB MCP Server. |
| 72 | + - [Claude Code](https://docs.pingcap.com/ai/tidb-mcp-claude-code.md): This guide shows you how to configure the TiDB MCP Server in Claude Code. |
| 73 | + - [Claude Desktop](https://docs.pingcap.com/ai/tidb-mcp-claude-desktop.md): This guide shows you how to configure the TiDB MCP Server in Claude Desktop. |
| 74 | + - [Cursor](https://docs.pingcap.com/ai/tidb-mcp-cursor.md): This guide shows you how to configure the TiDB MCP Server in the Cursor editor. |
| 75 | + - [VS Code](https://docs.pingcap.com/ai/tidb-mcp-vscode.md): This guide shows you how to configure the TiDB MCP Server in Visual Studio Code. |
| 76 | + - [Windsurf](https://docs.pingcap.com/ai/tidb-mcp-windsurf.md): This guide shows you how to configure the TiDB MCP Server in Windsurf. |
| 77 | + |
| 78 | +## REFERENCE |
| 79 | + |
| 80 | +- [Vector Data Types](https://docs.pingcap.com/ai/vector-search-data-types.md): Learn about the Vector data types in TiDB. |
| 81 | +- [Functions and Operators](https://docs.pingcap.com/ai/vector-search-functions-and-operators.md): Learn about functions and operators available for Vector data types. |
| 82 | +- [Vector Search Index](https://docs.pingcap.com/ai/vector-search-index.md): Learn how to build and use the vector search index to accelerate K-Nearest neighbors (KNN) queries in TiDB. |
| 83 | +- [Performance Tuning](https://docs.pingcap.com/ai/vector-search-improve-performance.md): Learn best practices for improving the performance of TiDB Vector Search. |
| 84 | +- [Limitations](https://docs.pingcap.com/ai/vector-search-limitations.md): Learn the limitations of the TiDB vector search. |
| 85 | +- [Changelogs](https://docs.pingcap.com/ai/vector-search-changelogs.md): Learn about the new features, compatibility changes, improvements, and bug fixes for the TiDB vector search feature. |
0 commit comments