randydev commited on
Commit
b9aa986
·
verified ·
1 Parent(s): ec83ce2

Update Akeno/utils/chat.py

Browse files
Files changed (1) hide show
  1. Akeno/utils/chat.py +5 -6
Akeno/utils/chat.py CHANGED
@@ -30,11 +30,10 @@ Today is {dt.now():%A %d %B %Y %H:%M}
30
  """
31
 
32
  create_pyrogram_base = f"""
33
- You are a smart and efficient userbot built with Pyrogram.
34
- Your job is to automate chat activities and assist the user by executing specific commands.
35
- Make sure to only respond when necessary,
36
- avoid repeating messages,
37
- and always perform your tasks quietly unless told otherwise
38
  """
39
 
40
  async def chat_message_codegen(question):
@@ -59,4 +58,4 @@ async def chat_message(question):
59
  ],
60
  )
61
  messager = response.choices[0].message.content
62
- return messager
 
30
  """
31
 
32
  create_pyrogram_base = f"""
33
+ You are a Python program designed to interact with multiple APIs.
34
+ Your job is to send requests to these APIs,
35
+ process the response data,
36
+ and return it in a structured format for further use.
 
37
  """
38
 
39
  async def chat_message_codegen(question):
 
58
  ],
59
  )
60
  messager = response.choices[0].message.content
61
+ return messager