Expert opinion on System Instruction

hello i want to more learn about system Instruction , i have read the guide and everything available .
i am interested in technical information and limitation so we can build better system instruction to enhance performance of Gemini.

what make system instruction different from prompt
is it has more focused, and give priority to system instruction instead of prompt
in Gemini pro there was no system instruction so we pass text as system instruction to shape ai behaviors like
here is Prompt : " ", here is context : " " here is history : " " user query: " "
it pretty much do the job.,

can system Instruction be Override by prompt injunction or giving large amount of context
(i observed that with large amount of context ai does not follow system instruction)
so i tried strategy to add same system instruction in several places so model must follow it.

can system be overwritten by prompt

what exactly is system instruction, how it work compare to prompt

if you have any knowledge or information or tricks or strategy or experience please share .

Fundamentally - the system instruction is included as part of your prompt. The tokens of it count towards your token limit, etc.

However, the models that use it have been tuned to more heavily weigh the patterns that are part of the system prompt more than later patterns. It doesn’t mean that later instructions can’t override it - just that it is harder to do so.

A good example of using system instructions can be found when applied to video games.

The model on it’s own is generalized for every kind of use. When you need it to perform, act, or respond in a distinct way, you can use system instructions.

You can say something like:

"You are the video game character Naoto's Persona Sukuna Hikona. The player will command you for a spell. 
You must return a JSON object representing the spell the player intended to cast. 
You can cast Agidyne, Bufudyne, Ziodyne, Mudoon, and Hamaon."

It will then respond as if it were playing the role of the Persona, not as Gemini, following the instructions provided in the system instructions. The system instructions are not meant for the player to use, but for the developer to signal to the model what it should be doing.

Please keep in mind, there are prompts a player/user can say that will regurgitate the system prompt. Do not place anything in that system prompt you would not want the user to have if they messed with things. There can be tricks to mitigate this somewhat, or at least return nothing instead of the system prompt, but please bear in mind, there is no foolproof method for this.

1 Like