A demo of Open AI (https://beta.openai.com)'s API
https://ask.mills.io/
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.
|
7 months ago | |
---|---|---|
.dockerfiles | 7 months ago | |
.gitignore | 7 months ago | |
Dockerfile | 7 months ago | |
LICENSE | 7 months ago | |
README.md | 7 months ago | |
go.mod | 7 months ago | |
go.sum | 7 months ago | |
main.go | 7 months ago | |
screenshot.png | 7 months ago |
README.md
GPT3 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.