← All projects
2026

OpenAI Chatbot

A command-line chatbot on the OpenAI API, my first step into AI integration.

What it is

A command-line chatbot on the OpenAI API, and my first practical exercise in Python and AI integration. It reads a message, sends it to the model, prints the reply and loops until you type exit.

What it does

  • Python 3 with a virtual environment, openai and python-dotenv.
  • The API key lives in a .env file that is never committed.
  • The README walks through setup step by step.

Status

Finished learning exercise.

Stack

  • Python
  • OpenAI API