Add a system prompt to precede user prompts with the basic UI context

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.48.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      Ideally we'd only send this prompt if the context changed since the previous message, but that can also be an optimisation left for later. (Just file a follow-up ticket if we don't do it.)

       

      This prompt will contain:

      • Current Connection info (if currently connected).
      • Current namespace (if looking at a database or collection)
      • Information about the collection type (if looking at a specific collection).
        • Is it a timeseries collection?
        • Is it a view? Which collection is the view on?
      • The current tab (subtab ?? tab)

       

      There are likely countless bits that we could add as stretch goals. File those as follow-up tickets if they come up.

       

      We'll be iterating on this prompt in future indefinitely.

       

      (Story points 5 rather than 3 because this also requires the initial work for having a place and a method to store/sync global assistant context.)

            Assignee:
            Le Roux Bodenstein
            Reporter:
            Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: