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-04-12 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 install AlloyDB Omni with AlloyDB AI on a single-server Kubernetes GDC air-gapped setup."],["Installation verification involves creating the `google_ml_integration` extension and using the `embedding()` function to test model predictions."],["The `embedding()` function generates vector embeddings for input text, with the output array dimensions reflecting the model's specifications, like `text-embedding-005` returning 768 dimensions."]]],[]]