Update prompts
This commit is contained in:
parent
d6ffa45ee6
commit
4b8e4f9846
@ -6,21 +6,29 @@ from const import UTF8
|
|||||||
""" The hostname of the server. """
|
""" The hostname of the server. """
|
||||||
HOSTNAME: str = os.getenv('HOSTNAME') # localhost or some name
|
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"""
|
""" The API key for OpenAI"""
|
||||||
APIKEY: str = os.getenv('APIKEY') # secret key from OpenAPI website
|
APIKEY: str = os.getenv('APIKEY') # secret key from OpenAPI website
|
||||||
if APIKEY is None:
|
if APIKEY is None:
|
||||||
raise Exception("APIKEY Environmental Variable must be set")
|
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
|
""" The prompts used for OpenAI. When the server receives a request, it will
|
||||||
randomly select one of these prompts to use."""
|
randomly select one of these prompts to use."""
|
||||||
PROMPTS = [
|
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\" as a haiku and mention that it is a haiku.",
|
||||||
"Say \"USERNAME does not give a fuck\" in a Dr Suess poem.",
|
"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."
|
"Say \"USERNAME is completely apethetic and does not give a fuck\" in a verbose manner, using your most colorful words and one metaphor."
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user