Ë
    õ¡Ÿjâ  ã                  óf   — d Z ddlmZ ddlmZmZ  G d„ de«      Z G d„ de«      Z G d„ d	e«      Zy
)zM
author: Yagnik Poshiya
organization: Webbrains Technologies Private Limited
é    )Úannotations)Ú	BaseModelÚFieldc                  ó4   — e Zd ZU  ed¬«      Zded<   ded<   y)ÚChatMessagezvisitor | agent | system)ÚdescriptionÚstrÚroleÚcontentN)Ú__name__Ú
__module__Ú__qualname__r   r
   Ú__annotations__© ó    úC/var/www/html/agent-engine/apps/agents/rag-agent/src/models/chat.pyr   r      s   … ÙÐ"<Ô=€Dˆ#Ó=Ø„Lr   r   c                  ó”   — e Zd ZU ddiZded<   ded<   ded<   ded<    ee¬«      Zd	ed
<    ed¬«      Zded<    edd¬«      Z	ded<   y)ÚChatRequestÚpopulate_by_nameTr	   Úorganization_idÚ
project_idÚproject_agent_idÚuser_message©Údefault_factoryzlist[ChatMessage]ÚhistoryN)Údefaultú
str | NoneÚsystem_instructionÚmodel_config)r   Úaliasúdict | NoneÚgeneration_config)
r   r   r   r    r   r   Úlistr   r   r#   r   r   r   r   r      sU   … Ø&¨Ð-€LàÓØƒOØÓØÓÙ!&°tÔ!<€GÐÓ<Ù%*°4Ô%8Ð˜
Ó8Ù%*°4¸~Ô%NÐ�{ÔNr   r   c                  ó²   — e Zd ZU ded<    ee¬«      Zded<   dZded<   dZd	ed
<    ee¬«      Z	ded<    ee¬«      Z
ded<   dZd	ed<   dZded<   dZded<   y)ÚChatResponser	   Úreplyr   z
list[dict]ÚsourcesNr"   Úrouter   Úsqlz	list[str]ÚsuggestionsÚcardsÚ
model_namer   ÚintÚtokens_inputÚtokens_output)r   r   r   r   r   r$   r(   r)   r*   r+   r,   r-   r/   r0   r   r   r   r&   r&      sf   … ØƒJÙ°Ô5€GˆZÓ5Ø€Eˆ;ÓØ€CˆÓÙ"°4Ô8€K�Ó8Ù¨dÔ3€Eˆ:Ó3Ø!€J�
Ó!Ø€L�#ÓØ€M�3Ôr   r&   N)	Ú__doc__Ú
__future__r   Úpydanticr   r   r   r   r&   r   r   r   ú<module>r4      s8   ðñõ
 #ç %ô�)ô ô
	O�)ô 	Oô	�9õ 	r   