langchain_community.vectorstores.vectara.SummaryConfig¶

class langchain_community.vectorstores.vectara.SummaryConfig(is_enabled: bool = False, max_results: int = 7, response_lang: str = 'eng', prompt_name: str = 'vectara-summary-ext-v1.2.0')[source]¶

is_enabled: True if summary is enabled, False otherwise max_results: maximum number of results to summarize response_lang: requested language for the summary prompt_name: name of the prompt to use for summarization

Attributes

is_enabled

max_results

prompt_name

response_lang

Methods

__init__([is_enabled, max_results, ...])

Parameters
  • is_enabled (bool) –

  • max_results (int) –

  • response_lang (str) –

  • prompt_name (str) –

__init__(is_enabled: bool = False, max_results: int = 7, response_lang: str = 'eng', prompt_name: str = 'vectara-summary-ext-v1.2.0') None¶
Parameters
  • is_enabled (bool) –

  • max_results (int) –

  • response_lang (str) –

  • prompt_name (str) –

Return type

None