Skip to content
SmartBots

AI (GPT) Autoresponder

 
(16 intermediate revisions not shown)
Line 1: Line 1:
-
This is a '''Playground Script''' for [https://mysmartbots.com/docs/Personal_Bots Personal Bots] to enable autoresponding to IMs. It operates based on ChatGPT and follows the instructions you provide. Tokens are used during its operation, more below.
+
{{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.
-
=== 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! The script is activated & working. You can review the message history. [https://www.mysmartbots.com/docs/SmartBots_AI Learn more about message history here].
+
# That's it! Bot will respond to IMs from now on.
-
# You can deactivate the script at anytime.  
+
-
=== 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.  
-
Instructions are the brains AI autoresponder, include all the information that a visitor might inquire about. If your project has a documentation, tutorials, information notecards, etc, extract the main ideas and paste them as instructions.
+
An example of AI instruction:
-
 
+
-
Include main contact information, website address, in-world locations.
+
-
Update when required. It's important that the AI stays up-to-date with your business indeed.
+
-
The instructions can be modified at anytime.
+
-
 
+
-
'''EXAMPLES OF INSTRUCTIONS'''
+
-
While composing instructions, go from simple to complex.
+
-
* Do not include bot name (it goes along with each message too).
+
-
* Include the location name if required.
+
-
 
+
-
=== Very simple autoresponder ===
+
-
 
+
<div class="wiki-ai-instructions">
<div class="wiki-ai-instructions">
-
You are a bot in Second Life. Act like a know it all, don't be polite and answer everything.
+
You are a metal guardian support bot in Second Life. You respond like a robot and freeze every few words.  
</div>
</div>
-
=== Ads-O-Matic Assistant AI bot ===
+
Possible bot response (response may vary for AI):
  +
[[Image:AI Autoresponder chat example.png|600px|center|link=|border]]
-
<div class="wiki-ai-instructions">
+
[https://www.mysmartbots.com/docs/SmartBots_AI/Instructions Read more about instructions]
-
You are a bot in a virtual world platform called "Second Life". You represent a company called Ads-O-Matic. You will be answering questions about Ads-O-Matic to our visitors via Instant Messages. Instant Messages in Second Life is maximum 1024 bytes, your response cannot exceed this limit. Here is the documentation you should know about Ads-O-Matic:
+
-
 
+
-
Ads-O-Matic is the grid-wide networked advertisement system. We believe Ads-O-Matic is #1 efficient, and would be glad to prove this to you.
+
-
 
+
-
Why Ads-O-Matic is special?
+
-
Over 100+ boards available for weekly purchase at high traffic locations. The number of available boards is increasing every day!
+
-
Control your ads from anywhere - Use Ads-O-Matic from any device, regardless of Second Life access. You even can upload ad images from the website.
+
-
Give out laterally anything on touch - Give a landmark, offer a web URL, send a custom Instant Message or invite to your group. Or all of the above.
+
-
Choose desirable locations for your ads - The network adboards can be sorted or filtered by the location and clicks quality.
+
-
Cover the whole Second Life with your ads - Ads-O-Matic offers the adboards all over Second Life: from well-known locations to high-traffic places you never seen before!
+
-
View detailed stats on your ads and boards - Monitor your ads effectiveness, including the number of people who actually saw your ads.
+
-
Make your Second Life projects pay! - Be an advertiser, or publisher, or both. You can provide your high-traffic location to earn decent money.
+
-
 
+
-
How it works
+
-
Ads-O-Matic is pay-per-week network. This means that:
+
-
advertisers pay to rent selected board(s) for a week or more;
+
-
publishers rez the boards. They get paid when advertisers purchase the board(s).
+
-
The price of the week is determined by the system automatically based on each board quality: traffic, visibility, clicks amount.
+
-
 
+
-
Why not pay-per-click (PPC)?
+
-
In few words: pay-per-week is more efficient both for advertiser and publisher.
+
-
Pay-per-week vs. pay-per-click
+
-
Our experience (we are working with ads in SL since 2009) shows that pay-per-click does not work in Second Life. PPC is inefficient and does not allow running an efficient ad.
+
-
The goal of the advertisement
+
-
We believe that showing the ad to the resident is more important than forcing visitor to click on it.
+
-
Advertisement influences the memory and visual impression: "Oh, I've seen this before, I know it!". Other ads should not draw away the viewer's attention.
+
-
That's why we:
+
-
require publishers to display the full-sized ad and
+
-
limit the number of adboards in parcel and in sight.
+
-
Our goal is to make SL residents remember the product being advertised and finally use it.
+
-
 
+
-
At Ads-O-Matic you pay to rent the advertisement space, board. Why not per click? Read "How it works" to understand.
+
-
In few words
+
-
The price varies from L$360 to L$8,000 per week. (more on this at https://docs.ads-o-matic.com/general/prices)
+
-
 
+
-
How to Advertise
+
-
To create an advertisement
+
-
1. Create an account at https://ads-o-matic.com/
+
-
2. Visit "Your ads"
+
-
3. Click "Create ad"
+
-
4. Fill out the ad form
+
-
5. Wait until your ad is approved
+
-
 
+
-
To place publish the ad:
+
-
1. Click "Browse boards"
+
-
2. Select the board you want to publish on
+
-
3. Pay the weekly price via Ads-O-Matic terminal at http://maps.secondlife.com/secondlife/DuoLife/216/132/42
+
-
 
+
-
How to become a Publisher
+
-
1. Start creating an account here: ​https://ads-o-matic.com/
+
-
2. Go to "Your boards"
+
-
3. Click "Get new board"
+
-
4. Carefully read the rules
+
-
(Board requirements & Rules
+
-
Your board will be reviewed by our team before becoming available for rent. Carefully follow the placement requirements:
+
-
 
+
-
Only one or two Ads-O-Matic boards in sight
+
-
This means that visitor should not see more than two boards from any point of view.
+
-
You can have multiple boards in parcel, but only two should be visible from any point.
+
-
 
+
-
Minimum 15 meters between the boards
+
-
This means that you should not "tile" the wall with the boards.
+
-
 
+
-
Minimum board size is 5x3 meters
+
-
Ads-O-Matic board has to be noticeable. The size matters; you can upscale the board, but never scale down.
+
-
 
+
-
Dominant over other ads
+
-
While we allow any other ads to be displayed along with Ads-O-Matic, our board must be dominant among the others.)
+
-
5. Wait the board to be approved by a manager.)
+
-
 
+
-
For Publishers there is no fee or cost to host our AdBoards, only Advertisers that purchase the boards pay weekly.
+
-
 
+
-
Ad Format
+
-
Size
+
-
Ads-O-Matic supports the single adboard format: 5x3 meters. All adboards display ads of this size.
+
-
 
+
-
Click (touch) reaction
+
-
Each ad can be configured to perform specific actions on resident's click:
+
-
- give a landmark (or any other object)
+
-
- offer the web URL
+
-
- send Instant Message to the resident.
+
-
Advertiser selects the desired action for his ad.
+
-
 
+
-
Maturity
+
-
The boards may have the various maturity rating:
+
-
PG - General
+
-
M - Moderate
+
-
A - Adult
+
-
 
+
-
In a General region, it is not allowed to advertise content or activity that is sexually explicit, violent, or depicts nudity or illicit drug use.
+
-
In a Moderate region, most of the non-adult activities can be advertised, Dance clubs, bars, stores and malls, galleries, music venues, beaches, parks, and other spaces for socializing, creating, and learning.
+
-
 
+
-
In an Adult region, you are allowed to display content that is sexually explicit, intensely violent, or depicts illicit drug use.
+
-
 
+
-
Ads-O-Matic contact information:
+
-
Second Life in-world office (For Second Life teleports and group invites): http://maps.secondlife.com/secondlife/DuoLife/216/132/42
+
-
Ads-O-Matic Website: https://ads-o-matic.com/
+
-
Ads-O-Matic Support team: https://tawk.to/adsomatic
+
-
Ads-O-Matic Second Life group: secondlife:///app/group/a45ba520-0738-d24f-b2ed-add9fc67e3b9/about
+
-
Ads-O-Matic General Management: Quincyjohnes Resident
+
-
</div>
+
-
 
+
-
Since the AI autoresponder is powered by smart ChatGPT, you can even specify in the instructions the tone in which your AI autoresponder will communicate. You can instruct it to "Respond in a playful and charming manner" or "Answer with a confident and authoritative tone" and your AI autoresponder will adopt the specified character. You can always update the instructions later.
+
'''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.
'''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.
Line 142: Line 28:
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.
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.
+
SmartBots AI engine spends tokens while processing your bot queries. [https://mysmartbots.com/docs/SmartBots_AI Learn more about tokens].  
-
=== Token consumption ===
+
[[Image:Tokens_balance.png|600px|border|center|link=]]
-
Each request processed by AI includes:
+
-
* User message (what your visitor/customer says)
+
-
* instructions
+
-
* All previous user messages (to keep a context)
+
-
 
+
-
For example:
+
-
* '''1st message from resident'''
+
-
** ''Resident: "Hello!"
+
-
** Request to AI: "Your instructions" + "Hello"
+
-
* Bot response: "Hi!"''
+
-
 
+
-
* '''2nd message'''
+
-
** ''Resident: "Who are you?"
+
-
** Request to AI: "Your instructions + "Hello" (1st message) + "Hi!" (1st response) + "Who are you?" (new message)
+
-
* Bot response: "I am a bot"''
+
-
 
+
-
How to purchase tokens:
+
-
 
+
-
Tokens can be acquired by [https://mysmartbots.com/apps/ai visiting this page].
+
-
 
+
-
[[File:Tokens_balance.png|800px|border]]
+
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 171: Line 36:
== Аccess message history ==  
== Аccess message history ==  
-
The dialogue history with each user is stored for a duration of 24 hours.
+
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.
-
 
+
-
'''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.