Class ScaNNIndex (0.5.0)

ScaNNIndex(name: Optional[str] = None, index_type: str = 'ScaNN', distance_strategy: langchain_google_alloydb_pg.indexes.DistanceStrategy = <factory>, partial_indexes: Optional[List[str]] = None, num_leaves: int = 5)

ScaNNIndex(name: Optional[str] = None, index_type: str = 'ScaNN', distance_strategy: langchain_google_alloydb_pg.indexes.DistanceStrategy =

Methods

index_options

index_options() -> str

Set index query options for vector store initialization.