Skip to content

Commit

Permalink
add local inferences to quickstart on modus docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 committed Feb 5, 2025
1 parent 3292f88 commit 0214c67
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
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
11 changes: 0 additions & 11 deletions observe-functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,3 @@ From your project, select the Inferences tab to view the inferences from your
app's models.

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

### Local model tracing

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

The local model tracing stores inferences in the `/.modusdb` directory of your
modus project. To delete inferences for cleanup, run `rm -rf .modusdb/` from the
root of the project directory.

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

0 comments on commit 0214c67

Please sign in to comment.