GAF to add descriptions to settings

This commit is contained in:
adamoutler 2023-02-05 23:58:05 +00:00
parent baa241ca14
commit 72e545a0da

View File

@ -1,10 +1,12 @@
import os
#The hostname used by this app
HOSTNAME:str = os.getenv('HOSTNAME') #localhost
HOSTNAME:str = os.getenv('HOSTNAME') #localhost or some name
#The port to broadcast the server
SERVERPORT:int = int(os.getenv('SERVERPORT')) #8087
SERVERPORT:int = int(os.getenv('SERVERPORT')) #8087 or the port you want to run on. pass in with docker -e command.
#The API key for OpenAI
APIKEY:str = os.getenv('APIKEY') #secret key
APIKEY:str = os.getenv('APIKEY') #secret key from OpenAPI website
if APIKEY is None:
raise Exception("APIKEY Environmental Variable must be set")
#The hash key
HASHKEY:str = os.getenv('HASHKEY') #shared secret for hmac of message
#The prompts used for OpenAI.