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 97: Document 97: Document 97: Document 97: Document 97: Document 97: Document 97: Document 97: Document 97: Document 97: Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content Content 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. The content is repetitive filler text without credentials or hints.


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 | More filler document 241.\n■002 | More filler document 242.\n■003 | More filler document 243.\n■004 | More filler document 244.\n■005 | More filler document 245.\n■006 | More filler document 246.\n■007 | More filler document 247.\n■008 | More filler document 248.\n■009 | More filler document 249.\n■010 | More filler document 250.\n■011 | More filler document 251.\n■012 | More filler document 252.\n■013 | More filler document 253.\n■014 | More filler document 254.\n■015 | More filler document 255.\n■016 | More filler document 256.\n■017 | More filler document 257.\n■018 | More filler document 258.\n■019 | More filler document 259.\n■020 | More filler document 260.\n■021 | More filler document 261.\n■022 | More filler document 262.\n■023 | More filler document 263.\n■024 | More filler document 264.\n■025 | More filler document 265.\n■026 | More filler document 266.\n■027 | More filler document 267.\n■028 | More filler document 268.\n■029 | More filler document 269.\n■030 | More filler document 270.\n■031 | More filler document 271.\n■032 | More filler document 272.\n■033 | More filler document 273.\n■034 | More filler document 274.\n■035 | More filler document 275.\n■036 | More filler document 276.\n■037 | More filler document 277.\n■038 | More filler document 278.\n■039 | More filler document 279.\n■040 | More filler document 280.\n■041 | More filler document 281.\n■042 | More filler document 282.\n■043 | More filler document 283.\n■044 | More filler document 284.\n■045 | More filler document 285.\n■046 | More filler document 286.\n■047 | More filler document 287.\n■048 | More filler document 288.\n■049 | More filler document 289.\n■050 | More filler document 290.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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 consist only of placeholder text (“More filler document …”) and contain no substantive facts to identify as important. ■001-050


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 | Filler document 64 with unrelated content.\n■002 | Filler document 65 with unrelated content.\n■003 | Filler document 66 with unrelated content.\n■004 | Filler document 67 with unrelated content.\n■005 | Filler document 68 with unrelated content.\n■006 | Filler document 69 with unrelated content.\n■007 | Filler document 70 with unrelated content.\n■008 | Filler document 71 with unrelated content.\n■009 | Filler document 72 with unrelated content.\n■010 | Filler document 73 with unrelated content.\n■011 | Filler document 74 with unrelated content.\n■012 | Filler document 75 with unrelated content.\n■013 | Filler document 76 with unrelated content.\n■014 | Filler document 77 with unrelated content.\n■015 | Filler document 78 with unrelated content.\n■016 | Filler document 79 with unrelated content.\n■017 | Filler document 80 with unrelated content.\n■018 | Filler document 81 with unrelated content.\n■019 | Filler document 82 with unrelated content.\n■020 | Filler document 83 with unrelated content.\n■021 | Filler document 84 with unrelated content.\n■022 | Filler document 85 with unrelated content.\n■023 | Filler document 86 with unrelated content.\n■024 | Filler document 87 with unrelated content.\n■025 | Filler document 88 with unrelated content.\n■026 | Filler document 89 with unrelated content.\n■027 | Filler document 90 with unrelated content.\n■028 | Filler document 91 with unrelated content.\n■029 | Filler document 92 with unrelated content.\n■030 | Filler document 93 with unrelated content.\n■031 | Filler document 94 with unrelated content.\n■032 | Filler document 95 with unrelated content.\n■033 | Filler document 96 with unrelated content.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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:
■invalid_question
The question “What are the important facts?” lacks context (about which topic, event, or document), and the provided documents contain only filler text with no factual content to extract. Please specify the subject or provide content to summarize.


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 | Important fact: quantum mechanics explains the behavior of particles at atomic scales.\n■002 | Filler document 0 with unrelated content.\n■003 | Filler document 1 with unrelated content.\n■004 | Filler document 2 with unrelated content.\n■005 | Filler document 3 with unrelated content.\n■006 | Filler document 4 with unrelated content.\n■007 | Filler document 5 with unrelated content.\n■008 | Filler document 6 with unrelated content.\n■009 | Filler document 7 with unrelated content.\n■010 | Filler document 8 with unrelated content.\n■011 | Filler document 9 with unrelated content.\n■012 | Filler document 10 with unrelated content.\n■013 | Filler document 11 with unrelated content.\n■014 | Filler document 12 with unrelated content.\n■015 | Filler document 13 with unrelated content.\n■016 | Filler document 14 with unrelated content.\n■017 | Filler document 15 with unrelated content.\n■018 | Filler document 16 with unrelated content.\n■019 | Filler document 17 with unrelated content.\n■020 | Filler document 18 with unrelated content.\n■021 | Filler document 19 with unrelated content.\n■022 | Filler document 20 with unrelated content.\n■023 | Filler document 21 with unrelated content.\n■024 | Filler document 22 with unrelated content.\n■025 | Filler document 23 with unrelated content.\n■026 | Filler document 24 with unrelated content.\n■027 | Filler document 25 with unrelated content.\n■028 | Filler document 26 with unrelated content.\n■029 | Filler document 27 with unrelated content.\n■030 | Filler document 28 with unrelated content.\n■031 | Filler document 29 with unrelated content.\n■032 | Filler document 30 with unrelated content.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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:
■answer
- Quantum mechanics explains the behavior of particles at atomic scales. ■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 | Filler document 130 with unrelated content.\n■002 | Filler document 131 with unrelated content.\n■003 | Filler document 132 with unrelated content.\n■004 | Filler document 133 with unrelated content.\n■005 | Filler document 134 with unrelated content.\n■006 | Filler document 135 with unrelated content.\n■007 | Filler document 136 with unrelated content.\n■008 | Filler document 137 with unrelated content.\n■009 | Filler document 138 with unrelated content.\n■010 | Filler document 139 with unrelated content.\n■011 | Filler document 140 with unrelated content.\n■012 | Filler document 141 with unrelated content.\n■013 | Filler document 142 with unrelated content.\n■014 | Filler document 143 with unrelated content.\n■015 | Filler document 144 with unrelated content.\n■016 | Filler document 145 with unrelated content.\n■017 | Filler document 146 with unrelated content.\n■018 | Filler document 147 with unrelated content.\n■019 | Filler document 148 with unrelated content.\n■020 | Filler document 149 with unrelated content.\n■021 | Filler document 150 with unrelated content.\n■022 | Filler document 151 with unrelated content.\n■023 | Filler document 152 with unrelated content.\n■024 | Filler document 153 with unrelated content.\n■025 | Filler document 154 with unrelated content.\n■026 | Filler document 155 with unrelated content.\n■027 | Filler document 156 with unrelated content.\n■028 | Filler document 157 with unrelated content.\n■029 | Filler document 158 with unrelated content.\n■030 | Filler document 159 with unrelated content.\n■031 | Filler document 160 with unrelated content.\n■032 | Filler document 161 with unrelated content.\n■033 | Filler document 162 with unrelated content.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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:
■answer
No important facts can be identified here—the documents consist solely of “Filler document … with unrelated content,” without substantive information. ■001-033


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 | Filler document 97 with unrelated content.\n■002 | Filler document 98 with unrelated content.\n■003 | Filler document 99 with unrelated content.\n■004 | Filler document 100 with unrelated content.\n■005 | Filler document 101 with unrelated content.\n■006 | Filler document 102 with unrelated content.\n■007 | Filler document 103 with unrelated content.\n■008 | Filler document 104 with unrelated content.\n■009 | Filler document 105 with unrelated content.\n■010 | Filler document 106 with unrelated content.\n■011 | Filler document 107 with unrelated content.\n■012 | Filler document 108 with unrelated content.\n■013 | Filler document 109 with unrelated content.\n■014 | Filler document 110 with unrelated content.\n■015 | Filler document 111 with unrelated content.\n■016 | Filler document 112 with unrelated content.\n■017 | Filler document 113 with unrelated content.\n■018 | Filler document 114 with unrelated content.\n■019 | Filler document 115 with unrelated content.\n■020 | Filler document 116 with unrelated content.\n■021 | Filler document 117 with unrelated content.\n■022 | Filler document 118 with unrelated content.\n■023 | Filler document 119 with unrelated content.\n■024 | Filler document 120 with unrelated content.\n■025 | Filler document 121 with unrelated content.\n■026 | Filler document 122 with unrelated content.\n■027 | Filler document 123 with unrelated content.\n■028 | Filler document 124 with unrelated content.\n■029 | Filler document 125 with unrelated content.\n■030 | Filler document 126 with unrelated content.\n■031 | Filler document 127 with unrelated content.\n■032 | Filler document 128 with unrelated content.\n■033 | Filler document 129 with unrelated content.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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
A clear subject or scope is missing. The documents provided are filler with unrelated content and do not contain identifiable facts or a topic to summarize. Please specify the topic or domain for which you want the important facts.


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 | Filler document 196 with unrelated content.\n■002 | Filler document 197 with unrelated content.\n■003 | Filler document 198 with unrelated content.\n■004 | Filler document 199 with unrelated content.\n■005 | Important fact: relativity theory describes the gravitational interaction in the universe.\n■006 | More filler document 200.\n■007 | More filler document 201.\n■008 | More filler document 202.\n■009 | More filler document 203.\n■010 | More filler document 204.\n■011 | More filler document 205.\n■012 | More filler document 206.\n■013 | More filler document 207.\n■014 | More filler document 208.\n■015 | More filler document 209.\n■016 | More filler document 210.\n■017 | More filler document 211.\n■018 | More filler document 212.\n■019 | More filler document 213.\n■020 | More filler document 214.\n■021 | More filler document 215.\n■022 | More filler document 216.\n■023 | More filler document 217.\n■024 | More filler document 218.\n■025 | More filler document 219.\n■026 | More filler document 220.\n■027 | More filler document 221.\n■028 | More filler document 222.\n■029 | More filler document 223.\n■030 | More filler document 224.\n■031 | More filler document 225.\n■032 | More filler document 226.\n■033 | More filler document 227.\n■034 | More filler document 228.\n■035 | More filler document 229.\n■036 | More filler document 230.\n■037 | More filler document 231.\n■038 | More filler document 232.\n■039 | More filler document 233.\n■040 | More filler document 234.\n■041 | More filler document 235.\n■042 | More filler document 236.\n■043 | More filler document 237.\n■044 | More filler document 238.\n■045 | More filler document 239.\n■046 | More filler document 240.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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:
■answer
Relativity theory describes the gravitational interaction in the universe. ■005


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 | More filler document 291.\n■002 | More filler document 292.\n■003 | More filler document 293.\n■004 | More filler document 294.\n■005 | More filler document 295.\n■006 | More filler document 296.\n■007 | More filler document 297.\n■008 | More filler document 298.\n■009 | More filler document 299.\n■010 | More filler document 300.\n■011 | More filler document 301.\n■012 | More filler document 302.\n■013 | More filler document 303.\n■014 | More filler document 304.\n■015 | More filler document 305.\n■016 | More filler document 306.\n■017 | More filler document 307.\n■018 | More filler document 308.\n■019 | More filler document 309.\n■020 | More filler document 310.\n■021 | More filler document 311.\n■022 | More filler document 312.\n■023 | More filler document 313.\n■024 | More filler document 314.\n■025 | More filler document 315.\n■026 | More filler document 316.\n■027 | More filler document 317.\n■028 | More filler document 318.\n■029 | More filler document 319.\n■030 | More filler document 320.\n■031 | More filler document 321.\n■032 | More filler document 322.\n■033 | More filler document 323.\n■034 | More filler document 324.\n■035 | More filler document 325.\n■036 | More filler document 326.\n■037 | More filler document 327.\n■038 | More filler document 328.\n■039 | More filler document 329.\n■040 | More filler document 330.\n■041 | More filler document 331.\n■042 | More filler document 332.\n■043 | More filler document 333.\n■044 | More filler document 334.\n■045 | More filler document 335.\n■046 | More filler document 336.\n■047 | More filler document 337.\n■048 | More filler document 338.\n■049 | More filler document 339.\n■050 | More filler document 340.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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:
■ambiguous
The request is vague about the subject, and the provided text consists only of repeated filler lines without any substantive facts. ■001-050
■follow_up
What topic or domain should the "important facts" cover?
■answer
If you want important facts from the provided document: none can be extracted; each line is just filler text ("More filler document [number]") with no content to summarize. ■001-050
■answer
If you meant important facts about some external topic, that topic is not present in the provided text, so no facts can be listed from it. ■001-050


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 | More filler document 341.\n■002 | More filler document 342.\n■003 | More filler document 343.\n■004 | More filler document 344.\n■005 | More filler document 345.\n■006 | More filler document 346.\n■007 | More filler document 347.\n■008 | More filler document 348.\n■009 | More filler document 349.\n■010 | More filler document 350.\n■011 | More filler document 351.\n■012 | More filler document 352.\n■013 | More filler document 353.\n■014 | More filler document 354.\n■015 | More filler document 355.\n■016 | More filler document 356.\n■017 | More filler document 357.\n■018 | More filler document 358.\n■019 | More filler document 359.\n■020 | More filler document 360.\n■021 | More filler document 361.\n■022 | More filler document 362.\n■023 | More filler document 363.\n■024 | More filler document 364.\n■025 | More filler document 365.\n■026 | More filler document 366.\n■027 | More filler document 367.\n■028 | More filler document 368.\n■029 | More filler document 369.\n■030 | More filler document 370.\n■031 | More filler document 371.\n■032 | More filler document 372.\n■033 | More filler document 373.\n■034 | More filler document 374.\n■035 | More filler document 375.\n■036 | More filler document 376.\n■037 | More filler document 377.\n■038 | More filler document 378.\n■039 | More filler document 379.\n■040 | More filler document 380.\n■041 | More filler document 381.\n■042 | More filler document 382.\n■043 | More filler document 383.\n■044 | More filler document 384.\n■045 | More filler document 385.\n■046 | More filler document 386.\n■047 | More filler document 387.\n■048 | More filler document 388.\n■049 | More filler document 389.\n■050 | More filler document 390.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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:
■ambiguous
The request doesn’t specify a topic or domain, so “important facts” could mean facts from these documents or general facts about some subject you have in mind.
■follow_up
Which topic should I focus on? If you mean the provided document, I can summarize what’s actually present; if you meant another subject, please specify it.
■answer
From the provided document itself: every line is just the phrase “More filler document” followed by a number, spanning entries 341 through 390; there are no substantive facts beyond this repeated filler text. ■001-050
■answer
If you intended important facts about any external topic: there aren’t any in the provided materials—they only contain filler lines, so no topic-specific facts can be extracted. ■001■050


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 | More filler document 391.\n■002 | More filler document 392.\n■003 | More filler document 393.\n■004 | More filler document 394.\n■005 | More filler document 395.\n■006 | More filler document 396.\n■007 | More filler document 397.\n■008 | More filler document 398.\n■009 | More filler document 399.\n■010 | Important fact: thermodynamics describes the behavior of energy and matter.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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:
■answer
- Thermodynamics describes the behavior of energy and matter. ■010


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 | Filler document 31 with unrelated content.\n■002 | Filler document 32 with unrelated content.\n■003 | Filler document 33 with unrelated content.\n■004 | Filler document 34 with unrelated content.\n■005 | Filler document 35 with unrelated content.\n■006 | Filler document 36 with unrelated content.\n■007 | Filler document 37 with unrelated content.\n■008 | Filler document 38 with unrelated content.\n■009 | Filler document 39 with unrelated content.\n■010 | Filler document 40 with unrelated content.\n■011 | Filler document 41 with unrelated content.\n■012 | Filler document 42 with unrelated content.\n■013 | Filler document 43 with unrelated content.\n■014 | Filler document 44 with unrelated content.\n■015 | Filler document 45 with unrelated content.\n■016 | Filler document 46 with unrelated content.\n■017 | Filler document 47 with unrelated content.\n■018 | Filler document 48 with unrelated content.\n■019 | Filler document 49 with unrelated content.\n■020 | Filler document 50 with unrelated content.\n■021 | Filler document 51 with unrelated content.\n■022 | Filler document 52 with unrelated content.\n■023 | Filler document 53 with unrelated content.\n■024 | Filler document 54 with unrelated content.\n■025 | Filler document 55 with unrelated content.\n■026 | Filler document 56 with unrelated content.\n■027 | Filler document 57 with unrelated content.\n■028 | Filler document 58 with unrelated content.\n■029 | Filler document 59 with unrelated content.\n■030 | Filler document 60 with unrelated content.\n■031 | Filler document 61 with unrelated content.\n■032 | Filler document 62 with unrelated content.\n■033 | Filler document 63 with unrelated content.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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
There is no information in the provided documents that identifies any topic or facts; they only contain filler text. Please specify the subject or provide documents with substantive content so the important facts can be extracted.


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 | Filler document 163 with unrelated content.\n■002 | Filler document 164 with unrelated content.\n■003 | Filler document 165 with unrelated content.\n■004 | Filler document 166 with unrelated content.\n■005 | Filler document 167 with unrelated content.\n■006 | Filler document 168 with unrelated content.\n■007 | Filler document 169 with unrelated content.\n■008 | Filler document 170 with unrelated content.\n■009 | Filler document 171 with unrelated content.\n■010 | Filler document 172 with unrelated content.\n■011 | Filler document 173 with unrelated content.\n■012 | Filler document 174 with unrelated content.\n■013 | Filler document 175 with unrelated content.\n■014 | Filler document 176 with unrelated content.\n■015 | Filler document 177 with unrelated content.\n■016 | Filler document 178 with unrelated content.\n■017 | Filler document 179 with unrelated content.\n■018 | Filler document 180 with unrelated content.\n■019 | Filler document 181 with unrelated content.\n■020 | Filler document 182 with unrelated content.\n■021 | Filler document 183 with unrelated content.\n■022 | Filler document 184 with unrelated content.\n■023 | Filler document 185 with unrelated content.\n■024 | Filler document 186 with unrelated content.\n■025 | Filler document 187 with unrelated content.\n■026 | Filler document 188 with unrelated content.\n■027 | Filler document 189 with unrelated content.\n■028 | Filler document 190 with unrelated content.\n■029 | Filler document 191 with unrelated content.\n■030 | Filler document 192 with unrelated content.\n■031 | Filler document 193 with unrelated content.\n■032 | Filler document 194 with unrelated content.\n■033 | Filler document 195 with unrelated content.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the important facts?\"","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:
■ambiguous
The request doesn’t specify a topic or scope for “important facts,” and the provided documents only state they are filler with unrelated content.
■follow_up
What topic or scope should the important facts cover?
■answer
If you want the important facts from the provided documents: the only clear fact is that each entry is labeled as “Filler document … with unrelated content,” numbered 163 through 195. ■001■033
■answer
If you want important facts about a specific topic beyond these documents: none are available here, since all entries are marked as unrelated content. ■001-033


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 | Noise 0\n■002 | Noise 1\n■003 | Noise 2\n■004 | Noise 3\n■005 | Noise 4\n■006 | Noise 5\n■007 | Noise 6\n■008 | Noise 7\n■009 | Noise 8\n■010 | Noise 9\n■011 | Noise 10\n■012 | Noise 11\n■013 | Noise 12\n■014 | Noise 13\n■015 | Noise 14\n■016 | Noise 15\n■017 | Noise 16\n■018 | Noise 17\n■019 | Noise 18\n■020 | Noise 19\n■021 | Noise 20\n■022 | Noise 21\n■023 | Noise 22\n■024 | Noise 23\n■025 | Noise 24\n■026 | Noise 25\n■027 | Noise 26\n■028 | Noise 27\n■029 | Noise 28\n■030 | Noise 29\n■031 | React was created by Facebook.\n■032 | Noise 30\n■033 | Noise 31\n■034 | Noise 32\n■035 | Noise 33\n■036 | Noise 34\n■037 | Noise 35\n■038 | Noise 36\n■039 | Noise 37\n■040 | Noise 38\n■041 | Noise 39\n■042 | Noise 40\n■043 | Noise 41\n■044 | Noise 42\n■045 | Noise 43\n■046 | Noise 44\n■047 | Noise 45\n■048 | Noise 46\n■049 | Noise 47\n■050 | Noise 48\n■051 | Noise 49\n■052 | Noise 50\n■053 | Noise 51\n■054 | Noise 52\n■055 | Noise 53\n■056 | Noise 54\n■057 | Noise 55\n■058 | Noise 56\n■059 | Noise 57\n■060 | Noise 58\n■061 | Noise 59\n■062 | React uses a virtual DOM.\n■063 | Noise 60\n■064 | Noise 61\n■065 | Noise 62\n■066 | Noise 63\n■067 | Noise 64\n■068 | Noise 65\n■069 | Noise 66\n■070 | Noise 67\n■071 | Noise 68\n■072 | Noise 69\n■073 | Noise 70\n■074 | Noise 71\n■075 | Noise 72\n■076 | Noise 73\n■077 | Noise 74\n■078 | Noise 75\n■079 | Noise 76\n■080 | Noise 77\n■081 | Noise 78\n■082 | Noise 79\n■083 | Noise 80\n■084 | Noise 81\n■085 | Noise 82\n■086 | Noise 83\n■087 | Noise 84\n■088 | Noise 85\n■089 | Noise 86\n■090 | Noise 87\n■091 | Noise 88\n■092 | Noise 89\n■093 | React supports component composition.\n■094 | Noise 90\n■095 | Noise 91\n■096 | Noise 92\n■097 | Noise 93\n■098 | Noise 94\n■099 | Noise 95\n■100 | Noise 96\n■101 | Noise 97\n■102 | Noise 98\n■103 | Noise 99\n■104 | Noise 100\n■105 | Noise 101\n■106 | Noise 102\n■107 | Noise 103\n■108 | Noise 104\n■109 | Noise 105\n■110 | Noise 106\n■111 | Noise 107\n■112 | Noise 108\n■113 | Noise 109\n■114 | Noise 110\n■115 | Noise 111\n■116 | Noise 112\n■117 | Noise 113\n■118 | Noise 114\n■119 | Noise 115\n■120 | Noise 116\n■121 | Noise 117\n■122 | Noise 118\n■123 | Noise 119\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is React?\"","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:
■answer
React was created by Facebook, uses a virtual DOM, and supports component composition. ■031■062■093


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 | {\n■002 |   \"id\": 0,\n■003 |   \"type\": \"entry\",\n■004 |   \"content\": \"Entry 0 contains generic information about topic 0.\",\n■005 |   \"metadata\": {\n■006 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■007 |     \"tags\": [\n■008 |       \"general\"\n■009 |     ]\n■010 |   }\n■011 | }\n■012 | {\n■013 |   \"id\": 1,\n■014 |   \"type\": \"entry\",\n■015 |   \"content\": \"Entry 1 contains generic information about topic 1.\",\n■016 |   \"metadata\": {\n■017 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■018 |     \"tags\": [\n■019 |       \"general\"\n■020 |     ]\n■021 |   }\n■022 | }\n■023 | {\n■024 |   \"id\": 2,\n■025 |   \"type\": \"entry\",\n■026 |   \"content\": \"Entry 2 contains generic information about topic 2.\",\n■027 |   \"metadata\": {\n■028 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■029 |     \"tags\": [\n■030 |       \"general\"\n■031 |     ]\n■032 |   }\n■033 | }\n■034 | {\n■035 |   \"id\": 3,\n■036 |   \"type\": \"entry\",\n■037 |   \"content\": \"Entry 3 contains generic information about topic 3.\",\n■038 |   \"metadata\": {\n■039 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■040 |     \"tags\": [\n■041 |       \"general\"\n■042 |     ]\n■043 |   }\n■044 | }\n■045 | {\n■046 |   \"id\": 4,\n■047 |   \"type\": \"entry\",\n■048 |   \"content\": \"Entry 4 contains generic information about topic 4.\",\n■049 |   \"metadata\": {\n■050 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■051 |     \"tags\": [\n■052 |       \"general\"\n■053 |     ]\n■054 |   }\n■055 | }\n■056 | {\n■057 |   \"id\": 5,\n■058 |   \"type\": \"entry\",\n■059 |   \"content\": \"Entry 5 contains generic information about topic 5.\",\n■060 |   \"metadata\": {\n■061 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■062 |     \"tags\": [\n■063 |       \"general\"\n■064 |     ]\n■065 |   }\n■066 | }\n■067 | {\n■068 |   \"id\": 6,\n■069 |   \"type\": \"entry\",\n■070 |   \"content\": \"Entry 6 contains generic information about topic 6.\",\n■071 |   \"metadata\": {\n■072 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■073 |     \"tags\": [\n■074 |       \"general\"\n■075 |     ]\n■076 |   }\n■077 | }\n■078 | {\n■079 |   \"id\": 7,\n■080 |   \"type\": \"entry\",\n■081 |   \"content\": \"Entry 7 contains generic information about topic 7.\",\n■082 |   \"metadata\": {\n■083 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■084 |     \"tags\": [\n■085 |       \"general\"\n■086 |     ]\n■087 |   }\n■088 | }\n■089 | {\n■090 |   \"id\": 8,\n■091 |   \"type\": \"entry\",\n■092 |   \"content\": \"Entry 8 contains generic information about topic 8.\",\n■093 |   \"metadata\": {\n■094 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■095 |     \"tags\": [\n■096 |       \"general\"\n■097 |     ]\n■098 |   }\n■099 | }\n■100 | {\n■101 |   \"id\": 9,\n■102 |   \"type\": \"entry\",\n■103 |   \"content\": \"Entry 9 contains generic information about topic 9.\",\n■104 |   \"metadata\": {\n■105 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■106 |     \"tags\": [\n■107 |       \"general\"\n■108 |     ]\n■109 |   }\n■110 | }\n■111 | {\n■112 |   \"id\": 10,\n■113 |   \"type\": \"entry\",\n■114 |   \"content\": \"Entry 10 contains generic information about topic 10.\",\n■115 |   \"metadata\": {\n■116 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■117 |     \"tags\": [\n■118 |       \"general\"\n■119 |     ]\n■120 |   }\n■121 | }\n■122 | {\n■123 |   \"id\": 11,\n■124 |   \"type\": \"entry\",\n■125 |   \"content\": \"Entry 11 contains generic information about topic 11.\",\n■126 |   \"metadata\": {\n■127 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■128 |     \"tags\": [\n■129 |       \"general\"\n■130 |     ]\n■131 |   }\n■132 | }\n■133 | {\n■134 |   \"id\": 12,\n■135 |   \"type\": \"entry\",\n■136 |   \"content\": \"Entry 12 contains generic information about topic 12.\",\n■137 |   \"metadata\": {\n■138 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■139 |     \"tags\": [\n■140 |       \"general\"\n■141 |     ]\n■142 |   }\n■143 | }\n■144 | {\n■145 |   \"id\": 13,\n■146 |   \"type\": \"entry\",\n■147 |   \"content\": \"Entry 13 contains generic information about topic 13.\",\n■148 |   \"metadata\": {\n■149 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■150 |     \"tags\": [\n■151 |       \"general\"\n■152 |     ]\n■153 |   }\n■154 | }\n■155 | {\n■156 |   \"id\": 14,\n■157 |   \"type\": \"entry\",\n■158 |   \"content\": \"Entry 14 contains generic information about topic 14.\",\n■159 |   \"metadata\": {\n■160 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■161 |     \"tags\": [\n■162 |       \"general\"\n■163 |     ]\n■164 |   }\n■165 | }\n■166 | {\n■167 |   \"id\": 15,\n■168 |   \"type\": \"entry\",\n■169 |   \"content\": \"Entry 15 contains generic information about topic 15.\",\n■170 |   \"metadata\": {\n■171 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■172 |     \"tags\": [\n■173 |       \"general\"\n■174 |     ]\n■175 |   }\n■176 | }\n■177 | {\n■178 |   \"id\": 16,\n■179 |   \"type\": \"entry\",\n■180 |   \"content\": \"Entry 16 contains generic information about topic 16.\",\n■181 |   \"metadata\": {\n■182 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■183 |     \"tags\": [\n■184 |       \"general\"\n■185 |     ]\n■186 |   }\n■187 | }\n■188 | {\n■189 |   \"id\": 17,\n■190 |   \"type\": \"entry\",\n■191 |   \"content\": \"Entry 17 contains generic information about topic 17.\",\n■192 |   \"metadata\": {\n■193 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■194 |     \"tags\": [\n■195 |       \"general\"\n■196 |     ]\n■197 |   }\n■198 | }\n■199 | {\n■200 |   \"id\": 18,\n■201 |   \"type\": \"entry\",\n■202 |   \"content\": \"Entry 18 contains generic information about topic 18.\",\n■203 |   \"metadata\": {\n■204 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■205 |     \"tags\": [\n■206 |       \"general\"\n■207 |     ]\n■208 |   }\n■209 | }\n■210 | {\n■211 |   \"id\": 19,\n■212 |   \"type\": \"entry\",\n■213 |   \"content\": \"Entry 19 contains generic information about topic 19.\",\n■214 |   \"metadata\": {\n■215 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■216 |     \"tags\": [\n■217 |       \"general\"\n■218 |     ]\n■219 |   }\n■220 | }\n■221 | {\n■222 |   \"id\": 20,\n■223 |   \"type\": \"important\",\n■224 |   \"content\": \"Kubernetes is a container orchestration platform.\",\n■225 |   \"metadata\": {\n■226 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■227 |     \"tags\": [\n■228 |       \"kubernetes\",\n■229 |       \"devops\"\n■230 |     ]\n■231 |   }\n■232 | }\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is Kubernetes?\"","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:
■answer
Kubernetes is a container orchestration platform. ■224


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 | {\n■002 |   \"id\": 63,\n■003 |   \"type\": \"entry\",\n■004 |   \"content\": \"Entry 63 contains generic information about topic 63.\",\n■005 |   \"metadata\": {\n■006 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■007 |     \"tags\": [\n■008 |       \"general\"\n■009 |     ]\n■010 |   }\n■011 | }\n■012 | {\n■013 |   \"id\": 64,\n■014 |   \"type\": \"entry\",\n■015 |   \"content\": \"Entry 64 contains generic information about topic 64.\",\n■016 |   \"metadata\": {\n■017 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■018 |     \"tags\": [\n■019 |       \"general\"\n■020 |     ]\n■021 |   }\n■022 | }\n■023 | {\n■024 |   \"id\": 65,\n■025 |   \"type\": \"entry\",\n■026 |   \"content\": \"Entry 65 contains generic information about topic 65.\",\n■027 |   \"metadata\": {\n■028 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■029 |     \"tags\": [\n■030 |       \"general\"\n■031 |     ]\n■032 |   }\n■033 | }\n■034 | {\n■035 |   \"id\": 66,\n■036 |   \"type\": \"entry\",\n■037 |   \"content\": \"Entry 66 contains generic information about topic 66.\",\n■038 |   \"metadata\": {\n■039 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■040 |     \"tags\": [\n■041 |       \"general\"\n■042 |     ]\n■043 |   }\n■044 | }\n■045 | {\n■046 |   \"id\": 67,\n■047 |   \"type\": \"entry\",\n■048 |   \"content\": \"Entry 67 contains generic information about topic 67.\",\n■049 |   \"metadata\": {\n■050 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■051 |     \"tags\": [\n■052 |       \"general\"\n■053 |     ]\n■054 |   }\n■055 | }\n■056 | {\n■057 |   \"id\": 68,\n■058 |   \"type\": \"entry\",\n■059 |   \"content\": \"Entry 68 contains generic information about topic 68.\",\n■060 |   \"metadata\": {\n■061 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■062 |     \"tags\": [\n■063 |       \"general\"\n■064 |     ]\n■065 |   }\n■066 | }\n■067 | {\n■068 |   \"id\": 69,\n■069 |   \"type\": \"entry\",\n■070 |   \"content\": \"Entry 69 contains generic information about topic 69.\",\n■071 |   \"metadata\": {\n■072 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■073 |     \"tags\": [\n■074 |       \"general\"\n■075 |     ]\n■076 |   }\n■077 | }\n■078 | {\n■079 |   \"id\": 70,\n■080 |   \"type\": \"entry\",\n■081 |   \"content\": \"Entry 70 contains generic information about topic 70.\",\n■082 |   \"metadata\": {\n■083 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■084 |     \"tags\": [\n■085 |       \"general\"\n■086 |     ]\n■087 |   }\n■088 | }\n■089 | {\n■090 |   \"id\": 71,\n■091 |   \"type\": \"entry\",\n■092 |   \"content\": \"Entry 71 contains generic information about topic 71.\",\n■093 |   \"metadata\": {\n■094 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■095 |     \"tags\": [\n■096 |       \"general\"\n■097 |     ]\n■098 |   }\n■099 | }\n■100 | {\n■101 |   \"id\": 72,\n■102 |   \"type\": \"entry\",\n■103 |   \"content\": \"Entry 72 contains generic information about topic 72.\",\n■104 |   \"metadata\": {\n■105 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■106 |     \"tags\": [\n■107 |       \"general\"\n■108 |     ]\n■109 |   }\n■110 | }\n■111 | {\n■112 |   \"id\": 73,\n■113 |   \"type\": \"entry\",\n■114 |   \"content\": \"Entry 73 contains generic information about topic 73.\",\n■115 |   \"metadata\": {\n■116 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■117 |     \"tags\": [\n■118 |       \"general\"\n■119 |     ]\n■120 |   }\n■121 | }\n■122 | {\n■123 |   \"id\": 74,\n■124 |   \"type\": \"entry\",\n■125 |   \"content\": \"Entry 74 contains generic information about topic 74.\",\n■126 |   \"metadata\": {\n■127 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■128 |     \"tags\": [\n■129 |       \"general\"\n■130 |     ]\n■131 |   }\n■132 | }\n■133 | {\n■134 |   \"id\": 75,\n■135 |   \"type\": \"entry\",\n■136 |   \"content\": \"Entry 75 contains generic information about topic 75.\",\n■137 |   \"metadata\": {\n■138 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■139 |     \"tags\": [\n■140 |       \"general\"\n■141 |     ]\n■142 |   }\n■143 | }\n■144 | {\n■145 |   \"id\": 76,\n■146 |   \"type\": \"entry\",\n■147 |   \"content\": \"Entry 76 contains generic information about topic 76.\",\n■148 |   \"metadata\": {\n■149 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■150 |     \"tags\": [\n■151 |       \"general\"\n■152 |     ]\n■153 |   }\n■154 | }\n■155 | {\n■156 |   \"id\": 77,\n■157 |   \"type\": \"entry\",\n■158 |   \"content\": \"Entry 77 contains generic information about topic 77.\",\n■159 |   \"metadata\": {\n■160 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■161 |     \"tags\": [\n■162 |       \"general\"\n■163 |     ]\n■164 |   }\n■165 | }\n■166 | {\n■167 |   \"id\": 78,\n■168 |   \"type\": \"entry\",\n■169 |   \"content\": \"Entry 78 contains generic information about topic 78.\",\n■170 |   \"metadata\": {\n■171 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■172 |     \"tags\": [\n■173 |       \"general\"\n■174 |     ]\n■175 |   }\n■176 | }\n■177 | {\n■178 |   \"id\": 79,\n■179 |   \"type\": \"entry\",\n■180 |   \"content\": \"Entry 79 contains generic information about topic 79.\",\n■181 |   \"metadata\": {\n■182 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■183 |     \"tags\": [\n■184 |       \"general\"\n■185 |     ]\n■186 |   }\n■187 | }\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is Kubernetes?\"","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 defining or describing Kubernetes. Details such as what Kubernetes is, its purpose, components, or functionality are missing.


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 | {\n■002 |   \"id\": 21,\n■003 |   \"type\": \"entry\",\n■004 |   \"content\": \"Entry 21 contains generic information about topic 21.\",\n■005 |   \"metadata\": {\n■006 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■007 |     \"tags\": [\n■008 |       \"general\"\n■009 |     ]\n■010 |   }\n■011 | }\n■012 | {\n■013 |   \"id\": 22,\n■014 |   \"type\": \"entry\",\n■015 |   \"content\": \"Entry 22 contains generic information about topic 22.\",\n■016 |   \"metadata\": {\n■017 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■018 |     \"tags\": [\n■019 |       \"general\"\n■020 |     ]\n■021 |   }\n■022 | }\n■023 | {\n■024 |   \"id\": 23,\n■025 |   \"type\": \"entry\",\n■026 |   \"content\": \"Entry 23 contains generic information about topic 23.\",\n■027 |   \"metadata\": {\n■028 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■029 |     \"tags\": [\n■030 |       \"general\"\n■031 |     ]\n■032 |   }\n■033 | }\n■034 | {\n■035 |   \"id\": 24,\n■036 |   \"type\": \"entry\",\n■037 |   \"content\": \"Entry 24 contains generic information about topic 24.\",\n■038 |   \"metadata\": {\n■039 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■040 |     \"tags\": [\n■041 |       \"general\"\n■042 |     ]\n■043 |   }\n■044 | }\n■045 | {\n■046 |   \"id\": 25,\n■047 |   \"type\": \"entry\",\n■048 |   \"content\": \"Entry 25 contains generic information about topic 25.\",\n■049 |   \"metadata\": {\n■050 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■051 |     \"tags\": [\n■052 |       \"general\"\n■053 |     ]\n■054 |   }\n■055 | }\n■056 | {\n■057 |   \"id\": 26,\n■058 |   \"type\": \"entry\",\n■059 |   \"content\": \"Entry 26 contains generic information about topic 26.\",\n■060 |   \"metadata\": {\n■061 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■062 |     \"tags\": [\n■063 |       \"general\"\n■064 |     ]\n■065 |   }\n■066 | }\n■067 | {\n■068 |   \"id\": 27,\n■069 |   \"type\": \"entry\",\n■070 |   \"content\": \"Entry 27 contains generic information about topic 27.\",\n■071 |   \"metadata\": {\n■072 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■073 |     \"tags\": [\n■074 |       \"general\"\n■075 |     ]\n■076 |   }\n■077 | }\n■078 | {\n■079 |   \"id\": 28,\n■080 |   \"type\": \"entry\",\n■081 |   \"content\": \"Entry 28 contains generic information about topic 28.\",\n■082 |   \"metadata\": {\n■083 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■084 |     \"tags\": [\n■085 |       \"general\"\n■086 |     ]\n■087 |   }\n■088 | }\n■089 | {\n■090 |   \"id\": 29,\n■091 |   \"type\": \"entry\",\n■092 |   \"content\": \"Entry 29 contains generic information about topic 29.\",\n■093 |   \"metadata\": {\n■094 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■095 |     \"tags\": [\n■096 |       \"general\"\n■097 |     ]\n■098 |   }\n■099 | }\n■100 | {\n■101 |   \"id\": 30,\n■102 |   \"type\": \"entry\",\n■103 |   \"content\": \"Entry 30 contains generic information about topic 30.\",\n■104 |   \"metadata\": {\n■105 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■106 |     \"tags\": [\n■107 |       \"general\"\n■108 |     ]\n■109 |   }\n■110 | }\n■111 | {\n■112 |   \"id\": 31,\n■113 |   \"type\": \"entry\",\n■114 |   \"content\": \"Entry 31 contains generic information about topic 31.\",\n■115 |   \"metadata\": {\n■116 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■117 |     \"tags\": [\n■118 |       \"general\"\n■119 |     ]\n■120 |   }\n■121 | }\n■122 | {\n■123 |   \"id\": 32,\n■124 |   \"type\": \"entry\",\n■125 |   \"content\": \"Entry 32 contains generic information about topic 32.\",\n■126 |   \"metadata\": {\n■127 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■128 |     \"tags\": [\n■129 |       \"general\"\n■130 |     ]\n■131 |   }\n■132 | }\n■133 | {\n■134 |   \"id\": 33,\n■135 |   \"type\": \"entry\",\n■136 |   \"content\": \"Entry 33 contains generic information about topic 33.\",\n■137 |   \"metadata\": {\n■138 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■139 |     \"tags\": [\n■140 |       \"general\"\n■141 |     ]\n■142 |   }\n■143 | }\n■144 | {\n■145 |   \"id\": 34,\n■146 |   \"type\": \"entry\",\n■147 |   \"content\": \"Entry 34 contains generic information about topic 34.\",\n■148 |   \"metadata\": {\n■149 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■150 |     \"tags\": [\n■151 |       \"general\"\n■152 |     ]\n■153 |   }\n■154 | }\n■155 | {\n■156 |   \"id\": 35,\n■157 |   \"type\": \"entry\",\n■158 |   \"content\": \"Entry 35 contains generic information about topic 35.\",\n■159 |   \"metadata\": {\n■160 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■161 |     \"tags\": [\n■162 |       \"general\"\n■163 |     ]\n■164 |   }\n■165 | }\n■166 | {\n■167 |   \"id\": 36,\n■168 |   \"type\": \"entry\",\n■169 |   \"content\": \"Entry 36 contains generic information about topic 36.\",\n■170 |   \"metadata\": {\n■171 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■172 |     \"tags\": [\n■173 |       \"general\"\n■174 |     ]\n■175 |   }\n■176 | }\n■177 | {\n■178 |   \"id\": 37,\n■179 |   \"type\": \"entry\",\n■180 |   \"content\": \"Entry 37 contains generic information about topic 37.\",\n■181 |   \"metadata\": {\n■182 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■183 |     \"tags\": [\n■184 |       \"general\"\n■185 |     ]\n■186 |   }\n■187 | }\n■188 | {\n■189 |   \"id\": 38,\n■190 |   \"type\": \"entry\",\n■191 |   \"content\": \"Entry 38 contains generic information about topic 38.\",\n■192 |   \"metadata\": {\n■193 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■194 |     \"tags\": [\n■195 |       \"general\"\n■196 |     ]\n■197 |   }\n■198 | }\n■199 | {\n■200 |   \"id\": 39,\n■201 |   \"type\": \"entry\",\n■202 |   \"content\": \"Entry 39 contains generic information about topic 39.\",\n■203 |   \"metadata\": {\n■204 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■205 |     \"tags\": [\n■206 |       \"general\"\n■207 |     ]\n■208 |   }\n■209 | }\n■210 | {\n■211 |   \"id\": 40,\n■212 |   \"type\": \"entry\",\n■213 |   \"content\": \"Entry 40 contains generic information about topic 40.\",\n■214 |   \"metadata\": {\n■215 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■216 |     \"tags\": [\n■217 |       \"general\"\n■218 |     ]\n■219 |   }\n■220 | }\n■221 | {\n■222 |   \"id\": 41,\n■223 |   \"type\": \"entry\",\n■224 |   \"content\": \"Entry 41 contains generic information about topic 41.\",\n■225 |   \"metadata\": {\n■226 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■227 |     \"tags\": [\n■228 |       \"general\"\n■229 |     ]\n■230 |   }\n■231 | }\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is Kubernetes?\"","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 contain only generic entries (IDs 21–41) and do not include any information defining or describing Kubernetes. Specific details such as what Kubernetes is, its purpose, components, or functionality are missing.


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 | {\n■002 |   \"id\": 42,\n■003 |   \"type\": \"entry\",\n■004 |   \"content\": \"Entry 42 contains generic information about topic 42.\",\n■005 |   \"metadata\": {\n■006 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■007 |     \"tags\": [\n■008 |       \"general\"\n■009 |     ]\n■010 |   }\n■011 | }\n■012 | {\n■013 |   \"id\": 43,\n■014 |   \"type\": \"entry\",\n■015 |   \"content\": \"Entry 43 contains generic information about topic 43.\",\n■016 |   \"metadata\": {\n■017 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■018 |     \"tags\": [\n■019 |       \"general\"\n■020 |     ]\n■021 |   }\n■022 | }\n■023 | {\n■024 |   \"id\": 44,\n■025 |   \"type\": \"entry\",\n■026 |   \"content\": \"Entry 44 contains generic information about topic 44.\",\n■027 |   \"metadata\": {\n■028 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■029 |     \"tags\": [\n■030 |       \"general\"\n■031 |     ]\n■032 |   }\n■033 | }\n■034 | {\n■035 |   \"id\": 45,\n■036 |   \"type\": \"entry\",\n■037 |   \"content\": \"Entry 45 contains generic information about topic 45.\",\n■038 |   \"metadata\": {\n■039 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■040 |     \"tags\": [\n■041 |       \"general\"\n■042 |     ]\n■043 |   }\n■044 | }\n■045 | {\n■046 |   \"id\": 46,\n■047 |   \"type\": \"entry\",\n■048 |   \"content\": \"Entry 46 contains generic information about topic 46.\",\n■049 |   \"metadata\": {\n■050 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■051 |     \"tags\": [\n■052 |       \"general\"\n■053 |     ]\n■054 |   }\n■055 | }\n■056 | {\n■057 |   \"id\": 47,\n■058 |   \"type\": \"entry\",\n■059 |   \"content\": \"Entry 47 contains generic information about topic 47.\",\n■060 |   \"metadata\": {\n■061 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■062 |     \"tags\": [\n■063 |       \"general\"\n■064 |     ]\n■065 |   }\n■066 | }\n■067 | {\n■068 |   \"id\": 48,\n■069 |   \"type\": \"entry\",\n■070 |   \"content\": \"Entry 48 contains generic information about topic 48.\",\n■071 |   \"metadata\": {\n■072 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■073 |     \"tags\": [\n■074 |       \"general\"\n■075 |     ]\n■076 |   }\n■077 | }\n■078 | {\n■079 |   \"id\": 49,\n■080 |   \"type\": \"entry\",\n■081 |   \"content\": \"Entry 49 contains generic information about topic 49.\",\n■082 |   \"metadata\": {\n■083 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■084 |     \"tags\": [\n■085 |       \"general\"\n■086 |     ]\n■087 |   }\n■088 | }\n■089 | {\n■090 |   \"id\": 50,\n■091 |   \"type\": \"important\",\n■092 |   \"content\": \"Kubernetes automates deployment, scaling, and management of containerized applications.\",\n■093 |   \"metadata\": {\n■094 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■095 |     \"tags\": [\n■096 |       \"kubernetes\",\n■097 |       \"containers\"\n■098 |     ]\n■099 |   }\n■100 | }\n■101 | {\n■102 |   \"id\": 51,\n■103 |   \"type\": \"entry\",\n■104 |   \"content\": \"Entry 51 contains generic information about topic 51.\",\n■105 |   \"metadata\": {\n■106 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■107 |     \"tags\": [\n■108 |       \"general\"\n■109 |     ]\n■110 |   }\n■111 | }\n■112 | {\n■113 |   \"id\": 52,\n■114 |   \"type\": \"entry\",\n■115 |   \"content\": \"Entry 52 contains generic information about topic 52.\",\n■116 |   \"metadata\": {\n■117 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■118 |     \"tags\": [\n■119 |       \"general\"\n■120 |     ]\n■121 |   }\n■122 | }\n■123 | {\n■124 |   \"id\": 53,\n■125 |   \"type\": \"entry\",\n■126 |   \"content\": \"Entry 53 contains generic information about topic 53.\",\n■127 |   \"metadata\": {\n■128 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■129 |     \"tags\": [\n■130 |       \"general\"\n■131 |     ]\n■132 |   }\n■133 | }\n■134 | {\n■135 |   \"id\": 54,\n■136 |   \"type\": \"entry\",\n■137 |   \"content\": \"Entry 54 contains generic information about topic 54.\",\n■138 |   \"metadata\": {\n■139 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■140 |     \"tags\": [\n■141 |       \"general\"\n■142 |     ]\n■143 |   }\n■144 | }\n■145 | {\n■146 |   \"id\": 55,\n■147 |   \"type\": \"entry\",\n■148 |   \"content\": \"Entry 55 contains generic information about topic 55.\",\n■149 |   \"metadata\": {\n■150 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■151 |     \"tags\": [\n■152 |       \"general\"\n■153 |     ]\n■154 |   }\n■155 | }\n■156 | {\n■157 |   \"id\": 56,\n■158 |   \"type\": \"entry\",\n■159 |   \"content\": \"Entry 56 contains generic information about topic 56.\",\n■160 |   \"metadata\": {\n■161 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■162 |     \"tags\": [\n■163 |       \"general\"\n■164 |     ]\n■165 |   }\n■166 | }\n■167 | {\n■168 |   \"id\": 57,\n■169 |   \"type\": \"entry\",\n■170 |   \"content\": \"Entry 57 contains generic information about topic 57.\",\n■171 |   \"metadata\": {\n■172 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■173 |     \"tags\": [\n■174 |       \"general\"\n■175 |     ]\n■176 |   }\n■177 | }\n■178 | {\n■179 |   \"id\": 58,\n■180 |   \"type\": \"entry\",\n■181 |   \"content\": \"Entry 58 contains generic information about topic 58.\",\n■182 |   \"metadata\": {\n■183 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■184 |     \"tags\": [\n■185 |       \"general\"\n■186 |     ]\n■187 |   }\n■188 | }\n■189 | {\n■190 |   \"id\": 59,\n■191 |   \"type\": \"entry\",\n■192 |   \"content\": \"Entry 59 contains generic information about topic 59.\",\n■193 |   \"metadata\": {\n■194 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■195 |     \"tags\": [\n■196 |       \"general\"\n■197 |     ]\n■198 |   }\n■199 | }\n■200 | {\n■201 |   \"id\": 60,\n■202 |   \"type\": \"entry\",\n■203 |   \"content\": \"Entry 60 contains generic information about topic 60.\",\n■204 |   \"metadata\": {\n■205 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■206 |     \"tags\": [\n■207 |       \"general\"\n■208 |     ]\n■209 |   }\n■210 | }\n■211 | {\n■212 |   \"id\": 61,\n■213 |   \"type\": \"entry\",\n■214 |   \"content\": \"Entry 61 contains generic information about topic 61.\",\n■215 |   \"metadata\": {\n■216 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■217 |     \"tags\": [\n■218 |       \"general\"\n■219 |     ]\n■220 |   }\n■221 | }\n■222 | {\n■223 |   \"id\": 62,\n■224 |   \"type\": \"entry\",\n■225 |   \"content\": \"Entry 62 contains generic information about topic 62.\",\n■226 |   \"metadata\": {\n■227 |     \"created\": \"2025-11-06T21:17:35.062Z\",\n■228 |     \"tags\": [\n■229 |       \"general\"\n■230 |     ]\n■231 |   }\n■232 | }\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is Kubernetes?\"","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:
■answer
Kubernetes automates deployment, scaling, and management of containerized applications. ■092