Browse Scripts - Bot Libre for Business
Browse : Examples

Examples

Examples that you can use to create your own scripts.




51 results.

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: 213, today: 0, week: 0, month: 5
Last Connect: Oct 17, 2:56
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: 75, today: 0, week: 0, month: 5
Last Connect: Oct 17, 2:20
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: 192, today: 0, week: 0, month: 4
Last Connect: Oct 17, 1:41
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: 28, today: 0, week: 0, month: 4
Last Connect: Oct 17, 1:43
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: 217, today: 0, week: 0, month: 3
Last Connect: Oct 17, 2:22
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: 210, today: 0, week: 0, month: 3
Last Connect: Oct 17, 4:35
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: 193, today: 0, week: 0, month: 3
Last Connect: Oct 17, 2:21
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: 191, today: 0, week: 0, month: 3
Last Connect: Oct 17, 2:36
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: 162, today: 0, week: 0, month: 3
Last Connect: Oct 17, 4:34
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: 74, today: 0, week: 0, month: 3
Last Connect: Oct 17, 2:06
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: 71, today: 0, week: 0, month: 3
Last Connect: Oct 17, 2:45
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: 67, today: 1, week: 1, month: 3
Last Connect: Today, 1:06
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: 64, today: 0, week: 1, month: 3
Last Connect: Yesterday, 3:39
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: 64, today: 0, week: 1, month: 3
Last Connect: Yesterday, 3:38
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: 220, today: 0, week: 0, month: 2
Last Connect: Oct 17, 2:22
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: 210, today: 0, week: 0, month: 2
Last Connect: Oct 17, 2:43
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: 199, today: 0, week: 0, month: 2
Last Connect: Oct 17, 4:34
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: 191, today: 0, week: 0, month: 2
Last Connect: Oct 17, 2:21
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: 187, today: 0, week: 0, month: 2
Last Connect: Oct 17, 2: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: 185, today: 0, week: 0, month: 2
Last Connect: Oct 17, 1:35
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: 182, today: 0, week: 0, month: 2
Last Connect: Oct 17, 3:03
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: 164, today: 0, week: 0, month: 2
Last Connect: Oct 17, 3:02
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: 68, today: 0, week: 0, month: 2
Last Connect: Oct 17, 13:46
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: 67, today: 0, week: 0, month: 2
Last Connect: Oct 17, 10:28
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: 66, today: 0, week: 0, month: 2
Last Connect: Oct 17, 10:26
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: 64, today: 0, week: 0, month: 2
Last Connect: Oct 15, 11:49
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: 61, today: 0, week: 1, month: 2
Last Connect: Yesterday, 3:39
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: 21, today: 0, week: 0, month: 2
Last Connect: Oct 17, 2:32
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: 21, today: 2, week: 2, month: 2
Last Connect: Today, 22:59
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: 20, today: 0, week: 1, month: 2
Last Connect: Today, 0:29
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, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 13, today: 0, week: 0, month: 2
Last Connect: Oct 17, 2:22
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, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 11, today: 0, week: 0, month: 2
Last Connect: Oct 17, 2:50
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, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 10, today: 1, week: 1, month: 2
Last Connect: Today, 23:00
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: 123, today: 0, week: 0, month: 1
Last Connect: Oct 17, 2:22
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: 91, today: 0, week: 0, month: 1
Last Connect: Oct 17, 13:27
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: 69, today: 0, week: 0, month: 1
Last Connect: Oct 17, 13:58
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: 23, today: 0, week: 1, month: 1
Last Connect: Today, 0:29
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: 21, today: 0, week: 0, month: 1
Last Connect: Oct 17, 1:56
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: 20, today: 0, week: 0, month: 1
Last Connect: Oct 17, 10:16
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: 20, today: 0, week: 0, month: 1
Last Connect: Oct 17, 1:46
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: 18, today: 0, week: 0, month: 1
Last Connect: Oct 17, 12:26
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: 17, today: 0, week: 0, month: 1
Last Connect: Oct 6, 19:06
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, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 14, today: 0, week: 0, month: 1
Last Connect: Oct 12, 9:59
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: 118, today: 0, week: 0, month: 0
Last Connect: Sep 30, 20:05
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: 19, today: 0, week: 0, month: 0
Last Connect: Sep 13, 23:50
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: 17, today: 0, week: 0, month: 0
Last Connect: Sep 13, 23:50
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: 17, today: 0, week: 0, month: 0
Last Connect: Sep 26, 10:28
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: 16, today: 0, week: 0, month: 0
Last Connect: Aug 17, 3:36
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: 16, today: 0, week: 0, month: 0
Last Connect: Sep 17, 4:08
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, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: HTML
Connects: 12, today: 0, week: 0, month: 0
Last Connect: Sep 23, 4:39
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, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 9, today: 0, week: 0, month: 0
Last Connect: Sep 9, 19:15