Template:Chatbot message
Appearance
- :
{{{2}}}
{{{1}}}
This template is intended for displaying conversations with chatbots like ChatGPT. It is intended for the project space and should not be used in articles.
Usage
[edit]This template must be placed inside a <ul> element. Semantically, each instance of this template is a list item. For example:
<ul> {{Chatbot message|Wikipedian|Hello, robot!}} {{Chatbot message|Bot|Hello! How can I help you today?}} </ul>
Which produces:
- :
Hello, robot!
Wikipedian - :
Hello! How can I help you today?
Bot
Parameters
[edit]- name
- The display name of the user or bot. Use "Wikipedian" for the human, and the name of the chatbot or LLM you are using for the bot (e.g. ChatGPT 3.5, Bing Chat, etc.)
- message
- The body of the prompt or LLM output. Escape wiki formatting where necessary. You must escape pipe and equals signs with {{!}} and {{=}}.
- type
- "human" or "bot" to set the icon, if it is not inferred correctly from the name given. Ignored if an icon is specified.
- icon
- A custom image to use as an icon. Do not include the File: prefix.
- color
- The background color of the icon.