from typing import List from pydantic import BaseModel class WorkflowSchema(BaseModel): data_source: str data_format: str additional_data_requirement: bool constraints: str available_preprocess_script: bool preprocess_script: str recommended_preprocess_steps: List[str] task: str models: List[str] hyperparameters: List[str] eval_metrics: List[str] deploy_constraints: str class IntentFilesSchema(BaseModel): context: str open_questions: List[str] data_source: str data_format: str additional_data_requirement: bool constraints: str available_preprocess_script: bool preprocess_script: str recommended_preprocess_steps: List[str] task: str models: List[str] hyperparameters: List[str] eval_metrics: List[str] deploy_constraints: str class IntentInterviewsSchema(BaseModel): context: str completion_status: bool result: str data_source: str data_format: str additional_data_requirement: bool constraints: str available_preprocess_script: bool preprocess_script: str recommended_preprocess_steps: List[str] task: str models: List[str] hyperparameters: List[str] eval_metrics: List[str] deploy_constraints: str class IntentRequestData(BaseModel): query: str context: str count: int complete: bool class IntentResponseData(BaseModel): context: str result: str count: int complete: bool