fgpt-0.1.5 is not a library.
A free reverse proxy and CLI tool for OpenAI GPT-3.5-turbo
[WIP] It allows you to use the GPT-3.5 API without needing to sign up for an API key or pay for usage.
Features
- REPL mode, you can input questions and get answers interactively
- Reverse proxy mode, you can use the GPT-3.5 API without needing to sign up for an API key or pay for usage
- CLI mode, with shell pipe, file input, code output, etc.
- Support https proxy
Download precompiled binary
-
Linux executable binary
-
Mac M1/M2 executable binary
-
Windows (Coming soon)
-
Or via Docker
-
Or build from source (see below, cargo is required)
How to use
# To get answers from GPT-3.5
# Output plain code -c/--code
# With pipe
|
# With stdin
# With file -f/--file
# REPL mode
>> Write
With http proxy
If you are unable to connect , you can try using a proxy. HTTP and SOCKS5 proxies are supported. For example:
# 1. pass the proxy address by -p/--proxy
# 2. pass the proxy address by environment variable
# 3. use alias to set the proxy address
Dump stats
Use by docker
How to use Reverse Proxy
[WIP] ChatGPT API Free Reverse Proxy, offering free self-hosted API access to ChatGPT.
1. Start the server
Your local server will now be running and accessible at: http://127.0.0.1:4090/v1/chat/completions
2. Example Usage with OpenAI Libraries
=
=
=