mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 11:04:51 +00:00
Update chatbot_ai.py
This commit is contained in:
parent
9cb6a7d77d
commit
0fb0918f10
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ async def openai_chatbot(_, ctx: Message, strings):
|
||||||
answer = ""
|
answer = ""
|
||||||
try:
|
try:
|
||||||
response = await openai.ChatCompletion.acreate(
|
response = await openai.ChatCompletion.acreate(
|
||||||
model="gpt-3.5-turbo",
|
model="gpt-3.5-turbo-0613",
|
||||||
messages=[{"role": "user", "content": pertanyaan}],
|
messages=[{"role": "user", "content": pertanyaan}],
|
||||||
temperature=0.7,
|
temperature=0.7,
|
||||||
stream=True,
|
stream=True,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue