API Deployment Workflows
-
Now that you've exported a Prompt studio project, let's create a Workflow that we'll launch as an API. First off, let's create a new empty Workflow:
- From the side navigation menu, choose
Workflows
🞂New Workflow
. This should bring up the new Workflow dialog: - For
Workflow Name
enter any name for your workflow. - For
Description
enter some detail about the type of workflow - Click on
Create Workflow
. This should land you in an empty workflow in the Workflow Studio, which allows you to build sophisticated workflows.
- From the side navigation menu, choose
-
Let's configure the workflow.
- Input Configuration: To build an API workflow, choose
API
from this list. - Output Configuration: To build an API workflow, choose
API
from this list. - Tools Pane: this pane lists all built in and user created custom Tools available in the platform. Prompt Studio projects you export are made available as Tools in this pane from where you an drop and drop them into the Workflow Chain to construct Workflows you want.
- Workflow Chain: Search for your prompt studio exported project under
Tools
, and drag and drop it in the workflow container(in between Input and output configuration) - Tool Settings Pane: This is where settings for various tools are made available. You'll need to select a Tool from the Workflow Chain in order to change the settings of Tools from here.Below is the detailed screenshot for point no.5
- Deploy As API: use this button to deploy workflows as unstructured data API deployment.
- Input Configuration: To build an API workflow, choose