From 8c23b67d5b29c4860d8b51c6a9cee5dc1750dd0f Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Wed, 24 Apr 2024 11:31:55 -0400 Subject: [PATCH 1/2] Add prototyping only recommendation in README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b90fa2d..5d702fe 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 Swift SDK 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: From 1f4f10a8fa5542307b1c65dd1097c26a8cebc14c Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Wed, 24 Apr 2024 12:15:28 -0400 Subject: [PATCH 2/2] Add bold font and update "Swift SDK" to "SDK for Swift" --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5d702fe..aa9e0ec 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ # Google AI SDK for Swift > [!CAUTION] -> The Google AI Swift SDK 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 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: