Learn about generative AI, vector search, and LangChain integration in Google Cloud databases. Read the blog.

Jump to
AlloyDB AI

AlloyDB AI

Build enterprise generative AI apps with AlloyDB for PostgreSQL.

  • Familiar PostgreSQL interface for working with vectors, models, and data

  • Provides up-to-date data and contextual experiences for gen AI apps

  • Built into AlloyDB for superior performance, availability, and simplified management

  • Available in AlloyDB on Google Cloud and in AlloyDB Omni, so you can run it anywhere

Benefits

PostgreSQL-based generative AI apps

Build generative AI applications with the familiar PostgreSQL interface and open, standard technologies like pgvector and LangChain.

High-performance vector operations

Run vector queries up to 10x faster compared to standard PostgreSQL, and generate vector embeddings from within your database.

State-of-the-art gen AI models

Run models in Vertex AI and access them in your application using familiar SQL queries. Use Google models, such as Gemini, or your own custom models.

Key features

Key features

Fast, pgvector-compatible vector search

AlloyDB AI runs vector queries up to 10x faster compared to standard PostgreSQL. It supports 8-bit quantization for a 3x reduction in index size when enabled, and offers vectors with 4x more dimensions when enabled. Your apps can perform fast similarity searches on complex data types such as text and images, using ANN (approximate nearest neighbor) or KNN (exact k-nearest neighbor) algorithms.

Vector embeddings within the database

Automated embeddings generation helps you easily transform operational data, including text and images, into vector embeddings using the AI model of your choice. Store embeddings in AlloyDB and query them with a SQL interface.

Access to local or remote models and data

Access both local models in AlloyDB and remote models hosted in Vertex AI, including custom and pretrained models. You can train and fine-tune models with the data stored in AlloyDB and then deploy them as endpoints on Vertex AI.

LangChain integration

Easily build gen AI applications that are more accurate, transparent, and reliable with LangChain integration. Use Document Loaders for loading and storing information from documents, Vector Stores for enabling semantic search, and Chat Messages History for enabling chains to recall previous conversations.

Enterprise-level scalability, availability, and security

As part of AlloyDB, AlloyDB AI benefits from the best of Google and the best of PostgreSQL. Give your application superior performance and scale, a high availability SLA of 99.99% that's inclusive of maintenance, automatic detection of and recovery from most database failures, and comprehensive security and compliance.

Pricing

Pricing

AlloyDB AI is an integral part of AlloyDB and AlloyDB Omni, and is available at no additional charge.

If you choose to run additional services, such as Vertex AI, you will be charged for those services separately.

Take the next step

Start building on Google Cloud with $300 in free credits and 20+ always free products.

Google Cloud
  • ‪English‬
  • ‪Deutsch‬
  • ‪Español‬
  • ‪Español (Latinoamérica)‬
  • ‪Français‬
  • ‪Indonesia‬
  • ‪Italiano‬
  • ‪Português (Brasil)‬
  • ‪简体中文‬
  • ‪繁體中文‬
  • ‪日本語‬
  • ‪한국어‬
Console
Google Cloud