You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
James Mills bdf53af255
Fix link to screenshot
1 month ago
.dockerfiles Initial Commit 1 month ago
.gitignore Initial Commit 1 month ago
Dockerfile Initial Commit 1 month ago
LICENSE Initial Commit 1 month ago
README.md Fix link to screenshot 1 month ago
go.mod Initial Commit 1 month ago
go.sum Initial Commit 1 month ago
main.go Initial Commit 1 month ago
screenshot.png Initial Commit 1 month ago

README.md

GPT3 Demo

Demo

A demo of Open AI's API. This demo implements a basic "Ask my anything" type web application with a simple interface (No javascript required).

Quick Start

$ git clone https://git.mills.io/prologic/gpt.git
$ cd gpt
$ go build .

Using the CLI:

$ echo "What is the capital of Australia?" | ./gpt
The capital of Australia is Canberra.

Server mode:

$ ./gpt -server

Open your web browser to https://localhost:8000/

NB: You will need to setup an API key at https://beta.openai.com and set the environment variable OPENAI_API_KEY.

License

Currently licensed under the terms of the WTFPL license.