Skip to content

Saarthi is an intelligent chatbot web application powered by the OpenAI API. It provides a seamless user experience with features such as user authentication, chat history storage, and responsiveness.

Notifications You must be signed in to change notification settings

arghyadutta080/Saarthi-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Saarthi Chatbot Web-App

Saarthi is an intelligent chatbot web application powered by the OpenAI API. It provides a seamless user experience with features such as user authentication, chat history storage, and responsiveness.

Features

  • User Authentication: Users can sign in using their email and password.
  • Chatbot Interaction: Users can ask any questions to the chatbot.
  • Chat History: The chat history is stored, allowing users to view past interactions after Signing In.
  • Responsive Design: The web app is fully responsive, providing a consistent experience across devices.

Tech Stacks

react react react react react react

Chatbot working demo video

Saarthi.Chatbot.working.demo.-.Made.with.Clipchamp.mp4

Workflow of Saarthi Chatbot

Login_page_Desktop

UI of the Web-App

Login_page_Desktop Chat_page_sidebar_Desktop

Login_page_Mobile Chat_page_1_Mobile Chat_page_2_Mobile

Getting Started

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/arghyadutta080/Chatbot.git
    cd Chatbot
  2. Open the Chatbot directory in your Code-Editor (In my case it's VS-Code)

  3. Open the terminal in your Code-Editor and split it into two terminals

  4. In the first terminal move to the server directory:

    cd server
  5. Install dependencies:

    npm install
  6. Create a .env file at the root of the server directory with the following content:

    PORT=5000
    OPENAI_API_KEY=<your-openai-api-key>
    MONGODB_URL=<your-mongodb-url>
    JWT_SECRET=jhihiutvieuwvievnuoigonhooger
  7. Run the server:

    npm run start
  8. In the second terminal move to the client directory:

    cd client
  9. Install dependencies:

    npm install
  10. Run the client:

    npm run dev
  11. Now, You will be redirected to localhost:3000

Contributing

Contributions to the project are welcome! To contribute, fork the repository and create a new branch for your changes. Once you have made your changes, create a pull request to merge your branch into the main repository.

About

Saarthi is an intelligent chatbot web application powered by the OpenAI API. It provides a seamless user experience with features such as user authentication, chat history storage, and responsiveness.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published