https://github.com/jackkweyunga/sarufi-chatbot-demo
Create a sample chatbot with sarufi.io
https://github.com/jackkweyunga/sarufi-chatbot-demo
chatbot chatbot-framework sarufi
Last synced: about 1 year ago
JSON representation
Create a sample chatbot with sarufi.io
- Host: GitHub
- URL: https://github.com/jackkweyunga/sarufi-chatbot-demo
- Owner: jackkweyunga
- Created: 2022-10-06T09:22:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T09:35:03.000Z (over 3 years ago)
- Last Synced: 2025-03-24T14:08:28.960Z (about 1 year ago)
- Topics: chatbot, chatbot-framework, sarufi
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# SAMPLE CHATBOT WITH SARUFI.IO
To follow up with this example, make sure you have registered with sarufi.io.
- Go to [sarufi.io](https://sarufi.io) to create an account.
Sarufi.io provides various ways for a developer to create a chat bot faster and with ease.
One the ways is using configuration files i.e.
- flows.yaml
- intents.yaml
- metadata.yaml
## clone repo
Get this code base working on your machine right away.
```shell
git clone https://github.com/jackkweyunga/sarufi-chatbot-demo.git
# install requirements
cd sarufi-chatbot-demo
pip install -r requirements.txt
```
## create bot
create a `.env` file or add the following as environment variables
```
SARUFI_EMAIL=
SARUFI_PASS=
```
run create-bot.py
```shell
python create-bot.py
```
Note the .env or environment variables with the bot id `SARUFI_CHATBOT_ID=`
```
SARUFI_EMAIL=
SARUFI_PASS=
SARUFI_CHATBOT_ID=
```
To update your bot, just run `create.py` again with the `SARUFI_CHATBOT_ID` environment variable set.
## Test your bot
To test your bot run `playground.py` for a cmd based testing groung.
## Next step
> Learn more about sarufi. Go to [sarufi documentation](https://docs.sarufi.io/docs/intro)
### -- end ---