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
派生數351
提交數750
已啟用問題?
問題數72
打開的問題數22
拉請求數70
打開的拉請求數0
關閉的拉請求數12
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?