Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add local model tracing docs #91

Merged
merged 2 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading