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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 | Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. Very long document with extensive content. \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"Summarize the content.\"","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 repetitive placeholder text ("Very long document with extensive content.") and does not include any substantive information that can be summarized. Specific details about the document's topics, structure, or key points are missing.■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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 | Short doc.\n■002 | Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. Medium document with some content here. \n■003 | Another short one.\n■004 | Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. Medium sized content again. \n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"Summarize the content.\"","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 provided collection consists of four entries. The first (■001) and third (■003) entries are brief documents, each containing only a short line of text. The second (■002) and fourth (■004) entries are longer; they contain repeated phrases describing “medium document” or “medium sized content” many times, indicating more extensive but repetitive content. Overall, the set includes two short texts and two longer, repetitive medium‑length 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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 | // Comment 0\n■002 | const var0 = 0;\n■003 | // Comment 1\n■004 | const var1 = 1;\n■005 | // Comment 2\n■006 | const var2 = 2;\n■007 | // Comment 3\n■008 | const var3 = 3;\n■009 | // Comment 4\n■010 | const var4 = 4;\n■011 | // Comment 5\n■012 | const var5 = 5;\n■013 | // Comment 6\n■014 | const var6 = 6;\n■015 | // Comment 7\n■016 | const var7 = 7;\n■017 | // Comment 8\n■018 | const var8 = 8;\n■019 | // Comment 9\n■020 | const var9 = 9;\n■021 | // Comment 10\n■022 | const var10 = 10;\n■023 | // Comment 11\n■024 | const var11 = 11;\n■025 | // Comment 12\n■026 | const var12 = 12;\n■027 | // Comment 13\n■028 | const var13 = 13;\n■029 | // Comment 14\n■030 | const var14 = 14;\n■031 | function fibonacci(n) {\n■032 |   if (n <= 1) return n;\n■033 |   return fibonacci(n-1) + fibonacci(n-2);\n■034 | }\n■035 | // Comment 16\n■036 | const var16 = 16;\n■037 | // Comment 17\n■038 | const var17 = 17;\n■039 | // Comment 18\n■040 | const var18 = 18;\n■041 | // Comment 19\n■042 | const var19 = 19;\n■043 | // Comment 20\n■044 | const var20 = 20;\n■045 | // Comment 21\n■046 | const var21 = 21;\n■047 | // Comment 22\n■048 | const var22 = 22;\n■049 | // Comment 23\n■050 | const var23 = 23;\n■051 | // Comment 24\n■052 | const var24 = 24;\n■053 | // Comment 25\n■054 | const var25 = 25;\n■055 | // Comment 26\n■056 | const var26 = 26;\n■057 | // Comment 27\n■058 | const var27 = 27;\n■059 | // Comment 28\n■060 | const var28 = 28;\n■061 | // Comment 29\n■062 | const var29 = 29;\n■063 | // Comment 30\n■064 | const var30 = 30;\n■065 | // Comment 31\n■066 | const var31 = 31;\n■067 | // Comment 32\n■068 | const var32 = 32;\n■069 | // Comment 33\n■070 | const var33 = 33;\n■071 | // Comment 34\n■072 | const var34 = 34;\n■073 | // Comment 35\n■074 | const var35 = 35;\n■075 | // Comment 36\n■076 | const var36 = 36;\n■077 | // Comment 37\n■078 | const var37 = 37;\n■079 | // Comment 38\n■080 | const var38 = 38;\n■081 | // Comment 39\n■082 | const var39 = 39;\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"Show me the fibonacci function.\"","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 Fibonacci function is defined as:

```javascript
function fibonacci(n) {
  if (n <= 1) return n;
  return fibonacci(n-1) + fibonacci(n-2);
}
```
■031-034

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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 0\n■002 | Filler 1\n■003 | Filler 2\n■004 | Filler 3\n■005 | Filler 4\n■006 | Filler 5\n■007 | Filler 6\n■008 | Filler 7\n■009 | Filler 8\n■010 | Filler 9\n■011 | Filler 10\n■012 | Filler 11\n■013 | Filler 12\n■014 | Filler 13\n■015 | Filler 14\n■016 | Filler 15\n■017 | Filler 16\n■018 | Filler 17\n■019 | Filler 18\n■020 | Filler 19\n■021 | Filler 20\n■022 | Filler 21\n■023 | Filler 22\n■024 | Filler 23\n■025 | Filler 24\n■026 | Important fact A: The capital of France is Paris.\n■027 | Filler 25\n■028 | Filler 26\n■029 | Filler 27\n■030 | Filler 28\n■031 | Filler 29\n■032 | Filler 30\n■033 | Filler 31\n■034 | Filler 32\n■035 | Filler 33\n■036 | Filler 34\n■037 | Filler 35\n■038 | Filler 36\n■039 | Filler 37\n■040 | Filler 38\n■041 | Filler 39\n■042 | Filler 40\n■043 | Filler 41\n■044 | Filler 42\n■045 | Filler 43\n■046 | Filler 44\n■047 | Filler 45\n■048 | Filler 46\n■049 | Filler 47\n■050 | Filler 48\n■051 | Filler 49\n■052 | Important fact B: Paris is located on the Seine River.\n■053 | Filler 50\n■054 | Filler 51\n■055 | Filler 52\n■056 | Filler 53\n■057 | Filler 54\n■058 | Filler 55\n■059 | Filler 56\n■060 | Filler 57\n■061 | Filler 58\n■062 | Filler 59\n■063 | Filler 60\n■064 | Filler 61\n■065 | Filler 62\n■066 | Filler 63\n■067 | Filler 64\n■068 | Filler 65\n■069 | Filler 66\n■070 | Filler 67\n■071 | Filler 68\n■072 | Filler 69\n■073 | Filler 70\n■074 | Filler 71\n■075 | Filler 72\n■076 | Filler 73\n■077 | Filler 74\n■078 | Important fact C: The Eiffel Tower is in Paris.\n■079 | Filler 75\n■080 | Filler 76\n■081 | Filler 77\n■082 | Filler 78\n■083 | Filler 79\n■084 | Filler 80\n■085 | Filler 81\n■086 | Filler 82\n■087 | Filler 83\n■088 | Filler 84\n■089 | Filler 85\n■090 | Filler 86\n■091 | Filler 87\n■092 | Filler 88\n■093 | Filler 89\n■094 | Filler 90\n■095 | Filler 91\n■096 | Filler 92\n■097 | Filler 93\n■098 | Filler 94\n■099 | Filler 95\n■100 | Filler 96\n■101 | Filler 97\n■102 | Filler 98\n■103 | Filler 99\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"Tell me about Paris.\"","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■026. It is situated on the Seine River■052. The city is also home to the Eiffel Tower■078.

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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 1\n■002 | Document 2\n■003 | Document 3\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is this about?1762466878452\"","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 only placeholder titles ("Document 1", "Document 2", "Document 3") and no substantive information about the subject of the question. Therefore, the content needed to determine what "this" refers to is not available.

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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 was founded in 2016.\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:zai/answer"},"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.■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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 | Some content here\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"Question?1762466878524\"","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:
■invalid_question
The input does not contain a clear, answerable question; it appears to be a random string rather than a meaningful query.

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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 | Product X is great.\n■002 | Product Y is also good.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What products are discussed?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:zai/answer"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
The documents discuss Product X and Product Y.■001■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, e.g., gibberish, malformed or nonsensical)\n■invalid_question\n[Explain why it's invalid, e.g., \"The question is incomplete\" or \"The question contains nonsensical terms\", or \"Received gibberish\"]\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 | Cached content.\n</documents>\n\nPlease answer the below question using the format specified above.\nQuestion to answer: \"What is this?\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.answer","promptSource":"zai:zai.answer:zai/answer"},"model":"fast","reasoningEffort":"none","signal":{},"stopSequences":["■end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■answer
The document contains the phrase “Cached content.”■001

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


Input: {"body":{"keyColumn":"key","rows":[{"explanation":null,"feedback":null,"input":{"value":"What products are mentioned?"},"instructions":"","key":"example1","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":{"answer":"The documents mention Product X and Product Y.","citations":[{"item":"Product X is great.","offset":23,"snippet":"Product X is great."},{"item":"Product Y is also good.","offset":36,"snippet":"Product Y is also good."}],"type":"answer"}},"status":"approved","taskId":"zai/answer","taskType":"zai.answer"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestAnswerInternalTable/rows/upsert"}

Table "ZaiTestAnswerInternalTable" doesn't exist for bot "c7ffa80a-fc90-4eb1-a85a-a66c69aa8513"


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #0):","role":"system"},{"content":"Example of condition: \"Is the input a public personality?\"\n<|start_input|>\n50 Cent\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: 50 Cent is widely recognized as a public personality.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Example of condition: \"Is the input exclusively a list of fruits?\"\n<|start_input|>\n[\n  \"apple\",\n  \"banana\",\n  \"carrot\",\n  \"house\"\n]\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: The list contains a house, which is not a fruit. Also, the list contains a carrot, which is a vegetable.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExample of condition: \"is an english sentence1762467668048\"\n<|start_input|>\nThis text is very clearly written in English.\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis:**
The condition asks whether the input is “an english sentence1762467668048,” which we interpret as checking if the provided text is an English sentence.

- In **Expert Example #1** (“Is the input a public personality?” with input “50 Cent”), the answer was **TRUE** because the input satisfied the condition.
- In **Expert Example #2** (“Is the input exclusively a list of fruits?” with a mixed list), the answer was **FALSE** because the input did not satisfy the condition.

Applying the same reasoning, the current input is the clear English sentence: “This text is very clearly written in English.” It satisfies the condition of being an English sentence. Therefore, analogous to Example #1, the condition is true.

**Final Answer:** ■TRUE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #0):","role":"system"},{"content":"Example of condition: \"Is the input a public personality?\"\n<|start_input|>\n50 Cent\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: 50 Cent is widely recognized as a public personality.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Example of condition: \"Is the input exclusively a list of fruits?\"\n<|start_input|>\n[\n  \"apple\",\n  \"banana\",\n  \"carrot\",\n  \"house\"\n]\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: The list contains a house, which is not a fruit. Also, the list contains a carrot, which is a vegetable.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExample of condition: \"is an english sentence1762467882592\"\n<|start_input|>\nThis text is very clearly written in English.\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis:**
The condition asks whether the provided input is an English sentence (the trailing numbers “1762467882592” appear to be part of the condition label but do not change its meaning).

In the Expert Example #1, the decision was made by checking whether the input matched the described category (“public personality”), and in Example #0 the decision was based on whether every element of the list satisfied the “list of fruits” requirement. Using the same approach, we examine the current input:

- The text **“This text is very clearly written in English.”** is a syntactically complete, grammatical English sentence.
- It fulfills the condition “is an English sentence.”

Therefore, the condition is satisfied.

**Final Answer:** ■TRUE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #0):","role":"system"},{"content":"Example of condition: \"Is the input a public personality?\"\n<|start_input|>\n50 Cent\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: 50 Cent is widely recognized as a public personality.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Example of condition: \"Is the input exclusively a list of fruits?\"\n<|start_input|>\n[\n  \"apple\",\n  \"banana\",\n  \"carrot\",\n  \"house\"\n]\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: The list contains a house, which is not a fruit. Also, the list contains a carrot, which is a vegetable.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExample of condition: \"is an english sentence1762467903543\"\n<|start_input|>\nThis text is very clearly written in English.\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis:**

The condition asks whether the given input satisfies “is an english sentence1762467903543.” Interpreting this, the core requirement is that the input be an English sentence.

Looking at the Expert Examples:

- **Example #1** evaluated whether the input “50 Cent” was a public personality. The input clearly matched the condition, so the answer was **TRUE**.
- **Example #2** evaluated whether a list contained *only* fruits. Because the list included non‑fruit items, the answer was **FALSE**.

Applying the same reasoning pattern, we compare the content of the current input with the condition:

- The input is the string **“This text is very clearly written in English.”**
- This is a grammatically correct, declarative sentence composed entirely of English words, meeting the requirement of being an English sentence.

Therefore, the condition is satisfied.

**Final Answer:** ■TRUE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #0):","role":"system"},{"content":"Example of condition: \"Is the input a public personality?\"\n<|start_input|>\n50 Cent\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: 50 Cent is widely recognized as a public personality.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Example of condition: \"Is the input exclusively a list of fruits?\"\n<|start_input|>\n[\n  \"apple\",\n  \"banana\",\n  \"carrot\",\n  \"house\"\n]\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: The list contains a house, which is not a fruit. Also, the list contains a carrot, which is a vegetable.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExample of condition: \"is an english sentence1762467903483\"\n<|start_input|>\nThis text is very clearly written in English.\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis:**
The condition to evaluate is **“is an english sentence1762467903483.”** Stripping the trailing numeric identifier, the core question asks whether the provided input is an English sentence.

In the input we have:

```
This text is very clearly written in English.
```

This string is a grammatically correct, fully‑English statement that ends with a period, fitting the definition of an English sentence.

The reasoning parallels the reasoning used in the Expert Examples:

- **Example #1** judged the input “50 Cent” as a public personality and returned **TRUE** because the content matched the condition.
- **Example #0** judged a list containing non‑fruit items as **FALSE** because the content did not satisfy the “exclusively fruits” condition.

Similarly, because the content of the current input directly satisfies the condition “is an English sentence,” the correct evaluation is **TRUE**.

**Final Answer:** ■TRUE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #3):\n- You have been provided with examples from previous experts. Make sure to read them carefully before making your decision.\n- Make sure to refer to the examples provided by the experts to justify your decision (when applicable).\n- When in doubt, ground your decision on the examples provided by the experts instead of your own intuition.\n- When no example is similar to the input, make sure to provide a clear justification for your decision while inferring the decision-making process from the examples provided by the experts.","role":"system"},{"content":"Expert Example #1\n<|start_input|>\nwassup\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: \"wassup\" is a slang term and not considered a formal greeting. It is therefore NOT considered a greeting.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Expert Example #2\n<|start_input|>\nwhat is up\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: \"What's up\" in our business scenario is NOT considered an official greeting.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Expert Example #3\n<|start_input|>\nhello! how are you?\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: \"hello!\" is a common greeting in English.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExpert Example #4\n<|start_input|>\nWhat's up\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:zai/check"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis:**
The task is to decide whether the given input is considered a greeting, based on the pattern established in the prior Expert Examples.

- **Example 1** (“wassup”) was judged **not** a greeting → ■FALSE■.
- **Example 2** (“what is up”) was also judged **not** a greeting → ■FALSE■.
- **Example 3** (“hello! how are you?”) was judged a greeting → ■TRUE■.

The new input “What’s up” matches the informal style of Examples 1 and 2 (a colloquial “what’s up” phrasing). Since the earlier examples consistently classified such informal “up” inquiries as **not** being greetings, we follow the same reasoning here.

**Conclusion:** The condition “the input is a greeting” is **false** for “What’s up”.

■FALSE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #0):","role":"system"},{"content":"Example of condition: \"Is the input a public personality?\"\n<|start_input|>\n50 Cent\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: 50 Cent is widely recognized as a public personality.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Example of condition: \"Is the input exclusively a list of fruits?\"\n<|start_input|>\n[\n  \"apple\",\n  \"banana\",\n  \"carrot\",\n  \"house\"\n]\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: The list contains a house, which is not a fruit. Also, the list contains a carrot, which is a vegetable.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExample of condition: \"is an english sentence1762467925384\"\n<|start_input|>\nThis text is very clearly written in English.\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis**

The condition to evaluate is **“is an english sentence1762467925384”**, which essentially asks whether the given input is an English sentence (the numeric suffix is just part of the condition label).

In the provided **Expert Example #2**, the decision was based on whether every element in a list satisfied a specific property (being a fruit). The example showed that a single element that does not meet the property makes the whole statement false.

Applying the same logical approach, we examine the single input here:

- The text **“This text is very clearly written in English.”** is a complete, grammatically correct English sentence.
- There are no elements that violate the property, so the condition “is an English sentence” is satisfied.

Therefore, following the reasoning pattern demonstrated in the expert examples, the condition holds true for the input.

**Final Answer:** ■TRUE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #0):","role":"system"},{"content":"Example of condition: \"Is the input a public personality?\"\n<|start_input|>\n50 Cent\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: 50 Cent is widely recognized as a public personality.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Example of condition: \"Is the input exclusively a list of fruits?\"\n<|start_input|>\n[\n  \"apple\",\n  \"banana\",\n  \"carrot\",\n  \"house\"\n]\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: The list contains a house, which is not a fruit. Also, the list contains a carrot, which is a vegetable.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExample of condition: \"is an english sentence1762467925443\"\n<|start_input|>\nThis text is very clearly written in English.\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis:**
The condition to evaluate is “is an english sentence1762467925443.” Ignoring the trailing numeric string (which does not affect the semantic meaning), the condition essentially asks whether the provided input is an English sentence.

In the Expert Examples, the decision process follows a direct factual check:
- **Example #1** (“Is the input a public personality?”) was judged **TRUE** because “50 Cent” is indeed a well‑known public figure.
- **Example #2** (“Is the input exclusively a list of fruits?”) was judged **FALSE** because the list contained non‑fruit items (e.g., “carrot” and “house”).

Applying the same factual verification to the current input, “This text is very clearly written in English.” is a grammatically correct, declarative statement composed entirely of English words. Therefore, it satisfies the condition of being an English sentence.

**Conclusion:** The condition is satisfied.

■TRUE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #0):","role":"system"},{"content":"Example of condition: \"Is the input a public personality?\"\n<|start_input|>\n50 Cent\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: 50 Cent is widely recognized as a public personality.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Example of condition: \"Is the input exclusively a list of fruits?\"\n<|start_input|>\n[\n  \"apple\",\n  \"banana\",\n  \"carrot\",\n  \"house\"\n]\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: The list contains a house, which is not a fruit. Also, the list contains a carrot, which is a vegetable.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExample of condition: \"is an english sentence1762468038818\"\n<|start_input|>\nThis text is very clearly written in English.\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis:**
The condition to evaluate is **“is an english sentence1762468038818.”** Interpreting the wording, the core requirement is whether the provided input constitutes an English sentence; the trailing numeric string appears to be extraneous and does not alter the meaning of the condition.

The input is:

```
This text is very clearly written in English.
```

This string is a complete, grammatical English sentence—it has a subject (“This text”), a verb (“is”), and a predicate (“very clearly written in English”), and it ends with proper punctuation. Therefore, it satisfies the condition of being an English sentence.

Comparing to the Expert Examples:

- **Example #1** evaluated a statement about a public personality and returned **TRUE** because the input matched the condition.
- **Example #2** evaluated a list of fruits and returned **FALSE** because the list contained non‑fruit items, thus failing the condition.

Following the same logical approach, the input here meets the condition, so the correct response is **TRUE**.

**Final Answer:** ■TRUE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #0):","role":"system"},{"content":"Example of condition: \"Is the input a public personality?\"\n<|start_input|>\n50 Cent\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: 50 Cent is widely recognized as a public personality.\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Example of condition: \"Is the input exclusively a list of fruits?\"\n<|start_input|>\n[\n  \"apple\",\n  \"banana\",\n  \"carrot\",\n  \"house\"\n]\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: The list contains a house, which is not a fruit. Also, the list contains a carrot, which is a vegetable.\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExample of condition: \"is an english sentence1762468038878\"\n<|start_input|>\nThis text is very clearly written in English.\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis**

The condition we need to evaluate is essentially *“Is the input an English sentence?”* (the trailing numbers “1762468038878” appear to be irrelevant noise, similar to how the examples sometimes contain extra formatting but the core question remains the same).

- In **Expert Example #1**, the input “50 Cent” satisfied the condition “Is the input a public personality?” and the answer was **TRUE** because the input clearly matches the defined category.
- In **Expert Example #2**, the list contained non‑fruit items, so the condition “Is the input exclusively a list of fruits?” was **FALSE**.

Applying the same reasoning pattern to the current case:

- The provided input is the sentence **“This text is very clearly written in English.”**
- The sentence is syntactically complete, uses standard English words and punctuation, and unambiguously qualifies as an English sentence.

Therefore, the input satisfies the condition.

**Final Answer:**
■TRUE■


Input: {"body":{"messages":[{"content":"Check if the following condition is true or false for the given input. Before answering, make sure to read the input and the condition carefully.\nJustify your answer, then answer with either ■TRUE■ or ■FALSE■ at the very end, then add ■END■ to finish the response.\nIMPORTANT: Make sure to answer with either ■TRUE■ or ■FALSE■ at the end of your response, but NOT both.\n---\nExpert Examples (#1 to #3):\n- You have been provided with examples from previous experts. Make sure to read them carefully before making your decision.\n- Make sure to refer to the examples provided by the experts to justify your decision (when applicable).\n- When in doubt, ground your decision on the examples provided by the experts instead of your own intuition.\n- When no example is similar to the input, make sure to provide a clear justification for your decision while inferring the decision-making process from the examples provided by the experts.","role":"system"},{"content":"Expert Example #1\n<|start_input|>\nRasa (framework)\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: Rasa is a chatbot framework, so it competes with us (Botpress).\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Expert Example #2\n<|start_input|>\nRasa (coffee company)\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: Rasa (coffee company) is not in the chatbot or AI agent industry, therefore it does not compete with us (Botpress).\nFinal Answer: ■FALSE■\n■END■","role":"assistant","type":"text"},{"content":"Expert Example #3\n<|start_input|>\nDialogflow\n<|end_input|>","role":"user","type":"text"},{"content":"Analysis: Dialogflow is a chatbot development product, so it competes with us (Botpress).\nFinal Answer: ■TRUE■\n■END■","role":"assistant","type":"text"},{"content":"Considering the below input and above examples, is the following condition true or false?\nExpert Example #4\n<|start_input|>\nMoveworks (AI chatbot)\n<|end_input|>\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.check","promptSource":"zai:zai.check:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
**Analysis**

The condition being evaluated across the expert examples is whether the input refers to an entity that operates in the AI‑chatbot or conversational‑agent space—i.e., a product or company that competes directly with Botpress.

- **Example 1** – “Rasa (framework)”: Rasa is a well‑known open‑source chatbot framework, so it is a competitor. The answer was **TRUE**.
- **Example 2** – “Rasa (coffee company)”: Although the name is the same, this entity is a coffee business and does **not** belong to the chatbot domain. The answer was **FALSE**.
- **Example 3** – “Dialogflow”: Dialogflow is Google’s chatbot development platform, clearly a competitor, resulting in **TRUE**.

Following this pattern, **Moveworks (AI chatbot)** is described explicitly as an AI chatbot service. It operates in the same market segment as Botpress and therefore satisfies the condition of being a competing chatbot/AI‑assistant solution.

**Conclusion:** The condition is **true** for the given input.

■TRUE■


Input: {"body":{"messages":[{"content":"Extract the following information from the input:\n{ name: string; movie: string }\n====\n\n• extract the name of the movie and name of the main character\n• You may have exactly one element in the input.\n• The element must be a JSON object with exactly the format: ■json_start■{ \"name\": ..., \"movie\": ... }■json_end■","role":"system"},{"content":"Expert Example #1\n\n<|start_schema|>\n{ name: string; movie: string }\n<|end_schema|>\n\n<|start_instructions|>\nextract the name of the movie and name of the main character\n<|end_instructions|>\n\n<|start_input|>\nI went to see the Titanic yesterday and I fell asleep\n<|end_input|>","role":"user","type":"text"},{"content":"■json_start■\n{\n  \"name\": \"JACK DAWSON\",\n  \"movie\": \"TITANIC\"\n}\n■json_end■■NO_MORE_ELEMENT■","role":"assistant","type":"text"},{"content":"Expert Example #2\n\n<|start_schema|>\n{ name: string; movie: string }\n<|end_schema|>\n\n<|start_instructions|>\nextract the name of the movie and name of the main character\n<|end_instructions|>\n\n<|start_input|>\nDid you know that the gladiator movie has a lot of fighting scenes?\n<|end_input|>","role":"user","type":"text"},{"content":"■json_start■\n{\n  \"name\": \"MAXIMUS DECIMUS MERIDIUS\",\n  \"movie\": \"GLADIATOR\"\n}\n■json_end■■NO_MORE_ELEMENT■","role":"assistant","type":"text"},{"content":"Expert Example #3\n\n<|start_schema|>\n{ name: string; movie: string }\n<|end_schema|>\n\n<|start_instructions|>\nextract the name of the movie and name of the main character\n<|end_instructions|>\n\n<|start_input|>\nI really liked Casino Royale\n<|end_input|>","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.extract","promptSource":"zai:zai.extract:zai/extract"},"model":"fast","signal":{},"stopSequences":["■json_end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■json_start■
{
  "name": "JAMES BOND",
  "movie": "CASINO ROYALE"
}


Input: {"body":{"input":{"messages":[{"content":"[\n  {\n    \"feature\": \"Dashboard\",\n    \"parent\": null,\n    \"description\": \"Workspace dashboard providing quick access to sections such as Workspace, Bot, Studio, Webchat, Integrations, Botpress APIs, and Appendix.\"\n  },\n  {\n    \"feature\": \"Bot\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Bot overview including pages for Overview, Integrations, Webchat, Logs, Conversations, Analytics, Events, Issues, and Configuration variables.\"\n  },\n  {\n    \"feature\": \"Studio\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Studio interface with nodes, flows, knowledge base, agents (Summary, Personality, Policy, Translator, Knowledge, HITL, Vision, Analytics), library, hooks, integrations, schemas, card hub, versions, chatbot settings, variables, debugger, emulator, shortcuts, commands, preferences, and import/export.\"\n  },\n  {\n    \"feature\": \"Webchat\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Webchat module offering flow logic, AI features, capture information, events, agents, utilities, styling, embedding options, React components, and client configuration.\"\n  },\n  {\n    \"feature\": \"Integrations\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"Collection of integrations including Asana, HITL, Instagram, Intercom, Line, Messenger, Microsoft Teams, Notion, Slack, Sunshine Conversations, Telegram, Trello, Twilio, Viber, Vonage, Webhook, WhatsApp, Zapier, and Zendesk, plus building guide.\"\n  },\n  {\n    \"feature\": \"Botpress APIs\",\n    \"parent\": \"Dashboard\",\n    \"description\": \"APIs provided by Botpress such as Files API and Chat API for programmatic access to bot data and functionality.\"\n  },\n  {\n    \"feature\": \"WhatsApp integration\",\n    \"parent\": null,\n    \"description\": \"Installation steps for the WhatsApp integration: navigate to the Integration Hub, install the integration, enable it, sign in, and follow the wizard to connect your bot to WhatsApp.\"\n  }\n]","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: Contains botpress related features, like dashboard or studio or tables\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The provided features include 'Dashboard' and 'Studio', which are directly related to Botpress functionalities. Therefore, the value meets the condition of containing Botpress-related features.",
  "result": true
}


Input: {"body":{"messages":[{"content":"Extract the following information from the input:\n{ name: string; movie: string }\n====\n\n• extract the name of the movie and name of the main character\n• You may have exactly one element in the input.\n• The element must be a JSON object with exactly the format: ■json_start■{ \"name\": ..., \"movie\": ... }■json_end■","role":"system"},{"content":"Expert Example #1\n\n<|start_schema|>\n{ name: string; movie: string }\n<|end_schema|>\n\n<|start_instructions|>\nextract the name of the movie and name of the main character\n<|end_instructions|>\n\n<|start_input|>\nI went to see the Titanic yesterday and I fell asleep\n<|end_input|>","role":"user","type":"text"},{"content":"■json_start■\n{\n  \"name\": \"JACK DAWSON\",\n  \"movie\": \"TITANIC\"\n}\n■json_end■■NO_MORE_ELEMENT■","role":"assistant","type":"text"},{"content":"Expert Example #2\n\n<|start_schema|>\n{ name: string; movie: string }\n<|end_schema|>\n\n<|start_instructions|>\nextract the name of the movie and name of the main character\n<|end_instructions|>\n\n<|start_input|>\nI really liked Casino Royale\n<|end_input|>","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.extract","promptSource":"zai:zai.extract:zai/extract"},"model":"fast","signal":{},"stopSequences":["■json_end■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■json_start■
{
  "name": "JAMES BOND",
  "movie": "CASINO ROYALE"
}


Input: {"body":{"input":{"messages":[{"content":"{\n  \"name\": \"JAMES BOND\",\n  \"movie\": \"CASINO ROYALE\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: extracted james bond and casino royale\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The provided values 'JAMES BOND' and 'CASINO ROYALE' match the condition of being the character and the movie title respectively.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"{\n  \"name\": \"JAMES BOND\",\n  \"movie\": \"CASINO ROYALE\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: the values are NOT IN ALL CAPS\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The values 'JAMES BOND' and 'CASINO ROYALE' are in all caps, which does not meet the condition that they should not be in all caps.",
  "result": false
}


Input: {"body":{"messages":[{"content":"You are given a list of items. Your task is to filter out the items that meet the condition below.\nYou need to return the full list of items with the format:\n■x:true■y:false■z:true (where x, y, z are the indices of the items in the list)\nYou need to start with \"■0\" and go up to the last index \"■4\".\nIf an item meets the condition, you should return \":true\", otherwise \":false\".\n\nIMPORTANT: Make sure to read the condition and the examples carefully before making your decision.\nThe condition is: \"competes with us\"","role":"system"},{"content":"Condition to check:\ncompetes with us\n\nItems (from ■0 to ■2)\n==============================\n■0 = Rasa (framework)\n■1 = Rasa (coffee company)\n■2 = Dialogflow","role":"user","type":"text"},{"content":"■0:true■1:false■2:true\n■END■\n====\nHere's the reasoning behind each example:\n■0:true:Rasa is a chatbot framework, so it competes with us (Botpress).\n■1:false:Rasa (coffee company) is not in the chatbot or AI agent industry, therefore it does not compete with us (Botpress).\n■2:true:Dialogflow is a chatbot development product, so it competes with us (Botpress).","role":"assistant","type":"text"},{"content":"Condition to check:\ncompetes with us\n\nItems (from ■0 to ■4)\n==============================\n■0 = {\"name\":\"Moveworks (chatbot)\"}\n■1 = {\"name\":\"Ada.cx\"}\n■2 = {\"name\":\"Nike\"}\n■3 = {\"name\":\"Voiceflow\"}\n■4 = {\"name\":\"Adidas\"}","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.filter","promptSource":"zai:zai.filter:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}


Input: {"body":{"messages":[{"content":"You are given a list of items. Your task is to filter out the items that meet the condition below.\nYou need to return the full list of items with the format:\n■x:true■y:false■z:true (where x, y, z are the indices of the items in the list)\nYou need to start with \"■0\" and go up to the last index \"■4\".\nIf an item meets the condition, you should return \":true\", otherwise \":false\".\n\nIMPORTANT: Make sure to read the condition and the examples carefully before making your decision.\nThe condition is: \"competes with us? (botpress)\"","role":"system"},{"content":"Condition to check:\ncompetes with us? (botpress)\n\nItems (from ■0 to ■0)\n==============================\n■0 = [\"Rasa (framework)\",\"Rasa (coffee company)\"]","role":"user","type":"text"},{"content":"■0:true\n■END■\n====\nHere's the reasoning behind each example:\n■0:true:Rasa is a chatbot framework, so it competes with us (Botpress). We should keep it. Rasa (coffee company) is not in the chatbot or AI agent industry, therefore it does not compete with us (Botpress). We should filter it out.","role":"assistant","type":"text"},{"content":"Condition to check:\ncompetes with us? (botpress)\n\nItems (from ■0 to ■4)\n==============================\n■0 = Nike\n■1 = Ada.cx\n■2 = Adidas\n■3 = Moveworks\n■4 = Lululemon","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.filter","promptSource":"zai:zai.filter:zai/filter"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}


Input: {"body":{"messages":[{"content":"You need to tag the input with the following labels based on the question asked:\nABSOLUTELY_NOT: You are absolutely sure that the answer is \"NO\" to the question.\nPROBABLY_NOT: You are leaning towards \"NO\" to the question.\nAMBIGUOUS: You are unsure about the answer to the question.\nPROBABLY_YES: You are leaning towards \"YES\" to the question.\nABSOLUTELY_YES: You are absolutely sure that the answer is \"YES\" to the question.\n\nYou need to return a mapping of the labels, an explanation and the answer for each label following the format below:\n```\n■is_human:【explanation (where \"explanation\" is answering the question \"is the person a human?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■good_person:【explanation (where \"explanation\" is answering the question \"is the person a good person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■bad_person:【explanation (where \"explanation\" is answering the question \"is the person a bad person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■canadian:【explanation (where \"explanation\" is answering the question \"is the person canadian?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_french:【explanation (where \"explanation\" is answering the question \"is the person french?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n■END■\n```\n\nundefined\n\n===\nYou should consider the Expert Examples below to help you make your decision.\nIn your \"Analysis\", please refer to the Expert Examples # to justify your decision.","role":"system"},{"content":"Expert Example #1\n\n<|start_input|>\nSylvain Pellerin has no criminal record.\n<|end_input|>","role":"user","type":"text"},{"content":"Expert Example #1\n============\n■canadian:【Since we are doing business only in Canada, we assume all users are Canadians.】:ABSOLUTELY_YES■\n■is_french:【Important: Sylvain is a common French name.】:ABSOLUTELY_YES■\n■END■","role":"assistant","type":"text"},{"content":"Expert Example #2\n\n<|start_input|>\nJoannie Côté has a dog.\n<|end_input|>","role":"user","type":"text"},{"content":"Expert Example #2\n============\n■canadian:【Since we are doing business only in Canada, we assume all users are Canadians.】:ABSOLUTELY_YES■\n■is_french:【Important: Joannie is a common French name and Côté is a common French last name.】:ABSOLUTELY_YES■\n■END■","role":"assistant","type":"text"},{"content":"Input to tag:\n<|start_input|>\nSylvain Perron has no criminal record.\n<|end_input|>\n\nAnswer with this following format:\n```\n■is_human:【explanation (where \"explanation\" is answering the question \"is the person a human?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■good_person:【explanation (where \"explanation\" is answering the question \"is the person a good person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■bad_person:【explanation (where \"explanation\" is answering the question \"is the person a bad person?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■canadian:【explanation (where \"explanation\" is answering the question \"is the person canadian?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n\n■is_french:【explanation (where \"explanation\" is answering the question \"is the person french?\")】:x■ (where x is ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES)\n■END■\n```\n\nFormat cheatsheet:\n```\n■label:【explanation】:x■\n```\n\nWhere `x` is one of the following: ABSOLUTELY_NOT | PROBABLY_NOT | AMBIGUOUS | PROBABLY_YES | ABSOLUTELY_YES\n\nRemember: In your `explanation`, please refer to the Expert Examples # (and quote them) that are relevant to ground your decision-making process.\nThe Expert Examples are there to help you make your decision. They have been provided by experts in the field and their answers (and reasoning) are considered the ground truth and should be used as a reference to make your decision when applicable.\nFor example, you can say: \"According to Expert Example #1, ...\"","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.label","promptSource":"zai:zai.label:zai/label"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■is_human:【The name “Sylvain Perron” refers to a person with a typical human name; there is no indication they are non‑human. This aligns with the implicit assumption that such references denote a human.】:ABSOLUTELY_YES■

■good_person:【Having “no criminal record” suggests the person has not been found guilty of wrongdoing, which leans toward a positive moral assessment, though it does not guarantee virtuous behavior. Hence we lean toward “yes”.】:PROBABLY_YES■

■bad_person:【The statement explicitly says there is no criminal record, which strongly indicates the person is not a criminal. While “bad” could be broader than criminality, the evidence points away from a bad person.】:PROBABLY_NOT■

■canadian:【According to Expert Example #1, persons with a French‑Canadian name (Sylvain) are assumed to be Canadian because the business operates only in Canada. The same reasoning applies to Sylvain Perron.】:ABSOLUTELY_YES■

■is_french:【Expert Example #1 notes that “Sylvain” is a common French name, and “Perron” is a French surname, leading to a certainty that the person is French.】:ABSOLUTELY_YES■


Input: {"body":{"input":{"messages":[{"content":"{\n  \"label\": \"PROBABLY_YES\",\n  \"explanation\": \"Expert Example #1 notes that “Sylvain” is a common French name, and “Perron” is a French surname, leading to a certainty that the person is French.\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: label is positive (yes) and there is an explanation of why\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The label indicates a positive identification ('PROBABLY_YES') and the explanation provides a clear rationale for this conclusion, citing the commonality of the name and surname in French culture.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"content":"{\n  \"label\": \"PROBABLY_YES\",\n  \"explanation\": \"According to Expert Example #1, persons with a French‑Canadian name (Sylvain) are assumed to be Canadian because the business operates only in Canada. The same reasoning applies to Sylvain Perron.\"\n}","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: label is positive (yes) and there is an explanation of why\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The label 'PROBABLY_YES' indicates a positive assumption based on the context provided, which states that individuals with a French-Canadian name are likely to be Canadian, and this reasoning is supported by an expert example.",
  "result": true
}


Input: {"body":{"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Prompt: write it like we want it\n\n■START■\nGoogle is an evil company\n■END■","role":"user","type":"text"},{"content":"■START■# GOOGLE IS AN EVIL COMPANY■END■","role":"assistant","type":"text"},{"content":"Prompt: write it like we want it\n\n■START■\nMicrosoft is a big company\n■END■","role":"user","type":"text"},{"content":"■START■# MICROSOFT IS A BIG COMPANY■END■","role":"assistant","type":"text"},{"content":"Prompt: write it like we want it\n\n■START■\nBotpress is awesome\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.rewrite","promptSource":"zai:zai.rewrite:zai/rewrite"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output: ■START■# BOTPRESS IS AWESOME


Input: {"body":{"input":{"messages":[{"content":"\"# BOTPRESS IS AWESOME\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: The text is \"BOTPRESS IS AWESOME\" and starts with a hashtag\n\n---\nPlease generate a JSON response with the following format:\n```typescript\n{ \n/** A human-readable explanation of the result */\nreason: string\n; \n/** Your best guess at the output according to the instructions provided, rooted in the context of the input and the reason above */\nresult: boolean\n }\n```","temperature":0},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

{
  "reason": "The text starts with a hashtag and contains the phrase 'BOTPRESS IS AWESOME'.",
  "result": true
}


Input: {"body":{"maxTokens":null,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Prompt: translate to French\n\n■START■\nHello, how are you?\n■END■","role":"user","type":"text"},{"content":"■START■Bonjour, comment ça va?■END■","role":"assistant","type":"text"},{"content":"Prompt: reverse the order\n\n■START■\n1\n2\n3\n■END■","role":"user","type":"text"},{"content":"■START■3\n2\n1■END■","role":"assistant","type":"text"},{"content":"Prompt: write in all caps\n\n■START■\nHello, what is the time today?\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.rewrite","promptSource":"zai:zai.rewrite:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Validation Error: 'maxTokens':  Expected number, received null


Input: {"body":{"maxTokens":null,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Prompt: translate to French\n\n■START■\nHello, how are you?\n■END■","role":"user","type":"text"},{"content":"■START■Bonjour, comment ça va?■END■","role":"assistant","type":"text"},{"content":"Prompt: reverse the order\n\n■START■\n1\n2\n3\n■END■","role":"user","type":"text"},{"content":"■START■3\n2\n1■END■","role":"assistant","type":"text"},{"content":"Prompt: write in all caps\n\n■START■\nHello, what is the time today?\n■END■","role":"user","type":"text"},{"content":"ERROR PARSING OUTPUT\n\nRequest failed with status code 400.\n\nPlease return a valid response addressing the error above.","role":"user"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.rewrite","promptSource":"zai:zai.rewrite:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}


Input: {"body":{"maxTokens":null,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Prompt: translate to French\n\n■START■\nHello, how are you?\n■END■","role":"user","type":"text"},{"content":"■START■Bonjour, comment ça va?■END■","role":"assistant","type":"text"},{"content":"Prompt: reverse the order\n\n■START■\n1\n2\n3\n■END■","role":"user","type":"text"},{"content":"■START■3\n2\n1■END■","role":"assistant","type":"text"},{"content":"Prompt: write in all caps\n\n■START■\nHello, what is the time today?\n■END■","role":"user","type":"text"},{"content":"ERROR PARSING OUTPUT\n\nRequest failed with status code 400.\n\nPlease return a valid response addressing the error above.","role":"user"},{"content":"ERROR PARSING OUTPUT\n\nRequest failed with status code 400.\n\nPlease return a valid response addressing the error above.","role":"user"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.rewrite","promptSource":"zai:zai.rewrite:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}


Input: {"body":{"maxTokens":null,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.","role":"system"},{"content":"Prompt: translate to French\n\n■START■\nHello, how are you?\n■END■","role":"user","type":"text"},{"content":"■START■Bonjour, comment ça va?■END■","role":"assistant","type":"text"},{"content":"Prompt: reverse the order\n\n■START■\n1\n2\n3\n■END■","role":"user","type":"text"},{"content":"■START■3\n2\n1■END■","role":"assistant","type":"text"},{"content":"Prompt: write in all caps\n\n■START■\nHello, what is the time today?\n■END■","role":"user","type":"text"},{"content":"ERROR PARSING OUTPUT\n\nRequest failed with status code 400.\n\nPlease return a valid response addressing the error above.","role":"user"},{"content":"ERROR PARSING OUTPUT\n\nRequest failed with status code 400.\n\nPlease return a valid response addressing the error above.","role":"user"},{"content":"ERROR PARSING OUTPUT\n\nRequest failed with status code 400.\n\nPlease return a valid response addressing the error above.","role":"user"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.rewrite","promptSource":"zai:zai.rewrite:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}