ofermend commited on
Commit
48f9851
1 Parent(s): d96a2b9

Update query.py

Browse files
Files changed (1) hide show
  1. query.py +0 -2
query.py CHANGED
@@ -55,7 +55,6 @@ class VectaraQuery():
55
  self.corpus_ids = corpus_ids
56
  self.api_key = api_key
57
  self.prompt_name = prompt_name if prompt_name else "vectara-experimental-summary-ext-2023-12-11-sml"
58
- print(f"Using prompt {self.prompt_name}")
59
  self.conv_id = None
60
 
61
  def get_body(self, query_str: str):
@@ -186,7 +185,6 @@ class VectaraQuery():
186
  accumulated_text = re.sub(r"\s+\.", ".", accumulated_text)
187
  out_chunk = accumulated_text[:-pattern_max_length]
188
  chunks.append(out_chunk)
189
- print(f"DEBUG out_chunk = {out_chunk}")
190
  yield out_chunk
191
  accumulated_text = accumulated_text[-pattern_max_length:]
192
 
 
55
  self.corpus_ids = corpus_ids
56
  self.api_key = api_key
57
  self.prompt_name = prompt_name if prompt_name else "vectara-experimental-summary-ext-2023-12-11-sml"
 
58
  self.conv_id = None
59
 
60
  def get_body(self, query_str: str):
 
185
  accumulated_text = re.sub(r"\s+\.", ".", accumulated_text)
186
  out_chunk = accumulated_text[:-pattern_max_length]
187
  chunks.append(out_chunk)
 
188
  yield out_chunk
189
  accumulated_text = accumulated_text[-pattern_max_length:]
190