pub struct GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig {
pub embedding_dimension: Option<i32>,
pub crowding_column: Option<String>,
pub distance_measure_type: Option<String>,
pub tree_ah_config: Option<GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigTreeAHConfig>,
pub filter_columns: Option<Vec<String>>,
pub brute_force_config: Option<GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigBruteForceConfig>,
pub embedding_column: Option<String>,
}Expand description
Deprecated. Use IndexConfig instead.
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.
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.
distance_measure_type: Option<String>Optional. The distance measure used in nearest neighbor search.
tree_ah_config: Option<GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigTreeAHConfig>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
filter_columns: Option<Vec<String>>Optional. Columns of features that’re used to filter vector search results.
brute_force_config: Option<GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigBruteForceConfig>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.
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.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
impl Clone for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
Source§fn clone(&self) -> GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
fn clone(&self) -> GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
impl Default for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
Source§fn default() -> GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
fn default() -> GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
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 GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
impl RefUnwindSafe for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
impl Send for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
impl Sync for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
impl Unpin for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
impl UnwindSafe for GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
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