Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

Screenshot 2024-10-26 at 18 44 09

## 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)