Skip to content

Simple python chatbot integrated with openai and gradio for displaying

Notifications You must be signed in to change notification settings

chitsuenchan/ai-chatbot

Repository files navigation

OpenAI Chatbot with WebUI

Table of Contents

Introduction

A web app that integrates OpenAI's gpt-4o-mini large language model.

Motivation

This is a personal learning project aimed at understanding how to use OpenAI's API, customize it and interact with it on the browser using a gradio.

Technology Used

Language Python
Frameworks Gradio, OpenAI

Build Status

Project is completed.

Features

  • Chatbot persona - British Pub Goer
  • Chatbot persona - Fabulous Gay Camp Guy
  • ChatBot persona - Rational Robot

British Pub Goer

Fabulous Gay Camp Guy

Rational Robot

Installation

  • Install an IDE of choice, e.g. PyCharm
  • Obtain an API key from OpenAI's website
  • Setup an environment variable that is OPENAI_API_KEY='api-key-here'

Execution

  • Execute the 'webui chatbot.py' file
  • Open the browser to the local link provided

About

Simple python chatbot integrated with openai and gradio for displaying

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages