ai-chatbotfast
v0.0.8
Published
An AI-powered chatbot component for seamless integration into web applications. Supports real-time interactions, customizable UI, and easy API integration.
Readme
ai-chatbotfast
AI-powered chatbot package for fast and efficient conversational AI in Node.js applications.
Installation
Install the package using npm:
npm install ai-chatbotfastOr using yarn:
yarn add ai-chatbotfastUsage
"use client";
import Chatbot from 'ai-chatbotfast';
function App() {
return <Chatbot theme={{bgColor: "red"}}/>;
}
export default Chatbot;Features
- 🔥 Fast and lightweight chatbot integration
- 🤖 Supports AI-based responses
- ⚡ Easy to set up and use
- 🛠 Configurable settings for different AI models
Configuration
You can pass the following options when initializing the chatbot:
| Option | Type | Description |
|---------|--------|-------------|
| apiKey | string | Your API key for the AI model (upcoming) |
| model | string | AI model to use (e.g., gpt-3.5-turbo) (upcoming) |
| temperature | number | Adjusts randomness in responses (default: 0.7) |
| bgColor | string | set background color |
| primaryColor | string | change primary color of ai-chatbot |
Example:
const bot = new Chatbot({
apiKey: 'your-api-key',
model: 'gpt-4',
temperature: 0.9
});Contribution
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
MIT License © 2025 Kanhaiya
