Ë
    éƒtjÛ  ã                   ó¬   — d dl mZ d dlmZ d dlmZmZ  ee«      j                  «       j                  j                  Z
 G d„ de«      Zedefd„«       Zy)	é    )Ú	lru_cache)ÚPath)ÚBaseSettingsÚSettingsConfigDictc                   óô  — e Zd ZU  eedz  dd¬«      ZdZeed<   dZ	eed<   d	Z
eed
<   dZeed<   dZeed<   dZeed<   dZeed<   dZeed<   dZeed<   dZedz  ed<   dZeed<   edz  Zeed<   edz  dz  Zeed<   dZeed <   d!Zeed"<   d#Zeed$<   d%Zeed&<   d'Zeed(<   d)Zeed*<   d+Zeed,<   d-Z eed.<   d/Z!eed0<   d1Z"eed2<   d1Z#eed3<   dZ$eed4<   dZ%eed5<   d6Z&eed7<   d8Z'eed9<   d:Z(eed;<   dZ)eed<<   d=Z*eed><   y)?ÚSettingsz.envzutf-8Úignore)Úenv_fileÚenv_file_encodingÚextrazhttp://localhost:11434Úollama_base_urlz
qwen2.5:3bÚollama_modeli   Úollama_num_ctxi   Úollama_num_predicté   Ú!ollama_num_predict_conversationalÚollama_num_predict_mini   Úollama_num_predict_thinkingg      ^@Úollama_timeoutFÚollama_thinkNÚollama_num_threadszBAAI/bge-small-en-v1.5Úembedding_modelzfinal_finance_dataset.csvÚdataset_pathÚdataÚchromaÚchroma_persist_dirÚfinance_dataÚchroma_collectioné   Úretrieval_top_kg333333Ó?Úsimilarity_thresholdiè  Úmax_context_chars_per_docé   Úkb_retrieval_top_kg333333Ã?Úkb_similarity_thresholdið
  Úkb_chunk_sizei�  Úkb_chunk_overlapÚfdiÚkb_chat_modeTÚfdi_enabledÚfdi_hybrid_searchÚ
fdi_rerankÚ	rag_debugz0.0.0.0Úapi_hosti@  Úapi_portÚ*Úcors_originsÚpersist_user_dataÚ Údatabase_url)+Ú__name__Ú
__module__Ú__qualname__r   ÚBASE_DIRÚmodel_configr   ÚstrÚ__annotations__r   r   Úintr   r   r   r   r   Úfloatr   Úboolr   r   r   r   r   r   r    r!   r"   r$   r%   r&   r'   r)   r*   r+   r,   r-   r.   r/   r1   r2   r4   © ó    ú&/var/www/html/CA-Chatbot/app/config.pyr   r   	   sz  … Ù%Ø˜FÑ"Ø!Øô€Lð 4€O�SÓ3Ø$€L�#Ó$Ø€N�CÓà!Ð˜Ó!Ø-0Ð% sÓ0Ø"%Ð˜CÓ%Ø'+Ð Ó+Ø!€N�EÓ!Ø€L�$ÓØ%)Ð˜˜d™
Ó)à3€O�SÓ3à!Ð$?Ñ?€L�$Ó?Ø'¨&Ñ0°8Ñ;Ð˜Ó;Ø+Ð�sÓ+à€O�SÓØ"%Ð˜%Ó%Ø%)Ð˜sÓ)ð  Ð˜ÓØ%)Ð˜UÓ)Ø€M�3ÓØÐ�cÓà€L�#ÓØ€K�ÓØ"Ð�tÓ"Ø€J�ÓØ€IˆtÓà€HˆcÓØ€HˆcÓØ€L�#Óð $Ð�tÓ#ð €L�#Ôr@   r   Úreturnc                  ó   — t        «       S )N)r   r?   r@   rA   Úget_settingsrD   ?   s
   € ä‹:Ðr@   N)Ú	functoolsr   Úpathlibr   Úpydantic_settingsr   r   Ú__file__ÚresolveÚparentr8   r   rD   r?   r@   rA   Ú<module>rK      sT   ðÝ Ý ç >á�‹>×!Ñ!Ó#×*Ñ*×1Ñ1€ô3ˆ|ô 3ðl ð�hò ó ñr@   