Skip to content

RomanPlusPlus/gravestone-bot

Repository files navigation

Gravestone Bot. A chat bot to speak with the dead

0. Intro

Have you ever dreamed of having a conversation with a person from the distant past? Aristotle, William Shakespeare, Benjamin Franklin, Ada Lovelace … any person of your choice.

The long-term goal of this project is to make it a reality.

It should work as follows:

  1. Collect all the writings of the historical person in one place
  2. Give it to Gravestone Bot
  3. The Bot will try to reconstruct the person’s mind
  4. If you ask the Bot some question, it should provide an answer that is authentic to the historical person.

At the current stage of development, Gravestone Bot is nothing but a search engine that finds text fragments most relevant to the user’s question. We plan to iteratively expand the Bot’s capabilities, to make the conversation more natural and more authentic.

This software and the sample texts are under very permissive Creative Commons Zero v1.0 Universal licence (basically, it describes a release into the Public Domain).

1. How to use it

1.0. Running the bot with the sample texts

Linux:

  1. Click "Clone or Download" > "Download ZIP"
  2. Unpack the zip
  3. cd to the unpacked folder
  4. launch it: python3 launcher.py
  5. Ask some question and press Enter

The bot was tested on Ubuntu 16.04 and Python 3.7.3.

1.1. Creating a bot with your own texts

  1. convert your texts to .txt. The bot is tailored to English language, but other languages may work too.
  2. ensure that the encoding is UTF-8
  3. Navigate to the Gravestone Bot folder
  4. Backup the input_texts folder to a safe place
  5. Delete the input_texts contents
  6. paste your texts into it
  7. if necessary, obfuscate the texts using schuffler.py
  8. Launch the bot

The more texts you feed to the bot, the better will be the quality of the answers.

Releases

No releases published

Packages

No packages published

Languages