Skip to content

feat: Continuations #3

Description

@cogk

Examples:

  • Prompt: Asking a value to the user is a continuation, because it is asynchronous
flowchart TB

subgraph flow1 [Subflow 1]
direction TB
Z1[Entrypoint]
-->A1(["A1. prompt (What is your name?)"])
-->|text| B1[\B1. Suspension/]
end

flow1 -.->|"Continuation data:<br>{'text': text, 'continuation_token': 'subflow-2'}"| flow2

subgraph flow2 [Subflow 2]
direction TB
Z2[Entrypoint]
-->A2[/A2. Continuation\]
-->|text| B2(["B2. send_email (Hello {{ text }})"])
--> C2...
end

Loading

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions