proxy

Proxy - Needed so that you can send requests if certain websites don't work in your country, for example, in Russia. You only need to set up the proxy once for it to work for all subsequent requests.

One IP address is sufficient to handle multiple requests at once (no limit has been found)

How to set proxy
from freeGPTFix import Client
from freeGPTFix.lib.proxy import proxy

proxy.set_proxies(http_proxy="http://{proxy}:{port}",
				https_proxy="http://{proxy}:{port}")

resp = Client.create_completion("gpt3", "Hello")
print(resp)

Last updated