このページでは、AlloyDB Omni をインストールして AlloyDB AI を統合する方法について説明します。
AlloyDB AI は、エンタープライズ生成 AI アプリケーションを構築できる AlloyDB Omni に含まれる一連の機能です。AlloyDB の AI / ML 機能の詳細については、生成 AI アプリケーションを作成するをご覧ください。
AlloyDB Omni で AlloyDB AI を使用すると、リモート ML モデルをクエリして、ML モデルから生成されたオンライン予測とテキスト エンベディングを操作できます。また、google_ml.predict_row インターフェースを使用してクエリ内で変換を行うなど、画像などの他のコンテンツからベクトル エンベディングを処理することもできます。
AlloyDB Omni と AlloyDB AI をインストールする場所に応じて、次のいずれかのオプションを選択します。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-05-01 UTC。"],[[["AlloyDB Omni with AlloyDB AI enables users to build enterprise generative AI applications and query remote ML models."],["AlloyDB AI, a feature suite within AlloyDB Omni, allows for online predictions and the generation of text embeddings from ML models."],["AlloyDB Omni can process vector embeddings from diverse content like images, using the `google_ml.predict_row` interface."],["A successful installation of AlloyDB Omni with AlloyDB AI can be verified by running a query that uses the `embedding()` function to generate text embeddings, using the `CREATE EXTENSION IF NOT EXISTS google_ml_integration CASCADE;` command."],["The example query, `SELECT array_dims(embedding('text-embedding-005', 'AlloyDB AI')::real[]);`, shows how to use the `embedding()` function to get vector dimensions for text inputs."]]],[]]