Features
Visual Workflow Builder
Drag and drop interface for creating workflows
Three node types: Input, LLM, and Output
Visual connections between nodes
Real-time validation of workflow structure
LLM Integration
Support for multiple LLM providers:
OpenAI (GPT-3.5, GPT-4)
Groq (Dynamic model list)
Dynamic model loading from Groq API
Configurable model parameters
Secure API key management
Workflow Execution
Real-time execution of workflows
Visual feedback during execution
Error handling and validation
Success/failure notifications
Architecture
Core Components
Node Types
InputNode: Accepts user input textLLMNode: Configures and manages LLM settingsOutputNode: Displays generated resultsServices
openaiService: Handles OpenAI API interactionsgroqService: Manages Groq API interactionsworkflowService: Orchestrates workflow executionContext
WorkflowContext: Manages global state and workflow executionDirectory Structure
Technical Details
LLM Configuration
The LLM node supports configuration of:
Model selection (OpenAI and Groq models)
API key management
Temperature (0-1)
Max tokens
API Integration
OpenAI Integration
Groq Integration
Workflow Validation
The workflow service validates:
Required nodes (Input, LLM, Output)
Node connections
Input text
API key presence
Usage
Creating a Workflow
Drag nodes from the sidebar onto the canvas
Connect nodes in sequence: Input → LLM → Output
Configure the LLM node with your API key and preferences
Executing a Workflow
Enter text in the Input node
Click the "Run" button in the header
View results in the Output node
Managing Models
OpenAI models are built-in
Groq models are fetched automatically when an API key is provided
Error Handling
The application includes comprehensive error handling for:
Invalid workflow configurations
Missing API keys
Failed API requests
Invalid node connections
Best Practices
API Key Security
Never share your API keys
Use environment variables in production
API keys are stored only in memory
Workflow Design
Keep workflows simple and linear
Validate input before execution
Monitor execution status through UI feedback
0 likes · 8 views · Jan 27, 2025
A web-based application for creating and executing visual workflows with Large Language Models (LLMs). This application allows users to create workflows by conn