
    i                         d dl mZmZmZmZ d dlmZmZ  G d de      Z G d de      Z	 G d de	      Z
 G d	 d
e      Z G d de	      Z G d de      Zy)    )ListOptionalAnyDict)	BaseModelFieldc                   ,    e Zd ZU  edd      Zeed<   y)QueryRequest.z%La pregunta del usuario sobre vuelos.)description
user_inputN)__name__
__module____qualname__r   r   str__annotations__     ./opt/aeropuerto/back/client/app/core/models.pyr
   r
      s    C-TUJUr   r
   c                   ,    e Zd ZU eed<   dZee   ed<   y)BaseResponsestatusNmessage)r   r   r   r   r   r   r   r   r   r   r   r      s    K!GXc]!r   r   c                   "    e Zd ZU eed<   eed<   y)HealthResponseagent_readymcp_urlN)r   r   r   boolr   r   r   r   r   r   r      s    Lr   r   c                       e Zd ZU eed<   eed<    ee      Zee   ed<   dZ	e
ed<   dZeeeef      ed<    G d	 d
      Zy)AgentQueryResponseinputresponse)default_factory
used_toolsr   history_lengthNmetadatac                        e Zd ZddddgddiZy)AgentQueryResponse.Configexampleu   ¿Qué vuelos hay hoy?zHay 3 vuelos de Avianca...
getSalidas
   )r    r!   r#   r$   N)r   r   r   json_schema_extrar   r   r   Configr'      s     18+n"$	
r   r,   )r   r   r   r   r   r   listr#   r   r$   intr%   r   r   r   r,   r   r   r   r   r      sJ    JM!$7JS	7NC)-HhtCH~&-
 
r   r   c                   "    e Zd ZU dZee   ed<   y)GenericResponseNdata)r   r   r   r1   r   r   r   r   r   r   r0   r0       s    D(3-r   r0   c                   ,    e Zd ZU eed<   dZee   ed<   y)ErrorResponseerrorNdetails)r   r   r   r   r   r5   r   r   r   r   r3   r3   #   s    J!GXc]!r   r3   N)typingr   r   r   r   pydanticr   r   r
   r   r   r   r0   r3   r   r   r   <module>r8      sX    , , %V9 V"9 "\ 
 
"l "I "r   