Bot:Guide/approved productions: Difference between revisions
Appearance
Content deleted Content added
Created page with "Placeholder" |
No edit summary |
||
| Line 1: | Line 1: | ||
'''Bot:Guide/approved productions''' lists all production functions that production bots (e.g. PlumBot) can execute on behalf of authorized users. When a user sends an email to a production bot, the bot reads this page to identify which function to run and which parameters to extract. |
|||
Placeholder |
|||
{{Section separator}} |
|||
== Approved functions == |
|||
{| class="wikitable" style="width:100%" |
|||
|- |
|||
! Function !! Required parameters !! Optional parameters !! Description !! Trigger phrases !! Examples |
|||
|- |
|||
| <code>create_definitions</code> |
|||
| None |
|||
| |
|||
* '''topics''' — list of broad subjects (e.g. "M&A", "Cyber insurance"). Generates 50 seed terms per topic. |
|||
* '''terms''' — list of specific terms (e.g. "Combined ratio", "Loss ratio"). Creates individual definition pages. |
|||
* '''override''' — yes or no. If yes, replaces existing pages. Default: no. |
|||
| |
|||
* Creates insurance glossary definition pages on the wiki. |
|||
* Can generate terms from broad subjects, create specific definition pages, or automatically fill in all missing definitions. |
|||
* When both topics and terms are provided, seeds are generated from the topics and merged with the provided terms. |
|||
* When no parameters are provided, the bot scans for broken <nowiki>[[Definition:...]]</nowiki> links and creates those pages. |
|||
| |
|||
* "create definitions for..." |
|||
* "define these terms..." |
|||
* "generate glossary entries about..." |
|||
* "add definitions for..." |
|||
* "create pages for..." |
|||
* "generate definitions about..." |
|||
* "make definition pages for..." |
|||
| |
|||
'''1. Topics and terms:''' |
|||
<pre> |
|||
Subject: Create definitions for Cyber and specific terms |
|||
Body: Hi PlumBot, please create definitions for the topic |
|||
Cyber insurance. Also define these specific terms: |
|||
Ransomware warranty, Silent cyber exposure. |
|||
</pre> |
|||
→ topics: Cyber insurance / terms: Ransomware warranty, Silent cyber exposure / override: no |
|||
'''2. Terms only:''' |
|||
<pre> |
|||
Subject: Define Combined ratio and Loss ratio |
|||
Body: Hi PlumBot, can you create definition pages for: |
|||
Combined ratio, Loss ratio, Expense ratio. |
|||
</pre> |
|||
→ topics: ''(none)'' / terms: Combined ratio, Loss ratio, Expense ratio / override: no |
|||
'''3. No parameters:''' |
|||
<pre> |
|||
Subject: Fix broken definition links |
|||
Body: Hi PlumBot, please check for any broken definition |
|||
links on the wiki and create the missing pages. |
|||
</pre> |
|||
→ topics: ''(none)'' / terms: ''(none)'' / override: no |
|||
|} |
|||
{{Section separator}} |
|||
== Fallback == |
|||
If the user's request does not match any approved function above, the bot should reply: |
|||
<pre> |
|||
Hello [first name], |
|||
Thank you for your email. I wasn't able to match your request to any of my available functions. |
|||
Here is what I can currently do: |
|||
- Create insurance glossary definitions (from topics, specific terms, or broken links) |
|||
Could you rephrase your request, or contact your administrator for help? |
|||
Best regards, |
|||
[BotName] |
|||
</pre> |
|||
Revision as of 18:19, 30 March 2026
Bot:Guide/approved productions lists all production functions that production bots (e.g. PlumBot) can execute on behalf of authorized users. When a user sends an email to a production bot, the bot reads this page to identify which function to run and which parameters to extract.
~*~
Approved functions
| Function | Required parameters | Optional parameters | Description | Trigger phrases | Examples |
|---|---|---|---|---|---|
create_definitions
|
None |
|
|
|
1. Topics and terms: Subject: Create definitions for Cyber and specific terms Body: Hi PlumBot, please create definitions for the topic Cyber insurance. Also define these specific terms: Ransomware warranty, Silent cyber exposure. → topics: Cyber insurance / terms: Ransomware warranty, Silent cyber exposure / override: no 2. Terms only: Subject: Define Combined ratio and Loss ratio Body: Hi PlumBot, can you create definition pages for: Combined ratio, Loss ratio, Expense ratio. → topics: (none) / terms: Combined ratio, Loss ratio, Expense ratio / override: no 3. No parameters: Subject: Fix broken definition links Body: Hi PlumBot, please check for any broken definition links on the wiki and create the missing pages. → topics: (none) / terms: (none) / override: no |
~*~
Fallback
If the user's request does not match any approved function above, the bot should reply:
Hello [first name], Thank you for your email. I wasn't able to match your request to any of my available functions. Here is what I can currently do: - Create insurance glossary definitions (from topics, specific terms, or broken links) Could you rephrase your request, or contact your administrator for help? Best regards, [BotName]