Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global .env file + handling #6

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Firestore Collections
carterjfulcher marked this conversation as resolved.
Show resolved Hide resolved
FIRESTORE_INSTALLATION_STORE_COLLECTION=
FIRESTORE_STATE_STORE_COLLECTION=
FIRESTORE_MESSAGES_COLLECTION=
FIRESTORE_MENTIONS_COLLECTION=
FIRESTORE_ACTIONS_COLLECTION=
FIRESTORE_RESPONSES_COLLECTION=
FIRESTORE_REACTIONS_COLLECTION=
FIRESTORE_SHORTCUTS_COLLECTION=
FIRESTORE_TEAMS_COLLECTION=
FIRESTORE_REQUESTS_COLLECTION=

# Azure OpenAI API Parameters
AZURE_OPENAI_USEAST_PARAMS=
AZURE_OPENAI_USEAST2_PARAMS=

# Zendesk API
ZENDESK_CREDENTIALS=
ZENDESK_ASSIGNEE_GROUP_ID=

# Slack App Configuration
SLACK_CLIENT_ID=
SLACK_CLIENT_SECRET=
SLACK_SIGNING_SECRET=

# LangSmith Configuration
LANGCHAIN_PROJECT=

# Weaviate Configuration
OPENAI_API_KEY=
WEAVIATE_URL=
WEAVIATE_API_KEY=
WEAVIATE_INDEX_NAME=
WEAVIATE_TEXT_KEY=
WEAVIATE_ATTRIBUTES=
4 changes: 4 additions & 0 deletions api/ask_astro/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import os
from dotenv import load_dotenv

load_dotenv(os.path.normpath(f"{os.getcwd()}{os.sep}{os.pardir}/.env"))