olivia

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

Github星跟踪图

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

Olivia's wave

主要指标

概览
名称与所有者olivia-ai/olivia
主编程语言Go
编程语言Go (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2018-06-05 18:19:31
推送于2025-02-06 10:19:30
最后一次提交2021-07-17 22:01:33
发布数21
最新版本名称2.5 (发布于 )
第一版名称v1.0 (发布于 )
用户参与
星数3.7k
关注者数86
派生数355
提交数750
已启用问题?
问题数72
打开的问题数22
拉请求数70
打开的拉请求数0
关闭的拉请求数12
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?