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: \"person lives in north america\"\n<|start_input|>\n{\n  \"name\": \"Sylvain Perron\",\n  \"age\": 30,\n  \"job\": \"CEO\",\n  \"company\": \"Botpress\",\n  \"location\": \"Quebec\"\n}\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 “person lives in north america.”

In the provided JSON object the field **`location`** has the value **“Quebec.”** Quebec is a province of Canada, and Canada is geographically part of **North America**.

This reasoning follows the pattern shown in the Expert Examples:

* In Example #0 (public personality), the answer was judged based on whether the input matched the described condition.
* In Example #1 (list of fruits), the answer was judged by checking each element against the condition.

Similarly, we compare the “location” value to the geographical region defined in the condition. Since “Quebec” lies within North America, the condition holds 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: \"person lives in europe\"\n<|start_input|>\n{\n  \"name\": \"Sylvain Perron\",\n  \"age\": 30,\n  \"job\": \"CEO\",\n  \"company\": \"Botpress\",\n  \"location\": \"Quebec\"\n}\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 person described in the input lives in Europe. In the provided JSON, the field `location` is set to `"Quebec"`. Quebec is a province of Canada, which is located in North America, not in Europe. Therefore, the statement “person lives in Europe” does **not** hold for this input.

This reasoning follows the same pattern as in the Expert Examples:
- **Example #1** evaluated whether a given name matched the condition “public personality” and returned *true* because the name clearly matched the condition.
- **Example #2** evaluated whether a list satisfied the condition “exclusively a list of fruits” and returned *false* because the list contained non‑fruit items.

Similarly, here the input fails the condition because the `location` value does not correspond to any European country.

**Conclusion:** ■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 sentence\"\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 must evaluate is **“is an English sentence.”**
The provided input is:

> *This text is very clearly written in English*

This string is a complete, grammatically correct sentence composed entirely of English words. Therefore it satisfies the condition.

To justify this decision, we can compare it with the two Expert Examples given earlier:

- **Expert Example #1** evaluated whether “50 Cent” is a public personality. Because “50 Cent” is indeed a well‑known public figure, the answer was **TRUE**. This shows that when the input clearly meets the defined condition, the correct response is **TRUE**.
- **Expert Example #0** evaluated whether a list contained only fruits. Since the list included non‑fruit items like “carrot” and “house,” the answer was **FALSE**. This demonstrates that any deviation from the condition leads to a **FALSE** answer.

In our case, the input fully meets the condition (“is an English sentence”) with no deviation, mirroring the situation in Expert Example #1 where the condition was satisfied. Consequently, 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 #0):","role":"system"},{"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 sentence\"\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"},{"content":"...","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid answer. The response was: ....\n\nPlease return a valid response addressing the error above.","role":"user"}],"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 sentence.” In the provided input we have the text:

`This text is very clearly written in English`

This string is a complete, grammatically correct sentence written in English. It satisfies the condition in the same way the first Expert Example (#1) satisfied its condition (“Is the input a public personality?”) – the input clearly matches the described category. Conversely, the second Expert Example (#2) was judged false because the list contained non‑fruit items; here, no such mismatch exists.

Since the input is an English sentence, 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 #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\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 is whether the given input refers to a product or company that competes with Botpress — i.e., a platform for building chat‑bots or conversational AI agents.

The three expert examples clarify how this decision is made:

| Example | Input | Reasoning | Verdict |
|---------|-------|-----------|---------|
| #1 | *Rasa (framework)* | A chatbot framework, directly comparable to Botpress. | **TRUE** (competitor) |
| #2 | *Rasa (coffee company)* | A coffee business, unrelated to chatbot technology. | **FALSE** (not a competitor) |
| #3 | *Dialogflow* | Google’s conversational‑AI platform, directly comparable to Botpress. | **TRUE** (competitor) |

Thus, the rule is: **TRUE** when the entity is a chatbot/conversational‑AI development platform; **FALSE** when it is unrelated or belongs to a different industry.

**Applying the rule to “Moveworks":**

Moveworks is an AI‑driven enterprise IT‑support solution that automatically resolves employee help‑desk tickets. Its primary product focuses on automating internal IT support workflows, not on providing a general‑purpose chatbot development platform. While it uses conversational AI internally, it does **not** offer a framework for customers to build their own chatbots, which is the core domain of Botpress. Therefore, Moveworks does **not** fall under the same competitive category as Rasa (framework) or Dialogflow.

Consequently, according to the pattern established by the expert examples, the condition is **false** for Moveworks.

**Conclusion**

■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 #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|>\nAda.cx\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 tested in the prior examples is whether the given name refers to a product or company that operates in the chatbot / conversational‑AI platform space and therefore competes with Botpress.

- **Example 1** – *Rasa (framework)* is a well‑known open‑source chatbot framework → **TRUE**.
- **Example 2** – *Rasa (coffee company)* is unrelated to conversational AI → **FALSE**.
- **Example 3** – *Dialogflow* is Google’s conversational‑AI platform → **TRUE**.

**Ada.cx** is a SaaS company that provides an AI‑powered customer‑service chatbot platform (often marketed simply as “Ada”). Like Rasa (framework) and Dialogflow, Ada.cx offers tools for building, deploying, and managing chatbots, placing it directly in the same market segment as Botpress. Therefore, it satisfies the same criteria that made the earlier chatbot platforms evaluate to **TRUE**.

**Conclusion:** The condition is true for the input “Ada.cx”.

■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|>\nVoiceflow\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 given entity is a chatbot or conversational‑AI platform that competes with Botpress:

- **Expert Example #1** – “Rasa (framework)” is a well‑known open‑source chatbot framework, and the answer is **TRUE**.
- **Expert Example #2** – “Rasa (coffee company)” is unrelated to conversational AI, and the answer is **FALSE**.
- **Expert Example #3** – “Dialogflow” is Google’s chatbot development platform, and the answer is **TRUE**.

**Voiceflow** is a no‑code development environment for building voice‑first and chat‑based conversational experiences (e.g., Alexa, Google Assistant, and chatbot prototypes). It operates in the same space as Rasa and Dialogflow, providing tools for designing, testing, and deploying conversational agents. Therefore, it meets the same criteria that yielded **TRUE** in Examples 1 and 3.

**Conclusion:** The condition is true for “Voiceflow”.

■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|>\nNike\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 in the examples is whether the given entity is a competitor of Botpress – i.e., a product or company that operates in the chatbot/AI‑assistant space.

- **Expert Example #1** shows *Rasa (framework)*, which is a chatbot framework, and is labeled **TRUE** because it competes with Botpress.
- **Expert Example #2** presents *Rasa (coffee company)*, which is unrelated to chatbots, and is labeled **FALSE**.
- **Expert Example #3** gives *Dialogflow*, another chatbot platform, and is labeled **TRUE**.

Applying the same reasoning to **Nike**, a global athletic apparel and footwear brand, we see that Nike does not operate in the chatbot or AI‑assistant market. Therefore, Nike is **not** a competitor of Botpress.

**Conclusion:** The condition is false for the input “Nike”.

■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 #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|>\nAdidas\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 given input denotes a product or company that competes with Botpress in the chatbot/AI‑agent platform space.

- **Example #1:** “Rasa (framework)” is a well‑known open‑source chatbot framework, directly competing with Botpress → **TRUE**.
- **Example #2:** “Rasa (coffee company)” is a coffee business, unrelated to chatbot technology → **FALSE**.
- **Example #3:** “Dialogflow” is Google’s conversational AI platform, a direct competitor of Botpress → **TRUE**.

Applying the same logic to **Expert Example #4**, the input is **“Adidas.”** Adidas operates in the sportswear and apparel industry and has no involvement in chatbot or conversational AI platforms. Therefore, it does **not** compete with Botpress.

**Conclusion:** The condition is **false** for the input “Adidas.”

■FALSE■


Input: {"body":{"factor":30,"frozen":true,"isComputeEnabled":false,"schema":{"explanation":{"nullable":true,"type":"string","x-zui":{"searchable":false}},"feedback":{"additionalProperties":false,"default":null,"nullable":true,"properties":{"comment":{"nullable":true,"type":"string","x-zui":{}},"rating":{"enum":["very-bad","bad","good","very-good"],"type":"string","x-zui":{}}},"required":["rating","comment"],"type":"object","x-zui":{"searchable":false}},"input":{"additionalProperties":true,"description":"The input to the task","properties":{},"type":"object","x-zui":{"searchable":true}},"instructions":{"type":"string","x-zui":{"searchable":false}},"key":{"description":"A unique key for the task (e.g. a hash of the input, taskId, taskType and instructions)","type":"string","x-zui":{"searchable":false}},"metadata":{"additionalProperties":true,"properties":{},"type":"object","x-zui":{"searchable":false}},"output":{"additionalProperties":true,"description":"The expected output","properties":{},"type":"object","x-zui":{"searchable":false}},"status":{"enum":["pending","rejected","approved"],"type":"string","x-zui":{"searchable":false}},"taskId":{"type":"string","x-zui":{"searchable":false}},"taskType":{"description":"The type of the task (filter, extract, etc.)","type":"string","x-zui":{"searchable":false}}},"tags":{"schema-purpose":"active-learning","schema-version":"Oct-2024","system":"true","x-studio-color":"green","x-studio-description":"Table for storing active learning tasks and examples","x-studio-icon":"lucide://atom","x-studio-readonly":"true","x-studio-title":"Active Learning"}},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestCheckInternalTable"}

ZaiTestCheckInternalTable

System: true

The input to the task

The expected output


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 a greeting\"\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 condition we are evaluating is **“is a greeting.”**
We compare the input `What's up` with the pattern of the expert examples:

* **Example #1** showed a clear classification: the input *“50 Cent”* was identified as a public personality, leading to a **TRUE** outcome for that condition.
* **Example #2** demonstrated that if any element of the input does not satisfy the condition (e.g., “carrot” and “house” are not fruits), the answer is **FALSE**.

Applying the same logic, we examine whether the phrase *“What's up”* functions as a greeting. In everyday English, “What’s up?” is commonly used as an informal way to say hello or to ask how someone is doing, which matches the definition of a greeting.

Since the input fulfills the condition, the appropriate response aligns with the pattern of Example #1 (a true classification).

**Final Answer:** ■TRUE■


Input: {"body":{"keyColumn":"key","rows":[{"explanation":"**Analysis**\n\nThe condition we are evaluating is **“is a greeting.”**  \nWe compare the input `What's up` with the pattern of the expert examples:\n\n* **Example #1** showed a clear classification: the input *“50 Cent”* was identified as a public personality, leading to a **TRUE** outcome for that condition.  \n* **Example #2** demonstrated that if any element of the input does not satisfy the condition (e.g., “carrot” and “house” are not fruits), the answer is **FALSE**.\n\nApplying the same logic, we examine whether the phrase *“What's up”* functions as a greeting. In everyday English, “What’s up?” is commonly used as an informal way to say hello or to ask how someone is doing, which matches the definition of a greeting.\n\nSince the input fulfills the condition, the appropriate response aligns with the pattern of Example #1 (a true classification).\n\n****","feedback":null,"input":{"value":"What's up"},"instructions":"is a greeting","key":"bf80d46","metadata":{"cost":{"input":0,"output":0},"latency":2265,"model":"fast","tokens":{"input":0,"output":0}},"output":{"value":true},"status":"pending","taskId":"zai/check","taskType":"zai.check"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestCheckInternalTable/rows/upsert"}

Instruction: is a greeting

Explanation:
**Analysis**

The condition we are evaluating is **“is a greeting.”**
We compare the input `What's up` with the pattern of the expert examples:

* **Example #1** showed a clear classification: the input *“50 Cent”* was identified as a public personality, leading to a **TRUE** outcome for that condition.
* **Example #2** demonstrated that if any element of the input does not satisfy the condition (e.g., “carrot” and “house” are not fruits), the answer is **FALSE**.

Applying the same logic, we examine whether the phrase *“What's up”* functions as a greeting. In everyday English, “What’s up?” is commonly used as an informal way to say hello or to ask how someone is doing, which matches the definition of a greeting.

Since the input fulfills the condition, the appropriate response aligns with the pattern of Example #1 (a true classification).

****


Instruction: is a greeting


Input: {"body":{"keyColumn":"key","rows":[{"explanation":"\"What's up\" in our business scenario is NOT considered an official greeting.","feedback":null,"input":{"value":"what is up"},"instructions":"is a greeting","key":"t1","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":false},"status":"approved","taskId":"zai/check","taskType":"zai.check"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestCheckInternalTable/rows/upsert"}

Instruction: is a greeting

Explanation: "What's up" in our business scenario is NOT considered an official greeting.


Input: {"body":{"keyColumn":"key","rows":[{"explanation":"\"hello!\" is a common greeting in English.","feedback":null,"input":{"value":"hello! how are you?"},"instructions":"is a greeting","key":"t2","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":true},"status":"approved","taskId":"zai/check","taskType":"zai.check"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestCheckInternalTable/rows/upsert"}

Instruction: is a greeting

Explanation: "hello!" is a common greeting in English.


Input: {"body":{"keyColumn":"key","rows":[{"explanation":"\"wassup\" is a slang term and not considered a formal greeting. It is therefore NOT considered a greeting.","feedback":null,"input":{"value":"wassup"},"instructions":"is a greeting","key":"t3","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":false},"status":"approved","taskId":"zai/check","taskType":"zai.check"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestCheckInternalTable/rows/upsert"}

Instruction: is a greeting

Explanation: "wassup" is a slang term and not considered a formal greeting. It is therefore NOT considered a greeting.


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 \"■6\".\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: \"generally good people\"","role":"system"},{"content":"Condition to check:\ngenerally good people\n\nItems (from ■0 to ■-1)\n==============================","role":"user","type":"text"},{"content":"■END■\n====\nHere's the reasoning behind each example:","role":"assistant","type":"text"},{"content":"Condition to check:\ngenerally good people\n\nItems (from ■0 to ■6)\n==============================\n■0 = {\"name\":\"John\",\"description\":\"is a bad person\"}\n■1 = {\"name\":\"Alice\",\"description\":\"is a good person\"}\n■2 = {\"name\":\"Bob\",\"description\":\"is a good person\"}\n■3 = {\"name\":\"Eve\",\"description\":\"is a bad person\"}\n■4 = {\"name\":\"Alex\",\"description\":\"is a good person\"}\n■5 = {\"name\":\"Sara\",\"description\":\"donates to charity every month\"}\n■6 = {\"name\":\"Tom\",\"description\":\"commits crimes and is in jail\"}","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"}

Output: ■0:false■1:true■2:true■3:false■4:true■5:true■6: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\"}\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":{"factor":30,"frozen":true,"isComputeEnabled":false,"schema":{"explanation":{"nullable":true,"type":"string","x-zui":{"searchable":false}},"feedback":{"additionalProperties":false,"default":null,"nullable":true,"properties":{"comment":{"nullable":true,"type":"string","x-zui":{}},"rating":{"enum":["very-bad","bad","good","very-good"],"type":"string","x-zui":{}}},"required":["rating","comment"],"type":"object","x-zui":{"searchable":false}},"input":{"additionalProperties":true,"description":"The input to the task","properties":{},"type":"object","x-zui":{"searchable":true}},"instructions":{"type":"string","x-zui":{"searchable":false}},"key":{"description":"A unique key for the task (e.g. a hash of the input, taskId, taskType and instructions)","type":"string","x-zui":{"searchable":false}},"metadata":{"additionalProperties":true,"properties":{},"type":"object","x-zui":{"searchable":false}},"output":{"additionalProperties":true,"description":"The expected output","properties":{},"type":"object","x-zui":{"searchable":false}},"status":{"enum":["pending","rejected","approved"],"type":"string","x-zui":{"searchable":false}},"taskId":{"type":"string","x-zui":{"searchable":false}},"taskType":{"description":"The type of the task (filter, extract, etc.)","type":"string","x-zui":{"searchable":false}}},"tags":{"schema-purpose":"active-learning","schema-version":"Oct-2024","system":"true","x-studio-color":"green","x-studio-description":"Table for storing active learning tasks and examples","x-studio-icon":"lucide://atom","x-studio-readonly":"true","x-studio-title":"Active Learning"}},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestFilterInternalTable"}

ZaiTestFilterInternalTable

System: true

The input to the task

The expected output


Input: {"body":{"keyColumn":"key","rows":[{"explanation":"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.","feedback":null,"input":{"value":["Rasa (framework)","Rasa (coffee company)"]},"instructions":"competes with us?","key":"t1","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":["Rasa (framework)"]},"status":"approved","taskId":"zai/filter","taskType":"zai.filter"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestFilterInternalTable/rows/upsert"}

Instruction: competes with us?


Input: {"body":{"keyColumn":"key","rows":[{"explanation":"Voiceflow is a chatbot development product, so it competes with us (Botpress). We should keep it. Dialogflow is a chatbot development product, so it competes with us (Botpress). We should keep it.","feedback":null,"input":{"value":["Voiceflow","Dialogflow"]},"instructions":"competes with us?","key":"t2","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":["Voiceflow","Dialogflow"]},"status":"approved","taskId":"zai/filter","taskType":"zai.filter"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestFilterInternalTable/rows/upsert"}

Instruction: competes with us?


Instruction: competes with us?

Instruction: competes with us?


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 ■1)\n==============================\n■0 = [\"Rasa (framework)\",\"Rasa (coffee company)\"]\n■1 = [\"Voiceflow\",\"Dialogflow\"]","role":"user","type":"text"},{"content":"■0:true■1: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.\n■1:true:Voiceflow is a chatbot development product, so it competes with us (Botpress). We should keep it. Dialogflow is a chatbot development product, so it competes with us (Botpress). We should keep it.","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"}


Instruction: competes with us? (botpress)


Instruction: competes with us?

Instruction: competes with us?

Instruction: competes with us? (botpress)


Input: {"body":{"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"}

Output: ■START■HELLO, WHAT IS THE TIME TODAY?


Input: {"body":{"maxTokens":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\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"}

Failed to fulfill request after querying 4 models. Last error: No tokens received from model openrouter:gpt-oss-120b

Original model 'cerebras:gpt-oss-120b' failed, using fallback 'groq:gpt-oss-120b': Original model failed or was unavailable

Original model 'groq:gpt-oss-120b' failed, using fallback 'fireworks-ai:gpt-oss-120b': Original model failed or was unavailable

Original model 'fireworks-ai:gpt-oss-120b' failed, using fallback 'openrouter:gpt-oss-120b': Original model failed or was unavailable


Input: {"body":{"maxTokens":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\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":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\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":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\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"}


Input: {"body":{"maxTokens":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\n■END■","role":"user","type":"text"},{"content":"<Invalid output, no content provided>","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid rewrite. The response was empty..\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":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\n■END■","role":"user","type":"text"},{"content":"<Invalid output, no content provided>","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid rewrite. The response was empty..\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":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\n■END■","role":"user","type":"text"},{"content":"<Invalid output, no content provided>","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid rewrite. The response was empty..\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"}


Input: {"body":{"maxTokens":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\n■END■","role":"user","type":"text"},{"content":"<Invalid output, no content provided>","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid rewrite. The response was empty..\n\nPlease return a valid response addressing the error above.","role":"user"},{"content":"<Invalid output, no content provided>","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid rewrite. The response was empty..\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":15,"messages":[{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","role":"system"},{"content":"Rewrite the text between the ■START■ and ■END■ tags to match the user prompt.\n• The original text is 44 tokens long – it should be less than 15\n• The text must be standalone and complete in less than 15 tokens, so it has to be shortened to fit the length as well","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■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\n■END■","role":"user","type":"text"},{"content":"<Invalid output, no content provided>","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid rewrite. The response was empty..\n\nPlease return a valid response addressing the error above.","role":"user"},{"content":"<Invalid output, no content provided>","role":"assistant"},{"content":"ERROR PARSING OUTPUT\n\nThe model did not return a valid rewrite. The response was empty..\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":{"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: translate to french\n\n■START■\nPart 1. Zoe walks to the park.\nPart 2. She meets her friend.\nPart 3. They play together.\nPart 4. They have a picnic.\nPart 5. They go home.\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"}

Output:
■START■
Partie 1. Zoe marche au parc.
Partie 2. Elle rencontre son ami.
Partie 3. Ils jouent ensemble.
Partie 4. Ils font un pique‑nique.
Partie 5. Ils rentrent chez eux.


Input: {"body":{"input":{"messages":[{"content":"\"Partie 1. Zoe marche au parc.  \\nPartie 2. Elle rencontre son ami.  \\nPartie 3. Ils jouent ensemble.  \\nPartie 4. Ils font un pique‑nique.  \\nPartie 5. Ils rentrent chez eux.\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: is a french story about Zeo and with 5 parts\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 text is a French story about Zoe, consisting of 5 distinct parts that describe her activities in a sequential manner.",
  "result": true
}


Input: {"body":{"factor":30,"frozen":true,"isComputeEnabled":false,"schema":{"explanation":{"nullable":true,"type":"string","x-zui":{"searchable":false}},"feedback":{"additionalProperties":false,"default":null,"nullable":true,"properties":{"comment":{"nullable":true,"type":"string","x-zui":{}},"rating":{"enum":["very-bad","bad","good","very-good"],"type":"string","x-zui":{}}},"required":["rating","comment"],"type":"object","x-zui":{"searchable":false}},"input":{"additionalProperties":true,"description":"The input to the task","properties":{},"type":"object","x-zui":{"searchable":true}},"instructions":{"type":"string","x-zui":{"searchable":false}},"key":{"description":"A unique key for the task (e.g. a hash of the input, taskId, taskType and instructions)","type":"string","x-zui":{"searchable":false}},"metadata":{"additionalProperties":true,"properties":{},"type":"object","x-zui":{"searchable":false}},"output":{"additionalProperties":true,"description":"The expected output","properties":{},"type":"object","x-zui":{"searchable":false}},"status":{"enum":["pending","rejected","approved"],"type":"string","x-zui":{"searchable":false}},"taskId":{"type":"string","x-zui":{"searchable":false}},"taskType":{"description":"The type of the task (filter, extract, etc.)","type":"string","x-zui":{"searchable":false}}},"tags":{"schema-purpose":"active-learning","schema-version":"Oct-2024","system":"true","x-studio-color":"green","x-studio-description":"Table for storing active learning tasks and examples","x-studio-icon":"lucide://atom","x-studio-readonly":"true","x-studio-title":"Active Learning"}},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestRewriteInternalTable"}

ZaiTestRewriteInternalTable

System: true

The input to the task

The expected output


Input: {"body":{"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 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■We love Botpress—it’s awesome!


Input: {"body":{"keyColumn":"key","rows":[{"explanation":null,"feedback":null,"input":{"value":"Botpress is awesome"},"instructions":"write it like we want it","key":"6ab41df5","metadata":{"cost":{"input":0,"output":0},"latency":389,"model":"fast","tokens":{"input":0,"output":0}},"output":{"value":"We love Botpress—it’s awesome!"},"status":"pending","taskId":"zai/rewrite","taskType":"zai.rewrite"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestRewriteInternalTable/rows/upsert"}

Instruction: write it like we want it


Instruction: write it like we want it


Input: {"body":{"keyColumn":"key","rows":[{"explanation":null,"feedback":null,"input":{"value":"Microsoft is a big company"},"instructions":"write it like we want it","key":"t1","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":"# MICROSOFT IS A BIG COMPANY"},"status":"approved","taskId":"zai/rewrite","taskType":"zai.rewrite"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestRewriteInternalTable/rows/upsert"}

Instruction: write it like we want it


Input: {"body":{"keyColumn":"key","rows":[{"explanation":null,"feedback":null,"input":{"value":"Google is an evil company"},"instructions":"write it like we want it","key":"t2","metadata":{"cost":{"input":1,"output":1},"latency":0,"model":"","tokens":{"input":1,"output":1}},"output":{"value":"# GOOGLE IS AN EVIL COMPANY"},"status":"approved","taskId":"zai/rewrite","taskType":"zai.rewrite"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestRewriteInternalTable/rows/upsert"}

Instruction: write it like we want it


Input: {"body":{"factor":30,"frozen":true,"isComputeEnabled":false,"schema":{"explanation":{"nullable":true,"type":"string","x-zui":{"searchable":false}},"feedback":{"additionalProperties":false,"default":null,"nullable":true,"properties":{"comment":{"nullable":true,"type":"string","x-zui":{}},"rating":{"enum":["very-bad","bad","good","very-good"],"type":"string","x-zui":{}}},"required":["rating","comment"],"type":"object","x-zui":{"searchable":false}},"input":{"additionalProperties":true,"description":"The input to the task","properties":{},"type":"object","x-zui":{"searchable":true}},"instructions":{"type":"string","x-zui":{"searchable":false}},"key":{"description":"A unique key for the task (e.g. a hash of the input, taskId, taskType and instructions)","type":"string","x-zui":{"searchable":false}},"metadata":{"additionalProperties":true,"properties":{},"type":"object","x-zui":{"searchable":false}},"output":{"additionalProperties":true,"description":"The expected output","properties":{},"type":"object","x-zui":{"searchable":false}},"status":{"enum":["pending","rejected","approved"],"type":"string","x-zui":{"searchable":false}},"taskId":{"type":"string","x-zui":{"searchable":false}},"taskType":{"description":"The type of the task (filter, extract, etc.)","type":"string","x-zui":{"searchable":false}}},"tags":{"schema-purpose":"active-learning","schema-version":"Oct-2024","system":"true","x-studio-color":"green","x-studio-description":"Table for storing active learning tasks and examples","x-studio-icon":"lucide://atom","x-studio-readonly":"true","x-studio-title":"Active Learning"}},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestInternalTable"}

ZaiTestInternalTable

System: true

The input to the task

The expected output


Input: {"body":{"filter":{"status":"approved","taskId":"zai/test","taskType":"zai.check"},"limit":10,"search":"{\"value\":\"This text is very clearly written in English.\"}"},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestInternalTable/rows/find"}


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 sentence\"\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:zai/test"},"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 sentence*.
The provided input is the string:

> “This text is very clearly written in English.”

This string satisfies all criteria for being an English sentence: it is composed of English words, follows typical sentence structure (subject + verb + complement), and ends with a period.

Comparing to the Expert Examples:

- **Expert Example #1** demonstrated that a single, clearly identifiable entity (“50 Cent”) satisfied the condition “Is the input a public personality?” and was judged **TRUE**.
- **Expert Example #2** showed that a list containing non‑fruit items failed the condition “Is the input exclusively a list of fruits?” and was judged **FALSE**.

Similarly, our input cleanly satisfies the condition “is an English sentence,” just as the input in Example #1 satisfied its condition. Therefore, the correct evaluation is **TRUE**.

**Final Answer:** ■TRUE■


Input: {"body":{"keyColumn":"key","rows":[{"explanation":"****  \nThe condition asks whether the input is *an English sentence*.  \nThe provided input is the string:\n\n> “This text is very clearly written in English.”\n\nThis string satisfies all criteria for being an English sentence: it is composed of English words, follows typical sentence structure (subject + verb + complement), and ends with a period.  \n\nComparing to the Expert Examples:\n\n- **Expert Example #1** demonstrated that a single, clearly identifiable entity (“50 Cent”) satisfied the condition “Is the input a public personality?” and was judged **TRUE**.  \n- **Expert Example #2** showed that a list containing non‑fruit items failed the condition “Is the input exclusively a list of fruits?” and was judged **FALSE**.\n\nSimilarly, our input cleanly satisfies the condition “is an English sentence,” just as the input in Example #1 satisfied its condition. Therefore, the correct evaluation is **TRUE**.\n\n****","feedback":null,"input":{"value":"This text is very clearly written in English."},"instructions":"is an english sentence","key":"cb3033c","metadata":{"cost":{"input":0,"output":0},"latency":0,"model":"fast","tokens":{"input":0,"output":0}},"output":{"value":true},"status":"pending","taskId":"zai/test","taskType":"zai.check"}]},"method":"POST","url":"https://api.botpress.cloud/v1/tables/ZaiTestInternalTable/rows/upsert"}

Instruction: is an english sentence

This text is very clearly written in English.

Explanation:
****
The condition asks whether the input is *an English sentence*.
The provided input is the string:

> “This text is very clearly written in English.”

This string satisfies all criteria for being an English sentence: it is composed of English words, follows typical sentence structure (subject + verb + complement), and ends with a period.

Comparing to the Expert Examples:

- **Expert Example #1** demonstrated that a single, clearly identifiable entity (“50 Cent”) satisfied the condition “Is the input a public personality?” and was judged **TRUE**.
- **Expert Example #2** showed that a list containing non‑fruit items failed the condition “Is the input exclusively a list of fruits?” and was judged **FALSE**.

Similarly, our input cleanly satisfies the condition “is an English sentence,” just as the input in Example #1 satisfied its condition. Therefore, the correct evaluation is **TRUE**.

****


Instruction: is an english sentence

This text is very clearly written in English.


llmz

createdAt updatedAt lastRunAt nextRunAt runs

Admin Mode

Indicates if the user is in admin mode

Is Analysis Dirty

'true' if the analysis is dirty (needs to run)

Cost

Cost of the conversation in $

Input Tokens

Number of input tokens in the conversation

Number of Messages

Number of messages in the conversation

Number of Participants

Number of participants in the conversation

Output Tokens

Number of output tokens in the conversation

Summary

Summary of the conversation

Title

Title of the conversation

Topics

Topics of the conversation, as a comma-separated list

browser

Browser

Capture screenshots and retrieve web page content with metadata for automated browsing and data extraction.

charts

charts

Easily generate a variety of charts, including line, bar, pie, and scatter plots, etc.

webchat

Webchat

Webchat integration for Botpress

pdf-generator

pdf-generator

Converts markdown content to PDF using PDFShift

cerebras

Cerebras

Get access to a curated list of Cerebras models for content generation and chat completions within your bot.

chat

Chat

Chat integration for Botpress; Allows interacting with your bot using HTTP requests.

telegram

Telegram

Engage with your audience in real-time.

openai

OpenAI

Gain access to OpenAI models for text generation, speech synthesis, audio transcription, and image generation.


Integration "intver_01JA90TH1GJC1HGGMTFP68AFF1" doesn't have the action "listLanguageModels" defined


Integration "intver_01JBVV0VQW8XN3Z5V9K8DB1M3B" doesn't have the action "listLanguageModels" defined


Integration "intver_01JZ6J0NKYBXC0V6K5DBDZKKDK" doesn't have the action "listLanguageModels" defined


Integration "intver_01JVYWESY3BVAM5FR3XT9X813H" doesn't have the action "listLanguageModels" defined


Integration "intver_01JXZ6RRCF09W38PQK2A3KKKSQ" doesn't have the action "listLanguageModels" defined


Integration "intver_01JYH5RVPDDQSSQ0Z4FH2XXV4Z" doesn't have the action "listLanguageModels" defined


GPT-5 is OpenAI's latest and most advanced AI model. It is a reasoning model that chooses the best way to respond based on task complexity and user intent. GPT-5 delivers expert-level performance across coding, math, writing, health, and visual perception, with improved accuracy, speed, and reduced hallucinations. It excels in complex tasks, long-context understanding, multimodal inputs (text and images), and safe, nuanced responses.

GPT-5 Mini

GPT-5 Mini is a lightweight and cost-effective version of GPT-5, optimized for applications where speed and efficiency matter more than full advanced capabilities. It is designed for cost-sensitive use cases such as chatbots, content generation, and high-volume usage, striking a balance between performance and affordability, making it suitable for simpler tasks that do not require deep multi-step reasoning or the full reasoning power of GPT-5

GPT-5 Nano

GPT-5 Nano is an ultra-lightweight version of GPT-5 optimized for speed and very low latency, making it ideal for use cases like simple chatbots, basic content generation, summarization, and classification tasks.

o4-mini is OpenAI's latest small o-series model. It's optimized for fast, effective reasoning with exceptionally efficient performance in coding and visual tasks.

o3 is a well-rounded and powerful model across domains. It sets a new standard for math, science, coding, and visual reasoning tasks. It also excels at technical writing and instruction-following. Use it to think through multi-step problems that involve analysis across text, code, and images.

GPT 4.1 is our flagship model for complex tasks. It is well suited for problem solving across domains. The knowledge cutoff is June 2024.

GPT-4.1 Mini

GPT 4.1 mini provides a balance between intelligence, speed, and cost that makes it an attractive model for many use cases. The knowledge cutoff is June 2024.

GPT-4.1 Nano

GPT-4.1 nano is the fastest, most cost-effective GPT 4.1 model. The knowledge cutoff is June 2024.

o3-mini is the most recent small reasoning model from OpenAI, providing high intelligence at the same cost and latency targets of o1-mini. o3-mini also supports key developer features, like Structured Outputs, function calling, Batch API, and more. Like other models in the o-series, it is designed to excel at science, math, and coding tasks. The knowledge cutoff for o3-mini models is October, 2023.

The o1 model is designed to solve hard problems across domains. The o1 series of models are trained with reinforcement learning to perform complex reasoning. o1 models think before they answer, producing a long internal chain of thought before responding to the user.

The o1-mini model is a fast and affordable reasoning model for specialized tasks. The o1 series of models are trained with reinforcement learning to perform complex reasoning. o1 models think before they answer, producing a long internal chain of thought before responding to the user.

GPT-4o Mini

GPT-4o mini (“o” for “omni”) is OpenAI's most advanced model in the small models category, and their cheapest model yet. It is multimodal (accepting text or image inputs and outputting text), has higher intelligence than gpt-3.5-turbo but is just as fast. It is meant to be used for smaller tasks, including vision tasks. It's recommended to choose gpt-4o-mini where you would have previously used gpt-3.5-turbo as this model is more capable and cheaper.

GPT-4o (November 2024)

GPT-4o (“o” for “omni”) is OpenAI's most advanced model. It is multimodal (accepting text or image inputs and outputting text), and it has the same high intelligence as GPT-4 Turbo but is cheaper and more efficient.

GPT-4o (August 2024)

GPT-4o (“o” for “omni”) is OpenAI's most advanced model. It is multimodal (accepting text or image inputs and outputting text), and it has the same high intelligence as GPT-4 Turbo but is cheaper and more efficient.

GPT-4o (May 2024)

GPT-4o (“o” for “omni”) is OpenAI's most advanced model. It is multimodal (accepting text or image inputs and outputting text), and it has the same high intelligence as GPT-4 Turbo but is cheaper and more efficient.

GPT-4 Turbo

GPT-4 is a large multimodal model (accepting text or image inputs and outputting text) that can solve difficult problems with greater accuracy than any of our previous models, thanks to its broader general knowledge and advanced reasoning capabilities.

GPT-3.5 Turbo

GPT-3.5 Turbo can understand and generate natural language or code and has been optimized for chat but works well for non-chat tasks as well.


Qwen3 32B

Qwen3-32B is a world-class reasoning model with comparable quality to DeepSeek R1 while outperforming GPT-4.1 and Claude Sonnet 3.7. It excels in code-gen, tool-calling, and advanced reasoning, making it an exceptional model for a wide range of production use cases. NOTE: This model always uses thinking tokens (reasoning) by default, but we have configured it to avoid reasoning (not guaranteed) if the `reasoningEffort` parameter is not set. If the `reasoningEffort` parameter is set, the model will use thinking tokens. The model currently only supports "high" reasoning effort so any other value will be ignored.

Llama 4 Scout 17B

Llama 4 Scout 17B Instruct (16E) is a mixture-of-experts (MoE) language model developed by Meta, uses 16 experts per forward pass, activating 17 billion parameters out of a total of 109B. It supports native multimodal input (text and image) and multilingual output (text and code) across 12 supported languages. Designed for assistant-style interaction and visual reasoning, it is instruction-tuned for use in multilingual chat, captioning, and image understanding tasks.

Llama 3.1 8B

Meta developed and released the Meta Llama 3 family of large language models (LLMs), a collection of pretrained and instruction tuned generative text models in 8B and 70B sizes. The Llama 3 instruction tuned models are optimized for dialogue use cases and outperform many of the available open source chat models on common industry benchmarks.

Llama 3.3 70B

Meta developed and released the Meta Llama 3 family of large language models (LLMs), a collection of pretrained and instruction tuned generative text models in 8B and 70B sizes. The Llama 3 instruction tuned models are optimized for dialogue use cases and outperform many of the available open source chat models on common industry benchmarks.


System: true


Input: {"body":{"input":{"messages":[{"content":"\"****  \\nThe condition asks whether the input is *an English sentence*.  \\nThe provided input is the string:\\n\\n> “This text is very clearly written in English.”\\n\\nThis string satisfies all criteria for being an English sentence: it is composed of English words, follows typical sentence structure (subject + verb + complement), and ends with a period.  \\n\\nComparing to the Expert Examples:\\n\\n- **Expert Example #1** demonstrated that a single, clearly identifiable entity (“50 Cent”) satisfied the condition “Is the input a public personality?” and was judged **TRUE**.  \\n- **Expert Example #2** showed that a list containing non‑fruit items failed the condition “Is the input exclusively a list of fruits?” and was judged **FALSE**.\\n\\nSimilarly, our input cleanly satisfies the condition “is an English sentence,” just as the input in Example #1 satisfied its condition. Therefore, the correct evaluation is **TRUE**.\\n\\n****\"","role":"user"}],"model":{"id":"gpt-4o-mini-2024-07-18"},"responseFormat":"json_object","systemPrompt":"Check that the value meets the condition: is an explanation sentence\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 input is a complete English sentence that follows proper grammatical structure and uses English vocabulary, thus meeting the condition of being an English sentence.",
  "result": true
}


Input: {"body":{"input":{"messages":[{"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: \"Text is in English\"\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:zai/test"},"model":{"id":"gpt-4o-mini-2024-07-18"},"signal":{},"stopSequences":["■END■"],"systemPrompt":"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):"},"type":"openai:generateContent"},"method":"POST","url":"https://api.botpress.cloud/v1/chat/actions"}

Analysis: The input sentence "This text is very clearly written in English." is entirely constructed using English words and follows English syntax. Based on the example condition "Text is in English," it aligns with the expected criteria as in Expert Example #1 where the language is clearly identified. Therefore, the condition holds true.
Final Answer: ■TRUE■