Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
random-forests committed Jun 10, 2024
1 parent 791b5f1 commit 0d53b7e
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@ The Gemini API gives you access to Gemini [models](https://ai.google.dev/models/
3. [Create](https://aistudio.google.com/app/apikey) an API key.
4. Use a [quickstart](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Prompting.ipynb) for Python, or call the REST API [using curl](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Prompting_REST.ipynb).

### Capabilities
Learn about the capabilities of the Gemini API by checking out the quickstarts for [safety](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Safety.ipynb), [embeddings](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Embeddings.ipynb), [function calling](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Function_calling.ipynb), [audio](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Audio.ipynb), and more.
## Table of contents
Learn about the capabilities of the Gemini API by checking out the quickstarts. These are tutorials that walk you through how to use a feature of the Gemini API with complete end to end code.
* [Authentication](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Authentication.ipynb): Start here to learn how you can set up your API key so you can get access to the Gemini API.
* [Counting Tokens](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Counting_Tokens.ipynb) Tokens are the basic inputs to the Gemini models. Through this notebook, you will gain a better understanding of tokens through an interactive experience.
* [Working with files](https://github.com/google-gemini/cookbook/blob/main/quickstarts/File_API.ipynb): Use the Gemini API to upload files (audio, video, images, code, text) and perform actions with them through the Gemini models.
* [Audio](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Audio.ipynb): Learn how to use the Gemini API with audio files.
* [JSON mode](https://github.com/google-gemini/cookbook/blob/main/quickstarts/JSON_mode.ipynb): Discover how to use JSON mode.
* [Function Calling](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Function_calling.ipynb): The Gemini API works great with code. Use this quickstart to learn how to write prompts to understand and call functions. Then check out the [function calling config](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Function_calling_config.ipynb) tutorial to learn more.
* [System Instructions](https://github.com/google-gemini/cookbook/blob/main/quickstarts/System_instructions.ipynb): Give models additional context on how to respond by setting system instructions.
* [Tuning](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Tuning.ipynb): Learn how to improve model performance on a specific task through tuning.

Browse the [quickstarts folder](https://github.com/google-gemini/cookbook/tree/main/quickstarts) for more tutorials, and check out the [examples folder](https://github.com/google-gemini/cookbook/tree/main/examples) for more cool examples.

## Official SDKs
The Gemini API is a REST API. You can call the API using a command line tool like `curl` , or by using one of our official SDKs:
* [Python](https://github.com/google/generative-ai-python)
The Gemini API is a REST API. You can call the API using a command line tool like `curl` (and you can find REST examples [here](https://github.com/google-gemini/cookbook/tree/main/quickstarts/rest)) , or by using one of our official SDKs:
* [Python](https://github.com/google/generative-ai-python) - note: all the examples are in the cookbook, and they'll install the Python SDK for you. Start here.
* [Node.js](https://github.com/google/generative-ai-js)
* [Dart (Flutter)](https://github.com/google/generative-ai-dart)
* [Android](https://github.com/google/generative-ai-android)
Expand Down

0 comments on commit 0d53b7e

Please sign in to comment.