You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add mode field to Transformation proto for proper serialization ([2390d2e](https://github.com/feast-dev/feast/commit/2390d2ea654e299fc74f697212542b755f3b4938))
9
+
* Date wise remote offline store historical data retrieval ([#5686](https://github.com/feast-dev/feast/issues/5686)) ([949ba3d](https://github.com/feast-dev/feast/commit/949ba3dae420f82f493018113d1fd6de9e130a56))
10
+
* Fix STRING type handling in on-demand feature views ([#5669](https://github.com/feast-dev/feast/issues/5669)) ([dfbb743](https://github.com/feast-dev/feast/commit/dfbb7433f059e6f0d1d4ef6c0ef65b63dac1c1ff))
11
+
* Fixed torch install issue in CI ([366e5a8](https://github.com/feast-dev/feast/commit/366e5a8c8f8093eda840b667849c6d2e45fa56bb))
12
+
* ODFV not getting counted in resource count ([1d640b6](https://github.com/feast-dev/feast/commit/1d640b6c8136c47a78887e4490a5b7ae677b7c99))
13
+
* Skip tag updates if user do not have permissions ([#5673](https://github.com/feast-dev/feast/issues/5673)) ([0a951ce](https://github.com/feast-dev/feast/commit/0a951ce8d7f9b31490fa279339eacd444d2d2434))
14
+
15
+
16
+
### Features
17
+
18
+
* Add document of Go feature server. ([#5697](https://github.com/feast-dev/feast/issues/5697)) ([cbd1dde](https://github.com/feast-dev/feast/commit/cbd1dde9a0a6e5a3ec7e3520b6613d3818bcd842))
19
+
* Add flexible commandArgs support for complete Feast CLI control ([#5678](https://github.com/feast-dev/feast/issues/5678)) ([6414924](https://github.com/feast-dev/feast/commit/64149246c1925e9f3dcac60d9ab629225c232261))
20
+
* Add HDFS as a feature registry ([#5655](https://github.com/feast-dev/feast/issues/5655)) ([4c65872](https://github.com/feast-dev/feast/commit/4c65872ee6cf7e14ed14c8a8a7e141126027e575))
21
+
* Add nodeSelector to service config ([#5675](https://github.com/feast-dev/feast/issues/5675)) ([9728cde](https://github.com/feast-dev/feast/commit/9728cde4d3cf4d22a790d3a3af2eba705b7a56d3))
22
+
* Add OTEL based observability to the Go Feature Server ([#5685](https://github.com/feast-dev/feast/issues/5685)) ([f4afdad](https://github.com/feast-dev/feast/commit/f4afdad27c7fe92e9778e29ad08e4b227a3c17a4))
23
+
* Added health endpoint for the UI ([#5665](https://github.com/feast-dev/feast/issues/5665)) ([3aec5d5](https://github.com/feast-dev/feast/commit/3aec5d5fd24540d10f07e79c081c2658ca35678c))
24
+
* Added kuberay support ([e0b698d](https://github.com/feast-dev/feast/commit/e0b698d7b8733c8177ca053bc89defb01ebeb538))
25
+
* Added support for filtering multi-projects ([#5688](https://github.com/feast-dev/feast/issues/5688)) ([eb0a86e](https://github.com/feast-dev/feast/commit/eb0a86eb81defb5ccb2407a0d5f2b2425bcb61c1))
26
+
* Batch Embedding at scale for RAG with Ray ([cc2a46d](https://github.com/feast-dev/feast/commit/cc2a46d54c413ed52a9bf568588dd06096592c1f))
* Support aggregation in odfv ([#5666](https://github.com/feast-dev/feast/issues/5666)) ([564e965](https://github.com/feast-dev/feast/commit/564e9651dabea5458a77a8889920749cb1a6a5ed))
29
+
* Support cache_mode for registries ([021e9ea](https://github.com/feast-dev/feast/commit/021e9ea759bfee0292c5f7c804119ed9a15d6a58))
Copy file name to clipboardExpand all lines: docs/README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,11 @@ Feast helps ML platform/MLOps teams with DevOps experience productionize real-ti
52
52
53
53
**For AI Engineers*: Feast provides a platform designed to scale your AI applications by enabling seamless integration of richer data and facilitating fine-tuning. With Feast, you can optimize the performance of your AI models while ensuring a scalable and efficient data pipeline.
Copy file name to clipboardExpand all lines: docs/reference/beta-on-demand-feature-view.md
+32-2Lines changed: 32 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,10 +35,40 @@ When defining an ODFV, you can specify the transformation mode using the `mode`
35
35
36
36
### Singleton Transformations in Native Python Mode
37
37
38
-
Native Python mode supports transformations on singleton dictionaries by setting `singleton=True`. This allows you to
39
-
write transformation functions that operate on a single row at a time, making the code more intuitive and aligning with
38
+
Native Python mode supports transformations on singleton dictionaries by setting `singleton=True`. This allows you to
39
+
write transformation functions that operate on a single row at a time, making the code more intuitive and aligning with
40
40
how data scientists typically think about data transformations.
41
41
42
+
## Aggregations
43
+
44
+
On Demand Feature Views support aggregations that compute aggregate statistics over groups of rows. When using aggregations, data is grouped by entity columns (e.g., `driver_id`) and aggregated before being passed to the transformation function.
45
+
46
+
**Important**: Aggregations and transformations are mutually exclusive. When aggregations are specified, they replace the transformation function.
47
+
48
+
### Usage
49
+
50
+
```python
51
+
from feast import Aggregation
52
+
from datetime import timedelta
53
+
54
+
@on_demand_feature_view(
55
+
sources=[driver_hourly_stats_view],
56
+
schema=[
57
+
Field(name="total_trips", dtype=Int64),
58
+
Field(name="avg_rating", dtype=Float64),
59
+
],
60
+
aggregations=[
61
+
Aggregation(column="trips", function="sum"),
62
+
Aggregation(column="rating", function="mean"),
63
+
],
64
+
)
65
+
defdriver_aggregated_stats(inputs):
66
+
# No transformation function needed when using aggregations
67
+
pass
68
+
```
69
+
70
+
Aggregated columns are automatically named using the pattern `{function}_{column}` (e.g., `sum_trips`, `mean_rating`).
71
+
42
72
## Example
43
73
See [https://github.com/feast-dev/on-demand-feature-views-demo](https://github.com/feast-dev/on-demand-feature-views-demo) for an example on how to use on demand feature views.
The Go feature server is an HTTP/gRPC endpoint that serves features. It is written in Go.
5
+
6
+
## Configuration of `feature_store.yaml`
7
+
The current Go feature server needs a Python based feature Transformation service support. Please refer to the following code as an example:
8
+
```
9
+
# -*- coding: utf-8 -*-
10
+
from feast.feature_store import FeatureStore
11
+
12
+
13
+
def main():
14
+
# Init the Feature Store
15
+
store = FeatureStore(repo_path="./feature_repo/")
16
+
17
+
# Start the feature transformation server
18
+
# default port is 6569
19
+
store.serve_transformations(6569)
20
+
21
+
if __name__ == "__main__":
22
+
main()
23
+
```
24
+
At the same time, we need to configure the `feature_store.yaml` as following:
25
+
26
+
```
27
+
...
28
+
entity_key_serialization_version: 3
29
+
feature_server:
30
+
type: local
31
+
transformation_service_endpoint: "localhost:6569"
32
+
...
33
+
```
34
+
## Supported APIs
35
+
Here is the list of supported APIs:
36
+
| Method | API | Comment |
37
+
|:---: | :---: | :---: |
38
+
| POST | /get-online-features | Retrieve features of one or many entities |
39
+
| GET | /health | Status of the Go Feature Server |
40
+
41
+
## OTEL based Observability
42
+
The Go feature server support [OTEL](https://opentelemetry.io/) based Observabilities.
43
+
To enable it, we need to set the global env `ENABLE_OTEL_TRACING` to `"true"` (as a string type!) in the container or your local OS.
44
+
```
45
+
export ENABLE_OTEL_TRACING='true'
46
+
```
47
+
There are example OTEL infra setup under the `/go/infra/docker/otel` folder.
48
+
49
+
## Demo
50
+
Please check the Reference[2] for a local demo of Go feature server. If you want to see a real world example of applying Go feature server in Production, please check Reference[1].
51
+
52
+
## Reference
53
+
1.[Expedia Group's Go Feature Server Implementation (in Production)](https://github.com/EXPEbdodla/feast)
54
+
2.[A Go Feature server demo from Feast](https://github.com/feast-dev/feast-credit-score-local-tutorial)
0 commit comments