Bot:Guide/approved services: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 9:
==== Description ====
* Converts
* The user provides the title(s) of the wiki page(s) they want as
* Pay special attention to terms wrapped in brackets like <nowiki>[[term]]</nowiki> or written in ALL CAPS, as these often indicate the page title.
==== Required parameters ====
* '''page_title''' — the name of
* '''page_titles''' — use this when the user requests multiple pages in a single email. The bot generates one PDF per page and attaches them all in one reply.
Note: use '''page_title''' for a single page, or '''page_titles''' for multiple pages.
==== Optional parameters ====
* '''orientation''' — PDF page orientation: "portrait" (default) or "landscape". The user can say "in landscape", "landscape mode", or "landscape orientation" to switch.
==== Trigger phrases ====
Line 53 ⟶ 56:
</pre>
→ page_title: Loss ratio
'''4. Multiple pages in one email:'''
<pre>
Subject: PDFs needed
Body: Hi, can you send me PDFs of Combined ratio, Loss ratio, and Internal:Teams/Group tax department?
</pre>
→ page_titles: ["Combined ratio", "Loss ratio", "Internal:Teams/Group tax department"]
'''5. Landscape orientation:'''
<pre>
Subject: PDF request
Body: Can you send me a PDF of the FY25 results summary in landscape?
</pre>
→ page_title: FY25 results summary
→ orientation: landscape
{{Section separator}}
=== retrieve ===
==== Description ====
* Searches the wiki and answers the user's question using the content found on relevant pages.
* The bot reads one or more wiki pages and composes a natural language answer, citing sources.
* This service is used when the user asks a question about wiki content rather than requesting a file or PDF.
==== Required parameters ====
* '''query''' — the user's question in natural language (e.g. "Who is the head of Group tax?", "What is the CSM rollforward of AXA in FY25?").
==== Optional parameters ====
* '''page_hints''' — explicit page titles mentioned by the user (e.g. if the user says "look at the Thomas Buberl page", the page_hint is "Thomas Buberl").
==== Trigger phrases ====
* "find me..."
* "tell me about..."
* "what is..."
* "who is..."
* "give me..."
* "show me..."
* "I need to know..."
* "can you look up..."
* "search for..."
* "I need information on..."
* "help me find..."
==== Examples ====
'''1. Contact lookup:'''
<pre>
Subject: Contact at Group tax
Body: Hi BananaBot, I'm working at AXA XL and need to find a contact at Group tax. Help me find.
</pre>
→ query: "find a contact at Group tax"
→ search_terms: ["Group tax department", "Group tax"]
→ suggested_paths: ["Internal:Teams/"]
'''2. Financial data retrieval:'''
<pre>
Subject: CSM rollforward
Body: Hi BananaBot, give me the CSM rollforward of AXA in FY25.
</pre>
→ query: "CSM rollforward of AXA in FY25"
→ search_terms: ["CSM rollforward", "AXA FY25 results"]
→ suggested_paths: ["Web:AXA/results/"]
'''3. Definition question:'''
<pre>
Subject: Quick question
Body: What is combined ratio?
</pre>
→ query: "What is combined ratio?"
→ search_terms: ["Combined ratio"]
→ suggested_paths: ["Definition:"]
'''4. Person lookup:'''
<pre>
Subject: Info needed
Body: Tell me about Thomas Buberl
</pre>
→ query: "Tell me about Thomas Buberl"
→ search_terms: ["Thomas Buberl"]
→ page_hints: ["Thomas Buberl"]
'''5. Market intelligence:'''
<pre>
Subject: M&A trends
Body: What are the latest M&A trends in insurance?
</pre>
→ query: "latest M&A trends in insurance"
→ search_terms: ["M&A insurance", "M&A trends"]
→ suggested_paths: ["Web:Watch"]
{{Section separator}}
Line 86 ⟶ 183:
Here is what I can currently do:
- Convert a wiki page to PDF and email it back to you
- Search the wiki and answer your questions about its content
Could you rephrase your request, or contact your administrator for help?
| |||