pub struct GoogleCloudAiplatformV1beta1FeatureViewIndexConfig {
pub embedding_dimension: Option<i32>,
pub distance_measure_type: Option<String>,
pub brute_force_config: Option<GoogleCloudAiplatformV1beta1FeatureViewIndexConfigBruteForceConfig>,
pub crowding_column: Option<String>,
pub filter_columns: Option<Vec<String>>,
pub embedding_column: Option<String>,
pub tree_ah_config: Option<GoogleCloudAiplatformV1beta1FeatureViewIndexConfigTreeAHConfig>,
}Expand description
Configuration for vector indexing.
This type is not used in any activity, and only used as part of another schema.
Fields§
§embedding_dimension: Option<i32>Optional. The number of dimensions of the input embedding.
distance_measure_type: Option<String>Optional. The distance measure used in nearest neighbor search.
brute_force_config: Option<GoogleCloudAiplatformV1beta1FeatureViewIndexConfigBruteForceConfig>Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search.
crowding_column: Option<String>Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by FeatureOnlineStoreService.SearchNearestEntities to diversify search results. If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in SearchNearestEntitiesRequest, it’s guaranteed that no more than K entities of the same crowding attribute are returned in the response.
filter_columns: Option<Vec<String>>Optional. Columns of features that’re used to filter vector search results.
embedding_column: Option<String>Optional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search.
tree_ah_config: Option<GoogleCloudAiplatformV1beta1FeatureViewIndexConfigTreeAHConfig>Optional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
impl Clone for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
Source§fn clone(&self) -> GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
fn clone(&self) -> GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
impl Default for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
Source§fn default() -> GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
fn default() -> GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
impl RefUnwindSafe for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
impl Send for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
impl Sync for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
impl Unpin for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
impl UnwindSafe for GoogleCloudAiplatformV1beta1FeatureViewIndexConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more