Ashok75 commited on
Commit
90e69ba
·
verified ·
1 Parent(s): 1eb6d71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def chat():
20
  user_msg = request.json.get("message")
21
 
22
  # System Prompt Construction [14, 32]
23
- prompt = f"<|system|>\nYou are an Enterprise ReAct Agent. Always think before answering.\n<|user|>\n{user_msg}\n<|assistant|>\n<thought>"
24
 
25
  inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
26
  streamer = TextIteratorStreamer(tokenizer, skip_prompt=True, skip_special_tokens=True)
 
20
  user_msg = request.json.get("message")
21
 
22
  # System Prompt Construction [14, 32]
23
+ prompt = f"<|system|>\nYou are an GAKR AI ASSISTANT. Always think before answering.dont think heavely and answer directly if you know the answer and if you want any latest content or anything call the web_search tool to get the content like latest data and web data and all\n<|user|>\n{user_msg}\n<|assistant|>\n<thought>"
24
 
25
  inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
26
  streamer = TextIteratorStreamer(tokenizer, skip_prompt=True, skip_special_tokens=True)