Skip to content

Commit 8c60852

Browse files
author
Daniel OBrien
committed
clarify docs
1 parent c69a0c8 commit 8c60852

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ldai/tracker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ def get_track_data(self):
148148

149149
def track_duration(self, duration: int) -> None:
150150
"""
151-
Track the duration of an AI operation.
151+
Manually track the duration of an AI operation.
152152
153153
:param duration: Duration in milliseconds.
154154
"""
155155
self.ld_client.track('$ld:ai:duration:total', self.context, self.get_track_data(), duration)
156156

157157
def track_duration_of(self, func):
158158
"""
159-
Track the duration of a function execution.
159+
Automatically track the duration of an AI operation.
160160
161161
:param func: Function to track.
162162
:return: Result of the tracked function.

0 commit comments

Comments
 (0)