Share via


DeclarativeWorkflowBuilder Class

Definition

Builder for converting a Foundry workflow object-model YAML definition into a process.

public static class DeclarativeWorkflowBuilder
type DeclarativeWorkflowBuilder = class
Public Class DeclarativeWorkflowBuilder
Inheritance
DeclarativeWorkflowBuilder

Methods

Name Description
Build<TInput>(String, DeclarativeWorkflowOptions, Func<TInput,ChatMessage>)

Builder for converting a Foundry workflow object-model YAML definition into a process.

Build<TInput>(TextReader, DeclarativeWorkflowOptions, Func<TInput,ChatMessage>)

Builds a workflow from the provided YAML definition.

DefaultTransform(Object)

Transforms the input message into a ChatMessage based on ToString(). Also performs pass-through for ChatMessage input.

Eject(String, DeclarativeWorkflowLanguage, String, String)

Generates source code (provider/executor scaffolding) for the workflow defined in the YAML file.

Eject(TextReader, DeclarativeWorkflowLanguage, String, String)

Generates source code (provider/executor scaffolding) for the workflow defined in the provided YAML reader.

Applies to