A tutorial on how to write a simple CADANCE™ spec.
The CADANCE™ spec is the heart of the MindLab platform. It is a declarative, version-controlled contract that defines the entire lifecycle of an AI-driven workflow.This tutorial will walk you through the process of writing your first CADANCE™ spec.
The first step is to define the high-level objective of your workflow. For this tutorial, we will create a simple workflow that analyzes the sentiment of a piece of text.
Here is the complete CADANCE™ spec for our simple workflow:
Copy
Config: objective: "Analyze the sentiment of a piece of text."Agents: - role: "SentimentAnalyzer"Data: text: "I love MindLab!"Analysis: output: "{{SentimentAnalyzer.sentiment}}"