diff --git a/docs/v1/details/events.mdx b/docs/v1/details/events.mdx index afd996ac..05e5e255 100644 --- a/docs/v1/details/events.mdx +++ b/docs/v1/details/events.mdx @@ -26,7 +26,7 @@ The `ActionEvent` is a generic event for recording events that do not fit into t | logs | str | None | "Executed action successfully" | Logs generated during the action event | | screenshot | str | None | "/path/to/screenshot.png" | Path to screenshot captured during the action event | -An action event can be used the [same way as other events](./recording-events.mdx) but also with the `record_function` +An action event can be used the [same way as other events](./recording-events) but also with the `record_function` decorator. ```python diff --git a/docs/v1/details/recording-events.mdx b/docs/v1/details/recording-events.mdx index 4688d3a9..88c8a215 100644 --- a/docs/v1/details/recording-events.mdx +++ b/docs/v1/details/recording-events.mdx @@ -1,6 +1,6 @@ --- title: "Recording Events" -description: "Log events such as agent actions, LLM calls, tool calls, and errors. _See [Event Class](./events.mdx)_." +description: "Log events such as agent actions, LLM calls, tool calls, and errors. _See [Event Class](./events)_." --- To get the most out of AgentOps, it is best to carefully consider what events to record - @@ -27,7 +27,7 @@ The decorator will record the function's parameters, returns, and the time durat From this point, simply call the .record() method in the AgentOps client: -Record any child of the [Event type](./events.mdx) or ErrorEvent. +Record any child of the [Event type](./events) or ErrorEvent. ```python python from agentops import record, ActionEvent