Hi phoenix team, I鈥檓 trying to manually instrument one of our agents and I鈥檓 struggling with setting up span kind.
Currently my code looks like:
tracer = get_phoenix_tracer()
span_attributes = {
SpanAttributes.INPUT_VALUE: message,
"operation.history": "\n".join(
[f"{h.role}: {h.content}" for h in chat_history]
)
if chat_history
else "",
SpanAttributes.OPENINFERENCE_SPAN_KIND: OpenInferenceSpanKindValues.AGENT,
}
with tracer.start_as_current_span(
"GeneralAgent", attributes=span_attributes
) as current_span:
...So I鈥檇 expect span kind to be logged as Agent, however I don鈥檛 see any value in the attributes or displayed.