NLU BRAIN API WITH DJANGO
This is an API made with django that uses Snips NLU to understand the user's intent, contains a database to store the user's data and a web server to serve the user's data.
Features
TODO
How it works
This is a heroku based project
Setup Django
-
Configure your heroku project, save the name, you will need the Heroku Postgresql addon
-
Build the docker development and run it to make sure everything is ok
docker build -t web:latest .
docker run -d --name <herokuname> -e "PORT=8765" -e "DEBUG=0" -p 8007:8765 web:latest
- You can deactivate like this
docker stop <herokuname>
docker rm <herokuname>
- You can upload your project with this commands
docker run -d --name <herokuname> -e "PORT=8765" -e "DEBUG=0" -p 8007:8765 web:latest
heroku container:login
heroku container:push web -a <herokuname>
heroku container:release web -a <herokuname>
- Create your user with
heroku run python manage.py createsuperuser -a <herokuname>
- Enter to your proyect from this url
http://<herokuname>.herokuapp.com/admin
-
Create an Key to interact with the API
-
You are ready
More interesting projects
I have a lot of fun projects, check this:
Machine learning
- https://github.com/HectorPulido/Evolutionary-Neural-Networks-on-unity-for-bots
- https://github.com/HectorPulido/Imitation-learning-in-unity
- https://github.com/HectorPulido/Chatbot-seq2seq-C-
Games
- https://github.com/HectorPulido/Unity-MMO-Framework
- https://github.com/HectorPulido/Contra-Like-game-made-with-unity
- https://github.com/HectorPulido/Pacman-Online-made-with-unity
Random
- https://github.com/HectorPulido/Arithmetic-Parser-made-easy
- https://github.com/HectorPulido/Simple-php-blog
- https://github.com/HectorPulido/Decentralized-Twitter-with-blockchain-as-base
Licence
This proyect uses Django, tweepy, dropbox libraries, also was made to work with heroku but everything else was totally handcrafted by me, so the licence is MIT, use it as you want.