Skip to content

tgscan-dev/g4f-api

Repository files navigation

G4F-API

Exporting OpenAI’s API for gpt4free

Usage

  • git clone https://github.com/tgscan-dev/g4f-api
  • cd g4f-api
  • poetry install
  • poetry run python3 main.py
  • set openai.api_base to http://localhost:7001 in your code, e.g.:
openai.api_base = "http://localhost:7001"

Contributions

Contributions are welcome!

About

Exporting OpenAI’s API for gpt4free

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published