Skip to content

Surabhi6300/Python_Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Chatbot in Python 🤖

A simple command-line chatbot built with Python and the OpenAI API.

Features

  • Chat with GPT models (supports gpt-3.5, gpt-4o-mini, etc.)
  • Interactive command-line interface
  • Easy to extend with other models

Usage

Clone the repo:

git clone https://github.com/Surabhi6300/Python_Chatbot.git
cd Python_Chatbot

Create a virtual environment and install dependencies:

Run the chatbot:

python main.py

Type your message and the bot will reply. To exit, type exit, quit, or bye.

📦 Requirements Python 3.9+

openai package

Install with:

pip install openai

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages