Ë
    I»jË  ã                   ó~   — d Z ddlmZ ddlmZ ddlmZmZ ddlm	Z	  G d„ de«      Z
 G d„ d	e«      Z G d
„ de	«      Zy)u;   Schemas â€” Bias detection in questions / evaluation (SOW).é    )ÚAny)ÚUUID)Ú	BaseModelÚField)ÚStubMetac                   óò   — e Zd ZU dZdZedz  ed<    edd¬«      Ze	ed<   dZ
e	dz  ed<    ee¬	«      Zeee	ef      ed<   dZe	dz  ed
<   dZe	dz  ed<    eddd¬«      Ze	ed<    ee¬	«      Zee	ef   ed<   y)ÚBiasDetectionRequestz#POST /api/v1/bias-detection/analyzeNÚcorrelation_idÚ	questionsz5questions | evaluation | job_description | transcript)ÚdefaultÚdescriptionÚcontent_typeÚcontent©Údefault_factoryÚevaluation_textÚjob_descriptionÚené   é
   )r   Ú
min_lengthÚ
max_lengthÚlanguageÚoptions)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   Ú__annotations__r   r   Ústrr   Úlistr   Údictr   r   r   r   r   © ó    ú4/var/www/html/TJ-AI/tj/app/schemas/bias_detection.pyr	   r	      sœ   … Ù-à"&€N�D˜4‘KÓ&ÙØØKô€L�#ó ð €GˆS�4‰ZÓÙ&+¸DÔ&A€Iˆt�D˜˜c˜‘NÑ#ÓAØ"&€O�S˜4‘ZÓ&Ø"&€O�S˜4‘ZÓ&Ù $°1ÀÔD€HˆcÓDÙ#°DÔ9€GˆT�#�s�(‰^Ô9r$   r	   c                   óX   — e Zd ZU eed<   dZeed<   dZedz  ed<   eed<   dZedz  ed<   y)ÚBiasFlagItemÚcategoryÚlowÚseverityNÚexcerptr   Úrecommendation)r   r   r   r    r   r*   r+   r,   r#   r$   r%   r'   r'      s3   … ØƒMØ€HˆcÓØ€GˆS�4‰ZÓØÓØ!%€N�C˜$‘JÔ%r$   r'   c                   ó˜   — e Zd ZU dZedz  ed<   eed<   dZedz  ed<   dZ	e
dz  ed<    ee¬«      Zee   ed<    ee¬«      Zee   ed<   y)	ÚBiasDetectionResponseNr
   r   ÚpassedÚ
risk_scorer   ÚflagsÚrewritten_suggestions)r   r   r   r
   r   r   r    r/   Úboolr0   Úfloatr   r!   r1   r'   r2   r#   r$   r%   r.   r.   #   sZ   … Ø"&€N�D˜4‘KÓ&ØÓØ€FˆD�4‰KÓØ#€J�˜‘Ó#Ù %°dÔ ;€Eˆ4�ÑÓ;Ù',¸TÔ'BÐ˜4 ™9ÔBr$   r.   N)r   Útypingr   Úuuidr   Úpydanticr   r   Úapp.schemas.commonr   r	   r'   r.   r#   r$   r%   Ú<module>r9      s:   ðÙ Aå Ý ç %å 'ô:˜9ô :ô &�9ô &ôC˜Hõ Cr$   