aallam / openai-kotlin

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

Refactor response format structure to enforce type safety and add response format in Run also. #395

Open ahmedmirza994 opened 2 weeks ago

ahmedmirza994 commented 2 weeks ago
Q A
Bug fix? yes/no
New feature? yes
BC breaks? yes
Related Issue Fix #...

Describe your change

Refactor the response format structure to enforce type safety and add the response format in Run.

What problem is this fixing?