CJCrafter/ChatGPT-Java-API

Add Model Enum

Closed this issue · 0 comments

Add model enum for different endpoints

For example, Model.GPT_4 or Model.GPT_3_5_TURBO so we can easily see models without spelling mistakes.

Also gives the opportunity to deprecate models as OpenAI deprecates them, so the end-user can receive warnings in editor.