Skip to content

Commit

Permalink
Added env variables and API keys
Browse files Browse the repository at this point in the history
  • Loading branch information
sajedjalil committed Sep 28, 2024
1 parent 9d8c501 commit 64a7073
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Patient_Chat/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
BASE_DIR = Path(__file__).resolve().parent.parent
load_dotenv(os.path.join(BASE_DIR, '.env'))

# Load environment variables and API keys.
ANTHROPIC_API_KEY = os.environ.get('ANTHROPIC_API_KEY')

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/5.1/howto/deployment/checklist/
LANGCHAIN_API_KEY = os.environ.get('LANGCHAIN_API_KEY')
LANGCHAIN_ENDPOINT = os.environ.get('LANGCHAIN_ENDPOINT')
LANGCHAIN_TRACING_V2 = os.environ.get('LANGCHAIN_TRACING_V2')
LANGCHAIN_PROJECT = os.environ.get('LANGCHAIN_PROJECT')

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-=gu=528j*lqd0obl*(e+t#!vz9aujru4#20%43&z8yx&57^5x-'
Expand Down

0 comments on commit 64a7073

Please sign in to comment.