# Feast Ray Template

This template demonstrates Feast's Ray integration, showcasing both the **Ray Offline Store** and **Ray Compute Engine** capabilities for distributed feature processing.

## What's Included

```
ray_template/
├── feature_repo/
│   ├── feature_store.yaml      # Ray offline store + compute engine config
│   ├── example_repo.py         # Feature definitions with Ray optimizations
│   ├── test_workflow.py        # Demo script showing Ray capabilities
│   └── data/                   # Sample datasets (generated by bootstrap)
│       ├── driver_stats.parquet
│       └── customer_daily_profile.parquet
└── README.md                   # This file
```


## Getting Started

1. **Initialize the template**:
   ```bash
   feast init -t ray my_ray_project
   cd my_ray_project/feature_repo
   ```

2. **Install Ray dependencies**:
   ```bash
   pip install feast[ray]
   ```

3. **Apply feature definitions**:
   ```bash
   feast apply
   ```

4. **Run the demo**:
   ```bash
   python test_workflow.py
   ```
