
    9i                     2    d dl Z ddlmZ dZdZdddZd
d	Zy)    N   )cached_filez
Human: <<task>>

Assistant: z!huggingface-tools/default-promptszchat_prompt_template.txtzrun_prompt_template.txt)chatrunc                     | t         } t        j                  d|       | S t        | t        |   dd|i      }t        |dd      5 }|j                         cddd       S # 1 sw Y   yxY w)	z\
    Downloads and caches the prompt from a repo and returns it contents (if necessary)
    Nz\sdatasetagent)	repo_type
user_agentrzutf-8)encoding)DEFAULT_PROMPTS_REPOresearchr   PROMPT_FILESopenread)prompt_or_repo_id
agent_namemodeprompt_filefs        d/var/www/html/backtest/airagagent/rag_env/lib/python3.12/site-packages/transformers/tools/prompts.pydownload_promptr   !   sw      0 
yy)*6  <-PWYcOdK 
k3	1 Qvvx  s   A!!A*)r   )r   utilsr   CHAT_MESSAGE_PROMPTr   r   r        r   <module>r      s-   " 
   ; 2;TUr   