StefanBratanov / jvm-openai

A minimalistic OpenAI API client for the JVM, written in Java 🤖
Apache License 2.0
35 stars 8 forks source link

Add CompletionModel class - wider scope #4

Closed maciej-cz closed 3 months ago

maciej-cz commented 3 months ago

First of all, thanks for your effort of creating this project @StefanBratanov . It makes OpenAI usage much more convenient.

Now, to the point, the purpose of this change is to replace completion model parameter (currently String) with a value object with predefined values available.

I created 2 versions of this change (the other one is #5). This one is a bit broader:

Please suggest, which version you prefer (if any).

In case of positive feedback, I can spread this change to other APIs' models.

StefanBratanov commented 3 months ago

As discussed, will close this in favour of #5