geobot

A simple chat bot built using Wit.ai and Vapor Swift web framework.

OTHER License

Stars
16

Geobot

A simple chat bot built using Wit.ai and Vapor Swift web framework, which aims to help you with the things you missed while playing hooky from geography classes back in school .

If you don't know about Wit.ai yet, drop everything you're doing and go check it out. It is an open and extensible natural language platform, bot engine and intent parser to build applications and devices that you can talk or text to.

Test it out

  • Don't be shy, just Say Hi! Don't leave Geobot
    alone.
  • Don't forget to check Wit Console to
    see all the magic behind it.

Features

  • Greetings
  • Help and quick replies
  • Capitals
  • Location of countries in the world
  • Area of countries
  • Population of countries

Playground

Do you want to setup the project locally and pretend that you're doing some real AI stuff? Be my guest!

Wit.ai

  • Sign up for a Wit.ai account.
  • Follow the guidelines on how to
    export geobot app and import it when
    creating your new mind-blowing app.
  • Find the Server Access Token under Settings page in the Wit.ai console.
  • Set your token as WIT_TOKEN environment variable or, alternatively, create
    a new config file geobot/Config/secrets/wit.json:
{
  "token": "$WIT_TOKEN"
}

Swift project

git clone https://github.com/vadymmarkov/geobot.git
cd geobot
swift build
.build/debug/App

Tools & Resources

Author

Vadym Markov, [email protected]

Contributing

Check the CONTRIBUTING file for more info.

License

Geobot is available under the MIT license. See the LICENSE file for more info.