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
7 months ago
.dockerfiles Initial Commit 7 months ago
.gitignore Initial Commit 7 months ago
Dockerfile Initial Commit 7 months ago
LICENSE Initial Commit 7 months ago
README.md Fix link to screenshot 7 months ago
go.mod Initial Commit 7 months ago
go.sum Initial Commit 7 months ago
main.go Initial Commit 7 months ago
screenshot.png Initial Commit 7 months 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.