---
title: "OpenAI Chat Master"
url: "https://ridwaanhall.com/projects/openai-chat-master"
markdown: "https://ridwaanhall.com/projects/openai-chat-master.md"
summary: "A Python script for chatting with OpenAI's GPT-4 model, written on Replit."
---

# OpenAI Chat Master

> A Python script for chatting with OpenAI's GPT-4 model, written on Replit.

- Category: AI
- Status: Completed
- Started: October 14, 2023
- Built with: OpenAI API, Python, Replit
- Source: https://github.com/ridwaanhall/OpenAI-Python-GPT-4

## About

### The problem

When the GPT models arrived I wanted to understand what it takes to build on them, beyond using ChatGPT itself.

### The approach

This is a small Python project that calls the OpenAI chat API through the official openai library, written and run on Replit.

- A chat loop against the GPT-4 chat model.
- Configuration kept out of the code.
- A single dependency, the openai library.

### The result

It was my practical introduction to building on large language models and the basis for later AI integrations.

## Features

- **GPT-4 Chat**: Conversations with the GPT-4 chat model from Python.
- **Minimal Setup**: One dependency, the official openai library.

## Tags

OpenAI, GPT-3.5 Turbo, Chatbot, NLP, Flask, Python, Conversational AI, API, AI

## Elsewhere

- This page for people: https://ridwaanhall.com/projects/openai-chat-master
- Index of every page as Markdown: [llms.txt](https://ridwaanhall.com/llms.txt)
