Core Concepts
Customize Response Options
Guide human responses with structured options
You can provide structured response options to guide how humans respond to both approvals and human-as-tool contacts.
Structure
Response options are built on the ResponseOption
model:
Usage with require_approval
You can add response options to any function that requires approval:
Usage with human_as_tool
You can also add response options to human-as-tool contacts:
Example
See 04-human_as_tool_linkedin_frustration.py for a complete example of using response options with both approvals and human-as-tool contacts.