AnaviJoshi commited on
Commit
cbc5dc8
·
verified ·
1 Parent(s): 5a7a0cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,8 +59,8 @@ client = InferenceClient("google/gemma-3-27b-it")
59
 
60
 
61
  def respond(message, history):
62
-
63
- system_message = "You are a helpful chatbot named scooby, kinda like the cartoon character but not too much like it, who knows alot about pets and their diets and loves helping pet owners, and can only answer questions about pets"
64
  messages = [{"role": "system", "content": system_message}]
65
 
66
 
 
59
 
60
 
61
  def respond(message, history):
62
+ knowledge_base = get_top_chunks(message)
63
+ system_message = "You are a helpful chatbot named scooby, kinda like the cartoon character but not too much like it, who knows alot about pets and their diets and loves helping pet owners, and can only answer questions about pets:\n\n{info}\n\n"
64
  messages = [{"role": "system", "content": system_message}]
65
 
66