Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.04 KB

File metadata and controls

45 lines (29 loc) · 1.04 KB

ChatGPT-API-Basics

Table of Contents

About

This is a basic use case for ChatGPT-API with jupter note book. Happy hacking 💻

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them.

Ensure you have python3 installed

python3 --version

Installing

A step by step series of examples that tell you how to get a development env running.

Say what the step will be

For unix

python3 -m venv venv
source venv\Scripts\activate.bat

For windows

python3 -m venv venv
source venv/bin/active
Setting up API key [With enviroment variable]

You duplicate the .env.example file to .env (renaming the duplicate file to .env) and put your openai key as the CHATGPT_API_KEY value.