Overview
Copy
set_context_value(key: str, value: Any) -> bool
Example
Copy
from keywordsai_tracing import workflow, get_client
@workflow(name="set_context")
def set_context():
client = get_client()
client.set_context_value("custom.key", "value")
return True
print(set_context())