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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided documents only contain generic entries about topics 21‑41 and do not include any information describing what Kubernetes is.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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:38:52.265Z\",\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":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Kubernetes is a system that automates the deployment, scaling, and management of containerized applications. ■090-094■end

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | TypeScript is a statically typed superset of JavaScript.\n■002 | TypeScript was developed by Microsoft and first released in 2012.\n■003 | TypeScript code compiles to plain JavaScript.\n■004 | Major features include type annotations, interfaces, and generics.\n■005 | TypeScript is widely used in Angular, Vue 3, and other frameworks.\n■006 | The TypeScript compiler is called tsc.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is TypeScript, who created it, and what are its main features?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
TypeScript is a statically typed superset of JavaScript【■001】. It was developed by Microsoft and first released in 2012【■002】. Its major features include type annotations, interfaces, and generics【■004】.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Microsoft was founded in 1975 by Bill Gates and Paul Allen.\n■002 | Botpress is an AI agent platform.\n■003 | It was founded in 2016.\n■004 | The company is based in Quebec, Canada.\n■005 | Apple was founded by Steve Jobs, Steve Wozniak, and Ronald Wayne in 1976.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"When was Botpress founded?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Botpress was founded in 2016.■003

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 |   \"name\": \"Botpress\",\n■003 |   \"type\": \"AI Platform\",\n■004 |   \"founded\": 2016\n■005 | }\n■006 | {\n■007 |   \"name\": \"Dialogflow\",\n■008 |   \"type\": \"Chatbot Platform\",\n■009 |   \"founded\": 2011\n■010 | }\n■011 | {\n■012 |   \"name\": \"Rasa\",\n■013 |   \"type\": \"Chatbot Framework\",\n■014 |   \"founded\": 2016\n■015 | }\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What type of product is Botpress?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Botpress is an AI Platform.■003

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | The sky is blue.\n■002 | Grass is green.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What color is the sky?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
The sky is blue■001

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Botpress supports multiple languages including English, French, and Spanish.\n■002 | The platform has built-in NLU capabilities.\n■003 | Botpress can integrate with various LLM providers like OpenAI and Anthropic.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the main features of Botpress?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Botpress’s main features include support for multiple languages such as English, French, and Spanish【■001】, built‑in natural language understanding (NLU) capabilities【■002】, and the ability to integrate with various large language model (LLM) providers like OpenAI and Anthropic【■003】.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | The capital of France is Paris.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the capital of France?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Paris is the capital of France.■001

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | France is a country in Western Europe.\n■002 | It has a population of about 67 million people.\n■003 | Paris is its capital and largest city.\n■004 | France is known for its cuisine, wine, and culture.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"Tell me about France.\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
France is a country in Western Europe with a population of about 67 million people. Its capital and largest city is Paris. The nation is renowned for its cuisine, wine, and cultural heritage.■001-004

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Botpress was founded in 2016.\n■002 | It has offices in multiple countries.\n■003 | The company is headquartered in Quebec, Canada.\n■004 | It provides an AI agent platform.\n■005 | The platform supports over 100 languages.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"Where is Botpress located and when was it founded?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Botpress was founded in 2016■001 and is headquartered in Quebec, Canada■003.
■

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Python is a programming language.\n■002 | Python is also a type of snake.\n■003 | The Python programming language was created by Guido van Rossum.\n■004 | Python snakes are found in Africa, Asia, and Australia.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is Python?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Python is a programming language【■001】. It is also a type of snake【■002】.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | The word \"bank\" can refer to a financial institution.\n■002 | A bank can also mean the land alongside a river.\n■003 | Banks play a crucial role in the economy.\n■004 | River banks are important for ecosystems.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is a bank?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
A bank is a term that can refer to a financial institution that provides monetary services, and it can also denote the land alongside a river. ■001■002■003■004

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Botpress is an AI platform.\n■002 | It supports chatbot development.\n■003 | The platform integrates with various LLMs.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the recipe for chocolate cake?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided documents contain information about Botpress, an AI platform for chatbot development and LLM integration, and do not include any details about a chocolate cake recipe. Hence, the required information is not available in the documents.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | JavaScript is a programming language.\n■002 | It runs in web browsers.\n■003 | Node.js allows JavaScript to run on servers.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"How do I cook java beans?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■out_of_topic
The question asks about cooking java beans, which is unrelated to the provided documents about JavaScript and its runtime environments.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | The Kubernetes control plane consists of the API server, scheduler, and controller manager.\n■002 | Pods are the smallest deployable units in Kubernetes that can be created and managed.\n■003 | A ReplicaSet ensures that a specified number of pod replicas are running at any given time.\n■004 | Services in Kubernetes provide stable networking endpoints for pods.\n■005 | ConfigMaps allow you to decouple configuration artifacts from container images.\n■006 | Persistent Volumes (PV) provide storage resources in a cluster.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the health benefits of Mediterranean diet?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■out_of_topic
The provided documents discuss components of Kubernetes such as the control plane, pods, ReplicaSets, services, ConfigMaps, and Persistent Volumes, and do not contain any information about the health benefits of the Mediterranean diet.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Myocardial infarction, commonly known as a heart attack, occurs when blood flow to the heart is blocked.\n■002 | Symptoms include chest pain, shortness of breath, and pain in the arm or jaw.\n■003 | Risk factors include high blood pressure, high cholesterol, smoking, and diabetes.\n■004 | Treatment may involve medications such as aspirin, beta-blockers, and ACE inhibitors.\n■005 | Coronary angioplasty and stenting are common interventional procedures.\n■006 | Cardiac rehabilitation programs help patients recover and reduce future risk.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the current federal reserve interest rate?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■out_of_topic
The question asks about the current federal reserve interest rate, which is unrelated to the provided documents about myocardial infarction, its symptoms, risk factors, and treatments. Therefore, the information requested is not covered by the given texts.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Python is a high-level programming language known for readability.\n■002 | JavaScript is primarily used for web development.\n■003 | Java is a statically-typed object-oriented language.\n■004 | C++ offers low-level memory manipulation capabilities.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What are the key features of COBOL mainframe programming?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided documents discuss Python, JavaScript, Java, and C++ but contain no information about COBOL or its mainframe programming features. Therefore, the answer cannot be derived from the given sources.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Botpress is an AI platform.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"Botpress.\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Botpress is an AI platform.■001

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Real content here about technology.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"asdf jkl; qwer?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided document contains only a single line with unspecified “Real content here about technology,” which does not contain information relevant to the question “asdf jkl; qwer?” Therefore, the necessary details to answer the question are not present.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Botpress is a platform.\n■002 | It was founded in Quebec.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is the exact number of employees at Botpress?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided documents do not contain any information about the number of employees at Botpress.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | The company makes software.\n■002 | It has customers worldwide.\n■003 | The product is popular.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What was the revenue in Q3 2023?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■missing_knowledge
The provided documents only state that the company makes software, has worldwide customers, and that the product is popular. They do not contain any information about revenue figures for Q3 2023.

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead


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. Make sure each part is cited correctly■013. 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 and part 2 as well.■002]\n■answer\n[Second interpretation with citations ■005 and part 2 of the answer.■006]\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 | Botpress is an AI agent platform founded in 2016.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is Botpress?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:default"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
Botpress is an AI agent platform founded in 2016.■001

Reasoning effort "none" is not supported by the "gpt-oss-120b" model, using "low" effort instead