SkillAgentSearch skills...

AioChatbase

aioChatbase is a library for Chatbase analytics written in Python 3.6 with asyncio and aiohttp

Install / Use

/learn @Olegt0rr/AioChatbase
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Chatbase

Supported python versions MIT License PyPi Package Version PyPi status

aioChatbase is a library for Chatbase Generic Message API written in Python 3.6 with asyncio and aiohttp. It helps to integrate Chatbase with your chatbot.

How to install

python3.6 -m pip install aioChatbase

How to use

  1. Import Chatbase
from aiochatbase import Chatbase
  1. Create cb instance
cb = Chatbase(API_KEY, BOT_PLATFORM)
  1. Register handled message
await cb.register_message(user_id='123456', intent='start')
  1. Register non-handled message
await cb.register_message(user_id='123456', intent='unknown message', not_handled=True)
  1. Register url click
await cb.register_click(url='google.com')
  1. Close instance on your app shutdown
await cb.close()

Examples

Check more examples at the /examples folder

Wiki

Feel free to read our Wiki

View on GitHub
GitHub Stars12
CategoryData
Updated2y ago
Forks1

Languages

Python

Security Score

80/100

Audited on Mar 4, 2024

No findings