diff --git a/.gitignore b/.gitignore index 6e98104..38464e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # Umgebung .env +.env.ingest .env.job_matching +.env.backup venv/ __pycache__/ *.pyc diff --git a/ingest.py b/ingest.py index d0ed1b8..6244ac8 100644 --- a/ingest.py +++ b/ingest.py @@ -25,7 +25,7 @@ try: except ImportError: PDF_SUPPORT = False -load_dotenv() +load_dotenv(".env.ingest") # --- Konfiguration --- OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") diff --git a/ingest_anythingllm.py b/ingest_anythingllm.py index d0ed1b8..56da6ff 100644 --- a/ingest_anythingllm.py +++ b/ingest_anythingllm.py @@ -25,7 +25,7 @@ try: except ImportError: PDF_SUPPORT = False -load_dotenv() +load_dotenv(".env.anythingllm") # --- Konfiguration --- OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")