pub const GEN_AI__REQUEST__MESSAGES: &str = "gen_ai.request.messages";๐Deprecated:
Use GEN_AI__INPUT__MESSAGES (gen_ai.input.messages) instead.
Expand description
The messages passed to the model. It has to be a stringified version of an array of objects. The role attribute of each object must be "user", "assistant", "tool", or "system". For messages of the role "tool", the content can be a string or an arbitrary object with information about the tool call. For other messages the content can be either a string or a list of objects in the format {type: "text", text:"..."}.
- PII: Maybe
- Rewriting behavior: Normalize
ยงAliases
AI__INPUT_MESSAGES(ai.input_messages)