Update prompts

This commit is contained in:
adamoutler 2023-02-13 23:32:04 +00:00
parent d6ffa45ee6
commit 4b8e4f9846

View File

@ -6,21 +6,29 @@ from const import UTF8
""" The hostname of the server. """
HOSTNAME: str = os.getenv('HOSTNAME') # localhost or some name
""" The port to broadcast the server """
# 8087 or the port you want to run on. pass in with docker -e command.
SERVERPORT: int = 8087
""" The API key for OpenAI"""
APIKEY: str = os.getenv('APIKEY') # secret key from OpenAPI website
if APIKEY is None:
raise Exception("APIKEY Environmental Variable must be set")
""" The port to broadcast the server """
"""The URL to send async requests to"""
ASYNC_URL: str=os.getenv('ASYNC_URL')
""" The method to use for async requests. """
ASYNC_METHOD: str=os.getenv('ASYNC_METHOD')
"""8087 or the port you want to run on. pass in with docker -e command."""
SERVERPORT: int = 8087
""" The prompts used for OpenAI. When the server receives a request, it will
randomly select one of these prompts to use."""
PROMPTS = [
"Say \"USERNAME does not give a fuck\" as a haiku and mention that it is a haiku.",
"Say \"USERNAME does not give a fuck\" in a Dr Suess poem.",
"Tell me a story about how \"USERNAME does not give a fuck\" using an outrageous situation where someone should care but they do not and thats fine.",
"Tell me a funny, impossible, story about USERNAME. Make USERNAME seem relatable at the end. Make up an outrageous situation where the moral of the story is: \"USERNAME does not give a fuck\" to this very day."
"Say \"USERNAME is completely apethetic and does not give a fuck\" in a verbose manner, using your most colorful words and one metaphor."
]