API Deployment Workflows
API deployments can now be created directly from Prompt Studio, which automatically generates the necessary workflow behind the scenes. This streamlined approach eliminates the need for manual workflow creation while still providing the flexibility to modify workflows when needed.
Creating API Deployments from Prompt Studio
For creating API deployment from Prompt studio refer this page
Accessing and Modifying the Workflow
After deployment from the success screen, you have two options:
Option 1: View API Deployment
- Click View API Deployment to see deployment details, endpoint information, and usage statistics (or)
- Navigate to API Deployments--> Choose your API
Option 2: Configure Workflow
- Click Configure Workflow to access the automatically created workflow(or)
- Navigate to API Deployments--> Choose your API-->Click on the workflow anchor link
- This opens the Workflow Studio where you can:
- Modify tool settings
Workflow Studio Overview
When you access the automatically created workflow, you'll see:
- Input Configuration: Pre-configured as
API
for API workflow - Output Configuration: Pre-configured as
API
for API workflow - Tools Pane: Lists all available tools including your Prompt Studio project
- Workflow Chain: Your exported Prompt Studio project is already placed between input and output
- Tool Settings Pane: Configure settings for tools in your workflow chain
Workflow Modification Options
Tool Management
- Replace Tools: The existing tool can be deleted and a new tool can be dragged and dropped from the Tools Pane
- Single Tool Limitation: Only one tool can be added to the workflow chain at a time
- Tool Selection: Choose from any available tools in the Tools Pane to replace the current tool
Configuration Changes
- Tool Settings Only: You can modify tool settings through the Tool Settings Pane
- Automatic Updates: Once changes are made to tool settings, they will automatically reflect in the existing API deployment
- No Re-deployment Required: Changes to tool settings are applied immediately without needing to redeploy the API
Important Notes
- Live Updates: Any modifications to tool settings will instantly update the behavior of your deployed API
- Seamless Integration: The API endpoint remains the same, ensuring no disruption to applications already using your API
- Real-time Configuration: Changes take effect immediately, allowing for quick iterations and improvements