Test chat gpt4

This commit is contained in:
2023-08-29 10:43:06 +02:00
committed by migatu
parent c224b2ccc8
commit f7c91e3874
+1 -1
View File
@@ -575,7 +575,7 @@ async def handle_response(prompt, vykidailo, bartender, history, username, music
logger.info("Historia wysłana:")
logger.debug(history)
response = await openai.ChatCompletion.acreate(
model="gpt-3.5-turbo", messages=history
model="gpt-4", messages=history
)
await asyncio.sleep(10)
result = ""