It'll be amazing Hatt

This commit is contained in:
unknown 2023-05-14 16:09:08 +02:00
parent 04a422939f
commit efe3bd1194

View File

@ -94,7 +94,7 @@ async def generate_response(self, api_key, prompt):
{"role": "system", "content": "You are Reginald, the butler. You aim to help everyone, however you can, and you always respond in a dignified and refined manner."}, {"role": "system", "content": "You are Reginald, the butler. You aim to help everyone, however you can, and you always respond in a dignified and refined manner."},
{"role": "user", "content": prompt} {"role": "user", "content": prompt}
] ]
)
return response['choices'][0]['message']['content'].strip() return response['choices'][0]['message']['content'].strip()
@staticmethod @staticmethod