File size: 316 Bytes
5551822
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from pydantic import BaseModel
from typing import Optional, List

class WorkerTask(BaseModel):
    worker_name: str
    instruction: str
    file_path: str
    file_type: str

class OrchestratorOutput(BaseModel):
    use_worker: bool
    tasks: Optional[List[WorkerTask]] = None
    reason: str
    confidence: float