Skip to content

Commit

Permalink
add local model tracing docs (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 authored Feb 11, 2025
1 parent b208f1c commit 099e32f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions modus/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,20 @@ learn how to use the basic components of a Modus app and how to run it locally.
This links your project to the Hypermode platform, allowing you to leverage the model in your modus app.

</Step>

<Step title="Track local model inferences">

When testing an AI app locally, Modus records the inference and related metadata
in the `View Inferences` tab of the APIs explorer.

<Note>
Local model tracing is only supported on Linux and macOS. Windows support is
coming soon.
</Note>

![local model tracing](../images/observe-functions/local-inference-history.png)

</Step>
</Steps>

<Tip>
Expand Down
4 changes: 2 additions & 2 deletions observe-functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ your functions.
For more information on recording info, warnings, and errors in your Modus app,
see [Error Handling](/modus/error-handling).

## Inference history
## Model tracing

For each model invocation, Hypermode records the model inference and related
metadata. This includes the input and output of the model, as well as the
Expand All @@ -26,4 +26,4 @@ timestamp and duration of the inference.
From your project, select the Inferences tab to view the inferences from your
app's models.

![inference history](images/observe-functions/inference-history.png)
![model tracing](images/observe-functions/inference-history.png)

0 comments on commit 099e32f

Please sign in to comment.