Chat Bot is a simple web application that demonstrates a basic chat interface with a bot. Users can input messages, and the bot will respond accordingly.
- Users can input messages in the chat interface.
- The bot responds to user messages.
- The chat interface displays both user messages and bot responses.
- HTML
- CSS (Tailwind CSS)
- JavaScript (Vanilla JS)
- Express.js (for the backend server)
- Body-parser (middleware for parsing request bodies)
To run the application locally, follow these steps:
- Clone the repository:
git clone https://github.com/SathiraSriSathsara/AI-Chabot.git
- Navigate to the project directory:
cd AI-Chabot
- Install the dependencies:
npm install
- Get API lkey from Groq.
- Then rename
.env-example
to.env
, and fill in your own values for the variables:GROQ_API_KEY
: Your Groq API Key
- Start the server:
npm run dev
- Open your web browser and go to http://localhost:3000 to view the application.
- Enter your message in the input field at the bottom of the chat interface.
- Press the "Send" button or hit Enter to submit your message.
- The bot will respond with a message, which will be displayed in the chat interface.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please create an issue or submit a pull request.
This project is licensed under the MIT License.