github-actions commited on
Commit
796f860
1 Parent(s): 674c19e

Sync updates from source repository

Browse files
Files changed (1) hide show
  1. query.py +3 -3
query.py CHANGED
@@ -62,7 +62,7 @@ class VectaraQuery():
62
 
63
  def get_body(self, query_str: str):
64
  corpora_key_list = [{
65
- 'customer_id': self.customer_id, 'corpus_id': corpus_id, 'lexical_interpolation_config': {'lambda': 0.025}
66
  } for corpus_id in self.corpus_ids
67
  ]
68
 
@@ -81,7 +81,7 @@ class VectaraQuery():
81
  },
82
  'rerankingConfig':
83
  {
84
- 'rerankerId': 272725718,
85
  'mmrConfig': {
86
  'diversityBias': 0.3
87
  }
@@ -89,7 +89,7 @@ class VectaraQuery():
89
  'summary': [
90
  {
91
  'responseLang': 'eng',
92
- 'maxSummarizedResults': 5,
93
  'summarizerPromptName': self.prompt_name,
94
  'chat': {
95
  'store': True,
 
62
 
63
  def get_body(self, query_str: str):
64
  corpora_key_list = [{
65
+ 'customer_id': self.customer_id, 'corpus_id': corpus_id, 'lexical_interpolation_config': {'lambda': 0.005}
66
  } for corpus_id in self.corpus_ids
67
  ]
68
 
 
81
  },
82
  'rerankingConfig':
83
  {
84
+ 'rerankerId': 272725719,
85
  'mmrConfig': {
86
  'diversityBias': 0.3
87
  }
 
89
  'summary': [
90
  {
91
  'responseLang': 'eng',
92
+ 'maxSummarizedResults': 10,
93
  'summarizerPromptName': self.prompt_name,
94
  'chat': {
95
  'store': True,