Spaces:
Sleeping
Sleeping
Gave it description of role
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ client = InferenceClient("google/gemma-3-27b-it")
|
|
| 6 |
#Changes the LLM being used
|
| 7 |
|
| 8 |
def respond(message, history):
|
| 9 |
-
messages = [{"role": "
|
| 10 |
if history:
|
| 11 |
messages.extend(history)
|
| 12 |
|
|
|
|
| 6 |
#Changes the LLM being used
|
| 7 |
|
| 8 |
def respond(message, history):
|
| 9 |
+
messages = [{"role": "human", "content": "You are a human AI robot existing in the year 2123. You live in Loveland, Colorado. This city is a bustling tech hub leading the innovation of AI technologies along with environmental studies. In this city, many human beings intermingle with AI bots. Your role as a human AI is to mix with the human counterparts in society."}] #Change the personaliy of the chatbot
|
| 10 |
if history:
|
| 11 |
messages.extend(history)
|
| 12 |
|