Skip to content

thasup/chatgpt-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT-3.5 Chatbot

This repository contains a simple chatbot powered by the ChatGPT-3.5 API. The chatbot utilizes state-of-the-art language modeling capabilities to provide interactive and dynamic conversations.

Features

  • Natural Language Processing: The chatbot uses advanced NLP techniques to understand and generate human-like responses.
  • Conversational AI: It engages in interactive conversations, allowing users to ask questions, seek information, or simply have a chat.
  • Powered by ChatGPT-3.5: The chatbot leverages the powerful capabilities of the ChatGPT-3.5 API, developed by OpenAI.
  • Simple and Easy to Use: The chatbot is designed to be user-friendly, making it accessible to both developers and non-technical users.

Requirements

To run the chatbot locally, you need to have the following requirements installed:

  • Python 3.7 or higher
  • OpenAI Python library

You can install the required Python library using the following command:

pip install openai

Usage

To start using the chatbot, follow these steps:

  1. Clone this repository to your local machine.
  2. Install the required dependencies as mentioned in the "Requirements" section.
  3. Obtain an API key from OpenAI. You can find more information on how to get an API key on the OpenAI website.
  4. Set your API key as an environment variable or update the code with your API key.
OPENAI_API_KEY=<your-api-key>
  1. Replace your-api-key with your actual API key obtained from OpenAI.
  2. Run the chatbot script by executing the following command:
python chatbot.py
  1. Once the chatbot is running, you can start interacting with it by sending messages or questions. The chatbot will respond with generated replies based on the input.

About

A simple chatbot powered by chatGPT-3.5 API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages