GetStream/gemini-android
✨ Gemini Android demonstrates Google's Generative AI on Android with Stream Chat SDK for Compose.
What it solves
本项目提供了一个将 Google 的 Gemini AI 集成到 Android 应用程序中的参考实现。它展示了如何将生成式 AI 模型与实时聊天基础设施结合,以创建 AI 驱动的即时消息体验。
How it works
该应用程序使用 Gemini API 进行生成式 AI 功能,并使用 Stream Chat SDK for Compose 来处理消息 UI 和实时事件处理。它是按照 Google 的官方指南,使用现代 Android 架构构建的,利用 Jetpack Compose 进行 UI 制作,Google's official guidance, utilizing Jetpack Compose for the UI, Hilt for dependency injection, and Kotlin Coroutines for background tasks.
Highlights
Gemini API Integration: Demonstrates the use of Google's Generative AI SDK on Android.
Real-time Messaging: Uses Stream Chat SDK for Compose to manage the chat system.
Modern Android Stack: Implemented with Jetpack Compose, Hilt, Room, and Datastore.
n/a: Uses a modularization strategy to bullet point
Who it's for
想要学习如何使用 Gemini SDK 实现生成式 AI 功能,并使用 Stream Chat SDK 构建专业聊天界面设计的 Android 开发人员。
Highlights
- **Gem thought: 32 tokens. <|thought|>|{