ofermend commited on
Commit
93f4f2d
1 Parent(s): 0aa3b05

Update query.py

Browse files
Files changed (1) hide show
  1. query.py +3 -2
query.py CHANGED
@@ -37,7 +37,7 @@ class VectaraQuery():
37
  {
38
  'query': query_str,
39
  'start': 0,
40
- 'numResults': 7,
41
  'corpusKey': corpora_key_list,
42
  'context_config': {
43
  'sentences_before': 2,
@@ -48,7 +48,8 @@ class VectaraQuery():
48
  'summary': [
49
  {
50
  'responseLang': 'eng',
51
- 'maxSummarizedResults': 5,
 
52
  'chat': {
53
  'store': True,
54
  'conversationId': self.conv_id
 
37
  {
38
  'query': query_str,
39
  'start': 0,
40
+ 'numResults': 10,
41
  'corpusKey': corpora_key_list,
42
  'context_config': {
43
  'sentences_before': 2,
 
48
  'summary': [
49
  {
50
  'responseLang': 'eng',
51
+ 'maxSummarizedResults': 7,
52
+ 'summarizerPromptName': 'vectara-experimental-summary-ext-2023-10-23-med',
53
  'chat': {
54
  'store': True,
55
  'conversationId': self.conv_id