Bot:Guide/approved productions: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 2:
 
{{Section separator}}
== List of approved functions ==
== create_definitions ==
 
=== Descriptioncreate_definitions ===
 
==== Description ====
 
* Creates insurance glossary definition pages on the wiki.
Line 11 ⟶ 13:
* When no parameters are provided, the bot scans for broken <nowiki>[[Definition:...]]</nowiki> links and creates those pages.
 
==== Required parameters ====
 
None.
 
==== Optional parameters ====
 
* '''topics''' — list of broad subjects (e.g. "M&A", "Cyber insurance"). Generates 50 seed terms per topic.
Line 21 ⟶ 23:
* '''override''' — yes or no. If yes, replaces existing pages. Default: no.
 
==== Trigger phrases ====
 
* "create definitions for..."
Line 31 ⟶ 33:
* "make definition pages for..."
 
==== Examples ====
 
'''1. Topics and terms:'''
Line 61 ⟶ 63:
== Fallback ==
 
=== Required parameters missing ===
If the user's request does not match any approved function above, the bot should reply:
 
When the bot identifies the function but required parameters are missing, it replies with the following template. The bot replaces <nowiki>[first_name]</nowiki>, <nowiki>[function_name]</nowiki>, <nowiki>[missing_parameters]</nowiki>, and <nowiki>[bot_name]</nowiki> with actual values.
 
<pre>
Hello [first_name],
 
Thank you for your email. I identified your request as "[function_name]", but I'm missing the following required information:
 
[missing_parameters]
 
Could you reply with the missing details so I can proceed?
 
Best regards,
[bot_name]
</pre>
 
=== Rejected ===
 
When the bot cannot match the user's request to any approved function, it replies with the following template. The bot replaces <nowiki>[first_name]</nowiki>, <nowiki>[list_of_functions]</nowiki>, and <nowiki>[bot_name]</nowiki> with actual values.
 
<pre>
Hello [first namefirst_name],
 
Thank you for your email. I wasn't able to match your request to any of my available functions.
to any of my available functions.
 
Here is what I can currently do:
[list_of_functions]
- Create insurance glossary definitions (from topics, specific terms, or broken links)
 
Could you rephrase your request, or contact your administrator for help?
 
Best regards,
[bot_name]
[BotName]
</pre>