Ë
    I»j�  ã                   óø  — U d Z ddlmZ ddlmZ  G d„ dee«      Zej                  dej                  dej                  dej                  d	ej                  d
ej                  dej                  dej                  diZeeef   ed<    ed«      Z ed«      Z ed«      Z ed«      Zdedededededee   dee   dededededeeef   fd„Zdedededed ed!ed"ee   d#ee   d$ee   d%ed&ededeeef   fd'„Zy())z<Persona-driven prompt templates for Gateway AI capabilities.é    )ÚEnum)ÚTemplatec                   ó0   — e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zy
)ÚPersonaz%AI interviewer personas from the SOW.Ú	technicalÚhr_behavioralÚfriendly_coachÚ	executiveÚsalesÚ
healthcareÚfinanceÚcustomN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	TECHNICALÚHR_BEHAVIORALÚFRIENDLY_COACHÚ	EXECUTIVEÚSALESÚ
HEALTHCAREÚFINANCEÚCUSTOM© ó    ú%/var/www/html/TJ-AI/tj/app/prompts.pyr   r      s-   „ Ù/à€IØ#€MØ%€NØ€IØ€EØ€JØ€GØ�Fr   r   zcTechnical interviewer focused on skills, system design, coding rigor, and hands-on problem solving.zwHR / behavioral interviewer using STAR-style probes for values fit, communication, collaboration, and past performance.ur   Supportive coach persona for mock interviews â€” encouraging tone with constructive depth and clear feedback cues.znExecutive leadership panel focused on strategy, stakeholder management, decision quality, and business impact.zxSales & customer-success interviewer focused on persuasion, objection handling, pipeline thinking, and customer empathy.zxHealthcare & clinical interviewer focused on patient safety, clinical judgment, compliance, and role-specific protocols.z~Finance & consulting interviewer focused on analytical rigor, case structuring, risk awareness, and stakeholder communication.uy   Custom company persona â€” style, depth, and evaluation criteria follow employer-supplied brand and interview guidelines.ÚPERSONA_DESCRIPTIONSaS  You are a $persona_label interviewer for hiring.
Persona focus: $persona_description

Generate interview questions that are grounded in the provided role title and job description.
Prefer questions that reveal real job-relevant capability, not trivia.
Return structured questions only; do not invent employer-specific confidential details.a  Role title: $role_title
Seniority: $seniority
Department: $department
Persona: $persona

Job description:
$job_description

Skills to emphasize: $skills
Question types: $question_types
Difficulty: $difficulty
Count: $count
Language: $language

Additional instructions:
$instructionsa  You are a $persona_label job-description writer.
Persona focus: $persona_description

Draft a clear, inclusive, accurate job description.
Avoid biased language, inflated requirements, and discriminatory phrasing.
Use concise sections and actionable responsibility bullets.a¬  Role title: $role_title
Seniority: $seniority
Department: $department
Employment type: $employment_type
Location: $location
Persona tone: $persona

Must-have skills: $must_have_skills
Nice-to-have skills: $nice_to_have_skills
Responsibilities hints: $responsibilities
Company context: $company_context
Tone notes: $tone_notes
Language: $language

Output sections: summary, responsibilities, requirements, nice_to_have, benefits.ÚpersonaÚ
role_titleÚ	seniorityÚ
departmentÚjob_descriptionÚskillsÚquestion_typesÚ
difficultyÚcountÚlanguageÚinstructionsÚreturnc                 óJ  — | j                   j                  dd«      j                  «       }t        j	                  |t
        |    ¬«      }t        j	                  ||xs d|xs d| j                   ||rdj                  |«      nddj                  |«      |||	|
xs d¬«      }||fS )	NÚ_Ú ©Úpersona_labelÚpersona_descriptionÚunspecifiedú, zderive from JDÚnone)r    r!   r"   r   r#   r$   r%   r&   r'   r(   r)   )ÚvalueÚreplaceÚtitleÚROLE_QUESTION_GEN_SYSTEMÚ
substituter   ÚROLE_QUESTION_GEN_USERÚjoin)r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   ÚlabelÚsystemÚusers                 r   Úrender_role_question_promptsr>   u   s±   € ð �M‰M×!Ñ! # sÓ+×1Ñ1Ó3€EÜ%×0Ñ0ØÜ0°Ñ9ð 1ó €Fô "×,Ñ,ØØÒ,˜}ØÒ. Ø—‘Ø'Ù$*ˆt�y‰y˜Ô Ð0@Ø—y‘y Ó0ØØØØ!Ò+ Vð -ó €Dð �4ˆ<Ðr   Úemployment_typeÚlocationÚmust_have_skillsÚnice_to_have_skillsÚresponsibilitiesÚcompany_contextÚ
tone_notesc                 óŠ  — | j                   j                  dd«      j                  «       }t        j	                  |t
        |    ¬«      }t        j	                  ||xs d|xs d||xs d| j                   |rdj                  |«      nd|rdj                  |«      nd|rdj                  |«      nd|	xs d	|
xs d	|¬
«      }||fS )Nr,   r-   r.   r1   r2   znone providedz; zderive from role titler3   )r    r!   r"   r?   r@   r   rA   rB   rC   rD   rE   r(   )r4   r5   r6   ÚJD_DRAFT_SYSTEMr8   r   ÚJD_DRAFT_USERr:   )r   r    r!   r"   r?   r@   rA   rB   rC   rD   rE   r(   r;   r<   r=   s                  r   Úrender_jd_draft_promptsrI   ˜   sÔ   € ð �M‰M×!Ñ! # sÓ+×1Ñ1Ó3€EÜ×'Ñ'ØÜ0°Ñ9ð (ó €Fô ×#Ñ#ØØÒ,˜}ØÒ. Ø'ØÒ*˜]Ø—‘Ù8H˜Ÿ™Ð#3Ô4Èoá.AˆD�I‰IÐ)Ô*Àñ ,<ˆD�I‰IÐ&Ô'ÐAYà'Ò1¨6ØÒ' Øð! $ó €Dð$ �4ˆ<Ðr   N)r   Úenumr   Ústringr   Ústrr   r   r   r   r   r   r   r   r   r   ÚdictÚ__annotations__r7   r9   rG   rH   ÚlistÚintÚtupler>   rI   r   r   r   Ú<module>rR      s  ðÚ Bå Ý ô
ˆc�4ô 
ð ×Ñð	(ð ×Ñð	>ð ×Ñð	6ð ×Ñð	1ð ‡M�Mð	=ð ×Ñð	=ð ‡O�Oð	Fð ‡N�Nð	<ð=!,Ð �d˜7 C˜<Ñ(ó !ñL $ð[óÐ ñ "ðóÐ ñ, ð?ó€ñ ðUó€ð& àð ð ð ð ð	 ð
 ð ð ð ð �‰Ið ð ˜‘Ið ð ð ð ð ð ð ð ð ð ˆ3�ˆ8�_ó ðF&àð&ð ð&ð ð	&ð
 ð&ð ð&ð ð&ð ˜3‘ið&ð ˜c™ð&ð ˜3‘ið&ð ð&ð ð&ð ð&ð ˆ3�ˆ8�_ô&r   