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/dist/prompts/index.d.ts:100