ofermend commited on
Commit
1d1fdde
1 Parent(s): 2458bb6

Upload 2 files

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -65,9 +65,9 @@ def launch_bot(agent_type: str):
65
 
66
  # Create the Vectara Tool
67
  vectara_tool = QueryEngineTool(
68
- query_engine = vectara.as_query_engine(summary_enabled = True, summary_num_results = 10, summary_response_lang = languages[cfg.language],
69
- summary_prompt_name = "vectara-summary-ext-24-05-large",
70
- vectara_query_mode = "mmr", rerank_k = 50, mmr_diversity_bias = 0.1,
71
  n_sentence_before = 5, n_sentence_after = 5),
72
  metadata = ToolMetadata(name="vectara",
73
  description="""
 
65
 
66
  # Create the Vectara Tool
67
  vectara_tool = QueryEngineTool(
68
+ query_engine = vectara.as_query_engine(summary_enabled = True, summary_num_results = 15, summary_response_lang = languages[cfg.language],
69
+ summary_prompt_name = "ectara-experimental-summary-ext-2023-12-11-large",
70
+ vectara_query_mode = "mmr", rerank_k = 50, mmr_diversity_bias = 0.2,
71
  n_sentence_before = 5, n_sentence_after = 5),
72
  metadata = ToolMetadata(name="vectara",
73
  description="""