A versatile Node.js server that integrates multiple chatbot APIs, offering a unified interface for various AI conversation models.
- Seamless integration of multiple chatbot APIs (v1 to v12)
- Built with Express.js for robust server-side operations
- Cross-Origin Resource Sharing (CORS) enabled for web application compatibility
- Straightforward error handling for improved debugging
Send a POST request to the /chat/v5
endpoint to interact with the chatbot.
POST http://localhost:3000/chat/v5
Content-Type: application/json
{
"userMessage": "Hello, how are you?"
}
curl -X POST http://localhost:3000/chat/v5 \
-H "Content-Type: application/json" \
-d '{"userMessage": "Hello, how are you?"}'
{
"reply": "Hello! As an AI language model, I don't have feelings, but I'm functioning well and ready to assist you. How can I help you today?"
}
- Node.js - JavaScript runtime
- Express.js - Web application framework
- Axios - Promise-based HTTP client
We welcome contributions, issues, and feature requests! Check out our issues page to get started.
This project is open source and available under the GPL-3.0.
Your Name
- GitHub: @OshekharO
- Telegram: @OshekherO
⭐️ If you find this project helpful, please consider giving it a star on GitHub!