Browse : Examples

Examples

Examples that you can use to create your own scripts.




51 results.

Bulk SMS
Bulk SMS
This is an example Self script that can be used with a bot connected to a Twilio SMS account. You can ask the bot to send a SMS message to a list of contacts.
Alias: @Bulk SMS
Categories: Self, Examples
Tags: examples, self, sms
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 421, today: 0, week: 0, month: 7
Last Connect: Nov 15, 21:13
WhereIs (Wikidata)
WhereIs (Wikidata)
Wikidata location lookup script. This script will answer "Where is ..." style of questions by looking up the object in Wikidata and determining what it is contained by.
This is one of the bootstrap scripts.
Alias: @WhereIs (Wikidata)
Categories: Self, Bootstrap, Examples
Tags: utils, geospatial, self, wikidata, bootstrap, knowledge
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 405, today: 0, week: 0, month: 7
Last Connect: Nov 15, 21:49
Pizza Bot
Pizza Bot
An example script for a pizza restaurant. This script will take a pizza order, and email it to the store. You could deploy a bot using this script to any service such as web, mobile, Facebook, Telegram, etc.
Alias: @Pizza Bot
Categories: Self, Examples, Business
Tags: e-commerce, pizza, self, orders, examples
Created: Oct 13 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 387, today: 0, week: 0, month: 7
Last Connect: Nov 15, 21:06
Learn Emotions
Learn Emotions
This is an example AIML script that uses AIML sets, and a self tag to dynamically add words to the set.
Alias: @Learn Emotions
Categories: Examples, AIML
Tags: learning, aiml, examples
Created: Feb 8 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 258, today: 0, week: 0, month: 7
Last Connect: Nov 15, 22:18
Animals
Animals
A response list that can be used to import some basic info on animals.
Alias: @Animals
Categories: Response Lists, Examples
Tags: animals, response list
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 239, today: 0, week: 1, month: 7
Last Connect: Yesterday, 11:08
Remind Me
Remind Me
Ask your bot to remind you and for your reminders.
Alias: @remindme
Categories: Examples, Response Lists
Tags: response list, examples
Created: May 27 2021, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 175, today: 0, week: 0, month: 7
Last Connect: Nov 15, 22:02
About Me
About Me
A set of responses answering general questions about the bot. The responses use the bot's data defined in the #self object.
Alias: @About Me
Categories: Response Lists, Examples
Tags: response list, examples
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 389, today: 0, week: 0, month: 6
Last Connect: Nov 15, 21:25
Stock Quotes
Stock Quotes
This script show an example of accessing stock quotes from the Quandi web service. You can use it as is, or modify it as you wish. Please replace the Quandi api-key with your own api-key.
Alias: @Stock Quotes
Categories: Self, Examples
Tags: stocks, examples, quotes, self, xml, web service
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 376, today: 0, week: 0, month: 6
Last Connect: Nov 15, 21:44
Wikiquote Scraping
Wikiquote Scraping
This script shows an example of scraping data from Wikiquote.
Alias: @Wikiquote Scraping
Categories: Self, Examples
Tags: self, wikiquote, examples, html
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 370, today: 0, week: 0, month: 6
Last Connect: Nov 15, 21:47
GeoNames
GeoNames
This examples shows how to lookup a postal code using the GeoNames webservice. This same code can be used to access any web service.
Alias: @GeoNames
Categories: Examples, Self
Tags: sraix, internet, rest, geonames, xml, self
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 369, today: 0, week: 0, month: 6
Last Connect: Nov 15, 21:16
Order Pizza
Order Pizza
An example response list for a pizza restaurant. This script will take a pizza order, and email it to the store. You could deploy a bot using this script to any service such as web, mobile, Facebook, Telegram, etc.
Alias: @Order Pizza
Categories: Response Lists, Examples
Tags: orders, e-commerce, examples, pizza, response list
Created: Apr 11 2018, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 345, today: 0, week: 0, month: 6
Last Connect: Nov 15, 22:46
Mailing List
Mailing List
This script gives an example of a mailing list bot that sends email notifications of new blog posts using a timer function.
Alias: @Mailing List
Categories: Examples, Self
Tags: examples, self, timer, email
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 234, today: 0, week: 0, month: 6
Last Connect: Nov 15, 23:05
Music Streaming Website
Music Streaming Website
This website provides example embed code for the Music Streaming Bot. It contains JavaScript code that checks for response commands and plays music through the streaming service, https://rfcmedia.streamguys1.com/
Alias: @musicstreamingwebsite
Categories: Examples, Website, Programming Language, HTML
Tags: examples, music, html, website
Created: Dec 17 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: HTML
Connects: 207, today: 0, week: 1, month: 6
Last Connect: Nov 18, 10:22
Escalate SMS
Escalate SMS
This is an example Self script that sends an SMS text message when the user asks the "escalate" their service request.
Alias: @Escalate SMS
Categories: Examples, Self
Tags: self, examples, sms
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 415, today: 0, week: 0, month: 5
Last Connect: Nov 15, 21:21
Book Appointment
Book Appointment
A script for letting the bot book appointments or service calls in your Google Calendar.
Alias: @Book Appointment
Categories: Examples, Self
Tags: calendar, self, examples, booking, appointments, virtual assistant, customer service, google calendar
Created: Nov 2 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 412, today: 0, week: 0, month: 5
Last Connect: Nov 15, 21:52
Repeat
Repeat
This example script show how to repeat a word in a response n times.
Alias: @Repeat
Categories: Examples, Self
Tags: example, repeat, self
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 393, today: 0, week: 0, month: 5
Last Connect: Nov 15, 21:42
I Spy
I Spy
An "I Spy" colors game that you can play with your bot. This game will actually teach your bot about colors, and it will learn new objects and colors as you play.
Alias: @I Spy
Categories: Self, Examples
Tags: self, examples, games, i spy
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 390, today: 0, week: 0, month: 5
Last Connect: Nov 15, 21:10
HTML Scraping
HTML Scraping
An example of using a Template to scrape HTML data from a webpage.
Alias: @HTML Scraping
Categories: Examples, Response Lists
Tags: examples, response list, self, html scraping
Created: Oct 13 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 381, today: 0, week: 0, month: 5
Last Connect: Nov 15, 21:03
AIML Wikipedia Search
AIML Wikipedia Search
This script gives an example of how to search wikipedia.
Alias: @AIML Wikipedia Search
Categories: AIML2, AIML, Examples
Tags: examples, search, xml, wikipedia, sraix, aiml, xpath
Created: Feb 8 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 265, today: 0, week: 0, month: 5
Last Connect: Nov 15, 22:30
Example JSON
Example JSON
This script show an example JSON data file. JSON is the main standard for exchanging data on the web and JavaScript. You can import JSON data into your bot from the Knowledge page in its Admin Console. You can access JSON data from the web using a Self script and the Http.requestJSON(url) API.
Alias: @Example JSON
Categories: JSON, Data, Examples
Tags: data, examples, json
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: JSON
Connects: 264, today: 0, week: 0, month: 5
Last Connect: Nov 15, 23:25
Sentiment Response
Sentiment Response
This script gives a different response to the user's question based on the sentiment of their phrase.
Alias: @Sentiment Response
Categories: Examples, Self
Tags: sentiment, self, examples
Created: Feb 8 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 263, today: 0, week: 0, month: 5
Last Connect: Nov 15, 22:27
Count Words
Count Words
This example script show how to count the words in a sentence.
Alias: @Count Words
Categories: Examples, Self
Tags: example, self
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 248, today: 0, week: 0, month: 5
Last Connect: Nov 15, 23:24
Example CSV
Example CSV
An example CSV (comma separated values) file. CSV files can be imported as data into a bot's knowledge base, or can be parsed from the web or file upload in Self using Http.requestCSV(url)
Alias: @Example CSV
Categories: CSV, Examples, Data
Tags: knowledge, data, csv, examples
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: CSV
Connects: 239, today: 0, week: 0, month: 5
Last Connect: Nov 15, 23:22
Music Streaming Website
Music Streaming Website
This website provides example embed code for the Music Streaming Bot. It contains JavaScript code that checks for response commands and plays music through the streaming service, https://rfcmedia.streamguys1.com/
Alias: @musicstreamingwebsite-admin
Categories: Examples, HTML, Website, Programming Language
Tags: examples, website, music, html
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: HTML
Connects: 175, today: 0, week: 0, month: 5
Last Connect: Nov 15, 23:28
Books, Films, and Music
Books, Films, and Music
A script that can answer questions about books, films, and music using Wikidata.
Alias: @Books, Films, and Music
Categories: Self, Examples
Tags: knowledge, examples, self
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 417, today: 0, week: 0, month: 4
Last Connect: Nov 15, 21:24
Escalate Email
Escalate Email
This script lets the user escalate the chat session to a follow up email.
Alias: @Escalate Email
Categories: Examples, Self
Tags: examples, email, self
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 416, today: 0, week: 0, month: 4
Last Connect: Nov 15, 21:22
Interview Bot
Interview Bot
An example script for a n HR interview bot. This script will ask a potential new employee a set of interview questions, and email the results to your HR email. You could deploy a bot using this script to any service such as web, mobile, Facebook, Telegram, etc.
Alias: @Interview Bot
Categories: Self, Examples
Tags: hr, career, examples, interview, self
Created: Mar 24 2017, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 357, today: 0, week: 0, month: 4
Last Connect: Nov 15, 22:42
IBM Watson Example
IBM Watson Example
This script shows how you can call an IBM Watson bot or web service from IBM's Bluemix web API. For examples on calling IBM Watson's API see, https://watson-api-explorer.mybluemix.net/
Alias: @IBM Watson Example
Categories: Examples, Self
Tags: examples, web service, json, watson
Created: Feb 20 2018, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 283, today: 0, week: 0, month: 4
Last Connect: Nov 15, 22:03
AIML HTML Scraping
AIML HTML Scraping
An example AIML script that scrapes data from an HTML webpage.
Alias: @AIML HTML Scraping
Categories: Examples, AIML
Tags: examples, html scraping, aiml
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 247, today: 0, week: 0, month: 4
Last Connect: Nov 15, 22:59
JSON Bot Service
JSON Bot Service
This script shows how you can use your bot as a "bot service" to process JSON. Note that this is an advanced thing to do, and this should not be confused with calling a JSON web service, which you can do from any Self script. This is for when you want your bot to act as a web service, so it processing JSON not a chat message/NLP. This is possible through the Bot Libre REST API /rest/api/command
Alias: @JSON Bot Service
Categories: Examples, Self
Tags: bot service, web service, json, command, examples
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 246, today: 0, week: 0, month: 4
Last Connect: Nov 15, 23:02
YouTube Search
YouTube Search
This is an example script that searches YouTube for a video using the Google YouTube search API. Note, you require a Google API key to call the API. https://developers.google.com/youtube/v3/docs/search/list
Alias: @YouTube Search
Categories: Examples, Self
Tags: json, self, web service, google, youtube, examples
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 231, today: 0, week: 0, month: 4
Last Connect: Nov 15, 23:01
Paragraphs
Paragraphs
This script shows how to create a paragraph object to return responses that are greater than 1k of text.
Alias: @paragraphs
Categories: Examples, Self
Tags: exodus, self, examples, paragraphs
Created: Aug 14 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 190, today: 0, week: 0, month: 4
Last Connect: Nov 15, 22:44
WrongAnswer
WrongAnswer
The script will listen for the phrases "wrong" or "bad answer" and ask for a correction, and learn the new response.
Alias: @WrongAnswer
Categories: Self, Examples
Tags: self, examples, learning
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 179, today: 0, week: 0, month: 4
Last Connect: Nov 15, 23:42
Music Streaming
Music Streaming
This response list can be used to create a bot designed to assist consumers with a music streaming service. The user can find music and information about pricing and plans for subscription. As well, this bot allows users to stream music radio stations. This bot uses commands to play music and requires the embed webpage has code to receive the command and stream the music. For an example see, https://www.botlibre.com/script?id=36393269
Alias: @musicstreaming
Categories: Examples, Response Lists
Tags: music, response list, examples
Created: Dec 17 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 178, today: 0, week: 0, month: 4
Last Connect: Nov 15, 23:48
Remember Me
Remember Me
A set of responses remembering general info about the user.
Alias: @rememberme
Categories: Response Lists, Examples
Tags: response list, examples
Created: May 26 2021, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 174, today: 0, week: 0, month: 4
Last Connect: Nov 15, 21:54
About Famous People Script
About Famous People Script
A script that can answer questions about famous people using Wikidata.
Alias: @aboutfamouspeoplescript
Categories: Self, Examples
Tags: self, knowledge, examples
Created: Jun 14 2021, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 170, today: 0, week: 0, month: 4
Last Connect: Nov 15, 21:59
Ask Brain Bot
Ask Brain Bot
This is an example script that uses Self to invoke the Bot Libre API to forward a question to another bot.
Alias: @Ask Brain Bot
Categories: Self, Examples
Tags: examples, self
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 187, today: 0, week: 0, month: 3
Last Connect: Nov 15, 23:41
GeoNames Response List Example
GeoNames Response List Example
An example response list that calls the GeoNames web service.
Alias: @GeoNames Response List Example
Categories: Response Lists, Examples
Tags: web service, self, response list, xml
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 185, today: 0, week: 0, month: 3
Last Connect: Nov 15, 23:47
Bank Branch
Bank Branch
An example response list for a bank branch. You could deploy a bot using this script to any service such as web, mobile, social media, IOT.
Alias: @bankbranch
Categories: Response Lists, Business, Examples
Tags: business, banking, response list, examples
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 163, today: 0, week: 0, month: 3
Last Connect: Nov 15, 23:35
Plus
Plus
A script that can perform addition using no computer math functions. It performs addition the same way a human (without a calculator) does, using its knowledge of integers and counting. The goal in this script was to use it to teach a bot addition, and let it learn higher level mathematics from first principles.
Alias: @Plus
Categories: Self, Examples, Math
Tags: math, self
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 162, today: 0, week: 0, month: 3
Last Connect: Nov 15, 23:40
Simple Addition
Simple Addition
This script can perform basic math using a state machine.
Alias: @Simple Addition
Categories: Math, Examples, Self
Tags: math, self
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 157, today: 0, week: 1, month: 3
Last Connect: Yesterday, 15:16
Paragraphs
Paragraphs
This script shows how to create a paragraph object to return responses that are greater than 1k of text.
Alias: @paragraphs-admin
Categories: Self, Examples
Tags: exodus, paragraphs, examples, self
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 154, today: 0, week: 0, month: 3
Last Connect: Nov 15, 23:30
Wikipedia Search
Wikipedia Search
An example Self script that searches Wikipedia.
Alias: @Wikipedia Search
Categories: Examples, Self
Tags: xpath, search, xml, wikipedia, examples, web service, self
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 243, today: 0, week: 0, month: 2
Last Connect: Nov 3, 10:53
Pet Store
Pet Store
An example response list for a pet store. You could deploy a bot using this script to any service such as web, mobile, Facebook, Telegram, etc.
Alias: @petstore
Categories: Response Lists, Business, Examples
Tags: response list, examples, e-commerce, business
Created: Dec 17 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 181, today: 0, week: 0, month: 2
Last Connect: Nov 15, 23:33
Image Classifier Website
Image Classifier Website
This website provides example code for accessing the Bot Libre Analytic API from JavaScript.
Alias: @imageclassifierwebsite
Categories: Programming Language, Examples, HTML, Website
Tags: analytics, examples, api, website, html
Created: Apr 9 2021, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: HTML
Connects: 146, today: 0, week: 0, month: 2
Last Connect: Nov 5, 9:17
GeoNames JSON Response List Example
GeoNames JSON Response List Example
An example response list that calls the GeoNames web service.
Alias: @GeoNames JSON Response List Example
Categories: Examples, Response Lists
Tags: response list, self, web service, json
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 235, today: 0, week: 0, month: 1
Last Connect: Nov 3, 5:35
Auto Repair
Auto Repair
An example response list for an auto repair shop. You could deploy a bot using this script to any service such as web, mobile, Facebook, Telegram, etc.
Alias: @autorepair
Categories: Response Lists, Business, Examples
Tags: response list, examples, e-commerce, orders
Created: Nov 6 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 171, today: 0, week: 0, month: 1
Last Connect: Nov 3, 5:39
Category Identification
Category Identification
This script gives a simple example of using objects in Self to define and use information.
Alias: @Category Identification
Categories: Self, Examples
Tags: examples, self
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 158, today: 0, week: 0, month: 1
Last Connect: Nov 3, 5:35
About Famous People
About Famous People
A response list that can answer questions about famous people using Wikidata.
Alias: @aboutfamouspeople
Categories: Examples, Response Lists
Tags: response list, knowledge, examples
Created: Jun 14 2021, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 144, today: 0, week: 0, month: 1
Last Connect: Nov 3, 4:35
Electronics Store
Electronics Store
An example response list for an electronics store. You could deploy a bot using this script to any service such as web, mobile, social media, IOT.
Alias: @electronicsstore
Categories: Response Lists, Business, Examples
Tags: business, examples, response list, e-commerce
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 144, today: 0, week: 0, month: 1
Last Connect: Nov 3, 4:36
Conversation Flow
Conversation Flow
This template gives an example of how to train a bot using a conversation flow.
Alias: @conversationflow
Categories: Examples
Tags: response list, conversation flow, examples
Created: Feb 11 2021, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 133, today: 0, week: 0, month: 1
Last Connect: Nov 3, 4:35