Handles communication with GPTs
Project description
GPT Operator
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.
-
Clone this repository.
-
Navigate to the project directory:
$ cd gpt-operator
-
Create a new virtual environment:
$ virtualenv virt $ source virt/bin/activate
-
Install the requirements:
$ pip install -r requirements.txt
-
Make a copy of the example environment variables file:
$ cp .env.example .env
-
Add your OpenAI API key to the newly created
.env
file. -
Add your Pinecone API key and Region to the newly created
.env
file.
CLI
-
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
Built Distribution
File details
Details for the file gptop-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: gptop-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 964f36cd9963031fde004a60f8ce694433cf7c33ac6d935c096a484a18746bae |
|
MD5 | 6928fb2a20101ab3757fb724bba059ad |
|
BLAKE2b-256 | fa2412a05846987bd3da2944850f9fda0456c65976a5755293b50536164264c9 |