Skip to content
💁‍♀️Your new best friend built with an artificial neural network
Go
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Remove branch filter for circleci Jul 19, 2019
.github Re-add .github/FUNDING.yml Jun 23, 2019
analysis Remove 'why name' and insert 'don't understand' tag in the log Jul 19, 2019
language Add MovieBlacklist to user informations to not suggest twice the same… Jul 24, 2019
modules Fix a spell mistake inside the movies module Aug 8, 2019
neuralnet
res
training Fix neural network bugs Jul 25, 2019
user Add MovieBlacklist to user informations to not suggest twice the same… Jul 24, 2019
util Remove the remove method from slice.go Jun 29, 2019
.gitignore
.travis.yml Remove gofmt from travis Jul 21, 2019
Gopkg.lock Update the dependencies Jul 16, 2019
Gopkg.toml Update the dependencies Jul 16, 2019
LICENSE Update the date and the name of the license Jul 2, 2019
Procfile Change the Procfile name of the repo Apr 25, 2019
README.md Add the circleci status badge Jul 19, 2019
app.json
calculate_test.go Add a movie intent suggestion Aug 6, 2019
main.go Revert the information collecter Aug 6, 2019

README.md


Olivia's character

💁‍♀️ Your new best friend built with an artificial neural network

Inspired by leon-ai/leon :)

WebsiteGetting startedDocumentationProjectsVideoLicense

Getting started

Installation

Clone Olivia from the master branch of Github repository

git clone https://github.com/olivia-ai/olivia.git

Then go inside the project and install the dependencies

cd olivia

# Install the dependencies with dep (https://github.com/golang/dep)
dep ensure

And run the application

go run main.go

The Websocket is now listening on the port 8080, to change it just set it inside the environment variable PORT

The app will automatically check for res/training.json file which contains the save of the neural network. By default when you clone the repository from Github you have a stable save. If you want to train a new model just delete this file and rerun the app.

How to use

Connect to wss://olivia-api.herokuapp.com/ and send a JSON message like this

{
  "content": "Hello!",
  "authorid": "129390230"
}

and the websocket will respond you with

{
  "content": "Good morning!",
  "tag": "hello"
}

License

FOSSA Status

Made with ❤️ by Hugo Lageneste

Olivia's wave

You can’t perform that action at this time.