GPT3 constructor

GPT3(
  1. String apiKey
)

Creates the OpenAI GPT-3 helper object.

You should inject your personal API-key to the program by adding --dart-define=OPENAI_API_KEY=${OPENAI_API_KEY} to your flutter arguments.

Implementation

GPT3(String apiKey) : apiKey = apiKey;