Using Generative AI for Travel Inspiration and Discovery- Google Developers Blog
May 22, 2023Yiling Liu

Summary
This post introduces an open-source Generative AI template for the travel industry, demonstrating the combination of the PaLM API with Google Maps Places API for personalized travel itinerary planning. It details the implementation using few-shot prompting, a parser for extracting locations, and conversational memory management via the 'messages' field in the PaLM API. It also highlights the potential for third-party integration with booking APIs and the use of embedding services for partner data. The post emphasizes the responsibility of building AI experiences and the potential for generative AI in various industries beyond travel.
More from the Predictive APIs and Machine Learning Integration trail
- Expanding Choice in Gemini Enterprise Agent Platform: Introducing Grounding with Parallel Web Search- Google Developers Blog
- Evolving Spec-Driven Development: Conductor Now Supports Antigravity- Google Developers Blog
- Building scalable AI agents with modular prompt transpilation- Google Developers Blog
- LiteRT.js, Google's high performance Web AI Inference- Google Developers Blog
- Gemma 4 12B: The Developer Guide- Google Developers Blog