Skip to main content

Variable: defaultQuestionExtractPrompt

const defaultQuestionExtractPrompt: PromptTemplate<readonly ["numQuestions", "context"], string[], "(\n "Given the contextual informations below, generate {numQuestions} questions this context can provides specific answers to which are unlikely to be found else where. Higher-level summaries of surrounding context may be provided as well. "\n "Try using these summaries to generate better questions that this context can answer."\n "---------------------"\n "{context}"\n "---------------------"\n "Provide questions in the following format: 'QUESTIONS: <questions>'"\n)">

Defined in

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