A simple chatbot project built using modern web technologies.
Frontend: React, Vite, Tailwind CSS, Axios, Lucide React
Backend: Express, LangChain, LangGraph, dotenv, cors ,mongoose, OpenAI API
This chatbot is designed to provide a simple and interactive chat experience. It uses TypeScript for core logic, CSS for styling, and HTML for structure.
now the chatbot can store the chat history in a database and retrieve it when the user comes back to the chat. This allows for a more personalized experience, as the chatbot can remember previous conversations and provide more relevant responses.
- Clone the repository:
git clone https://github.com/unknowdeepanshu/Chatbot.git
-
Go to the project folder:
cd Chatbot/UiChatBot -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Go to the project folder:
cd Chatbot/AIAgentcalled -
Install dependencies:
npm install
-
Start the development server:
npm run dev
Create a .env file in the backend project folder and add the following variables:
GROQ_API_KEY=add your GROQ API key here
MONGODB_URI=mongodb://localhost:27017Go to GROQ API Keys to get your GROQ API key and add it to the .env file in the backend project folder.