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
.envfile. -
Add your Pinecone API key and Region to the newly created
.envfile.
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.
Metadata
Release files for gptop 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gptop-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Release files / gptop-0.0.7-py3-none-any.whl
| Download URL | gptop-0.0.7-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
964f36cd9963031fde004a60f8ce694433cf7c33ac6d935c096a484a18746bae
|
|
BLAKE2b-256 checksum How to use checksums |
fa2412a05846987bd3da2944850f9fda0456c65976a5755293b50536164264c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for gptop 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.