@hivegpt/angular
v0.0.86
Published
An Angular component for integrating HiveGPT chatbot into your application.
Downloads
213
Readme
HiveGPT
An Angular component for integrating HiveGPT chatbot into your application.
Before you begin
You will need to have HiveGPT chatbot credentials. If you don't have one, you can get one by going to chat.hivegpt.ai and signing up for a free account.
Documentation
You can find the components documentation at docs.hivegpt.ai.
Installation
npm install @hivegpt/angular
Usage
Import HiveGptModule
Import the HiveGptModule
in your desired module, say AppModule
:
import { NgModule } from '@angular/core';
import { HiveGptModule } from '@hivegpt/angular';
import { AppComponent } from 'app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
HiveGptModule
],
providers: [],
bootstrap: [AppComponent]
})
Chatbot
Add the hivegpt-chatbot
component to your component's template:
<hivegpt-chatbot></hivegpt-chat-chatbot>
Chat Drawer
Chat drawer can be added separately to control its visibility from your application.
Add the hivegpt-chat-drawer
component to your component's template:
<hivegpt-chat-drawer></hivegpt-chat-drawer>