Neurolingua commited on
Commit
8b28c8c
1 Parent(s): 4749d72

Update other_function.py

Browse files
Files changed (1) hide show
  1. other_function.py +4 -4
other_function.py CHANGED
@@ -225,8 +225,8 @@ def booktask(data):
225
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
226
  model="tiiuae/falcon-11b",
227
  messages=[
228
- {"role": "system", "content": "You are a agriculture bookkeeping assistant."},
229
- {"role": "user", "content": f"My bookkeeping data is {data}.Provide the data in points."},
230
  ],
231
  stream=True,
232
  ):
@@ -241,8 +241,8 @@ def return_bookdata(querry,data):
241
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
242
  model="tiiuae/falcon-11b",
243
  messages=[
244
- {"role": "system", "content": "You are a agriculture bookkeeping responding assistant."},
245
- {"role": "user", "content": f"My bookkeeping data is {data}.do what user is telling. user:{querry}"},
246
  ],
247
  stream=True,
248
  ):
 
225
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
226
  model="tiiuae/falcon-11b",
227
  messages=[
228
+ {"role": "system", "content": "You are an assistant."},
229
+ {"role": "user", "content": f"My finance plan data is {data}.Provide the data in points."},
230
  ],
231
  stream=True,
232
  ):
 
241
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
242
  model="tiiuae/falcon-11b",
243
  messages=[
244
+ {"role": "system", "content": "You are an assistant."},
245
+ {"role": "user", "content": f"My finance plan data is {data}.do what user is telling. user:{querry}.Give the finance format of finance data in points"},
246
  ],
247
  stream=True,
248
  ):