examples/online_store/milvus_tutorial/README.md
This tutorial demonstrates how to use Milvus as a vector database backend for Feast. You'll learn how to set up Milvus, create embeddings, store them in Feast, and perform similarity searches.
pip install 'feast[milvus]')docker compose up -d
This will start three containers:
milvus-standalone: The Milvus servermilvus-etcd: For metadata storagemilvus-minio: For object storagedocker ps
milvus_tutorial/
├── README.md
├── feature_store.yaml # Feast configuration
├── docker-compose.yml # Docker Compose configuration for Milvus
├── data/ # Data directory
│ └── sample_data.parquet # Sample data with embeddings (generated by the script)
└── milvus_example.py # Example script
Run the complete example:
python milvus_example.py
This tutorial demonstrates:
Milvus is a powerful vector database designed for efficient similarity searches, making it an excellent choice for applications like semantic search and recommendation systems.