Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add optimized config in v1 API #28787

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ class StringFilter
# Numeric filter is used to search a subset of the entities by using boolean
# rules on numeric columns.
# For example:
# Database Point 0: \\{name: “a” value_int: 42} \\{name: “b” value_float: 1.0}
# Database Point 1: \\{name: “a” value_int: 10} \\{name: “b” value_float: 2.0}
# Database Point 2: \\{name: “a” value_int: -1} \\{name: “b” value_float: 3.0}
# Query: \\{name: “a” value_int: 12 operator: LESS} // Matches Point 1, 2
# \\{name: “b” value_float: 2.0 operator: EQUAL} // Matches Point 1
# Database Point 0: \\{name: "a" value_int: 42} \\{name: "b" value_float: 1.0}
# Database Point 1: \\{name: "a" value_int: 10} \\{name: "b" value_float: 2.0}
# Database Point 2: \\{name: "a" value_int: -1} \\{name: "b" value_float: 3.0}
# Query: \\{name: "a" value_int: 12 operator: LESS} // Matches Point 1, 2
# \\{name: "b" value_float: 2.0 operator: EQUAL} // Matches Point 1
# @!attribute [rw] value_int
# @return [::Integer]
# int value type.
Expand All @@ -213,7 +213,7 @@ class NumericFilter
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods

# Datapoints for which Operator is true relative to the querys Value
# Datapoints for which Operator is true relative to the query's Value
# field will be allowlisted.
module Operator
# Unspecified operator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ module V1
# contains the required configurations to create an index from source data,
# so that approximate nearest neighbor (a.k.a ANN) algorithms search can be
# performed during online serving.
# @!attribute [rw] optimized_config
# @return [::Google::Cloud::AIPlatform::V1::FeatureView::OptimizedConfig]
# Optional. Configuration for FeatureView created under Optimized
# FeatureOnlineStore.
# @!attribute [rw] service_agent_type
# @return [::Google::Cloud::AIPlatform::V1::FeatureView::ServiceAgentType]
# Optional. Service agent type used during data sync. By default, the Vertex
Expand Down Expand Up @@ -263,6 +267,19 @@ class VertexRagSource
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Configuration for FeatureViews created in Optimized FeatureOnlineStore.
# @!attribute [rw] automatic_resources
# @return [::Google::Cloud::AIPlatform::V1::AutomaticResources]
# Optional. A description of resources that the FeatureView uses, which to
# large degree are decided by Vertex AI, and optionally allows only a
# modest additional configuration. If min_replica_count is not set, the
# default value is 2. If max_replica_count is not set, the default value
# is 6. The max allowed replica count is 1000.
class OptimizedConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# @!attribute [rw] key
# @return [::String]
# @!attribute [rw] value
Expand Down
Loading