Browse : Examples

Examples

Examples that you can use to create your own scripts.




51 results.

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: 320, today: 1, week: 4, month: 6
Last Connect: Today, 5:16
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: 340, today: 1, week: 3, month: 5
Last Connect: Today, 12:34
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: 335, today: 2, week: 3, month: 5
Last Connect: Today, 19:12
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: 290, today: 1, week: 2, month: 5
Last Connect: Today, 6:17
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: 213, today: 1, week: 2, month: 5
Last Connect: Today, 19:55
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: 106, today: 1, week: 2, month: 5
Last Connect: Today, 9:10
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: 316, today: 0, week: 2, month: 4
Last Connect: Yesterday, 16:42
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: 307, today: 0, week: 1, month: 4
Last Connect: Apr 15, 13:13
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: 111, today: 0, week: 2, month: 4
Last Connect: Apr 15, 15:29
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: 98, today: 0, week: 1, month: 4
Last Connect: Apr 15, 12:00
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: 320, today: 0, week: 1, month: 3
Last Connect: Apr 15, 12:02
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: 315, today: 1, week: 2, month: 3
Last Connect: Today, 17:03
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: Examples, Self
Tags: examples, self, sms
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 309, today: 0, week: 1, month: 3
Last Connect: Apr 15, 13:31
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: 307, today: 0, week: 2, month: 3
Last Connect: Apr 16, 13:43
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: 286, today: 0, week: 1, month: 3
Last Connect: Apr 15, 13:24
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: 272, today: 1, week: 2, month: 3
Last Connect: Today, 9:44
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: 241, today: 0, week: 1, month: 3
Last Connect: Apr 15, 13:01
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: 199, today: 1, week: 2, month: 3
Last Connect: Today, 4:14
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: 195, today: 0, week: 1, month: 3
Last Connect: Apr 15, 12:51
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: 187, today: 0, week: 1, month: 3
Last Connect: Apr 15, 13:49
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: 179, today: 0, week: 1, month: 3
Last Connect: Apr 15, 14:00
Animals
Animals
A response list that can be used to import some basic info on animals.
Alias: @Animals
Categories: Examples, Response Lists
Tags: animals, response list
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 167, today: 0, week: 1, month: 3
Last Connect: Apr 15, 12:57
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: Self, Examples
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: 152, today: 0, week: 1, month: 3
Last Connect: Apr 15, 13:55
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: 114, today: 0, week: 2, month: 3
Last Connect: Apr 16, 9:40
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: 342, today: 0, week: 1, month: 2
Last Connect: Apr 15, 13:00
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: 295, today: 0, week: 1, month: 2
Last Connect: Apr 15, 13:25
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: 295, today: 0, week: 1, month: 2
Last Connect: Apr 15, 13:49
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: 166, today: 1, week: 1, month: 2
Last Connect: Today, 11:30
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: 130, today: 0, week: 1, month: 2
Last Connect: Yesterday, 22:56
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: 126, today: 0, week: 1, month: 2
Last Connect: Apr 15, 8:40
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: 124, today: 1, week: 1, month: 2
Last Connect: Today, 14:27
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: 122, today: 0, week: 1, month: 2
Last Connect: Apr 15, 13:31
GeoNames Response List Example
GeoNames Response List Example
An example response list that calls the GeoNames web service.
Alias: @GeoNames Response List Example
Categories: Examples, Response Lists
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: 111, today: 0, week: 0, month: 2
Last Connect: Apr 14, 5:47
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: 106, today: 0, week: 1, month: 2
Last Connect: Apr 15, 13:03
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: 96, today: 1, week: 1, month: 2
Last Connect: Today, 1:59
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: 95, today: 1, week: 1, month: 2
Last Connect: Today, 2:38
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: Self, Examples
Tags: sentiment, self, examples
Created: Feb 8 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 186, today: 0, week: 0, month: 1
Last Connect: Apr 6, 13:36
Count Words
Count Words
This example script show how to count the words in a sentence.
Alias: @Count Words
Categories: Self, Examples
Tags: example, self
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 171, today: 0, week: 0, month: 1
Last Connect: Apr 6, 14:22
Wikipedia Search
Wikipedia Search
An example Self script that searches Wikipedia.
Alias: @Wikipedia Search
Categories: Self, Examples
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: 170, today: 0, week: 1, month: 1
Last Connect: Apr 16, 0:38
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: 164, today: 0, week: 0, month: 1
Last Connect: Apr 2, 2:34
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: Self, Examples
Tags: examples, self, timer, email
Created: Feb 19 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 155, today: 0, week: 0, month: 1
Last Connect: Apr 6, 14:07
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: Self, Examples
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: 151, today: 0, week: 0, month: 1
Last Connect: Apr 6, 14:04
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: 119, today: 0, week: 1, month: 1
Last Connect: Apr 15, 13:06
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: 112, today: 0, week: 0, month: 1
Last Connect: Apr 4, 3:17
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: 105, today: 0, week: 0, month: 1
Last Connect: Apr 6, 14:29
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: 85, today: 0, week: 0, month: 1
Last Connect: Apr 6, 15:01
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: 103, today: 0, week: 0, month: 0
Last Connect: Mar 30, 2:15
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: 95, today: 0, week: 0, month: 0
Last Connect: Mar 18, 7:26
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: 95, today: 0, week: 0, month: 0
Last Connect: Mar 22, 8:18
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: 93, today: 0, week: 0, month: 0
Last Connect: Mar 28, 14:23
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: 93, today: 0, week: 0, month: 0
Last Connect: Mar 28, 12:10