Add Diagnose this issue button

XMLWordPrintableJSON

    • Type: Story
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • Developer Tools

      1. When no results are returned after running a search stage, display a “Diagnose this issue” button in the preview that opens MongoDB Assistant.
      2. This button will open the assistant preloaded with the stage operator, index name, and stage value, plus a prompt instructing it to diagnose why the search returned no results.The assistant will display the current pipeline and respond to the question. 
      3. display text: Diagnose why my aggregation pipeline is not returning results.

      prompt: The user's ${context.stageOperator} stage with index "${context.indexName}" returned no results. <input>${context.stageValue}</input> If tools are available, use the `get-current-pipeline` tool to inspect the full pipeline and use the `collection-indexes` tool to check what search indexes exist on this collection. Diagnose why the $search stage returned no results and provide concise, actionable guidance the user can follow without leaving Compass.

            Assignee:
            Darshana Venkatesh
            Reporter:
            Darshana Venkatesh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: