280 likes | 538 Views
Pandorabots – a Common Lisp-based Software Robot Hosting System (5/03 - Japan). Presenter: Fritz Kunze - Franz Inc. - www.franz.com fkunze@franz.com. History . Winter 2001- Gabriel of Sun and Kunze of Franz prepare analysis of Internet Bubble from a cost of technology view point
E N D
Pandorabots – a Common Lisp-based Software Robot Hosting System (5/03 - Japan) Presenter: Fritz Kunze - Franz Inc. - www.franz.com fkunze@franz.com
History • Winter 2001- Gabriel of Sun and Kunze of Franz prepare analysis of Internet Bubble from a cost of technologyview point • Key Points - Approximately 2000 “internet companies” failed in the US during the years 2000-2003 - Intial cost of technical infrastructure ranged from $2 million to $20 million – average $10million
History – Continued • Technical infrastructure costs – averaged $10 million – included high-costs for Oracle, Sun (HP, IBM, etc) servers, Cisco Routers, Backup systems, mirrored systems, etc. On-going costs: 20% of initial cost • High staff costs – use of Java implied more than 10 high-quality programmers. Ongoing costs > $1.5 million.
History – Continued • Use of Lisp in conjunction with linux-based PCs and low-cost data bases (mysql) could reduce technology costs across all components by factors between 10 and 1000! • Winter 2002 – Pandorabots development started with goal of demonstrating this low-cost conclusion. Pandorabots was published in May 2002.
History – Continued • Pandorabots began as an effort to put an updated version of the famous therapist program: “eliza” – now known as Alice - on the web – and allow others to build and host their own versions. • Updated “eliza” came from the non-profit open source repository at the Alice Foundation
The Alice Foundation, a NON-profit Foundation formed by Dr. Richard Wallace, promotes International standards for the development of Software Robots or Chatbots. The foundation has made available under the GNU license - several software robots - along with their content. Here is a sample interaction with a chatbot: You: Hello Lauren: Hi There! You: What is your name? Lauren: My name is Lauren The English Language content now exceeds 70,000 sentences.
www.pandorabots.com hosts Alice Foundation Chatbots Pandorabots - began 5-13-02 - all accounts are free – remember – this is a demonstration - hosts over 18,000 separate accounts (5/03) - hosts over 21,000 separate Chatbots (5/03) - Number of accounts has been doubling every 3 months - over 2000 AOL Instant Message Accounts - over 350 Bots for sale - Services between 5,000-20,000 interactions/hour - Some bots have more than 100,000 interactions/day - bots are built with a browser, by non-computer programmers! - built in Common Lisp and uses Allegro Serve - uses linux as the OS and the mysql database
www.pandorabots.com - bots are multi-lingual - Japanese word splitting – uses Chasen - bots can execute arbitrary programs - bots can serve pictures and music - bots speak (currently English and French, Japanese will be added soon) - bots can be embodied by Characters (e.g. - Hello Kitty, Doraemon, etc) - bots can do database queries - bots can interact with other web sites
www.pandorabots.com/pandora/talkoddcast?botid=f6d4afd83e34564dwww.pandorabots.com/pandora/talkoddcast?botid=f6d4afd83e34564d
The Alice Foundation’s Chatbots are derived from Eliza - the original Chat bot - created by Joseph Weizenbaum in 1966 You: Robot: You: Robot:
Joseph Weizenbaum • ELIZA (1966) The first Chatbot • Computer Power and Human Reason (1976)
From the Wizard of Oz - the little man behind the screen … The Chatbot has the appearance of intelligence - which arises as an illusion created entirely by consciousness
Despite their simplicity, chatbots based on the Alice Foundation open source technology consistently are judged as more human than other “AI-based” chatbots. Alice Chatbots consistently win the annual Loebner prize - a contest in which humans judge chatbots and select the one that is most human-like. You: Robot:
The chatbot program is quite simple: the input is read and matched against a collection of patterns. When a match is found, the sentence is transformed according to an output template associated with the matched pattern. You: Robot:
Knowledge is stored in an XML-compliant language called AIML (Artificial Intelligence Markup Lanaguage) A Pandorabot begins life with over 70,000 sentences - called categories - and these are usually shared by all the bots at www.pandorabots.com. Authors use a browser to modify or add new knowledge to their bots. These changes are not shared by other robots. The next few slides present a view of the knowledge as a graph and show how the knowledge has been structured.
The Chatbot’s knowledge is stored as a Graph - which is called the Knowledge Web or the Graphmaster. The bots are multi-lingual. These robots can interact in any language simultaneously. The next two slides show two views of the Graphmaster.
Graphmaster (spiral form) Visible Subgraphs mark common words
Programs • A – SETL / Java • B – Java 1 • C – C/C++ • D – Java 2 (reference) • dB, E, M, P • Z - Lisp
Implementation Details for Pandorabots Summary Form - Built entirely in common lisp - allows system updates while the site is live - very low-cost hosting, developing and on-going maintenance - Source code is about 1 megabyte - Server uses linux, unix or MS Windows - runs on any hardware platform - System hosts over 20,000 bots on a single PC (java version hosts 15 bots) - 25,000,000 English Sentences have been collected over a one year period and stored in a relational database