-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Server Prompt Templates #2732
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
base: master
Are you sure you want to change the base?
Server Prompt Templates #2732
Conversation
.../app/src/main/java/com/google/firebase/quickstart/ai/feature/media/imagen/ImagenViewModel.kt
Outdated
Show resolved
Hide resolved
.../app/src/main/java/com/google/firebase/quickstart/ai/feature/media/imagen/ImagenViewModel.kt
Outdated
Show resolved
Hide resolved
.../app/src/main/java/com/google/firebase/quickstart/ai/feature/media/imagen/ImagenViewModel.kt
Outdated
Show resolved
Hide resolved
.../app/src/main/java/com/google/firebase/quickstart/ai/feature/media/imagen/ImagenViewModel.kt
Outdated
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/feature/text/TextGenScreen.kt
Outdated
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/feature/text/TextGenScreen.kt
Outdated
Show resolved
Hide resolved
...base-ai/app/src/main/java/com/google/firebase/quickstart/ai/feature/text/TextGenViewModel.kt
Show resolved
Hide resolved
...base-ai/app/src/main/java/com/google/firebase/quickstart/ai/feature/text/TextGenViewModel.kt
Show resolved
Hide resolved
...base-ai/app/src/main/java/com/google/firebase/quickstart/ai/feature/text/TextGenViewModel.kt
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
rlazo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Before merging, ping @thatfiredev so he can take a look too
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
| description = "Generate an image using a server prompt template.", | ||
| navRoute = "imagen", | ||
| categories = listOf(Category.IMAGE), | ||
| initialPrompt = content { text("List of things that should be in the image") }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use a more actionable prompt here? Or no initial prompt at all? (assuming the prompt comes from the template)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The prompt does come from the template unfortunately. Let me know what you think is best here.
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/FirebaseAISamples.kt
Outdated
Show resolved
Hide resolved
…i/FirebaseAISamples.kt Co-authored-by: Rosário P. Fernandes <rosariopf@google.com>
…i/FirebaseAISamples.kt Co-authored-by: Rosário P. Fernandes <rosariopf@google.com>
…i/FirebaseAISamples.kt Co-authored-by: Rosário P. Fernandes <rosariopf@google.com>
…i/FirebaseAISamples.kt Co-authored-by: Rosário P. Fernandes <rosariopf@google.com>
…i/FirebaseAISamples.kt Co-authored-by: Rosário P. Fernandes <rosariopf@google.com>
…i/FirebaseAISamples.kt Co-authored-by: Rosário P. Fernandes <rosariopf@google.com>
…i/FirebaseAISamples.kt Co-authored-by: Rosário P. Fernandes <rosariopf@google.com>

Sample