For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai routines create

Create a routine

Synopsis

Create a new routine in an InteractiveAI project.

Content is provided via a YAML file using the --file flag.

Run iai routines schema to see the current field definitions.

Example

# routine.yaml
title: My Routine
conditions: When user needs help
description: Handles user support requests
steps:
  - id: greet
    description: Welcome the user
    chat_state: Say hello
  - id: lookup
    source: greet
    tools: crm:get_user
    tool_instruction: Fetch user data

Examples

Options

Options inherited from parent commands

SEE ALSO

Last updated

Was this helpful?