Skip to content

Barnaby is a personal assistant API. This makes it offer many possibilities for integration with your projects. It uses APIs such as NewsAPI and DuckDuckGo Instant Answer API. It works using a neural network built with TensorFlow.

Notifications You must be signed in to change notification settings

carlostojal/Barnaby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barnaby

Barnaby is a personal assistant API. This makes it offer many possibilities for integration with your projects. It uses APIs such as NewsAPI and DuckDuckGo Instant Answer API. You can test a Chatbot Demo.

How to use

  • Run script setup.sh to install all required dependencies.
  • Set your own API keys on the file apis.json. You will need to create some accounts. All APIs used are free. Used APIs are:
    • NewsAPI
    • DuckDuckGo Instant Answer API (No API key or account needed)
    • OpenWeatherMap API
    • IPGeoLocation API
  • Run script app.py.
  • That's it! Now by default you can use Barnaby on the address http://localhost:5000.

Endpoints

Endpoint Description
/ Shows this README
/api_config Shows API configuration.
/assistant Barnaby endpoint. q paramether is mandatory (Example: "How is the weather?"). Set train paramether to true to train the neural network (not needed, unless you make changes to it). A JSON response will be returned.

Screenshots

  • Chatbot Demo Chatbot Demo
  • JSON Response JSON Response

About

Barnaby is a personal assistant API. This makes it offer many possibilities for integration with your projects. It uses APIs such as NewsAPI and DuckDuckGo Instant Answer API. It works using a neural network built with TensorFlow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published