|
98 | 98 | [Contributing](https://github.com/google/generative-ai-swift/blob/main/docs/CONTRIBUTING.md)
|
99 | 99 | for more information on contributing to the Google AI SDK for Swift.
|
100 | 100 |
|
101 |
| -## Developers who use the PaLM SDK for Swift (Deprecated) |
102 |
| - |
103 |
| -> [!IMPORTANT] The PaLM API is deprecated for use with Google AI services and |
104 |
| -> tools (but *not* for Vertex AI). Learn more about this deprecation, its |
105 |
| -> timeline, and how to migrate to use Gemini in the |
106 |
| -> [PaLM API deprecation guide](http://ai.google.dev/palm_docs/deprecation). |
107 |
| -
|
108 |
| -If you're using the PaLM SDK for Swift, review the information below to |
109 |
| -continue using the **deprecated** PaLM SDK until you've migrated to the new |
110 |
| -version that allows you to use Gemini. |
111 |
| - |
112 |
| -- To continue using PaLM models, make sure your app depends on version |
113 |
| - [`0.3.0`](https://github.com/google/generative-ai-swift/releases/tag/0.3.0) |
114 |
| - *up to* the next minor version |
115 |
| - ([`0.4.0`](https://github.com/google/generative-ai-swift/releases/tag/0.4.0)) |
116 |
| - of `generative-ai-swift`. |
117 |
| - |
118 |
| -- When you're ready to use Gemini models, migrate your code to the Gemini API |
119 |
| - and update your app's `generative-ai-swift` dependency to version `0.4.0` or |
120 |
| - higher. |
121 |
| - |
122 |
| -To see the PaLM documentation and code, go to the |
123 |
| -[`palm` branch](https://github.com/google/generative-ai-swift/tree/palm). |
| 101 | +## Developers who use the PaLM SDK for Swift (Decommissioned) |
| 102 | + |
| 103 | +> [!IMPORTANT] |
| 104 | +> The PaLM API is now |
| 105 | +> [decommissioned](https://ai.google.dev/palm_docs/deprecation). This means that |
| 106 | +> users cannot use a PaLM model in a prompt, tune a new PaLM model, or run |
| 107 | +> inference on PaLM-tuned models. |
| 108 | +> |
| 109 | +> Note: This is different from the |
| 110 | +> [Vertex AI PaLM API](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/text), |
| 111 | +> which is scheduled to be decommissioned in October 2024. |
| 112 | +
|
| 113 | +If you're using the PaLM SDK for Swift, migrate your code to the Gemini API |
| 114 | +and update your app's `generative-ai-swift` dependency to version `0.4.0` or |
| 115 | +higher. For more information on migrating from PaLM to Gemini, see the |
| 116 | +[migration guide](https://ai.google.dev/docs/migration_guide). |
124 | 117 |
|
125 | 118 | ## License
|
126 | 119 |
|
127 | 120 | The contents of this repository are licensed under the
|
128 |
| -[Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0). |
| 121 | +[Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0). |
0 commit comments