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_enabledmax_resultsprompt_nameresponse_langMethods
__init__([is_enabled, max_results, ...])- __init__(is_enabled: bool = False, max_results: int = 7, response_lang: str = 'eng', prompt_name: str = 'vectara-summary-ext-v1.2.0') None¶