o
    |!ågJ  ã                   @   s    d e fdd„Zde fdd„ZdS )Úrolec                 C   ó   dS )a‰  
    Text inside `chat` tags will be rendered as JSON strings representing chat messages. Calling `Prompt.chat_messages`
    will return a list of `ChatMessage` instances.

    Example:
        ```jinja
        {% chat role="system" %}
        You are a helpful assistant.
        {% endchat %}

        {% chat role="user" %}
        Hello, how are you?
        {% endchat %}
        ```
    N© )r   r   r   úW/mnt/skqttb/ctump_chatbot/chatbot/lib/python3.10/site-packages/banks/extensions/docs.pyÚchat   ó    r   Ú
model_namec                 C   r   )a  
    `completion` can be used to send to the LLM the content of the block in form of messages.

    The rendered value of the block can be assigned to a variable and accessed from another section of the prompt.

    Example:
        ```jinja
        {% set response %}
        {% completion model="gpt-3.5-turbo-0125" %}
        {% chat role="user" %}You are a helpful assistant{% endchat %}
        {% endcompletion %}
        {% endset %}

        {# output the response content #}
        {{ response }}
        ```
    Nr   )r   r   r   r   Ú
completion   r   r   N)Ústrr   r   r   r   r   r   Ú<module>   s   