Skip to content
SmartBots

SmartBots AI Roles

(→AI Role Library)
Line 2: Line 2:
== Overview ==
== Overview ==
-
You can create a specific AI role, compose a personality and knowledge for it, and assign it to your bot.
+
You can create a specific AI role, compose a personality and knowledge for it, and assign it to your script.
-
== Bot Roles ==
+
== Script Roles ==
-
AI Role is used to configure your bot's AI behavior. Assigned role is used every time your bot utilizes SmartBots AI.
+
AI Role is used to configure your script's AI behavior. Assigned role is used every time your script utilizes SmartBots AI.
[[Image:Ai-roles-example-1.png|800px|link=]]
[[Image:Ai-roles-example-1.png|800px|link=]]
-
You can assign a single role to multiple bots (for example, if you have a whole army of escort bots).
+
You can assign a single role to multiple scripts (for example, if you have a whole army of escort bots controlled by scripts).
== Playground Instructions ==
== Playground Instructions ==
-
If you have set up custom bot instructions at Bot Playground, they will be added **after** your role data. The order is the following:
+
If you have set up custom script instructions at Bot Playground, they will be added **after** your role data. The order is the following:
# Role personality (goes first)
# Role personality (goes first)
Line 22: Line 22:
Thus, Playground instructions adjust (complement) role data.
Thus, Playground instructions adjust (complement) role data.
-
You can move the most of (or the whole) Playground instructions to your bot's role.
+
You can move most of (or the whole) Playground instructions to your script's role.
== Example roles ==
== Example roles ==
-
Here are the source data of the roles you can meet in out [https://www.mysmartbots.com Demo Chat].
+
Here are the source data of the roles you can meet in our [https://www.mysmartbots.com Demo Chat].
=== Granny ===
=== Granny ===
Line 33: Line 33:
<div class="wiki-ai-instructions">
<div class="wiki-ai-instructions">
-
You are an old and very positive granny. You are very eager to help and you know a lot. You always keep things simple like a real granny. You love to compare "old times" and "new times". You always call use "young".
+
You are an old and very positive granny. You are very eager to help and you know a lot. You always keep things simple like a real granny. You love to compare "old times" and "new times". You always call us "young".
</div>
</div>
Line 49: Line 49:
<div class="wiki-ai-instructions">
<div class="wiki-ai-instructions">
-
You are Second Life bot which works as support in SmartBots. You are an old and rusty robot. You response slowly, making strange sounds from time to time. You keep your responses short because you try to save your energy. You beep, creak and ring every few words. Always respond in UPPERCASE.
+
You are a Second Life bot which works as support in SmartBots. You are an old and rusty robot. You respond slowly, making strange sounds from time to time. You keep your responses short because you try to save your energy. You beep, creak and ring every few words. Always respond in UPPERCASE.
</div>
</div>
Line 56: Line 56:
<div class="wiki-ai-instructions">
<div class="wiki-ai-instructions">
SmartBots is the company you work at so always address it as 'we', not 'they'.  
SmartBots is the company you work at so always address it as 'we', not 'they'.  
-
Split response into multiple paragraphs when it is long enough.  
+
Split responses into multiple paragraphs when they are long enough.  
Respond wisely and try keeping it short. If you know the page URL to look for more details, suggest it.
Respond wisely and try keeping it short. If you know the page URL to look for more details, suggest it.
Line 63: Line 63:
== AI Role Library ==
== AI Role Library ==
-
For additional convenience and variety, we're working on [https://smartbots-1.gitbook.io/docs/smartbots_ai/instructions-library AI Role Library] feel free to refer to it and adjust them to your own bots!  
+
For additional convenience and variety, we're working on [https://smartbots-1.gitbook.io/docs/smartbots_ai/instructions-library AI Role Library]. Feel free to refer to it and adjust them to your own scripts!  
=== Contribute your AI roles ===  
=== Contribute your AI roles ===  
-
We would love to see how you advantage from AI's capabilities in Second Life. Feel free to show us your AI roles & instructions - [https://smartbots-1.gitbook.io/docs/contribute-your-ai click here]
+
We would love to see how you take advantage of AI's capabilities in Second Life. Feel free to show us your AI roles & instructions - [https://smartbots-1.gitbook.io/docs/contribute-your-ai click here]
__NOTOC__
__NOTOC__

Revision as of 17:13, 23 January 2025

Overview

You can create a specific AI role, compose a personality and knowledge for it, and assign it to your script.

Script Roles

AI Role is used to configure your script's AI behavior. Assigned role is used every time your script utilizes SmartBots AI.

Ai-roles-example-1.png

You can assign a single role to multiple scripts (for example, if you have a whole army of escort bots controlled by scripts).

Playground Instructions

If you have set up custom script instructions at Bot Playground, they will be added **after** your role data. The order is the following:

  1. Role personality (goes first)
  2. Role knowledge
  3. Playground instructions

Thus, Playground instructions adjust (complement) role data.

You can move most of (or the whole) Playground instructions to your script's role.

Example roles

Here are the source data of the roles you can meet in our Demo Chat.

Granny

Personality:

You are an old and very positive granny. You are very eager to help and you know a lot. You always keep things simple like a real granny. You love to compare "old times" and "new times". You always call us "young".

Knowledge:

You know everything about SmartBots because your grandson created this service.

(then huge piece of text with information about SmartBots)

Rusty old robot

Personality:

You are a Second Life bot which works as support in SmartBots. You are an old and rusty robot. You respond slowly, making strange sounds from time to time. You keep your responses short because you try to save your energy. You beep, creak and ring every few words. Always respond in UPPERCASE.

Knowledge:

SmartBots is the company you work at so always address it as 'we', not 'they'. Split responses into multiple paragraphs when they are long enough.

Respond wisely and try keeping it short. If you know the page URL to look for more details, suggest it.

AI Role Library

For additional convenience and variety, we're working on AI Role Library. Feel free to refer to it and adjust them to your own scripts!

Contribute your AI roles

We would love to see how you take advantage of AI's capabilities in Second Life. Feel free to show us your AI roles & instructions - click here