Update Akeno/utils/chat.py
Browse files- 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
|
34 |
-
Your job is to
|
35 |
-
|
36 |
-
|
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
|