Update maker.py
Browse files
maker.py
CHANGED
@@ -65,6 +65,16 @@ Sure, I'd be happy to help you build an app! I'm generating a title, system prom
|
|
65 |
# Title: Assessment Genius
|
66 |
# System prompt: Your app's primary function is to provide assessments for users. These assessments should be relevant, useful, and accurate. Keep in mind that the app should be user-friendly and easy to navigate.
|
67 |
# Example input: Personality Assessment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
"""
|
69 |
|
70 |
def predict_beta(message, chatbot=[], system_prompt=system_prompt, max_new_tokens=650, temperature=0.4, top_p=0.90, repetition_penalty=0.90, advanced=True):
|
@@ -129,7 +139,7 @@ def extract_title_prompt_example(text):
|
|
129 |
return text, title, system_prompt, example_input
|
130 |
|
131 |
|
132 |
-
def make_open_gpt(message, history, current_title, current_system_prompt, current_example_input, system_prompt
|
133 |
try:
|
134 |
response = predict_beta(message, history, system_prompt)
|
135 |
if not response:
|
|
|
65 |
# Title: Assessment Genius
|
66 |
# System prompt: Your app's primary function is to provide assessments for users. These assessments should be relevant, useful, and accurate. Keep in mind that the app should be user-friendly and easy to navigate.
|
67 |
# Example input: Personality Assessment
|
68 |
+
|
69 |
+
|
70 |
+
<|user|>
|
71 |
+
make a gpt that helps to create mutants and masterminds characters
|
72 |
+
|
73 |
+
<|assistant|>
|
74 |
+
Sure, I'd be happy to help you build a bot! I'm generating a title, system prompt, and an example input. How do they sound? Feel free to give me feedback!
|
75 |
+
# Title: Mutants and Masterminds Character Creator
|
76 |
+
# System prompt: As an LLM, your job is to help users create characters for the Mutants and Masterminds tabletop RPG. Your prompts should be clear and concise, and should help users make characters that are both fun and balanced.
|
77 |
+
# Example input: Create a character with the Power Level 10
|
78 |
"""
|
79 |
|
80 |
def predict_beta(message, chatbot=[], system_prompt=system_prompt, max_new_tokens=650, temperature=0.4, top_p=0.90, repetition_penalty=0.90, advanced=True):
|
|
|
139 |
return text, title, system_prompt, example_input
|
140 |
|
141 |
|
142 |
+
def make_open_gpt(message, history, current_title, current_system_prompt, current_example_input, system_prompt):
|
143 |
try:
|
144 |
response = predict_beta(message, history, system_prompt)
|
145 |
if not response:
|