CyberNative
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,7 @@ def chat_llama3_8b(message: str,
|
|
70 |
str: The generated response.
|
71 |
"""
|
72 |
conversation = []
|
|
|
73 |
for user, assistant in history:
|
74 |
conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
|
75 |
conversation.append({"role": "user", "content": message})
|
|
|
70 |
str: The generated response.
|
71 |
"""
|
72 |
conversation = []
|
73 |
+
conversation.append({"role": "system", "content": "You are Colibri, an advanced cybersecurity AI assistant developed by CyberNative AI."})
|
74 |
for user, assistant in history:
|
75 |
conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
|
76 |
conversation.append({"role": "user", "content": message})
|