Uses of Enum Class
com.google.genkit.plugins.postgresql.PostgresTableConfig.DistanceStrategy
Packages that use PostgresTableConfig.DistanceStrategy
Package
Description
PostgreSQL plugin for Genkit providing vector database integration using
pgvector extension.
-
Uses of PostgresTableConfig.DistanceStrategy in com.google.genkit.plugins.postgresql
Methods in com.google.genkit.plugins.postgresql that return PostgresTableConfig.DistanceStrategyModifier and TypeMethodDescriptionPostgresTableConfig.getDistanceStrategy()Gets the distance strategy for similarity search.Returns the enum constant of this class with the specified name.static PostgresTableConfig.DistanceStrategy[]PostgresTableConfig.DistanceStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.genkit.plugins.postgresql with parameters of type PostgresTableConfig.DistanceStrategyModifier and TypeMethodDescriptionPostgresTableConfig.Builder.distanceStrategy(PostgresTableConfig.DistanceStrategy distanceStrategy) Sets the distance strategy (default: COSINE).