Skip to main content

What does it do?

Inputs lets you pass data into your WordApp. You can use them to provide context for your AI models, or to give them something to work with. When you run a WordApp, you will be asked to provide values for your output for this particular run. If you access your WordApp via API, you’ll need to provide these values in your request.

How do I use it?

Inputs live in the input bar, just above the start of your flow in the editor. Inputs Live Pn To add an input, you can:
  • Click the + New Input button in the input bar
  • Type /input in the editor and hit Enter
  • Type @ and a name for the new input in the editor, then hit +

Options

A number of options appear in the attributes editor when you create a new input. Here’s what they mean:

Label

The name of the input. You’ll need this later if you want to reference the input in your flow. Inputs Live Pn

Description

A description of the input. This can be useful for keeping track of what each input is for, but is not required. It’s also not visible to the AI models in a generation. Description Input Pn

Input Type

What values are allowed for this input. You can choose between: Type Input Pn Note: we currently only support the below input types, but more will be added in the future!

Outputs

While it’s not technically an output, the value of an input can be referenced in your flow the same as any other output.