Skip to main content
An Elemental Flow is a self-contained, autonomous unit designed to perform specific, unique actions. These flows serve as the foundational building blocks within the Mira Flows ecosystem, enabling precise and reliable AI-powered operations.

Elemental Flow Attributes

Version

Metadata

Input Configuration

Supported Input Types: Input Structure:

Model Configuration

Dataset Configuration (Optional)

Prompt and Readme Configuration

Basic Flow Structure

The official YAML structure for a basic Mira Flow:

RAG Integration 🔍

To integrate RAG capabilities, you’ll need to:
  1. Create a dataset
  2. Add data sources to your dataset
  3. Link the dataset to your flow
The following file formats are supported for datasets:

Creating a Dataset 🗃️

Adding Data Sources

Linking Dataset with Flow

Add the following configuration to your flow.yaml file:

Flow Structure with RAG

The official YAML structure for a flow with RAG capabilities: