Omnibus commited on
Commit
8112f86
·
verified ·
1 Parent(s): 558262e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -373,8 +373,8 @@ Your final response should be only the final formatted JSON string enclosed in b
373
  Required keys:
374
  "keywords":["short", "list", "of", "important", "keywords", "found", "in", "this", "entry"]
375
  "title":"title of entry"
376
- "description":"brief summary of the entry"
377
- "content":"exhaustive summary of the datapoints found"
378
  "url":"https://url.source"
379
  """
380
 
@@ -386,7 +386,7 @@ def save_memory(purpose, history):
386
  rl = len(inp)
387
  print(f'rl:: {rl}')
388
  for i in str(inp):
389
- if i == " " or i=="," or i=="\n" or i=="/" or i=="." or i=="<":
390
  c +=1
391
  print (f'c:: {c}')
392
 
@@ -494,8 +494,8 @@ def save_memory(purpose, history):
494
  token=token_self,
495
  repo_type="dataset",
496
  )
497
- ee=ee+chunk-1000
498
- s=s+chunk-1000
499
  out_box.append(resp)
500
  return out_box
501
 
 
373
  Required keys:
374
  "keywords":["short", "list", "of", "important", "keywords", "found", "in", "this", "entry"]
375
  "title":"title of entry"
376
+ "description":"A sentence summarizing the topic of this entry"
377
+ "content":"A brief paragraph summarizing the important datapoints found in this entry"
378
  "url":"https://url.source"
379
  """
380
 
 
386
  rl = len(inp)
387
  print(f'rl:: {rl}')
388
  for i in str(inp):
389
+ if i == " " or i=="," or i=="\n" or i=="/" or i=="\\" or i=="." or i=="<":
390
  c +=1
391
  print (f'c:: {c}')
392
 
 
494
  token=token_self,
495
  repo_type="dataset",
496
  )
497
+ ee=ee+chunk-100
498
+ s=s+chunk-100
499
  out_box.append(resp)
500
  return out_box
501