UserPotato12397 commited on
Commit
c3fe5d0
·
verified ·
1 Parent(s): 3d8647e

Gave it description of role

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": "system", "content": "You are a friendly chatbot."}] #Change the personaliy of the chatbot
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