Format: application/x-python-code
⬇ Download File (618 B)
   1  o
   2  
   3  ��hv�@sddlmZddd�ZdS)�)�get_persona_promptNcCsN|durg}t|�}d|�d|�d�}|�d|d��|�d|d��||fS)z<Processes a user message using the selected persona and LLM.NzSimulated response from z: You said '�'�user)�role�content�	assistant)r�append)�persona_name�message�historyZ
   4  system_prompt�response�r
   5  �FC:\Users\shubh\Videos\agent\agent_preprod\modules\chat\chat_handler.py�process_messagesr)N)Zpersonasrrr
   6  r
   7  r
   8  r�<module>s