Skip to content

Commit

Permalink
decorator page name fix (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
bboynton97 authored Aug 7, 2024
1 parent beaecb9 commit 45fc847
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/v1/concepts/decorators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@ If your implementation uses Classes to denote Agents, this decorator enables aut
Learn more about tracking agents [here](/v1/usage/tracking-agents).
## `@track_function()`
## `@record_action()`
Sometimes your agent system will use functions that are important to track as [`Actions`](/v1/concepts/events/#actionevent).
Adding this decorator above any function will allow every instance of that function call to be tracked and displayed
in your [Session](v1/concepts/sessions) Drill-Down on the dashboard.
## `@record_tool()`
Some functions are used as Tools. If you're not using an agent framework that records [`ToolEvents`](/v1/concepts/events/#toolevent) with AgentOps automatically, this decorator will record `ToolEvents` when the function is called.
Adding this decorator above any function will allow every instance of that function call to be tracked and displayed
in your [Session](v1/concepts/sessions) Drill-Down on the dashboard.
<script type="module" src="/scripts/github_stars.js"></script>
<script type="module" src="/scripts/adjust_api_dynamically.js"></script>

0 comments on commit 45fc847

Please sign in to comment.