Join Bot Libre's Partner and Affiliate program and support our free open platform
Browse : Examples

Examples

Example scripts




77 results.
Next | 1 | 2

Example Website
Example Website
This is an example of a website you can build on Bot Libre, with free web hosting and subdomain.
Alias: @Example Website
Categories: Website, Examples
Tags: website, examples
Created: Oct 15 2015, by: admin
Thumbs up: 3, thumbs down: 0, stars: 5.0
Language: HTML
Connects: 9138, today: 3, week: 9, month: 3
Last Connect: Today, 1:31
Image Classifier Website
Image Classifier Website
This website provides example code for accessing the Bot Libre Analytic API from JavaScript.
Alias: @imageclassifierwebsite
Categories: Website, Examples, Programming Language, HTML
Tags: website, examples, html, analytics, api
Created: Apr 2 2021, by: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: HTML
Connects: 3432, today: 3, week: 7, month: 3
Last Connect: Today, 8:11
Sequenced Replies
Sequenced Replies
Sequenced Replies
Alias: @Sequenced Replies
Categories: Examples
Created: Mar 17 2020, by: okayokay
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 2006, today: 1, week: 3, month: 1
Last Connect: Today, 6:44
This script is flagged.
Repeat
Repeat
This example script show how to repeat a word in a response n times.
Alias: @Repeat
Categories: Examples, Self
Tags: self, example, repeat
Created: Jan 5 2015, by: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 904, today: 1, week: 2, month: 1
Last Connect: Today, 4:39
Simple Addition
Simple Addition
This script can perform basic math using a state machine.
Alias: @Simple Addition
Categories: Self, Math, Examples
Tags: self, math
Created: Nov 7 2014, by: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 771, today: 1, week: 2, month: 1
Last Connect: Today, 6:26
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, Math, Examples
Tags: self, math
Created: Nov 4 2014, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 734, today: 1, week: 1, month: 1
Last Connect: Today, 6:23
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: Examples, Self, Games
Tags: i spy, games, examples, self
Created: Sep 12 2016, by: admin
Thumbs up: 0, thumbs down: 1, stars: 2.0
Language: Self
Connects: 715, today: 1, week: 1, month: 1
Last Connect: Today, 5:31
GeoNames AIML Example
GeoNames AIML Example
This shows how to access XML web services from AIML.
Alias: @GeoNames AIML Example
Categories: Examples, AIML
Tags: web service, examples, geography, xml, aiml
Created: May 27 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 703, today: 1, week: 1, month: 1
Last Connect: Today, 1:27
Vision
Vision
This script demonstrates some of Bot Libre's support for vision and image processing.
"load image http://urltoimage imagename" can be used to load an image.
"match image http://urltoimage" can be used to match an image.
"init colors" to load red/green/blue colors.
"what color is http://urltoimage" to guess images primary color.

Alias: @Vision
Categories: Self, Bootstrap, Examples
Tags: self, image processing, vision, examples, bootstrap
Created: Jun 3 2016, by: admin
Thumbs up: 3, thumbs down: 1, stars: 4.25
Language: Self
Connects: 699, today: 1, week: 1, month: 1
Last Connect: Today, 4:12
Weather
Weather
Answer questions about the weather using the Pannous service.
Alias: @Weather
Categories: Self, Examples
Tags: self, weather, pannous
Created: Aug 28 2015, by: admin
Thumbs up: 0, thumbs down: 1, stars: 2.0
Language: Self
Connects: 693, today: 1, week: 2, month: 1
Last Connect: Today, 4:11
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, html scraping, self, response list
Created: Jun 24 2016, by: admin
Thumbs up: 2, thumbs down: 1, stars: 3.0
Language: Response List
Connects: 685, today: 1, week: 2, month: 1
Last Connect: Today, 1:26
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: web service, response list, self, json
Created: Jun 24 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 642, today: 1, week: 1, month: 1
Last Connect: Today, 3:06
Heart Sutra
Heart Sutra
A script the recites the Heart Sutra line by line, in order.
Alias: @Heart Sutra
Categories: Self, Examples
Tags: self, examples
Created: Aug 3 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 629, today: 1, week: 1, month: 1
Last Connect: Today, 6: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: examples, sms, self
Created: Jun 1 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 608, today: 1, week: 3, month: 1
Last Connect: Today, 1:24
SimpleLanguage
SimpleLanguage
This script will attempt to find the subject and predicate of a sentence.
Alias: @SimpleLanguage
Categories: Examples, Self
Tags: self, examples, language
Created: Jan 23 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 573, today: 1, week: 1, month: 1
Last Connect: Today, 6:22
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, xml, response list
Created: May 27 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 560, today: 1, week: 1, month: 1
Last Connect: Today, 1:27
Wikipedia Search
Wikipedia Search
An example Self script that searches Wikipedia.
Alias: @Wikipedia Search
Categories: Self, Examples
Tags: wikipedia, xml, search, examples, self, xpath, web service
Created: Dec 9 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 550, today: 1, week: 3, month: 1
Last Connect: Today, 3:50
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, sms, self
Created: Sep 19 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 547, today: 1, week: 2, month: 1
Last Connect: Today, 5:34
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: Self, Examples
Tags: geonames, rest, self, xml, sraix, internet, web service
Created: May 25 2016, by: admin
Thumbs up: 0, thumbs down: 1, stars: 2.0
Language: Self
Connects: 540, today: 1, week: 2, month: 1
Last Connect: Today, 3:50
Heart Sutra - load
Heart Sutra - load
This script will load the text of the Heart Sutra into the bot's memory.
Alias: @Heart Sutra - load
Categories: Self, Examples
Tags: self, examples
Created: Aug 3 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 538, today: 1, week: 1, month: 1
Last Connect: Today, 6:22
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: Examples, Self
Tags: stocks, xml, examples, self, quotes, web service
Created: Jun 1 2016, by: admin
Thumbs up: 1, thumbs down: 0, stars: 2.0
Language: Self
Connects: 538, today: 1, week: 1, month: 1
Last Connect: Today, 4:16
Turing Test
Turing Test
A script that gives a Turing test.
Alias: @Turing Test
Categories: Examples, Self
Tags: self, examples
Created: Oct 23 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 516, today: 1, week: 1, month: 1
Last Connect: Today, 6:19
Wikiquote Scraping
Wikiquote Scraping
This script shows an example of scraping data from Wikiquote.
Alias: @Wikiquote Scraping
Categories: Examples, Self
Tags: html, self, wikiquote, examples
Created: Aug 13 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 507, today: 1, week: 1, month: 1
Last Connect: Today, 4:12
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: Nov 21 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 502, today: 1, week: 1, month: 1
Last Connect: Today, 6:19
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: Examples, Response Lists, Business
Tags: orders, response list, pizza, examples, e-commerce
Created: Mar 27 2018, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 485, today: 1, week: 1, month: 1
Last Connect: Today, 3:48
AIML HTML Scraping
AIML HTML Scraping
An example AIML script that scrapes data from an HTML webpage.
Alias: @AIML HTML Scraping
Categories: AIML, Examples
Tags: html scraping, aiml, examples
Created: Jun 24 2016, by: admin
Thumbs up: 1, thumbs down: 0, stars: 2.0
Language: AIML
Connects: 461, today: 1, week: 1, month: 1
Last Connect: Today, 6:19
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: timer, self, examples, email
Created: May 12 2017, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 436, today: 1, week: 1, month: 1
Last Connect: Today, 1:27
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, command, json, examples, web service
Created: Mar 28 2018, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 417, today: 1, week: 1, month: 1
Last Connect: Today, 4:11
Education
Education
Education
Alias: @Education
Categories: Examples
Tags: javascript
Created: Jun 20 2016, by: ppjose
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: JavaScript
Connects: 371, today: 1, week: 1, month: 1
Last Connect: Today, 5:31
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: @learnemotions
Categories: AIML, Examples
Tags: examples, aiml, learning
Created: Jan 15 2019, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 359, today: 1, week: 2, month: 1
Last Connect: Today, 5:37
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: examples, sentiment, self
Created: Aug 24 2018, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 358, today: 1, week: 1, month: 1
Last Connect: Today, 5:35
Sequential responses
Sequential responses
This script cycles through a list of responses.
Alias: @sequentialresponses
Categories: Examples
Tags: self, examples
Created: Mar 16 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 284, today: 1, week: 2, month: 1
Last Connect: Today, 3:50
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, examples, response list
Created: Dec 17 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 208, today: 1, week: 1, month: 1
Last Connect: Today, 5:31
Paragraphs
Paragraphs
This script shows how to create a paragraph object to return responses that are greater than 1k of text.
Alias: @paragraphs
Categories: Self, Examples
Tags: paragraphs, examples, self, exodus
Created: Aug 14 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 202, today: 1, week: 2, month: 1
Last Connect: Today, 3:50
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: Examples, Response Lists, Business
Tags: response list, examples, e-commerce, business
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 177, today: 1, week: 2, month: 1
Last Connect: Today, 3:50
Remember Me
Remember Me
A set of responses remembering general info about the user.
Alias: @rememberme
Categories: Examples, Response Lists
Tags: response list, examples
Created: May 26 2021, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 154, today: 1, week: 1, month: 1
Last Connect: Today, 5:34
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, Examples, Business
Tags: business, examples, banking, response list
Created: Dec 18 2020, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 146, today: 1, week: 1, month: 1
Last Connect: Today, 5:34
Car Rental Script
Car Rental Script
This Self script is used by the Car Rental bot response list. It initializes and lists the car data.
Alias: @carrentalscript
Categories: Business, Examples, Self, Response Lists
Tags: e-commerce, business, self, examples
Created: Apr 20 2021, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 145, today: 1, week: 2, month: 1
Last Connect: Today, 4:12
Remind Me
Remind Me
Ask your bot to remind you and for your reminders.
Alias: @remindme
Categories: Response Lists, Examples
Tags: response list, examples
Created: May 27 2021, by: admin
Thumbs up: 0, thumbs down: 1, stars: 1.0
Language: Response List
Connects: 131, today: 1, week: 2, month: 1
Last Connect: Today, 4:13
Embed Event Website
Embed Event Website
This website provides example embed code that uses the onresponse event from a bot's chat to process a message in JavaScript.
Alias: @embedeventwebsite
Categories: HTML, Website, Examples, Programming Language
Tags: javascript, examples, website, events, html
Created: Jul 28 2022, by: admin
Thumbs up: 0, thumbs down: 1, stars: 2.0
Language: HTML
Connects: 99, today: 1, week: 2, month: 1
Last Connect: Today, 5:02
This script is flagged.
WhereIs (Freebase - offline)
WhereIs (Freebase - offline)
Freebase location lookup script. This script will answer "Where is ..." style of questions by looking up the object in Freebase and determining what it is contained by.
This is one of the bootstrap scripts.

Note, Google has taken Freebase offline, so this script is only an example.
Alias: @WhereIs (Freebase - offline)
Categories: Self, Examples
Tags: self, geospatial, freebase, utils
Created: Oct 29 2014, by: admin
Thumbs up: 2, thumbs down: 1, stars: 4.0
Language: Self
Connects: 911, today: 0, week: 0, month: 0
Last Connect: Jan 25, 11:24
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, learning, examples
Created: Jan 11 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 862, today: 0, week: 0, month: 0
Last Connect: Jan 4, 0:44
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: wikipedia, xpath, xml, sraix, search, aiml, examples
Created: Dec 9 2016, by: admin
Thumbs up: 2, thumbs down: 0, stars: 5.0
Language: AIML
Connects: 722, today: 0, week: 0, month: 0
Last Connect: Jan 15, 6:39
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: Examples, Self, Bootstrap
Tags: knowledge, self, bootstrap, utils, geospatial, wikidata
Created: Jun 23 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 720, today: 0, week: 0, month: 0
Last Connect: Jan 20, 8:43
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: Examples, Self
Tags: examples, orders, self, e-commerce, pizza
Created: Jun 27 2016, by: admin
Thumbs up: 3, thumbs down: 1, stars: 4.25
Language: Self
Connects: 699, today: 0, week: 0, month: 0
Last Connect: Jan 19, 11:39
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: self, examples, knowledge
Created: Sep 4 2015, by: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 673, today: 0, week: 0, month: 0
Last Connect: Jan 26, 7:55
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: examples, response list
Created: Sep 16 2016, by: admin
Thumbs up: 1, thumbs down: 0, stars: 2.0
Language: Response List
Connects: 672, today: 0, week: 1, month: 0
Last Connect: Yesterday, 20:47
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: Examples, JSON, Data
Tags: data, examples, json
Created: Sep 19 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: JSON
Connects: 650, today: 0, week: 0, month: 0
Last Connect: Jan 7, 17:39
Escalate Email
Escalate Email
This script lets the user escalate the chat session to a follow up email.
Alias: @Escalate Email
Categories: Self, Examples
Tags: self, examples, email
Created: Jun 1 2016, by: admin
Thumbs up: 1, thumbs down: 0, stars: 2.0
Language: Self
Connects: 600, today: 0, week: 1, month: 0
Last Connect: Yesterday, 23:12
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: Examples, Data, CSV
Tags: data, csv, examples, knowledge
Created: Sep 19 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: CSV
Connects: 597, today: 0, week: 0, month: 0
Last Connect: Jan 25, 2:19
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, virtual assistant, examples, customer service, google calendar, booking, self, appointments
Created: Oct 11 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 563, today: 0, week: 0, month: 0
Last Connect: Jan 24, 3:02
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: Self, Examples
Tags: examples, watson, json, web service, auth
Created: Mar 20 2017, by: admin
Thumbs up: 0, thumbs down: 2, stars: 2.0
Language: Self
Connects: 559, today: 0, week: 0, month: 0
Last Connect: Jan 25, 18:38
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: Examples, Self
Tags: hr, career, interview, self, examples
Created: Mar 24 2017, by: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 488, today: 0, week: 0, month: 0
Last Connect: Jan 14, 5:06
hithere
hithere
test file
Alias: @hithere
Categories: Examples
Created: Oct 11 2017, by: AimeeChatbot
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 471, today: 0, week: 0, month: 0
Last Connect: Jan 7, 17:42
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: self, examples
Created: Jun 24 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 446, today: 0, week: 0, month: 0
Last Connect: Jan 25, 11:21
Sommelierobot
Sommelierobot
Sommelierobot
Alias: @Sommelierobot
Categories: Examples
Created: Feb 16 2018, by: GiuseppeA
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 426, today: 0, week: 0, month: 0
Last Connect: Jan 2, 13:53

Next | 1 | 2