-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,46 @@ | ||
# Gemini Demo App | ||
# Gemini Android | ||
|
||
**Goals** | ||
| Chat | Take picture | Pick images | | ||
|------------------------|----------------------------------------|--------------------------------------| | ||
|  |  |  | | ||
|
||
- [ ] Improving reusability and scalability by using modularization | ||
- [ ] Supporting the wearable OS | ||
- [ ] Supporting talk to chat | ||
- [ ] Adapting to diverse display sizes, including tablets and foldable devices. | ||
| Regenerate | Select response | | ||
|------------------------------------|----------------------------------------------| | ||
|  |  | | ||
|
||
## How to run? | ||
|
||
1. [Create a Gemini API key](https://ai.google.dev/gemini-api/docs/api-key). | ||
2. Create a `secrets.properties` file in a root directory. | ||
3. Setup the API key in the `secrets.properties`. | ||
```properties | ||
GEMINI_API_KEY=YOUR_API_KEY | ||
``` | ||
4. Build and run the App. | ||
|
||
## Features | ||
|
||
- Chat with **Gemini AI** using text messages and images. | ||
- Save chat history in the local database using Android Room. | ||
- (Upcoming) Support for Wear OS integration. | ||
|
||
## Tech stacks | ||
|
||
- 100% Jetpack Compose based + Coroutines + Flow for asynchronous. | ||
- Gemini SDK | ||
- Jetpack | ||
- Compose | ||
- ViewModel | ||
- Hilt | ||
- Room | ||
- Glide | ||
- Robolectric | ||
|
||
## Architecture | ||
|
||
Gemini Android follows the | ||
[Google's official architecture guidance](https://developer.android.com/topic/architecture) | ||
|
||
## ERD | ||
|
||
 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.