Spaces:
Sleeping
Sleeping
Download viral_script_engine/environment/actions.py from vajeeda/MetaDebate: direct link, hf CLI and curl.
- Browser
- Download file 582 Bytes
-
https://huggingface.co/spaces/vajeeda/MetaDebate/resolve/main/viral_script_engine/environment/actions.py
- Command line
-
hf download hf://spaces/vajeeda/MetaDebate/viral_script_engine/environment/actions.py
-
curl -L -o actions.py https://huggingface.co/spaces/vajeeda/MetaDebate/resolve/main/viral_script_engine/environment/actions.py
582 Bytes
| from enum import Enum | |
| from pydantic import BaseModel | |
| class ActionType(str, Enum): | |
| HOOK_REWRITE = "hook_rewrite" | |
| SECTION_REORDER = "section_reorder" | |
| CULTURAL_REF_SUB = "cultural_ref_sub" | |
| CTA_PLACEMENT = "cta_placement" | |
| class ArbitratorAction(BaseModel): | |
| action_type: ActionType | |
| target_section: str # "hook" | "body" | "cta" | "full" | |
| instruction: str # natural language instruction to the Rewriter | |
| critique_claim_id: str # which CritiqueClaim this responds to, e.g. "C2" | |
| reasoning: str # why this action was chosen | |