Configuration parameters for Deep Research task generation.
| 6 | |
| 7 | @dataclass |
| 8 | class TaskGenerationConfig: |
| 9 | """Configuration parameters for Deep Research task generation.""" |
| 10 | |
| 11 | # Output paths |
| 12 | output_file: str = "./outputs/task_generation/deep_research_tasks.jsonl" |
| 13 | |
| 14 | # Generation parameters |
| 15 | num_domains: int = 10 |
| 16 | tasks_per_expert: int = 3 |
| 17 | |
| 18 | # LLM configuration |
| 19 | model_name: str = "gpt-5-mini" |
| 20 | api_type: Literal["openai", "openrouter"] = "openai" |
| 21 | max_retries: int = 3 |
| 22 | max_tokens: int = 8192 |
| 23 | |
| 24 | # Parallel configuration |
| 25 | max_workers: int = 25 |
| 26 | |
| 27 | # Input file paths |
| 28 | domains_file: str = "./task_generation/domains.json" |
| 29 | |
| 30 | # Intermediate file paths |
| 31 | experts_file: str = "./outputs/task_generation/intermediate_2_experts.json" |
| 32 | tasks_file: str = "./outputs/task_generation/intermediate_3_tasks.json" |
| 33 | filtered_tasks_file: str = "./outputs/task_generation/intermediate_4_filtered_tasks.json" |
| 34 | baseline_file: str = "./outputs/task_generation/intermediate_5_baseline_answers.json" |
| 35 | |
| 36 | # Filtering thresholds |
| 37 | confidence_threshold: float = 0.7 |
| 38 | quality_score_threshold: float = 0.7 |
| 39 | |
| 40 | |
| 41 | if __name__ == "__main__": |
no outgoing calls
no test coverage detected