getappmap / appmap-js

Client libraries for AppMap
45 stars 12 forks source link

feat: Update prompts and context #1816

Closed kgilpin closed 1 month ago

kgilpin commented 1 month ago

Provide more specific instructions about AppMap help. Expand the classifiers to include greeting, troubleshoot, generate-code and generate-diagram. Drop generate.

petecheslock commented 1 month ago

This is looking way more promising that my other test branch. I've asked a series of "how to make maps/diagrams/data" questions with projects open or even in empty projects. None of the responses returned a "yaml" response and many of them pointed the user to the VS Code panel instructions or the appmap docs directly.

https://gist.github.com/petecheslock/9fd05ad5f3ac7607dd412f49080acf44

Screenshot 2024-05-20 at 10 25 58 AM
petecheslock commented 1 month ago

This is still looking good - haven't gotten any yaml responses yet and mostly it points the user to the instuctions in the code editor for installing which is perfect.

Recording Instructions: Follow instructions under the AppMap panel to create initial AppMap data. Typically, for a Node.js project, you would run:
To create a diagram of your app using AppMap, you'll first need to generate AppMap data. Since you are using VSCode, here are the steps to do that:

Open the AppMap Panel: Open the AppMap panel in your VSCode editor. You can do this by going to the Extensions view, searching for "AppMap," and then clicking on the panel.

Review Recording Instructions: In the AppMap panel, look for AppMap Recording Instructions. They will give you details on how to record data in your specific language and project set-up.
appland-release commented 1 month ago

:tada: This PR is included in version @appland/navie-v1.11.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

appland-release commented 1 month ago

:tada: This PR is included in version @appland/appmap-v3.145.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: