Skip to main content

Handles communication with GPTs

Project description

GPTOP Logo

GPT Operator

PyPI version

Enhance your GPT applications with external operations

GPT Operator (gptop) serves as a call operator for your application. Simply provide gptop with a prompt, and it will determine the required external operation to fulfill the prompt and, if desired, execute that operation on your behalf.

Features

  • Execute operations based on a given prompt
  • Create, update, and remove operations in vector database

Requirements

  • Pinecone Vector Database Index
  • OpenAI access to gpt-4

Installation

Install the released version via pip:

$ pip install gptop

[WARNING] The package is currently in Alpha stage, so please exercise caution before using it in production.

Repository Setup

If you don’t have Python installed, download it here.

  1. Clone this repository.

  2. Navigate to the project directory:

    $ cd gpt-operator
    
  3. Create a new virtual environment:

    $ virtualenv virt
    $ source virt/bin/activate
    
  4. Install the requirements:

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

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

  7. Add your Pinecone API key and Region to the newly created .env file.

CLI

  1. Run the application:

    $ ./run.sh
    

To set up an operation on your machine, please see the example.

Contributing

We are actively looking for new contributors to help improve and expand the GPT Operator repository. All contributions are welcome! Please feel free to reach out for more information on how you can contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gptop-0.0.7-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page