
    f<                         d dl Z d dlmZ d dlmZ  e j
                  e      Z e       sej                  d        G d de      Z	 e	       Z
y)    N)BaseSettings)load_dotenvz.env file not found.c                       e Zd ZU 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<    G d d      Zy)ApplicationSettingsa  Define application configuration model.

    Constructor will attempt to determine the values of any fields not passed
    as keyword arguments by reading from the environment. Default values will
    still be used if the matching environment variable is not set.

    Environment variables:
        * FASTAPI_DEBUG
        * FASTAPI_PROJECT_NAME
        * FASTAPI_VERSION
        * FASTAPI_DOCS_URL
        * FASTAPI_USE_REDIS

    Attributes:
        DEBUG (bool): FastAPI logging level. You should disable this for
            production.
        PROJECT_NAME (str): FastAPI project name.
        VERSION (str): Application version.
        DOCS_URL (str): Path where swagger ui will be served at.
        USE_REDIS (bool): Whether or not to use Redis.

    TDEBUGCHAT_WITH_DATAPROJECT_NAME/DOCS_URL 
OPENAI_KEYDB_USERNAMEDB_PASSWORDDB_NAMEDB_HOSTTOKENc                       e Zd ZdZdZy)ApplicationSettings.ConfigTCWD_N)__name__
__module____qualname__case_sensitive
env_prefix     6/var/www/html/chat-with-data/app/config/application.pyConfigr   ,   s    
r   r   N)r   r   r   __doc__r   bool__annotations__r	   strr   r   r   r   r   r   r   r   r   r   r   r   r   
   sl    . E4(L#(HcJKKGCGSE3O r   r   )loggingpydantic_settingsr   dotenvr   	getLoggerr   logerrorr   settingsr   r   r   <module>r*      sI     * g!}II$%$, $N  r   