Skip to content

Commit

Permalink
replace we with you
Browse files Browse the repository at this point in the history
  • Loading branch information
shilpakancharla committed May 24, 2024
1 parent de9396c commit 95128dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quickstarts/JSON_mode.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"id": "lF6sWVRGQ_bi"
},
"source": [
"The Gemini API can be used to generate a JSON output if we set the schema that we would like to use.\n",
"The Gemini API can be used to generate a JSON output if you set the schema that you would like to use.\n",
"\n",
"**Note**: Use Gemini 1.5 Pro when generating JSON. JSON schemas are only supported by Gemini 1.5 Pro right now."
]
Expand Down Expand Up @@ -86,7 +86,7 @@
"source": [
"## Activate JSON Mode\n",
"\n",
" Activate JSON mode by specifying `respose_mime_type` in the `generation_config` parameter. We'll use Gemini 1.5 Pro for this example, but note that you can use Gemini 1.5 Flash while describing your schema in the prompt."
" Activate JSON mode by specifying `respose_mime_type` in the `generation_config` parameter. You'll use Gemini 1.5 Pro for this example, but note that you can use Gemini 1.5 Flash while describing your schema in the prompt."
]
},
{
Expand Down Expand Up @@ -223,7 +223,7 @@
"source": [
"## Generate JSON from schema\n",
"\n",
"We can take a Python class, for instance, and use it as our schema for generating JSON. When passing in the `response_schema` parameter, use the Gemini 1.5 Pro model. Gemini 1.5 Flash does not support this."
"You can take a Python class, for instance, and use it as our schema for generating JSON. When passing in the `response_schema` parameter, use the Gemini 1.5 Pro model. Gemini 1.5 Flash does not support this."
]
},
{
Expand Down

0 comments on commit 95128dd

Please sign in to comment.