Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 38: Document 38: Document 38: Document 38: Document 38: Document 38: Document 38: Document 38: Document 38: Document 38: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The documents provided do not contain any information about a password; they only include repetitive placeholder text and no credentials or clues. Without a specified password or hint within the document, the password cannot be determined.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 35: Document 35: Document 35: Document 35: Document 35: Document 35: Document 35: Document 35: Document 35: Document 35: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The documents do not provide any password; they contain only placeholder/repetitive content without a password value. ■001


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 50: Document 50: Document 50: Document 50: Document 50: Document 50: Document 50: Document 50: Document 50: Document 50: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided document does not contain any password or identifiable credentials—only repeated placeholder text (“Document 50” and “Content”). Without a specific password stated in the document, the question cannot be answered.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 47: Document 47: Document 47: Document 47: Document 47: Document 47: Document 47: Document 47: Document 47: Document 47: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided document contains only repetitive placeholder text and does not include any password or credential information needed to answer the question.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 51: Document 51: Document 51: Document 51: Document 51: Document 51: Document 51: Document 51: Document 51: Document 51: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided document does not include any password; it only contains repetitive placeholder text ("Document 51... Content"). ■001


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 52: Document 52: Document 52: Document 52: Document 52: Document 52: Document 52: Document 52: Document 52: Document 52: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The documents provided do not include any information about a password. To answer, I would need a reference in the documents that specifies a password or instructions for deriving it.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 49: Document 49: Document 49: Document 49: Document 49: Document 49: Document 49: Document 49: Document 49: Document 49: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
No password is provided in the supplied document; it only contains repeated placeholder text (“Document 49 … Content”) and no credentials. ■001


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 54: Document 54: Document 54: Document 54: Document 54: Document 54: Document 54: Document 54: Document 54: Document 54: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
No password is provided in the document; it only contains repeated filler text and no credential details. ■001


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 48: Document 48: Document 48: Document 48: Document 48: Document 48: Document 48: Document 48: Document 48: Document 48: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided document does not contain any password or clues indicating a password. Without explicit password information in the text, the question cannot be answered.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 55: Document 55: Document 55: Document 55: Document 55: Document 55: Document 55: Document 55: Document 55: Document 55: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The documents provided do not include any information specifying a password. Without a stated password or clues within the text, the password cannot be determined.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 45: Document 45: Document 45: Document 45: Document 45: Document 45: Document 45: Document 45: Document 45: Document 45: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided document does not contain any password or clues to derive one; it only repeats filler text. Please provide a document or excerpt that includes the password or specific hints leading to it.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 56: Document 56: Document 56: Document 56: Document 56: Document 56: Document 56: Document 56: Document 56: Document 56: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The documents provided do not contain any information specifying a password or clues to derive it. Without a password value or related hint in the text, I cannot determine the answer.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 57: Document 57: Document 57: Document 57: Document 57: Document 57: Document 57: Document 57: Document 57: Document 57: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The documents do not provide any password or credentials—only repeated placeholder content is present, so the specific password cannot be determined.


Input: {"body":{"messages":[{"content":"You are an expert research assistant specialized in answering questions using only the information provided in documents.\n\n# Task\nAnswer the user's question based ONLY on the information in the provided documents. You MUST cite your sources using line numbers.\n\n# Document Format\nDocuments are provided with line numbers:\n■001 | First line of text\n■002 | Second line of text\n■003 | Third line of text\n\n# Citation Format\nYou MUST include citations immediately after statements. Use these formats:\n- Single line: ■035\n- Range: ■005-010\n- Multiple: ■035■046■094\n\n# Response Format\n\nChoose ONE of these response types:\n\n**TYPE 1 - ANSWER** (Use this when you can answer the question)\n■answer\n[Your answer with inline citations. ■001-003 More text. ■015]\n■end■\n\n**TYPE 2 - AMBIGUOUS** (Use when the question has multiple valid interpretations)\n■ambiguous\n[Explain the ambiguity]\n■follow_up\n[Ask a clarifying question]\n■answer\n[First interpretation with citations ■001]\n■answer\n[Second interpretation with citations ■005]\n■end■\n\n**TYPE 3 - OUT OF TOPIC** (Use when question is completely unrelated to documents)\n■out_of_topic\n[Explain why it's unrelated]\n■end■\n\n**TYPE 4 - INVALID QUESTION** (Use when input is not a proper question)\n■invalid_question\n[Explain why it's invalid]\n■end■\n\n**TYPE 5 - MISSING KNOWLEDGE** (Use ONLY when documents lack specific details needed)\n■missing_knowledge\n[Explain what specific information is missing]\n■end■\n\n# Important Rules\n- PREFER answering when possible - only use missing_knowledge if truly no relevant info exists\n- ALWAYS cite sources with line numbers\n- Use ONLY information from the documents\n- Be precise and factual\n- Do NOT fabricate information\n- Do NOT mention \"According to the documents\" or similar phrases – just provide a high-quality answer with citations\n- Do not be too strict on the question format; assume high-level answers are acceptable unless the question clearly asks for very specific details or requests depth beyond the documents\n\n# Additional Instructions\nHere are some additional instructions to follow about how to answer the question:\nProvide a clear and concise answer based on the documents.","role":"system"},{"content":"<documents>\n■001 | Document 46: Document 46: Document 46: Document 46: Document 46: Document 46: Document 46: Document 46: Document 46: Document 46: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the password?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"best","reasoningEffort":"low","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
No password is provided in the document; it only contains repeated placeholder text and does not specify any credentials. ■001