Jackson is a chatbot that helps find historical facts about black people. It is named after Mary W. Jackson, the first African American female engineer at NASA.
Jackson is built with Rasa, the open source machine learning framework that automates text-and voice-based conversations. Jackson uses the Black History API, which documents achievements and facts about black people, past and present.
Jackson uses a simple keyword search.
Python 3.8.6
Jackson requires:
-
Rasa (see the installation instructions for different OS systems)
-
rasa-sdk to run the custom search action:
pip install rasa-sdk
- Pattern to singularize keywords:
pip install pattern
To enable api calls to the Black History API you will need to sign-up for an api key from the Black History API, then add this key to a new file in the home directory named bha_credentials.py
API_KEY = 'XXXXXXXXXXXX'
To talk to Jackson on the command line, start the Rasa Action Server in one terminal window:
rasa run actions
Then in a new terminal window run rasa shell
, and follow the prompts.
Please refer to the Rasa Docs for more information about Rasa Open Source.