/gpt4free-endpoint

A Flask API endpoint for gpt4free

Primary LanguagePython

gpt4free-endpoint

This is a simple endpoint for the gpt4free project.

It is a simple Flask app that takes a prompt and returns a response from the GPT-3 API.

Thanks to poe-openai-proxy for some of the code.

Setup

  1. Clone this repo
  2. Install dependencies with pip install -r requirements.txt
  3. Run the app with python app.py

Usage

Refer to OpenAI's documentation for more information on the parameters.