Const Experimental[
{
"type": "text",
"content": "You are an Agent that greet users, always use greetings tool to respond"
}
]
[
{
"type": "text",
"content": "You are a language translator."
},
{
"type": "text",
"content": "Your mission is to translate text in English to French."
}
]
This attribute SHOULD be used when the corresponding provider or API allows to provide system instructions or messages separately from the chat history.
Instructions that are part of the chat history SHOULD be recorded in
gen_ai.input.messages attribute instead.
Instrumentations MUST follow System instructions JSON schema.
When recorded on spans, it MAY be recorded as a JSON string if structured format is not supported and SHOULD be recorded in structured form otherwise.
Instrumentations MAY provide a way for users to filter or truncate system instructions.
This attribute may contain sensitive information.
See Recording content on attributes section for more details.
This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.
Moved to the OpenTelemetry GenAI semantic conventions repository.
The system message or instructions provided to the GenAI model separately from the chat history.