forked from feast-dev/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPrecomputedFeatureVector.proto
More file actions
31 lines (24 loc) · 1.09 KB
/
PrecomputedFeatureVector.proto
File metadata and controls
31 lines (24 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
syntax = "proto3";
package feast.core;
option go_package = "github.com/feast-dev/feast/go/protos/feast/core";
option java_outer_classname = "PrecomputedFeatureVectorProto";
option java_package = "feast.proto.core";
import "google/protobuf/timestamp.proto";
import "feast/types/Value.proto";
// A pre-computed feature vector stores all features for a FeatureService
// as a single serialized blob per entity, enabling O(1) online retrieval.
message PrecomputedFeatureVector {
// Fully-qualified feature names in deterministic order, e.g. "fv1__feat1".
repeated string feature_names = 1;
// Feature values in the same order as feature_names.
repeated feast.types.Value values = 2;
// Per-feature-view event timestamps for TTL enforcement at read time.
repeated FeatureViewTimestamp fv_timestamps = 3;
// Wall-clock time when this vector was assembled.
google.protobuf.Timestamp precomputed_at = 4;
}
// Event timestamp associated with a specific feature view within the vector.
message FeatureViewTimestamp {
string feature_view_name = 1;
google.protobuf.Timestamp event_timestamp = 2;
}