An open API service indexing awesome lists of open source software.

https://github.com/ringcentral/rc-assistant

RC Assistant Bot
https://github.com/ringcentral/rc-assistant

Last synced: 12 months ago
JSON representation

RC Assistant Bot

Awesome Lists containing this project

README

          

# RC Assistant

### [Install it](https://www.ringcentral.com/apps/glip-rc-assistant-chatbot)

---

## Content below is for maintainers and contributors

---

## Generate AWS Lex config

Ref: [AmazonLexGenerator](https://github.com/tylerlong/AmazonLexGenerator)

## Setup AWS Lex

Imprort [aws_lex.json](aws_lex.json) file into AWS Lex.

- Import the lex bot, not a new lex intent
- You need to build the latest, then publish

Configure `AWS_LEX_BOT_NAME` and `AWS_LEX_BOT_ALIAS` in `.env` files.

## Dev setup

```
yarn install
cp .sample.env .env
edit .env
yarn ngork
yarn dev
curl -X PUT -u : https:///admin/setup-database
```

## Deploy to AWS Lambda

```
cp .sample.env.yml .env.yml
edit .env.yml
yarn deploy
curl -X PUT -u : https:///admin/setup-database
```

## Check remote logs

```
sls logs -f app/proxy/crontab/maintain
```

## Todo

- AWS Lex support synonyms?
- information === info
- Write auto test