mukulpatnaik / webgpt-cli

a cli that recreates webgpt through multi shot prompting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webgpt-cli

A cli that recreates webgpt through multi shot prompting. Uses beautifulsoup, serpapi, and gpt-3.

Installation

git clone https://github.com/mukulpatnaik/webgpt-cli.git
cd webgpt-cli
pip install -r requirements.txt

Usage

python webgpt.py "your query"

To use as a single command add this alias in your .bashrc or .zshrc

alias webgpt="python /path/to/webgpt.py"

and then call it like this

webgpt "your query"

To call the plain gpt-3 api from the command line add this alias in your .bashrc or .zshrc

alias gpt="python /path/to/gpt3.py"

and then call it like this

gpt "your query"

Example Screenshot

Example Screenshot

About

a cli that recreates webgpt through multi shot prompting

License:MIT License


Languages

Language:Python 100.0%