Stay organized with collections
Save and categorize content based on your preferences.
This page shows you how to install AlloyDB Omni and integrate
AlloyDB AI.
AlloyDB AI
is a suite of features included with AlloyDB Omni that let you
build enterprise generative AI applications. For more information about the
AI/ML functionality of AlloyDB, see
Build generative AI applications.
AlloyDB Omni with AlloyDB AI lets you query remote ML models to work with online predictions and text embeddings generated from ML models. AlloyDB Omni with AlloyDB AI can also process vector embeddings from other content such as an image, for example, if you use the google_ml.predict_row interface and do the translation yourself in the query.
Based on where you want to install AlloyDB Omni with AlloyDB AI, select one of the following options:
Verify AlloyDB Omni with AlloyDB AI installation
To verify your installation is successful and uses model prediction, enter the following:
In the previous query, the embedding() call generates embeddings for the input text AlloyDB AI.
array_dims returns the dimensions of the array returned by embedding().
Since the text-embedding-005 model returns an output with 768 dimensions, the output is [768].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["AlloyDB Omni includes AlloyDB AI, a suite of features for building enterprise generative AI applications."],["AlloyDB Omni with AlloyDB AI enables querying remote ML models for online predictions and text embeddings."],["You can use AlloyDB Omni with AlloyDB AI to process vector embeddings from various content types, such as images, using the `google_ml.predict_row` interface."],["Verify your AlloyDB Omni with AlloyDB AI installation by running a query that uses the `embedding()` function, which generates text embeddings and has them return an output of `[768]` array dimensions."],["AlloyDB Omni can be installed in a single-server Kubernetes GDC air-gapped environment, as shown in the following documentation."]]],[]]