
    ~zg~                     &    d dl mZ  G d de      Zy)   )	AgentBasec                   &     e Zd Zd fd	Zd Z xZS )ValidatorAgentc                 *    t         |   d||       y )Nr   )namemax_retriesverbose)super__init__)selfr   r	   	__class__s      yC:\Users\bruma\Desktop\finale\rulare ollama remote cu colab\AI-Agents-from-Scratch-using-Ollama\agents\validator_agent.pyr   zValidatorAgent.__init__   s    .KQXY    c                 `    ddddgdddd| d| d	dgdg}| j                  |d
d      }|S )NsystemtextzyYou are an AI assistant that validates research articles for accuracy, completeness, and adherence to academic standards.)typer   )rolecontentusera  Given the topic and the research article below, assess whether the article comprehensively covers the topic, follows a logical structure, and maintains academic standards.
Provide a brief analysis and rate the article on a scale of 1 to 5, where 5 indicates excellent quality.

Topic: z

Article:
z

Validation:g333333?i  )messagestemperature
max_tokens)
call_llama)r   topicarticler   
validations        r   executezValidatorAgent.execute	   s     ! !' !\  !'&&+W -))0	 2**	
4 __ % 


 r   )   T)__name__
__module____qualname__r   r   __classcell__)r   s   @r   r   r      s    Z r   r   N)
agent_baser   r    r   r   <module>r&      s    "$Y $r   