Update codelab content with next updates#6
Open
morganchen12 wants to merge 7 commits into
Open
Conversation
* Create BitmapExt to convert bitmap to base64, use Server Prompt Templates to store prompts, model name and configuration * Delete unused remote config parameters, improve Bitmap extension, isolate FirebaseAI creation on HiltModule * Update remote config default values
* Add Hybrid inference to generate ingredients * Add Performance Monitoring custom trace to monitor on performance on device and in cloud * Add Remote Config keys * Work on comments on PR
* update deps to latest firestore * initial implementation for ga features * remove likes and simplify aggregate * address code review * add default rating * Clean up database repository * Aggregating likes count --------- Co-authored-by: Marina Coelho <marinacoelho@google.com>
* Update libraries and AGP * Removed deprecated Imagen models, updated Download Status for on device models * Add Live Assistant Screen and functionality * Clean up code and fix architecture * Add grocery list tab and functionality, and tool calling to Gemini Live * Migrating prompt to Firebase Remote Config * Remove unused libraries, use Dispatchers IO when compressin bitmap * Improve database function, upgrade target sdk
There was a problem hiding this comment.
Code Review
This pull request introduces a Live Cooking Assistant feature using Gemini Live sessions and a new Grocery List management system. Key changes include the integration of LiveAIRemoteDataSource for real-time audio/video interaction, the addition of GroceryListScreen and its associated ViewModel, and a refactor of AIRemoteDataSource to utilize generative templates and hybrid inference. The update also includes a bump to Android SDK 37 and AGP 9.2.1. Review feedback suggests addressing Firestore batch limits when adding ingredients, ensuring thread safety for shared variables in the LiveAssistantViewModel, and externalizing hardcoded user-facing strings to strings.xml for internationalization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The diff is large, so you can review by commit. Some of the large commits are the changes you made for server prompt templates.
The corresponding codelab update is at cl/918095846.