DirectorySecurity advisories
Sign in

Directory

gptscript logo

gptscript

Last changed
Get started with latest for free
docker pull cgr.dev/chainguard/gptscript

Need access to a specific version? Contact us.

Sign in for updates

Get notified of upcoming product changes, critical vulnerability notifications and patches and more.

Sign in
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Minimal gptscript container image.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/gptscript:latest

Usage

Before using our gptscript image, you'll need an OpenAI API key.

After retrieving your key, run the container with the following command:

docker run -e "OPENAI_API_KEY=<YOUR OPENAI API KEY>" cgr.dev/chainguard/gptscript:latest

Azure OpenAI may also be used:

docker run \
  -e "OPENAI_API_KEY=<YOUR API KEY>" \
  -e "OPENAI_BASE_URL=<YOUR ENDPOINT>" \
  -e "OPENAI_API_TYPE=AZURE" \
  -e "OPENAI_AZURE_DEPLOYMENT=<YOUR DEPLOYMENT NAME>" \
  cgr.dev/chainguard/gptscript:latest

To run a basic hello world test, run the following:

docker run -e "OPENAI_API_KEY=<YOUR OPENAI API KEY>" cgr.dev/chainguard/gptscript:latest  https://get.gptscript.ai/echo.gpt --input 'Hello, World!'
Licenses

Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • Apache-2.0

  • GPL-2.0-only

  • GPL-2.0-or-later

  • LGPL-2.1-or-later

  • MIT

  • MPL-2.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
AI
languages

Products

Chainguard Images

© 2024 Chainguard, Inc.