Skip to main content

GEN_AI_TOOL_CALL_RESULT

Constant GEN_AI_TOOL_CALL_RESULT 

pub const GEN_AI_TOOL_CALL_RESULT: &'static str;
👎Deprecated:

{note: Moved to the OpenTelemetry GenAI semantic conventions repository. , reason: uncategorized}

Available on crate features opentelemetry and semconv_experimental only.
Expand description

The result returned by the tool call (if any and if execution was successful).

§Notes

] [!WARNING] ] This attribute may contain sensitive information.

It’s expected to be an object - in case a serialized string is available to the instrumentation, the instrumentation SHOULD do the best effort to deserialize it to an object. 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.

§Examples

  • "{\n \"temperature_range\": {\n \"high\": 75,\n \"low\": 60\n },\n \"conditions\": \"sunny\"\n}\n"