This repository contains a chatbot implementation integrated with NovaAI services. The chatbot is built using Node.js and Express framework.
Before you begin, ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/your-username/chatbot-novaai.git
-
Install dependencies:
cd chatbot-novaai npm install
-
Set up NovaAI Integration:
- Obtain NovaAI API credentials and configure them in the application. https://nova-oss.com/get-started
To start the server, run: npm start
The server will be running at http://localhost:3000
.
- NovaAI API credentials: Configure your NovaAI API credentials in
config.js
file.
-
POST /api/chat
: Endpoint to send messages to the chatbot and receive responses.Example Request:
{ "message": "Hello, chatbot!" }
Example Response: { "response": "Hi there! How can I assist you?" }