Skip to content

chonguschonguschongus/kobegpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

KobeGPT

"The most important thing is to try and inspire people so that they can be great in whatever they want to do."

- Kobe Bryant

kobe wallpaper

Table of Contents

Description

This project is a simple AI-powered chatbot that I used to learn Python as a beginner. Instead of wasting time searching for the best introduction course or paying money for it even, I leveraged the power of OpenAI API and some prompt engineering techniques to get AI to coach me in Python in an engaging manner. As a fan of the NBA and Kobe Bryant, it made learning the language even more acccessible to me.

Features

  • An AI chatbot with Mamaba Mentality. 🐍
  • Step by step lessons to get you going in Python programming.
  • Basketball-related training exercies to engage learners.
  • Always encouraging, always responsive.
  • KobeGPT remembers your conversations!

Setup

Requirements

  • Python 3.8+
  • Pip package installer for Python
  • Internet connection for downloading dependencies

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/chonguschonguschongus/kobegpt.git
  2. Navigate to project directory

    cd kobegpt
  3. Install the required dependencies:

    pip install streamlit
    pip install --upgrade openai
  4. Obtain your OpenAI API key

  5. Insert your OpenAI API key

    client = OpenAI(api_key="YOUR_API_KEY_HERE")

Usage

Starting KobeGPT

Open terminal and run streamlit run kobegpt.py

Interacting with KobeGPT

The Black Mamba wastes no time getting into the grind, start chatting with him and he will jump right into the first lessons!

kobegpt example

KobeGPT retains memory of anything you chat with him about, feel free to clarify doubts and ask questions regarding Python. Dont stray too far off topic though! He may not answer you if it is irrelevant. Mamaba Mentality says never to get distracted!

Acknowledgements

  • OpenAI for providing the GPT model.
  • Python Software Foundation for the Python programming language.

About

Kobe Bryant teaches you Python!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages