GoogleCloudPlatform / genai-for-marketing

Showcasing Google Cloud's generative AI for marketing scenarios via application frontend, backend, and detailed, step-by-step guidance for setting up and utilizing generative AI tools, including examples of their use in crafting marketing materials like blog posts and social media content, nl2sql analysis, and campaign personalization.
https://cloud.google.com/vertex-ai/
Apache License 2.0
307 stars 112 forks source link

Fix: asyc_predict_text_gemini upgrade and remove unused code. #123

Closed michaelwsherman closed 1 month ago

michaelwsherman commented 1 month ago
michaelwsherman commented 1 month ago

I have tested this in the many places utils_prompt.async_predict_text_gemini is used with gemini 1.5. I have also searched for uses of async_predict_text_llm.

michaelwsherman commented 1 month ago

https://b.corp.google.com/issues/364949965

awaemmanuel commented 1 month ago

LGTM. Merging