Skip to content

1egoman/quail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quail logo

What is This?

Basically, the goal is to have an api where a question is asked, and the computer should be able to respond to that question and answer it somewhat reliably.

Wow, that's a huge goal! How do you plan to do this?

When a query is sent to the server:

  • Parse query
  • Determine which plugin that is installed can handle the data
  • If a plugin is found, let the plugin deal with that
  • Otherwise, send to Wolphram Alpha and hope that an answer is received
  • If WA failed, admit defeat...

How do I make this thing come to life?

  1. Download / Clone Quail
  2. Start Quail: (cd inside src first) ./quail.py go
  3. Take a look here: 127.0.0.1:8000/abc/hi

How do I start Quail?

First, make sure you've got Python 2.7.x on your system.

  • open a terminal, and go to quail's folder
  • For debugging and other times where you would want to see Quail's stdout/stderr, run ./quail.py go
  • In a production environment, Quail can be started as a daemon. (./quail.py start, ./quail.py stop, ./quail.py restart)

Plugins?

Yes, plugins. Want to tell your 3D printer to print that model of a cactus from a simple API query? That's what I thought. For more about plugin development, look here

About

Ask a question, get a response

Resources

License

Stars

Watchers

Forks

Packages

No packages published