Skip to content

Various examples of ChatGPT models inspired by the official OpenAI Cookbook repository.

License

Notifications You must be signed in to change notification settings

kitimi88/ai-sigbin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-SIGBIN

About

This project demonstrates how pre-programmed chatbot behaviors can be showcased by utilizing the GPT3.5 Turbo model and Chat Completions, as described in the official OpenAI Cookbook.

Furthermore, this project is designed to run seamlessly using Python or Anaconda, with consideration given to VS Code's Python Interactive window.

While this project is coded in Python, the underlying principles can be applied to other programming languages as well.


What's inside

  • Helpful assistant - A friendly and helpful assistant.

  • Sarcastic Bot - A sarcastic assistant that reluctantly answers questions with sarcastic responses.

  • Noypi - A Friendly assistant from the Philippines that answers question in Filipino.

  • Translator - A friendly and helpful translator.

These four packages have distinct functions and behaviors that can be executed using basic Python/CLI or Anaconda with Jupyter Notebook. See examples_py and examples_ipynb.


Usage

Requirements

The following must be installed in your machine:

Clone

You may clone the entire repository by running the following command:

git clone https://github.com/kitimi88/ai-sigbin.git

Basic Installation

  1. Setup virtual environment and activate virtual environment.
py -m venv .venv
.venv\scripts\activate.ps1 
  1. Upgrade PIP
py -m pip install --upgrade pip
  1. Install dependencies
py -m pip install --upgrade -r requirements.txt

Jupyter Notebook / Anaconda

Anaconda must be installed in your local machine. See documentation for initial setup. Once installed you may also follow some tips bellow:

  • Confirm installation, run anaconda cmd prompt with the following command:
conda info
  • Create environment with Python version. Replace ENV with your desired name.
conda create -n ENVNAME python=3.10
  • Update all packages
conda update --all

Install or upgrade OpenAI libraries

pip install openai
pip install --upgrade openai

Contribution

Pending contribution guide.


License

This project is licensed under the MIT License.

About

Various examples of ChatGPT models inspired by the official OpenAI Cookbook repository.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published