Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove io sample #2490

Merged
merged 3 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions ai_recipe_generation/.gitignore

This file was deleted.

45 changes: 0 additions & 45 deletions ai_recipe_generation/.metadata

This file was deleted.

21 changes: 10 additions & 11 deletions ai_recipe_generation/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
This is a demo app created for the Google I/O talk "Gemini API and Flutter: Practical, AI-driven apps with Google AI tools"
# Sample retired

Check out the [the prompt we used on Google AI Studio](https://aistudio.google.com/app/prompts/1RsTAt6_N8BPhXbrrd8gSJcdeuYV834kf).
The `ai_recipe_generation` sample has been retired.

## Running the app
The sample was written for an event (Google IO 2024). Per our policies,
we don't maintain samples that are tied to events.

Before running the app:
* Get an API key from [ai.google.dev](ai.google.dev).
* Create a Firebase project, and install the Flutter Firebase CLI, and configure the platforms that you want to run this app on. You can find instructions by following [steps 2-4 of the Get to know Firebase for Flutter](https://firebase.google.com/codelabs/firebase-get-to-know-flutter?hl=en#2) codelab.
This sample has been copied to [another repository](https://github.com/ericwindmill/gemini_recipe_generation). It will not be updated to reflect changes to Gemini.

Then, pass the API key in with dart define when running the app:

```bash
flutter run --dart-define=API_KEY=your_api_key
```
## Other Gemini resources

The following resources can assist you in integrating Gemini with Flutter:

* [gemini_tasks sample](https://github.com/flutter/samples/tree/main/gemini_tasks) is a Gemini sample in this repository.
* [google_generative_ai package](https://pub.dev/packages/google_generative_ai) is the package that Flutter apps use to integrate with gemini, and it has additional samples.
* The [google-gemini github](https://github.com/google-gemini) has additional Flutter samples.
1 change: 0 additions & 1 deletion ai_recipe_generation/analysis_options.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions ai_recipe_generation/android/.gitignore

This file was deleted.

67 changes: 0 additions & 67 deletions ai_recipe_generation/android/app/build.gradle

This file was deleted.

29 changes: 0 additions & 29 deletions ai_recipe_generation/android/app/google-services.json

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions ai_recipe_generation/android/app/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

18 changes: 0 additions & 18 deletions ai_recipe_generation/android/app/src/main/res/values/styles.xml

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions ai_recipe_generation/android/build.gradle

This file was deleted.

3 changes: 0 additions & 3 deletions ai_recipe_generation/android/gradle.properties

This file was deleted.

This file was deleted.

Loading