--- id: 'ai' title: 'AI & Vectors' description: 'The best vector database is the database you already have.' subtitle: 'The best vector database is the database you already have.' hideToc: true tocVideo: 6xchFWcHkaI --- Supabase provides an open-source toolkit for developing AI applications using Postgres and pgvector. Use the Supabase client libraries to store, index, and query your vector embeddings at scale. The toolkit includes: - A [vector store](/docs/guides/ai/vector-columns) and embeddings support using Postgres and [pgvector](/docs/guides/database/extensions/pgvector). - A [Python client](/docs/guides/ai/vecs-python-client) for managing unstructured embeddings. - An [embedding generation](/docs/guides/ai/quickstarts/generate-text-embeddings) process using open source models directly in Edge Functions. - [Database migrations](/docs/guides/ai/examples/headless-vector-search#prepare-your-database) for managing structured embeddings. - Integrations with all popular AI providers, such as [OpenAI](/docs/guides/ai/examples/openai), [Hugging Face](/docs/guides/ai/hugging-face), [LangChain](/docs/guides/ai/langchain), and more. ## Search You can use Supabase to build different types of search features for your app, including: - [Semantic search](/docs/guides/ai/semantic-search): search by meaning rather than exact keywords - [Keyword search](/docs/guides/ai/keyword-search): search by words or phrases - [Hybrid search](/docs/guides/ai/hybrid-search): combine semantic search with keyword search ## Examples Check out all of the AI [templates and examples](https://github.com/supabase/supabase/tree/master/examples/ai) in our GitHub repository. {/* */}