finchatbot
v1.0.6
Published
Floating AI chatbot UI component built with Ant Design.
Readme
finchatbot
A Node.js package for building financial chatbots. This package provides tools and components to help you quickly create, customize, and deploy chatbots for financial applications.
Features
- Easy integration with financial APIs
- Customizable chatbot components
- TypeScript support
- Ready-to-use UI components
Installation
npm install finchatbotUsage
Import and use the package in your project:
import { FinChatbot } from 'finchatbot';
<FinChatbot
baseURL="https://api.example.com"
chatEndPoint="/chat"
token="your-auth-token"
payload={{ userId: 123 }}
headers={{ 'X-Custom-Header': 'value' }}
/>Props
| Name | Type | Required | Description | |--------------|----------|----------|---------------------------------------------| | baseURL | string | Yes | Base URL for API requests | | chatEndPoint | string | Yes | Endpoint for chat interactions | | token | string | No | Authentication token for requests | | payload | object | No | Additional payload for requests | | headers | object | No | Custom headers for requests |
Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
License
MIT
