Skip to content

Commit 37492aa

Browse files
committed
Numbering the steps of the usage example
1 parent 8c2e0ed commit 37492aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@ The Google AI Swift SDK is the easiest way for Swift developers to build with th
2626

2727
## Usage example
2828

29-
Add [`generative-ai-swift`](https://github.com/google/generative-ai-swift) to your Xcode project
29+
1. Add [`generative-ai-swift`](https://github.com/google/generative-ai-swift) to your Xcode project
3030
using Swift Package Manager.
3131

32-
Import the `GoogleGenerativeAI` module
32+
2. Import the `GoogleGenerativeAI` module
3333

3434
```swift
3535
import GoogleGenerativeAI
3636
```
3737

38-
Initialize the model
38+
3. Initialize the model
3939

4040
```swift
4141
let model = GenerativeModel(name: "gemini-1.5-flash-latest", apiKey: "YOUR_API_KEY")
4242
```
4343

44-
Run a prompt
44+
4. Run a prompt
4545

4646
```swift
4747
let cookieImage = UIImage(...)

0 commit comments

Comments
 (0)