Manually Capturing AI Model Events
Capturing Model Data
The library allows you to manually capture the input and output of your AI models using the captureModel
function. This is useful when you want to track data outside of HTTP interceptors.
Example
modelId
(required): The unique identifier of the model.requestBody
(required): The input data sent to the model.responseBody
(required): The output data generated by the model.
Explanation
The captureModel
function allows you to manually send the input/output data to the tracking server. This can be useful for custom tracking scenarios that are not captured by the interceptors.
Last updated