Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/embbnux/glip-ai-bot
This is an AI Assistant Bot for Glip, using API.AI and RingCentral API
https://github.com/embbnux/glip-ai-bot
ai bot glip ringcentral
Last synced: 4 months ago
JSON representation
This is an AI Assistant Bot for Glip, using API.AI and RingCentral API
- Host: GitHub
- URL: https://github.com/embbnux/glip-ai-bot
- Owner: embbnux
- Created: 2017-03-31T03:22:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T19:27:38.000Z (about 2 years ago)
- Last Synced: 2024-10-05T02:30:53.132Z (4 months ago)
- Topics: ai, bot, glip, ringcentral
- Language: TypeScript
- Homepage:
- Size: 130 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Glip AI BOT
This is an AI Assistant Bot for Glip, using API.AI and RingCentral API
## Demo
Talk in glip with this chat bot:
```
> hi
Good day!```
```
> What’s the weather like in London
Today in London : Mostly Cloudy, the temperature is 48 F
``````
> Help
Help: Show this help;
Rc Login: Log into your RingCentral account;
Send SMS: sms to 101 say what are you doing;
Receive SMS: Show your sms here;
Disable SMS Notification: Stop showing sms here;
``````
> login to rc
login with oauth
> who am i
> send message to Kevin tell him we won
Send SMS(we won) to Kevin(101) success.
> sms to 101 tell him this is sms message
Send SMS(this is sms message) to Kevin(101) success.
> logout rc account
```## Start A Bot
### Preinstall
* nodejs
* yarn```
git clone https://github.com/embbnux/glip-ai-bot.git
yarn
npm run build
npm start
```### Add config file
to create data/config.json file
```
cd project_dir
mkdir data
vim data/config.json
```
example of config.json:
```
{
"glipApp": {
"server": "https://platform.devtest.ringcentral.com",
"appKey": "ringcentral_glip_app_key",
"appSecret": "ringcentral_glip_app_secret",
"account": {
"username": "rc_phone_number",
"extension": "rc_extension_number",
"password": "rc_account_password"
},
"tokenCacheFile": "./glip-token-cache.json"
},
"RcApp": {
"server": "https://platform.devtest.ringcentral.com",
"appKey": "ringcentral_app_key",
"appSecret": "ringcentral_app_secret",
"redirectUri": "http://localhost:8080/rc-oauth-callback"
},
"ApiAi": {
"token": "api.ai token"
}
}
```### start server
```
npm start
```