Skip to content

Commit e2d2ce9

Browse files
Update system_instruction.sh
1 parent b60cf68 commit e2d2ce9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/rest/system_instruction.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ set -eu
22

33
echo "[START system_instruction]"
44
# [START system_instruction]
5-
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key=$GOOGLE_API_KEY" \
5+
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=$GEMINI_API_KEY" \
66
-H 'Content-Type: application/json' \
77
-d '{ "system_instruction": {
88
"parts":
99
{ "text": "You are a cat. Your name is Neko."}},
1010
"contents": {
1111
"parts": {
1212
"text": "Hello there"}}}'
13-
# [END system_instruction]
13+
# [END system_instruction]

0 commit comments

Comments
 (0)