Skip to content

Commit 8c23b67

Browse files
committed
Add prototyping only recommendation in README
1 parent edf80d9 commit 8c23b67

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33

44
# Google AI SDK for Swift
55

6-
> [!IMPORTANT]
7-
> 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.
6+
> [!CAUTION]
7+
> The Google AI Swift SDK is recommended for prototyping only. If you plan to enable billing, we
8+
> strongly recommend that you use a backend SDK to access the Google AI Gemini API. You risk
9+
> potentially exposing your API key to malicious actors if you embed your API key directly in your
10+
> Swift app or fetch it remotely at runtime.
811
912
The Google AI SDK for Swift enables developers to use Google's state-of-the-art generative AI models
1013
(like Gemini) to build AI-powered features and applications. This SDK supports use cases like:

0 commit comments

Comments
 (0)