Skip to content

Commit b91cbf2

Browse files
authored
Adding a note about free tier not available in Europe (#401)
* Adding a note about free tier not available in Europe * Numbering the steps of the usage example * Formatting * Un-Formatting
1 parent 235ade7 commit b91cbf2

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
@@ -9,19 +9,19 @@ The Google AI Python SDK is the easiest way for Python developers to build with
99
## Get started with the Gemini API
1010
1. Go to [Google AI Studio](https://aistudio.google.com/).
1111
2. Login with your Google account.
12-
3. [Create](https://aistudio.google.com/app/apikey) an API key.
12+
3. [Create](https://aistudio.google.com/app/apikey) an API key. Note that in Europe the free tier is not available.
1313
4. Try a Python SDK [quickstart](https://github.com/google-gemini/gemini-api-cookbook/blob/main/quickstarts/Prompting.ipynb) in the [Gemini API Cookbook](https://github.com/google-gemini/gemini-api-cookbook/).
1414
5. For detailed instructions, try the
1515
[Python SDK tutorial](https://ai.google.dev/tutorials/python_quickstart) on [ai.google.dev](https://ai.google.dev).
1616

1717
## Usage example
1818
See the [Gemini API Cookbook](https://github.com/google-gemini/gemini-api-cookbook/) or [ai.google.dev](https://ai.google.dev) for complete code.
1919

20-
Install from [PyPI](https://pypi.org/project/google-generativeai).
20+
1. Install from [PyPI](https://pypi.org/project/google-generativeai).
2121

2222
`pip install -U google-generativeai`
2323

24-
Import the SDK and configure your API key.
24+
2. Import the SDK and configure your API key.
2525

2626
```python
2727
import google.generativeai as genai
@@ -30,7 +30,7 @@ import os
3030
genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
3131
```
3232

33-
Create a model and run a prompt.
33+
3. Create a model and run a prompt.
3434

3535
```python
3636
model = genai.GenerativeModel('gemini-1.0-pro-latest')

0 commit comments

Comments
 (0)