Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Esta página descreve como usar embeddings armazenados para gerar índices e consultar embeddings usando índices ScaNN, IVF, IVFFlat e HNSW com o AlloyDB para PostgreSQL.
Para mais informações sobre como armazenar embeddings, consulte
Armazenar embeddings de vetor.
Antes de começar
Antes de começar a criar índices, conclua os seguintes
pré-requisitos.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-04-21 UTC."],[[["This page guides you on creating and querying indexes using stored embeddings with `ScaNN`, `IVF`, `IVFFlat`, and `HNSW` indexes in AlloyDB for PostgreSQL."],["Prerequisites include having embedding vectors in an AlloyDB table and installing the `vector` extension version `0.5.0` or later."],["The `alloydb_scann` extension, compatible with PostgreSQL 14 and 15, must also be installed to create `ScaNN` indexes."],["You can create various index types, such as `ScaNN`, `IVF`, `IVFFlat`, and `HNSW`, but remember that index names are shared across the database."]]],[]]