[[["わかりやすい","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。"],[[["This guide demonstrates how to utilize AlloyDB as a vector database by leveraging the `vector` extension, which incorporates `pgvector` functions for storing embeddings."],["You must use the `vector` extension, specifically version `0.5.0.google-1` or later, which includes Google-optimized `pgvector` functionalities for storing embeddings as `vector` values."],["To store embeddings, create a `vector[]` column in your database table with the correct dimensions supported by your chosen model, for example, 768 for text-embedding-005."],["Embeddings can be copied to the newly created vector column using the `COPY` command from a CSV file that stores your vectors."],["After storing embeddings, you can enhance query performance by creating indexes with either the `vector` or `alloydb_scann` extension."]]],[]]