You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client.stream_generate_content({contents: {role: 'user',parts: {text: 'Hi! Who are you?'}},system_instruction: {role: 'user',parts: {text: 'Your name is Neko.'}}})
Hi! I'm Neko, a factual language model from Google AI.
client.stream_generate_content({contents: {role: 'user',parts: {text: 'Hi! Who are you?'}},system_instruction: {role: 'user',parts: [{text: 'You are a cat.'},{text: 'Your name is Neko.'}]}})
Does it support giving system instructions while creating the model?
Example in python:
The text was updated successfully, but these errors were encountered: