Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joreilly/vertexai-kmp-sample
Compose Multiplatform sample that uses the Firebase Vertex AI SDKs
https://github.com/joreilly/vertexai-kmp-sample
android compose compose-ios compose-multiplatform firebase gemini ios kmp kotlin kotlin-multiplatform swift vertex-ai
Last synced: 3 months ago
JSON representation
Compose Multiplatform sample that uses the Firebase Vertex AI SDKs
- Host: GitHub
- URL: https://github.com/joreilly/vertexai-kmp-sample
- Owner: joreilly
- License: apache-2.0
- Created: 2024-10-23T17:06:12.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-27T13:48:07.000Z (3 months ago)
- Last Synced: 2024-10-27T20:06:44.372Z (3 months ago)
- Topics: android, compose, compose-ios, compose-multiplatform, firebase, gemini, ios, kmp, kotlin, kotlin-multiplatform, swift, vertex-ai
- Language: Kotlin
- Homepage:
- Size: 292 KB
- Stars: 19
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vertex AI Compose/Kotlin Multiplatform Sample
Compose/Kotlin Multiplatform sample that makes use of the [Firebase Vertex AI SDK](https://firebase.google.com/products/vertex-ai-in-firebase).
The iOS and Android clients share the same Compose UI code but delegate to platform specific Swift and Kotlin code
to invoke the respective SDKs. Currently generates either markdown text or configured json.The project uses the following multiplatform dependencies
- [Compose Multiplatform](https://jb.gg/compose)
- [Jetpack ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel)
- [Koin](https://github.com/InsertKoinIO/koin)
- [Markdown Renderer](https://github.com/mikepenz/multiplatform-markdown-renderer)### Related posts
* [Using Vertex AI in a Compose/Kotlin Multiplatform project](https://johnoreilly.dev/posts/vertex-ai-kmp/)
## Screenshots
## Full set of Kotlin Multiplatform/Compose/SwiftUI samples
* PeopleInSpace (https://github.com/joreilly/PeopleInSpace)
* GalwayBus (https://github.com/joreilly/GalwayBus)
* Confetti (https://github.com/joreilly/Confetti)
* BikeShare (https://github.com/joreilly/BikeShare)
* FantasyPremierLeague (https://github.com/joreilly/FantasyPremierLeague)
* ClimateTrace (https://github.com/joreilly/ClimateTraceKMP)
* GeminiKMP (https://github.com/joreilly/GeminiKMP)
* MortyComposeKMM (https://github.com/joreilly/MortyComposeKMM)
* StarWars (https://github.com/joreilly/StarWars)
* WordMasterKMP (https://github.com/joreilly/WordMasterKMP)
* Chip-8 (https://github.com/joreilly/chip-8)
* Vertex-AI-KMP (https://github.com/joreilly/VertexAI-KMP-Sample)