diff --git a/application/core/__init__.py b/application/core/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/application/core/settings.py b/application/core/settings.py new file mode 100644 index 00000000..416b903d --- /dev/null +++ b/application/core/settings.py @@ -0,0 +1,10 @@ +from pydantic import BaseSettings +from pathlib import Path + + +class Settings(BaseSettings): + openai_token: str + + +path = Path(__file__).parent.parent.absolute() +settings = Settings(_env_file=path.joinpath(".env"), _env_file_encoding="utf-8")