lawalbolaji/gpt-playground

Abdulrasheed Lawal

Frontend Engineer
Next.js
React
SEO

GPT Playground

Gpt playground is an interractive playground for developers to test the full capabilities of openai's gpt-based models. It is accessible on desktop and mobile devices with rich support for both classes of devices, enabling developers access to the capabilities of Open API's GPT-based models even while on the go.

You can use the Playground to test your use cases and when you are ready, click on view code to get the generated code for your application based on the current configuration on the playground. You can use this code to add openai's GPT-3 model capabilities to your applications

Get StartedExamples



Features

  • Create text Completions using any of openai's GPT-based models, "text-davinci-003", "text-curie-001", "text-babbage-001", "text-ada-001" etc.
  • Generate code for your applications in NodeJs, Python, Curl and JSON
  • Save your prompts as presets and come back to them

Running the application

You can start using gpt-playground here right away but if you want to self host or run locally, here are a couple of ways to do that:

Docker (preferred): You need to have Docker installed!

  1. Clone the repo:
  1. Create Auth0 credentials here and add those credentials to your .env.local file
  2. Get OpenAI API Key here and add those credentials to your .env.local file
  3. Boot up your docker container:
  1. In the project's root directory, run:
  1. Boot up:

See instructions here on how to setup different poroduction envvironments for the project.

Contributing

  • Missing something or found a bug? Report here.
  • Pull requests are welcome but for major issues, please open an issue here for discussion first.

License

P2P-Wazobia is available under Apache License 2.0.




Partner With Abdulrasheed
View Services

More Projects by Abdulrasheed