Test chat gpt4

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