google-gemini / generative-ai-android

The official Android library for the Google Gemini API
https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=android
Apache License 2.0
714 stars 154 forks source link

Remove Android Dependencies #114

Open jimgoog opened 6 months ago

jimgoog commented 6 months ago

This library seems to have some relatively unnecessary android dependencies, which prevent the library from being used in a server-side JVM environment. This issue can request/track the removal of Android dependencies from the library, making this library into something like generative-ai-jvm or generative-ai-kotlin.

bpavuk commented 3 months ago

what about migrating the SDK to Kotlin Multiplatform so we can maintain both Android and JVM versions and keep Android-specific logging and tests?

bpavuk commented 3 months ago

is com.google.ai.client.generativeai.ExampleInstrumentedTest class necessary?