From f1d0b5f9e5e16d2a147cf86a5eaafe61fbc12122 Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Wed, 24 Apr 2024 14:08:14 -0400 Subject: [PATCH] Add prototyping only recommendation in README (#145) --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b90fa2d..aa9e0ec 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,11 @@ # Google AI SDK for Swift -> [!IMPORTANT] -> If you are using the PaLM SDK for Swift, please see [Developers who use the PaLM SDK for Swift](#developers-who-use-the-palm-sdk-for-swift) for instructions. +> [!CAUTION] +> **The Google AI SDK for Swift is recommended for prototyping only.** If you plan to enable +> billing, we strongly recommend that you use a backend SDK to access the Google AI Gemini API. You +> risk potentially exposing your API key to malicious actors if you embed your API key directly in +> your Swift app or fetch it remotely at runtime. The Google AI SDK for Swift enables developers to use Google's state-of-the-art generative AI models (like Gemini) to build AI-powered features and applications. This SDK supports use cases like: