Skip to main content

Core Concepts

Scribe is a framework for building AI workflows. It is designed to be simple to use, yet powerful enough to build complex workflows. This page introduces the core concepts of Scribe.

Workflow

A workflow is a sequence of operations that are executed to perform a specific task. Workflows are the building blocks of Scribe, and are used to define the behavior of your AI application.

There are three types of workflows in Scribe: Task, Pipeline, and Graph.

Operation

Operations define the actions a component can perform. These operations are essentially workflows themselves, giving you the flexibility to customize their behavior and control their execution sequence.

An operation is primarily responsible for performing a particular action or functionality of a component.

Context

A context is a shared object that is passed between operations. It contains information about the current state of the workflow, and can be used to communicate between different parts of the workflow.

The context is the primary way to share information between operations. It is passed to each operation in the workflow, and can be used to store and retrieve information.