362bf8d810
Extracted from: https://github.com/jwwelbor/AgentMap.git Score: 1.0
11 lines
577 B
Markdown
11 lines
577 B
Markdown
# Examples: conditional-request-routing
|
|
|
|
## Usage Example
|
|
|
|
```python
|
|
# How to use this skill
|
|
# Inputs: request: the input request or content to be reviewed and routed
|
|
# Process: Collect input: Use an input agent to capture the user's request into state field 'request' → Branch: Use a branching agent to evaluate 'request' and route to 'Approve' node on success or 'Reject' node on failure → Approve path: Use a default agent to format and output an approval message with the request
|
|
# Outputs: result: the approval or rejection message containing the original request
|
|
```
|