Skip to content

OshekharO/GPT-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

149 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT AI

A versatile Node.js server that integrates multiple chatbot APIs, offering a unified interface for various AI conversation models.

📚 Table of Contents

🌟 Features

  • Seamless integration of multiple chatbot APIs (v1 to v14)
  • 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

🔧 API Usage

Send a Message to the Chatbot

Send a POST request to any /chat/vN endpoint to interact with the chatbot.

Endpoint

POST http://localhost:3000/chat/v1

Headers

Content-Type: application/json

Request Body

{
  "userMessage": "Hello, how are you?"
}

Example Using cURL

curl -X POST http://localhost:3000/chat/v1 \
     -H "Content-Type: application/json" \
     -d '{"userMessage": "Hello, how are you?"}'

Example Response

{
  "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?"
}

🌐 Available Endpoints

Endpoint Backed By Model / Notes
/chat/v1 notegpt.io GPT-4.1 mini
/chat/v2 ansari.chat
/chat/v3 chateverywhere.app GPT-3.5 Turbo
/chat/v4 unlimitedai.chat Reasoning model
/chat/v5 goody2.ai
/chat/v6 pinoygpt.com
/chat/v7 freedomgpt.com Claude Opus 4.7
/chat/v8 chatwithfiction.com
/chat/v9 bookai.chat GPT-3.5 Turbo
/chat/v10 pollinations.ai OpenAI
/chat/v11 freeassist.ai GPT-5-nano
/chat/v12 api.airforce GPT-4o-mini
/chat/v13 freeassist.ai GPT-5-mini
/chat/v14 chataibot.ru

🛠️ Technologies

🤝 Contributing

We welcome contributions, issues, and feature requests! Check out our issues page to get started.

📝 License

This project is open source and available under the GPL-3.0.

📞 Contact


⭐️ If you find this project helpful, please consider giving it a star on GitHub!

Contributors