From 964237ab9249427574afdd7242dc904d64d70cdd Mon Sep 17 00:00:00 2001 From: emmalin-7 <73147873+emmalin-7@users.noreply.github.com> Date: Sun, 30 Jun 2024 11:13:49 -0700 Subject: [PATCH] Update critic.py --- agential/cog/agent/critic.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/agential/cog/agent/critic.py b/agential/cog/agent/critic.py index f576d8150..d7c26be64 100644 --- a/agential/cog/agent/critic.py +++ b/agential/cog/agent/critic.py @@ -18,26 +18,6 @@ class Config: title = 'Critic Output' description = 'Critic output for different modes' - class QA(BaseModel): - answer: str = Field(..., description="The answer generated by the agent.") - critique: str = Field(..., description="The critique of the answer generated by the agent.") - query: str = Field(..., description="The query requested by the agent.") - search_result: str = Field(..., description="The search result requested by the agent.") - revised_answer: str = Field(..., description="The revised answer generated by the agent.") - - class Math(BaseModel): - code: str = Field(..., description="The code generated by the agent.") - critique: str = Field(..., description="The critique of the code generated by the agent.") - execution_status: str = Field(..., description="The execution status of the agent.") - code_answer: str = Field(..., description="The code answer generated by the agent.") - improved_code: str = Field(..., description="The improved code generated by the agent.") - - class Code(BaseModel): - code: str = Field(..., description="The code generated by the agent.") - critique: str = Field(..., description="The critique of the code generated by the agent.") - execution_status: str = Field(..., description="The execution status of the agent.") - improved_code: str = Field(..., description="The improved code generated by the agent.") - #answer: str = Field(..., description = "The answer generated by the agent.") #critique : str = Field(..., description = "The critique of the answer generated by the agent.")