record • Rust AI Agent SDK

record: Record an event

record

Method

</div>

This is a method of the ObsCollector class in the extras module.

Record an event

Signature

python
def record(&self, event: &str, data: &serde_json::Value) -> ()

Parameters

ParamField &str

No description available.

ParamField &serde_json::Value

No description available.

Returns

ResponseField ()

The result of the operation.