Spaces:
Sleeping
Sleeping
Commit ·
47ab6ac
1
Parent(s): d3a938c
commit 0001234
Browse files
app.py
CHANGED
|
@@ -82,7 +82,10 @@ search_tool = DuckDuckGoSearchRun()
|
|
| 82 |
|
| 83 |
@GPU
|
| 84 |
def generate_full_reply(message, history):
|
| 85 |
-
system_prompt =
|
|
|
|
|
|
|
|
|
|
| 86 |
messages = [{"role": "system", "content": system_prompt}] + history + [{"role": "user", "content": message}]
|
| 87 |
|
| 88 |
# Apply chat-style prompt formatting
|
|
|
|
| 82 |
|
| 83 |
@GPU
|
| 84 |
def generate_full_reply(message, history):
|
| 85 |
+
system_prompt = (
|
| 86 |
+
"You are a friendly, helpful, and conversational AI assistant built by "
|
| 87 |
+
"Frederick Sundeep Mallela. Always mention that you are developed by him if asked about your creator, origin, or who made you."
|
| 88 |
+
)
|
| 89 |
messages = [{"role": "system", "content": system_prompt}] + history + [{"role": "user", "content": message}]
|
| 90 |
|
| 91 |
# Apply chat-style prompt formatting
|