Browse : Examples

Examples

Examples that you can use to create your own scripts.




30 results.

Animals
Animals
A response list that can be used to import some basic info on animals.
Categories: Response Lists, Examples
Tags: animals, response list
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 16, today: 0, week: 0, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:57
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: self, sms, examples
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 134, today: 0, week: 1, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 18, 14:10
Repeat
Repeat
This example script show how to repeat a word in a response n times.
Categories: Examples, Self
Tags: self, repeat, example
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 121, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14: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.
Categories: JSON, Data, Examples
Tags: json, data, examples
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: JSON
Connects: 17, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 15:03
Escalate Email
Escalate Email
This script lets the user escalate the chat session to a follow up email.
Categories: Examples, Self
Tags: self, email, examples
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 129, today: 0, week: 1, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 20, 11:27
Wikiquote Scraping
Wikiquote Scraping
This script shows an example of scraping data from Wikiquote.
Categories: Self, Examples
Tags: self, examples, html, wikiquote
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 118, today: 0, week: 0, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:22
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
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 111, today: 0, week: 1, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 20, 11:27
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: Self, Examples
Tags: self, stocks, quotes, xml, examples, web service
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 109, today: 0, week: 0, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:24
HTML Scraping
HTML Scraping
An example of using a Template to scrape HTML data from a webpage.
Categories: Examples, Response Lists
Tags: self, html scraping, examples, response list
Workspace: Bot Libre for Business
Created: Oct 13 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 105, today: 0, week: 1, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 18:56
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: Self, Examples
Tags: self, examples, hr, interview, career
Workspace: Bot Libre for Business
Created: Mar 24 2017
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 86, today: 0, week: 1, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 18, 2:07
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: Examples, Self
Tags: json, examples, web service, watson
Workspace: Bot Libre for Business
Created: Feb 20 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 60, today: 1, week: 1, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Today, 1:03
AIML Wikipedia Search
AIML Wikipedia Search
This script gives an example of how to search wikipedia.
Categories: AIML2, AIML, Examples
Tags: sraix, aiml, xml, examples, wikipedia, search, xpath
Workspace: Bot Libre for Business
Created: Feb 8
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 17, today: 0, week: 0, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 15:07
Sentiment Response
Sentiment Response
This script gives a different response to the user's question based on the sentiment of their phrase.
Categories: Examples, Self
Tags: self, examples, sentiment
Workspace: Bot Libre for Business
Created: Feb 8
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 17, today: 0, week: 1, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 19, 3:10
Count Words
Count Words
This example script show how to count the words in a sentence.
Categories: Examples, Self
Tags: self, example
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 13, today: 0, week: 0, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 15:12
Wikipedia Search
Wikipedia Search
An example Self script that searches Wikipedia.
Categories: Examples, Self
Tags: self, xml, examples, web service, wikipedia, search, xpath
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 13, today: 0, week: 0, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 15:12
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: knowledge, examples, self
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 136, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:32
Book Appointment
Book Appointment
A script for letting the bot book appointments or service calls in your Google Calendar.
Categories: Examples, Self
Tags: customer service, self, examples, virtual assistant, google calendar, booking, appointments, calendar
Workspace: Bot Libre for Business
Created: Nov 2 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 132, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:33
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: Self, Examples
Tags: self, examples, orders, pizza, e-commerce
Workspace: Bot Libre for Business
Created: Oct 13 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 127, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:35
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, self, sms
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 123, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 15, 18:54
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: Self, Bootstrap, Examples
Tags: bootstrap, self, utils, wikidata, geospatial, knowledge
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 113, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:37
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: Self, Examples
Tags: self, i spy, games, examples
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 110, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:39
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: Examples, Self
Tags: self, geonames, rest, internet, sraix, xml
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 92, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 15, 12:01
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.
Categories: Response Lists, Examples
Tags: examples, orders, pizza, e-commerce, response list
Workspace: Bot Libre for Business
Created: Apr 11 2018
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: Sep 14, 18:10
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.
Categories: Examples, AIML
Tags: learning, aiml, examples
Workspace: Bot Libre for Business
Created: Feb 8
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 20, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 17:57
AIML HTML Scraping
AIML HTML Scraping
An example AIML script that scrapes data from an HTML webpage.
Categories: Examples, AIML
Tags: examples, html scraping, aiml
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 15, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:00
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
Categories: Examples, Self
Tags: json, examples, web service, bot service, command
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 15, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:12
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
Categories: Examples, Self
Tags: self, json, examples, web service, google, youtube
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 14, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:13
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: Examples, Self
Tags: examples, self, timer, email
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 13, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:14
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: CSV, Examples, Data
Tags: knowledge, data, csv, examples
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: CSV
Connects: 13, today: 0, week: 0, month: 1
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:09
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: response list, self, web service, json
Workspace: Bot Libre for Business
Created: Feb 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 13, today: 0, week: 0, month: 1
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:14