Skip to content

Here is a custom GPT bot that allow you to add your own knowledge to your GPT bot and talk to it. The app is based on the OpenAI API quickstart tutorial

License

Notifications You must be signed in to change notification settings

a-f-raa2z/custom-gpt-bot-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For First Time Setup | OpenAI API Quickstart - Python example app

This is an example pet name generator app used in the OpenAI API quickstart tutorial. It uses the Flask web framework. Check out the tutorial or follow the instructions below to get set up.

Setup

  1. If you don’t have Python installed, install it from here

  2. Clone this repository

  3. Navigate into the project directory

    $ cd gpt-bot
  4. Create a new virtual environment

    $ python -m venv venv
    $ . venv/bin/activate
  5. Install the requirements

    $ pip install -r requirements.txt
  6. Make a copy of the example environment variables file

    $ cp .env.example .env
  7. Add your API key to the newly created .env file

  8. Run the app

    $ flask run

You should now be able to access the app at http:https://localhost:5000! For the full context behind this example app, check out the tutorial.

After First Time, please follow the following steps:

  1. Navigate into the project directory

    $ cd /your/path/gpt-bot
    
  2. Start Virtual Environment

    $ . venv/bin/activate
    
  3. Run Flask

    $ flask run
    
  4. Open in browser You should now be able to access the app at http:https://localhost:5000

About

Here is a custom GPT bot that allow you to add your own knowledge to your GPT bot and talk to it. The app is based on the OpenAI API quickstart tutorial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • CSS 44.5%
  • Python 28.2%
  • HTML 27.3%