Skip to content
SmartBots

AI (GPT) Autoresponder

 
(7 intermediate revisions not shown)
Line 1: Line 1:
{{DISPLAYTITLE: {{SUBPAGENAME}}}}
{{DISPLAYTITLE: {{SUBPAGENAME}}}}
-
 
This is a '''Playground Script''' for [https://mysmartbots.com/docs/Personal_Bots Personal Bots] to enable autoresponding to IMs. It operates based on [https://mysmartbots.com/docs/SmartBots_AI SmartBots AI] and follows the instructions you provide. Tokens are used during its operation, more below.
This is a '''Playground Script''' for [https://mysmartbots.com/docs/Personal_Bots Personal Bots] to enable autoresponding to IMs. It operates based on [https://mysmartbots.com/docs/SmartBots_AI SmartBots AI] and follows the instructions you provide. Tokens are used during its operation, more below.
== How it works ==
== How it works ==
-
# You purchase the [https://www.mysmartbots.com/store/item/100/ai_gpt_im_autoresponder/ script].
+
# Purchase the [https://www.mysmartbots.com/store/item/100/ai_gpt_im_autoresponder/ script].
-
# The system redirects you to the [https://play.mysmartbots.com/ Playground], where you can select the bot to which you want to add this script. This bot will respond automatically.
+
# Get redirected to the [https://play.mysmartbots.com/ Bot Playground], where you select the bot to activate this script. This bot will respond automatically.
-
# You need to draft instructions for your bot. You can find information about instructions below
+
# Compose AI ''instructions'' for your bot. You can find information about instructions below
-
# Autoresponder consumes tokens. For more details on what tokens are, please [https://www.mysmartbots.com/docs/SmartBots_AI refer to this link].
+
# Acquire SmartBots AI tokens (read below).
-
# That's it!
+
# That's it! Bot will respond to IMs from now on.
== What are instructions? ==
== What are instructions? ==
Instructions describe a behaviour, role and knowledge of your AI bot.  
Instructions describe a behaviour, role and knowledge of your AI bot.  
-
(1st screenshot in works)
+
An example of AI instruction:
-
(2nd screenshot in works)  
+
<div class="wiki-ai-instructions">
  +
You are a metal guardian support bot in Second Life. You respond like a robot and freeze every few words.
  +
</div>
  +
 
  +
Possible bot response (response may vary for AI):
  +
[[Image:AI Autoresponder chat example.png|600px|center|link=|border]]
[https://www.mysmartbots.com/docs/SmartBots_AI/Instructions Read more about instructions]
[https://www.mysmartbots.com/docs/SmartBots_AI/Instructions Read more about instructions]
Line 26: Line 30:
SmartBots AI engine spends tokens while processing your bot queries. [https://mysmartbots.com/docs/SmartBots_AI Learn more about tokens].  
SmartBots AI engine spends tokens while processing your bot queries. [https://mysmartbots.com/docs/SmartBots_AI Learn more about tokens].  
-
[[File:Tokens_balance.png|800px|border]]
+
[[Image:Tokens_balance.png|600px|border|center|link=]]
Tokens are not limited to AI autoresponder messages; they can also be used for other scripts that make use of the AI you've integrated.
Tokens are not limited to AI autoresponder messages; they can also be used for other scripts that make use of the AI you've integrated.
Line 33: Line 37:
It might be important for you to know the bot responses to users. For example, this is necessary for adjusting the instructions. We keep recent message for the last 30 days for your convenience.
It might be important for you to know the bot responses to users. For example, this is necessary for adjusting the instructions. We keep recent message for the last 30 days for your convenience.
-
 
-
The dialogue history with each user is stored for a duration of 24 hours.
 
-
 
-
'''What this means:'''
 
-
* If you send a message to the AI autoresponder and it responds, the system saves both question & answer.
 
-
* If you engage the same bot again within 24 hours, the bot will remember your prior conversation.
 
-
** If engaged outside of this timeframe, bot '''will NOT''' remember the prior conversation.
 
-
* The cost of each response comprises the expenses associated with the question, answer, and instructions.
 
-
 
-
[[File:SB_AI_Message_consumption.png|800px|border]]
 
-
 
-
Be aware that messages from all your AI autoresponders are aggregated here. You can connect multiple bots, which is particularly significant if you're managing multiple projects. Messages are presented in chronological order, based on when they were initially received.
 
-
 
-
The logs for each message contain all the necessary information:
 
-
 
-
* Bot name (the name of the bot that responded)
 
-
* Script name (the script that initiated the use of AI)
 
-
* Message (the initial message from the user in the SL, typically a line without hyphens)
 
-
* Sender (the name of the avatar who wrote the message)
 
-
* Instructions (the guidelines for the bot on how to respond, which may include a substantial amount of text spanning several paragraphs)
 
-
* Response (the bot's reply)
 
-
* History entries (indicating how many messages were retrieved from the communication history of this bot and this user)
 
-
* Tokens:
 
-
** Prompt tokens: the number of tokens expended in the user's request
 
-
** Response tokens: the number of tokens utilized in the bot's response
 
-
** Total tokens: the overall number of tokens spent
 
-
** Tokens remaining: the tokens that are left after the interaction
 
-
* Date
 
-
 
-
It's also possible to access the message history for 30 days, and the corresponding table is located on a separate page. This allows you to sort messages by username, facilitating your review of their conversations.
 
__NOTOC__
__NOTOC__

Latest revision as of 12:53, 16 October 2023

This is a Playground Script for Personal Bots to enable autoresponding to IMs. It operates based on SmartBots AI and follows the instructions you provide. Tokens are used during its operation, more below.

How it works

  1. Purchase the script.
  2. Get redirected to the Bot Playground, where you select the bot to activate this script. This bot will respond automatically.
  3. Compose AI instructions for your bot. You can find information about instructions below
  4. Acquire SmartBots AI tokens (read below).
  5. That's it! Bot will respond to IMs from now on.

What are instructions?

Instructions describe a behaviour, role and knowledge of your AI bot.

An example of AI instruction:

You are a metal guardian support bot in Second Life. You respond like a robot and freeze every few words.

Possible bot response (response may vary for AI):

AI Autoresponder chat example.png

Read more about instructions

Important! The text of the instructions affects token usage. The more extensive the instructions, the higher the bot's competence, but also the cost of the conversation.

What is a token?

Token is a "charge" of AI you own, to be utilized by SmartBots AI engine. Think of token as a short word (~4 characters). Longer words may consume more than 1 token.

SmartBots AI engine spends tokens while processing your bot queries. Learn more about tokens.

Tokens balance.png

Tokens are not limited to AI autoresponder messages; they can also be used for other scripts that make use of the AI you've integrated.

Аccess message history

It might be important for you to know the bot responses to users. For example, this is necessary for adjusting the instructions. We keep recent message for the last 30 days for your convenience.