Upgrade
Sign In : Sign Up : Blog : Search: Language : Help :
Join Bot Libre's Partner and Affiliate program and support our free open platform
Browse : Examples
Examples
Examples

Examples

Example scripts




45 results.

Example Website
Example Website
This is an example of a website you can build on Bot Libre, with free web hosting and subdomain.
Categories: Website, Examples
Tags: website, examples
Domain: BOT libre!
Created: Oct 15 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: HTML
Connects: 612, today: 2, week: 3, month: 8
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Today, 11: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.
Categories: Examples, JSON, Data
Tags: data, examples, json
Domain: BOT libre!
Created: Sep 19 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: JSON
Connects: 113, today: 0, week: 0, month: 6
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 15, 13:57
WhereIs
WhereIs
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.
Categories: Self, Examples
Tags: self, geospatial, freebase, utils
Domain: BOT libre!
Created: Oct 29 2014
Creator: admin
Thumbs up: 0, thumbs down: 1, stars: 2.0
Language: Self
Connects: 331, today: 0, week: 2, month: 5
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Yesterday, 17:25
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)
Categories: Examples, Data, CSV
Tags: data, csv, examples, knowledge
Domain: BOT libre!
Created: Sep 19 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: CSV
Connects: 109, today: 0, week: 0, month: 5
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:37
Repeat
Repeat
This example script show how to repeat a word in a response n times.
Categories: Examples, Self
Tags: self, example, repeat
Domain: BOT libre!
Created: Jan 5 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 274, today: 0, week: 1, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Yesterday, 15:29
WrongAnswer
WrongAnswer
The script will listen for the phrases "wrong" or "bad answer" and ask for a correction, and learn the new response.
Categories: Self, Examples
Tags: self, learning, examples
Domain: BOT libre!
Created: Jan 11 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 264, today: 0, week: 0, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:26
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.

Categories: Self, Bootstrap, Examples
Tags: self, image processing, vision, examples, bootstrap
Domain: BOT libre!
Created: Jun 3 2016
Creator: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 57, today: 0, week: 0, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 16, 21:05
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.
Categories: Self, Math, Examples
Tags: self, math
Domain: BOT libre!
Created: Nov 4 2014
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 260, today: 1, week: 2, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Today, 10:25
HTML Scraping
HTML Scraping
An example of using a Template to scrape HTML data from a webpage.
Categories: Examples, Response Lists
Tags: examples, html scraping, self, response list
Domain: BOT libre!
Created: Jun 24 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 59, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:09
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.
Categories: Examples, Self
Tags: i spy, games, examples, self
Domain: BOT libre!
Created: Sep 12 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 56, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:11
GeoNames Response List Example
GeoNames Response List Example
An example response list that calls the GeoNames web service.
Categories: Examples, Response Lists
Tags: web service, self, xml, response list
Domain: BOT libre!
Created: May 27 2016
Creator: Paphus
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 51, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 14, 3:08
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.
Categories: Examples, Self
Tags: hr, career, interview, self, examples
Domain: BOT libre!
Created: Mar 24
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 14, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:24
SimpleLanguage
SimpleLanguage
This script will attempt to find the subject and predicate of a sentence.
Categories: Examples, Self
Tags: self, examples, language
Domain: BOT libre!
Created: Jan 23 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 157, today: 0, week: 1, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Yesterday, 11:41
Weather
Weather
Answer questions about the weather using the Pannous service.
Categories: Self, Examples
Tags: self, weather, pannous
Domain: BOT libre!
Created: Aug 28 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 142, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:23
Heart Sutra - load
Heart Sutra - load
This script will load the text of the Heart Sutra into the bot's memory.
Categories: Self, Examples
Tags: self, examples
Domain: BOT libre!
Created: Aug 3 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 139, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 14, 21:55
Heart Sutra
Heart Sutra
A script the recites the Heart Sutra line by line, in order.
Categories: Self, Examples
Tags: self, examples
Domain: BOT libre!
Created: Aug 3 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 128, today: 0, week: 1, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 20, 2:29
Books, Films, and Music
Books, Films, and Music
A script that can answer questions about books, films, and music using Wikidata.
Categories: Self, Examples
Tags: self, examples, knowledge
Domain: BOT libre!
Created: Sep 4 2015
Creator: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 122, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:01
GeoNames AIML Example
GeoNames AIML Example
This shows how to access XML web services from AIML.
Categories: Examples, AIML
Tags: web service, examples, geography, xml, aiml
Domain: BOT libre!
Created: May 27 2016
Creator: Paphus
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 62, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 14, 3:09
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.
Categories: Examples, Self
Tags: examples, sms, self
Domain: BOT libre!
Created: Jun 1 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 61, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:06
Animals
Animals
A response list that can be used to import some basic info on animals.
Categories: Examples, Response Lists
Tags: animals, response list
Domain: BOT libre!
Created: Nov 21 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 60, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:39
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.
Categories: Examples, Self
Tags: stocks, xml, examples, self, quotes, web service
Domain: BOT libre!
Created: Jun 1 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 59, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:20
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.
Categories: Examples, Self
Tags: examples, orders, self, e-commerce, pizza
Domain: BOT libre!
Created: Jun 27 2016
Creator: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 57, today: 0, week: 1, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 19, 4:33
GeoNames JSON Response List Example
GeoNames JSON Response List Example
An example response list that calls the GeoNames web service.
Categories: Examples, Response Lists
Tags: web service, response list, self, json
Domain: BOT libre!
Created: Jun 24 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 54, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 15, 8:54
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.
Categories: Response Lists, Examples
Tags: examples, response list
Domain: BOT libre!
Created: Sep 16 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 41, today: 0, week: 1, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 20, 12:37
AIML Wikipedia Search
AIML Wikipedia Search
This script gives an example of how to search wikipedia.
Categories: AIML2, AIML, Examples
Tags: wikipedia, xpath, xml, sraix, search, aiml, examples
Domain: BOT libre!
Created: Dec 9 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 33, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 15, 5:42
Education
Education

Categories: Examples
Tags: javascript
Domain: BOT libre!
Created: Jun 20 2016
Creator: ppjose
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: JavaScript
Connects: 33, today: 0, week: 1, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Yesterday, 23:55
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.
Categories: Self, Examples
Tags: timer, self, examples, email
Domain: BOT libre!
Created: May 12
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 4, today: 1, week: 1, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Today, 12:05
Simple Addition
Simple Addition
This script can perform simple integer addition using first principles through counting.
Categories: Self, Math, Examples
Tags: self, math
Domain: BOT libre!
Created: Nov 7 2014
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 270, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:40
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.
Categories: Examples, Self, Bootstrap
Tags: knowledge, self, bootstrap, utils, geospatial, wikidata
Domain: BOT libre!
Created: Jun 23 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 164, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:24
Turing Test
Turing Test
A script that gives a Turing test.
Categories: Examples, Self
Tags: self, examples
Domain: BOT libre!
Created: Oct 23 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 64, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:41
Escalate Email
Escalate Email
This script lets the user escalate the chat session to a follow up email.
Categories: Self, Examples
Tags: self, examples, email
Domain: BOT libre!
Created: Jun 1 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 47, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:06
Book Appointment
Book Appointment
A script for letting the bot book appointments or service calls in your Google Calendar.
Categories: Examples, Self
Tags: calendar, virtual assistant, examples, customer service, google calendar, booking, self, appointments
Domain: BOT libre!
Created: Oct 11 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 45, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:00
Servizio_Clienti_Salvadori
Servizio_Clienti_Salvadori

Categories: Examples
Tags: examples
Domain: BOT libre!
Created: Mar 11 2016
Creator: stefano
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: JavaScript
Connects: 44, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:41
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.
Categories: Examples, Self
Tags: examples, sms, self
Domain: BOT libre!
Created: Sep 19 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 41, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:01
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.
Categories: Self, Examples
Tags: geonames, rest, self, xml, sraix, internet
Domain: BOT libre!
Created: May 25 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 40, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:09
Wikiquote Scraping
Wikiquote Scraping
This script shows an example of scraping data from Wikiquote.
Categories: Examples, Self
Tags: html, self, wikiquote, examples
Domain: BOT libre!
Created: Aug 13 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 35, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:26
AIML HTML Scraping
AIML HTML Scraping
An example AIML script that scrapes data from an HTML webpage.
Categories: AIML, Examples
Tags: html scraping, aiml, examples
Domain: BOT libre!
Created: Jun 24 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 33, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:41
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.
Categories: Self, Examples
Tags: self, examples
Domain: BOT libre!
Created: Jun 24 2016
Creator: Paphus
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 32, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:41
Wikipedia Search
Wikipedia Search
An example Self script that searches Wikipedia.
Categories: Self, Examples
Tags: wikipedia, xml, search, examples, self, xpath
Domain: BOT libre!
Created: Dec 9 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 30, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:25
test 1
test 1

Categories: Examples
Domain: BOT libre!
Created: Jul 14 2016
Creator: hughess
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Chat Log
Connects: 27, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16: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/
Categories: Self, Examples
Tags: examples, watson, json, web service
Domain: BOT libre!
Created: Mar 20
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 13, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 4:10
Count Words
Count Words
This example script show how to count the words in a sentence.
Categories: Self, Examples
Tags: self, example
Domain: BOT libre!
Created: Jan 11
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 12, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:43
testing bot
testing bot

Categories: Examples
Domain: BOT libre!
Created: Feb 12
Creator: muzz
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 11, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:43
sillycon
sillycon

Categories: Examples
Domain: BOT libre!
Created: Jun 19
Creator: bidhata
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: PHP
Connects: 6, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:44
Category Identification
Category Identification
This script gives a simple example of using objects in Self to define and use information.
Categories: Examples, Self
Tags: examples, self
Domain: BOT libre!
Created: May 12
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 3, today: 0, week: 0, month: 1
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 13, 16:44