Skip to content

dancorreia-dev/savelifes-bot

Repository files navigation

Lifeline Chatbot

This project is a lifeline support chatbot that utilizes the GPT-3 API. It is built using the Next.js framework for the backend and React.js for the frontend. The chatbot provides a conversational interface for users to seek emotional support, guidance, or information on various topics.

Features

  • GPT-3 Integration: The chatbot leverages the power of the GPT-3 API by OpenAI to generate human-like responses and engage in meaningful conversations with users.
  • Real-time Communication: The chatbot facilitates real-time communication with users, allowing them to receive immediate responses and support.
  • Multi-topic Support: The chatbot is trained on a wide range of topics, enabling it to provide information and guidance on various subjects, such as mental health, self-care, relationships, and more.
  • User Privacy: The project prioritizes user privacy and confidentiality. No personally identifiable information is stored, and all conversations are anonymized.

Tech Stack

The Lifeline Chatbot project utilizes the following technologies:

  • Next.js: A React framework for building server-side rendered (SSR) and static websites.

  • React: A JavaScript library for building user interfaces.

Installation

To run the Lifeline Chatbot project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/danielcorreia-dev/savelifes-bot.git
  1. Navigate to the project directory: cd lifeline-chatbot
  2. Install the dependencies: npm install
  3. Replace API with your actual GPT-3 route and its params in the route.ts file.
  4. Start the development server: npm run dev
  5. Open your web browser and visit http://localhost:3000 to access the Lifeline Chatbot.

Usage

Once the Lifeline Chatbot is up and running, users can visit the provided URL to access the chatbot interface. They can start a conversation by typing their message in the input field and pressing "Enter" or clicking the send button.

Acknowledgements

The Lifeline Chatbot project is built upon the amazing technology and research provided by OpenAI's GPT-3. We are grateful for their contributions to the field of natural language processing and conversation AI.