It'll be amazing Hatt
This commit is contained in:
parent
04a422939f
commit
efe3bd1194
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user