aallam / openai-kotlin

OpenAI API client for Kotlin with multiplatform and coroutines capabilities.
MIT License
1.47k stars 172 forks source link

[Feature Request: Remove unnecessary @BetaOpenAI annotations] #182

Closed AndraxDev closed 1 year ago

AndraxDev commented 1 year ago

Proposal to remove unnecessary @BetaOpenAI annotations from library parts that are not in beta. (Ex. GPT3, GPT3.5, Embeddings, moderations are no longer beta. Resource: https://platform.openai.com/docs/models/overview ).

Problem: It's really annoying to add anotation before almost each method in my code.

aallam commented 1 year ago

Hey, could you please indicate which parts of the API marked with @BetaOpenAI are no longer in beta? From my check, only Chat, Images, and Audio are marked as beta, and I believe they still are. Thanks!

AndraxDev commented 1 year ago

Completions API is no longer marked as beta on the official documentation. (https://platform.openai.com/docs/api-reference/authentication)

AndraxDev commented 1 year ago

UPD: I might be using old version :)

aallam commented 1 year ago

UPD: I might be using old version :)

I think so yes :D

aallam commented 1 year ago

btw, it is possible to opt-in for an annotation at the module level, that might help avoid doing it everywhere!