Skip to main content

Variable: defaultQueryKeywordExtractPrompt

const defaultQueryKeywordExtractPrompt: PromptTemplate<readonly ["maxKeywords", "question"], string[], "(\n "A question is provided below. Given the question, extract up to {maxKeywords} "\n "keywords from the text. Focus on extracting the keywords that we can use "\n "to best lookup answers to the question. Avoid stopwords."\n "---------------------"\n "{question}"\n "---------------------"\n "Provide keywords in the following comma-separated format: 'KEYWORDS: <keywords>'"\n)">

Defined in

packages/core/prompts/dist/index.d.ts:111