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
GenAI: emit system_instructions as typed text objects; add redaction mode returning [{"type":"text","content":"readacted"}] when sensitive capture disabled; add TODO to restore processors on uninstrument
Copy file name to clipboardExpand all lines: instrumentation-genai/opentelemetry-instrumentation-openai-agents/src/opentelemetry/instrumentation/openai_agents/__init__.py
Copy file name to clipboardExpand all lines: instrumentation-genai/opentelemetry-instrumentation-openai-agents/src/opentelemetry/instrumentation/openai_agents/genai_semantic_processor.py
+64-8Lines changed: 64 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -357,21 +357,67 @@ def _record_metrics(
357
357
358
358
def_collect_system_instructions(
359
359
self, messages: Sequence[Any] |None
360
-
) ->list[str]:
361
-
"""Return list of system/ai role message contents."""
360
+
) ->list[dict[str, str]]:
361
+
"""Return system/ai role instructions as typed text objects.
0 commit comments