Test the latest AI features in Kotlin
Title: Test the latest AI features in Kotlin
Introduction:
The OpenAI Kotlin library is being updated with new APIs, including support for Assistants and the updated Images API. Developers can start testing these new features in their Android codebase with snapshot package builds.
Using OpenAI Kotlin library snapshots:
- Developers can track progress on the GitHub issue and related PRs for the Kotlin library.
- Pre-release snapshot builds are available for testing the new features.
- Steps to test the snapshot builds:
- Add the snapshot package source to the settings.gradle.kts file.
- Update the package version reference in gradle/libs.versions.toml.
- Start working with the beta API implementations.
Testing DALL·E 3 support:
- DALL·E 3 support has been added to the Image generation API.
- Reference the snapshot builds and add the new model declaration to the constructor.
- Compile errors may occur if not referencing the latest snapshot.
Conclusion:
Developers can now test the latest AI features in Kotlin by using the OpenAI Kotlin library snapshots. DALL·E 3 support in the Image generation API is one of the new features available for testing. Feedback and updates on support for the new features can be found in the OpenAI Kotlin repository.