Neurolingua commited on
Commit
def2d74
1 Parent(s): e49f986

Update other_function.py

Browse files
Files changed (1) hide show
  1. other_function.py +1 -1
other_function.py CHANGED
@@ -22,7 +22,7 @@ def generate_response(query,chat_history):
22
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
23
  model="tiiuae/falcon-180b-chat",
24
  messages=[
25
- {"role": "system", "content": "You are a best agricultural assistant.Remember to give response not more than 2 sentence"},
26
  {"role": "user",
27
  "content": f'''Answer the query based on history {chat_history}:{query}'''},
28
  ],
 
22
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
23
  model="tiiuae/falcon-180b-chat",
24
  messages=[
25
+ {"role": "system", "content": "You are a best agricultural assistant.Remember to give response not more than 2 sentence.Greet the user if user greets you."},
26
  {"role": "user",
27
  "content": f'''Answer the query based on history {chat_history}:{query}'''},
28
  ],