Step-by-step guide to installing and setting up Mira Flows SDK for your project
Component | Description | Required | Example |
---|---|---|---|
version | Flow specification version using semantic versioning | Yes | "0.1.0" |
Component | Description | Required | Example |
---|---|---|---|
flow_type | Type of flow (must be “compound”) | Yes | "compound" |
name | Unique identifier for the flow | Yes | "your-flow-name" |
description | Explanation of flow’s purpose | Yes | "A brief description of your flow" |
author | Creator’s username | Yes | "your-username" |
tags | Keywords for categorization | No | [tag1, tag2, tag3] |
private | Access control setting | Yes | false |
Component | Description | Required | Example |
---|---|---|---|
inputs | Map of input parameters | Yes | Collection of input definitions |
type | Data type of input (currently only string) | Yes | "string" |
description | Purpose of the input | Yes | "Description of input1" |
required | Whether input is mandatory | Yes | true or false |
example | Sample input value | No | "Example value for input1" |
Component | Description | Required | Example |
---|---|---|---|
type | Must be “elemental” | Yes | "elemental" |
flow_name | Reference to existing Elemental Flow | Yes | "author/flow-name" |
inputs | Mapping to flow inputs | Yes | Input mapping object |
depends_on | List of dependent stages | No | ["stage1", "stage2"] |
Component | Description | Required | Example |
---|---|---|---|
type | Must be “custom” | Yes | "custom" |
model | LLM configuration | Yes | Model settings object |
prompt | Processing instructions | Yes | Template with placeholders |
inputs | Stage input parameters | Yes | Input mapping object |
dataset | RAG dataset configuration | No | "author_name/dataset_name" |
depends_on | List of dependent stages | No | ["stage1", "stage2"] |
Component | Description | Required | Example |
---|---|---|---|
depends_on | List of stages that must complete before execution | No | ["stage1", "stage2"] |
Component | Description | Required | Example |
---|---|---|---|
output.value | List of stage outputs to combine | Yes | [${stage1.outputs}, ${stage2.outputs}] |