makeGPT

command module
v0.0.0-...-bbae60f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 1 Imported by: 0

README

makeGPT

⚠️ pre-alpha: This code is in active development and not ready for use. Watch for our first release.

makeGPT is a command-line tool for creating, managing, and publishing custom GPTs from OpenAI.

Key Features

  • Manage Custom GPTs as Git Repositories: Version control and manage your GPTs like a developer.
  • CI/CD Integration: Deploy from automated pipelines: Use the publish command in CI to deploy new versions.
  • No Web Interface Dependency: Say goodbye to manually copy-and-pasting updates from your text editor.

Getting Started

Prerequisites
  • An active OpenAI account with access to the premium version of ChatGPT.
    • Custom GPTs are currently a premium feature
Obtain a Bearer Token

Step 1: Obtain Bearer Token

You'll need a Bearer token from OpenAI for authentication.

To get the Bearer token:

  1. Use Chrome's DevTools and navigate to the Network tab.
  2. Ensure the Network tab is recording.
  3. Enter some message into ChatGPT to record the post.
  4. Locate the POST request to conversation.
  5. Right-click on conversation > Copy as cURL.
  6. Extract the Authorization: Bearer {token} header value.

Place {token} in a .env file or set an environment variable as OPENAI_BEARER_TOKEN

Get Bearer Token

Initialize New GPT Project

Step 2: Initialize New GPT Project

Use makegpt init [path] to create a new GPT project either in the current directory or at a specified path.

Example output:

my-gpt
├── actions
│   └── weather.json
├── avatar.png
├── gpt.yaml
└── knowledge
    └── makeGPT.md

2 directories, 4 files

Publish GPT

Step 3: Publish GPT

Deploy your GPT to OpenAI using makegpt publish [type], where [type] can be public or private.

Contributing

We welcome contributions! Please read our Contributing Guide (coming soon) for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License.

We are in no way affiliated with OpenAI.

Documentation

Overview

Copyright © 2023 Kyle Tryon (a.k.a TechSquidTV) makeGPT@TechSquidTV.com

Directories

Path Synopsis
packages
api
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL