You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CONTRIBUTING.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,3 +258,6 @@ set VERSION $(git cliff --bumped-version) && git tag -s $VERSION -m $VERSION &&
258
258
- Public facing docs should be in [docs](../README.md) folder - API requests & responses, self host guide, sdk guides and so on
259
259
- Main folder of subproject should link to main guide. ex: [frontend README](../../frontend/README.md) has link to self hosting and local dev guide
260
260
- Non public facing docs can stay in sub folder. ex: [backend benchmarking README](../../backend/benchmarking/README.md) which describes its purpose
261
+
262
+
### Updating Documentation
263
+
- When updating docs in the `docs` folder, the `docs-embeddings.json` file needs to be updated so that the AI assistant can reference them. To update the embedding, you should run `npm run generate-docs-embeddings` from inside the `frontend/dashboard` folder. You will need to have [setup AI Integration](../hosting/ai.md) before running the command so that it can access the embedding model and update the embedding file. This file needs to be committed as part of the same PR that updates the docs.
Measure makes it easy to debug Crashes and ANRs with AI assistance.
4
+
5
+
*[**Copy AI Context**](#copy-ai-context)
6
+
*[**AI Integration**](#ai-integration)
7
+
*[**Setting Up AI integration**](#setting-up-ai-integration)
8
+
*[**Debugging with AI**](#debugging-with-ai)
9
+
10
+
## Copy AI Context
11
+
On Crash and ANR details pages, you will see a `Copy AI Context` button. This allows you to copy the relevant stacktrace and session timeline to the copy clipboard for easy pasting into an external LLM interface of your choice.
12
+
13
+
This feature does not require setting up the AI Assitant and can be used directly.
14
+
15
+
## AI Assistant Integration
16
+
This integration enables developers to get help with Crash/ANR debugging via our AI assitant.
17
+
18
+
### Setting up AI integration
19
+
If you are a self hosted user, please set up AI Assistant integration if you haven't done so using this [guide](/docs/hosting/ai.md).
20
+
21
+
### Debugging with AI
22
+
You will be able to see a `Debug With AI` button on Crash and ANR details pages. You can click it to open the assitant interface and start chatting.
23
+
24
+
You can attach the current exception context as well as the corresponding session timeline using the chat input toolbar.
25
+
26
+
You can also attach code files and images to help in your debugging workflow.
0 commit comments