Enhancing your gen AI use case with Vertex AI embeddings and task types - Vertex AI Embeddings and Task Types can enhance your gen AI use cases by improving the accuracy and effectiveness of your Retrieval Augmented Generation (RAG) system. Traditional similarity search often falls short due to the "question is not the answer" problem, where questions and answers have distinctly different meanings. Task type embeddings address this challenge by learning the relationship between query and answer embeddings, eliminating the need for customized dual encoder models or advanced RAG systems. Source: cloud.google.com
Tag: Generative AI
Resources about Generative AI collected from the weekly GCP Weekly newsletter — a hand-curated collection of Google Cloud Platform news, technical articles, tutorials, videos and release notes. Each entry below links back to the original GCP Weekly issue and retains its publish date and title, giving you a focused, searchable knowledge base for this topic.
An advanced LlamaIndex RAG implementation on Google Cloud - This post provides a practical guide to rapidly prototyping and evaluating RAG (Retrieval Augmented Generation) solutions using Llama-index, Streamlit, RAGAS, and Google Cloud's Gemini models. It explores how to build reusable components, extend existing frameworks, and test performance reliably. Source: cloud.google.com
When to use supervised fine-tuning for Gemini - This article delves into what SFT (Supervised Fine-Tuning) is, when to embrace SFT, and how it compares to other methods for optimizing your models output. Source: cloud.google.com
Fine-Tuning LLM: Crafting Personalized Ad Copy with Tuned-Gemini Model - This article presents a proof of concept for fine-tuning large language models for specific marketing needs. The authors fine-tuned Google's Gemini-1.0-pro-002 model on a dataset of Facebook ads from Planned Parenthood Action, resulting in a specialized AI capable of generating ad copy that closely mimics the organization's style and messaging. Source: medium.com
Meta's Llama 3.2 is now available on Google Cloud - Meta's new generation of multimodal models, Llama 3.2, is now available on Google Cloud's Vertex AI Model Garden. Llama 3.2 includes new vision and lightweight models designed for edge devices, enabling more private and personalized AI experiences. Source: cloud.google.com
Architecting GenAI applications with Google Cloud - Architecting GenAI applications with Google Cloud involves selecting the appropriate application hosting infrastructure, such as Cloud Run or GKE, and choosing a model hosting option like Vertex AI or GKE. It also includes selecting the right model from Vertex AI's Model Garden, considering factors like task, dataset size, and budget. Additionally, grounding solutions like retrieval-augmented generation (RAG) can be implemented using vector databases to ensure informed and accurate model responses. Source: medium.com
GenOps: the evolution of MLOps for gen AI - Learn how to build and scale Generative AI solutions with GenOps, an evolution of MLOps for Gen AI. GenOps combines DevOps principles with ML workflows to deploy, monitor, and maintain Gen AI models in production, ensuring scalability, reliability, and continuous improvement. Source: cloud.google.com
Acing the Google Cloud ML Engineer Exam: Field-Tested Strategies for Success Source: medium.com
Google Cloud RAG API - 30 lines of code is all you need for RAG. The easiest way to get started with RAG. Source: medium.com
A Patent Search Agent with LangChain and Reasoning Engine - This blog post presents a method for building a patent search agent using LangChain, AlloyDB, and Vertex AI Reasoning Engine. The agent leverages the power of large language models (LLMs) to retrieve and analyze relevant patents based on user search criteria. Source: medium.com
The AI detective: The Needle in a Haystack test and how Gemini 1.5 Pro solves it - The Needle in the Haystack test challenges AI models to retrieve specific information from large amounts of data. Google's Gemini 1.5 Pro excels in this test, demonstrating near-perfect recall of information within vast contexts of text, video, and audio. With its advanced architecture, multimodal capabilities, and innovative training techniques, Gemini 1.5 Pro pushes the boundaries of AI's ability to understand and engage in meaningful conversations. Source: cloud.google.com
Brewing innovation: Google Cloud and Oracle powering AI-driven experiences - Coffee Nirvana, an AI-powered solution built on Oracle Database on Google Cloud, simplifies the search for the perfect coffee by understanding nuanced taste preferences and providing real-time inventory information. It leverages Retrieval Augmented Generation (RAG) to deliver personalized recommendations and integrates with Google Maps for visualizing stockists. Source: cloud.google.com
Getting Ice Cream Recommendations at Scale with Gemini, Embeddings, and Vector Search - This blog post demonstrates how to build a scalable recommendation system for ice cream products using Gemini, a multimodal foundation model from Google. It leverages text embeddings and vector search within BigQuery to find similar products based on their descriptions and review summaries. The resulting recommendations are presented in an interactive Looker Studio dashboard, allowing users to explore and discover new ice cream flavors and combinations. Source: medium.com
BigQuery and Anthropic’s Claude: A powerful combination for data-driven insights - Google Cloud has integrated Anthropic's Claude models with BigQuery, allowing organizations to leverage advanced AI capabilities directly within their data platform. This integration enables tasks like text generation, summarization, translation, and more, to be performed directly on data in BigQuery. Source: cloud.google.com
Gemini’s Power for Tourism Apps: A Function Calling Tutorial - In this tutorial, we will create a Tourism web app where users can query the weather for future days in a specific location. Source: medium.com
Your ultimate guide to the latest in generative AI on Vertex AI - Announcements list of Generative AI topics and Vertex AI. Source: cloud.google.com
Magic partners with Google Cloud to train frontier-scale LLMs - Magic, a generative AI startup, has partnered with Google Cloud to build two new cloud-based supercomputers to support its mission of developing code assistants with a context window reaching 100 million tokens. Source: cloud.google.com
A developer’s guide to getting started with Imagen 3 on Vertex AI - Imagen 3 on Vertex AI is a powerful text-to-image model that generates stunning visuals with exceptional composition, sharpness, color accuracy, and resolution. Imagen 3 is now generally available with an allowlist, and developers can sign up for access through a form. Source: cloud.google.com
GenOps: learning from the world of microservices and traditional DevOps - Generative AI applications have unique operational requirements compared to traditional applications. They require a new operational platform, called GenOps, that can manage their non-deterministic nature, model compliance, prompt version management, model evaluation, model security, and centralized tool management. Google Cloud provides a range of managed services to support GenOps, including Model Garden, Model Armor, prompt management capabilities, model evaluation services, and Vertex AI Search. Source: cloud.google.com
Choosing between self-hosted GKE and managed Vertex AI to host AI models - A comparison of managed Vertex AI solutions with self-hosted options on Google Kubernetes Engine for deploying Large Language Model (LLM) and Gen AI applications on Google Cloud Platform. Source: cloud.google.com
Develop GenAI Apps with Gemini and Streamlit: Google Cloud Challenge Lab Walkthrough - Walkthrough using Google Gemini Pro, Streamlit, Vertex AI Workbench notebooks, Artifact Registry, and deploying to Cloud Run. Source: medium.com
DeepEval and Vertex AI - DeepEval is an open-source evaluation framework for Large Language Models (LLMs) that allows "unit testing" LLM outputs. It can be configured to work with Vertex AI, Google's machine learning platform. Source: medium.com
Deep dive into function calling in Gemini - Function calling in Gemini allows you to augment language models with real-time data from external APIs. You can define custom functions and the model can delegate tasks to these functions. This enables the model to complete its response to the user's prompt with up-to-date information. Source: medium.com
Putting Generative Agents behind authentication and controlling their Access. - This article discusses how to build an authenticated generative AI agent on Google Cloud. The article provides a step-by-step guide on setting up authentication using Google as the identity provider, implementing authorization through OAuth2 scopes, and enabling auditability through conversation history tracking. Source: medium.com
Retrieval Augmented Generation (RAG) with Cloud SQL for MySQL - How to build a Generative AI application with your Cloud SQL for MySQL database. Source: medium.com
Sentiment analysis with few-shot prompting - This article explores sentiment analysis using few-shot prompting with Gemini and LangChain4j. It demonstrates three approaches: using a big string of inputs/outputs, a low-level list of messages, and an AiServices abstraction. Source: medium.com
Enhancing LLM quality and interpretability with the Vertex AI Gen AI Evaluation Service - The Vertex AI Gen AI Evaluation Service helps developers improve the quality and interpretability of large language models (LLMs) by generating diverse responses, automating the selection of the best response, and providing quality metrics and explanations. This workflow can be applied to any modality or use case, including text, images, and audio, and can be parallelized to minimize latency. Source: cloud.google.com
Designing Generative AI Solutions: Key Lessons Learned - Generative AI is transforming how we interact with technology. Google Cloud's Applied AI Engineering team shares valuable lessons learned from designing and developing generative AI solutions. They emphasize three overarching design principles: offering frictionless experiences, building trust through transparency, and prioritizing goals. These principles help create trustworthy, empowering, and beneficial AI solutions for users and businesses. Source: cloud.google.com
Portable Training Data Generation for Supervised Fine-tuning: A Reverse RAG approach! - This blog introduces an automated approach to fine-tune large language models (LLMs) using a "Reverse RAG" method. The key idea is to generate question-and-answer pairs from raw information using an arbiter model, and then use these pairs as training data for fine-tuning. This approach can significantly streamline the fine-tuning process and improve the performance of LLMs on specific tasks. Source: medium.com
Running Google’s Gemma2 LLM locally with LangchainJS & Ollama - This article explores running Google’s powerful Gemma2 LLM locally using JavaScript, LangchainJS & Ollama. Source: medium.com
Showing 241–270 of 399 resources