Skip to content

Commit

Permalink
Update critic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emmalin-7 authored Jun 30, 2024
1 parent 422ec09 commit 964237a
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions agential/cog/agent/critic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 964237a

Please sign in to comment.