Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Context manager to set KeywordsAI-specific span attributes
keywordsai_span_attributes(params)
from keywordsai_tracing.contexts.span import keywordsai_span_attributes from keywordsai_tracing import workflow @workflow(name="annotate") def annotate(): with keywordsai_span_attributes({ "customer_identifier": "cust-1", "trace_group_identifier": "grp-a", "metadata": {"team": "search"} }): return "ok" print(annotate())
Was this page helpful?