Using Adhoc Explorer

Prev Next

Using Ad Hoc Explorer

You can use the Compass AI agent to answer questions about the Ursa data model, direct you to the right objects, and perform basic analytics.

To get the most out of it, we first need to talk about personas. A persona contains context instructions that tell the agent how to perform specific kinds of work or handle certain kinds of questions. If you don’t have any personas selected, Explorer will default to the Orientation persona and prompt you to ask the agent how to select a persona.

Here’s how to select your personas

  1. From Ursa Studio, click Ursa Compass in the left menu bar. That will take you to the Explorer page in Compass.
  2. Click Personas in the top menu. You’ll see a list of the available personas, each with a short description of its intended use case.
  3. Review the personas and click the star beside the ones you’d like to have available. Then double-click the star beside the one you want as your default persona (for the majority of your use cases).

Here’s how to create an Explorer session

  1. To start a new Explorer session, click New Session at the top.
  2. Select the persona you want to use for this session from the dropdown menu.
  3. Type your question in the window and click Start Session. (Tip: check out the tips at the end for how to ask your question and keep an eye on the agent’s response.)

Once you’re in a session, here’s how things work

  1. The agent will review your request, check in with you if it needs clarification, and carry out the investigation. When it’s finished, you’ll typically get a nicely formatted summary at the end of the conversation.
  2. Have a follow-up question? Just type it in the window at the bottom of the session.
  3. Depending on your question, the agent may promote some of its results as Findings. Findings are visualizations and/or tables that safely preserve the results of the agent’s query, and you’ll see them on the right-hand side of the session window.

Here’s how to work with Findings

  1. Click the Expand Findings button at the top right (or click on a specific finding).
  2. Use the Chart and Table buttons on a finding to show or hide those tiles.
  3. Click the SQL button to see the underlying SQL for a finding. Heads up: this automatically hides the Chart and Table if they were showing.
  4. Click the Download button to save the table as a .csv file. Note: if you don’t see this button, your user may not have access to download PHI.
  5. Click the Edit button to tweak the chart. On that screen, you can change the chart type, fields, formatting, and more.
  6. Click the Add button to add a finding to a Presentation. Presentations are exportable slides that make it easy to share content with people outside of Ursa. You can add a finding to an existing presentation (they’re listed in the dropdown) or create a new one by clicking + New Presentation and typing a name. See Adhoc Presentations for what to do next.

Here’s how to share or edit a session

  1. When you’re done with your session (or you want to share it with someone), click Explorer at the top of the session window.
  2. That takes you to the Previous Session screen, where you’ll find all of your past sessions with the agent, with the most recent at the top.
  3. Click the pencil icon on the session you want to edit or share.
  4. Here, you can rename the session, add a description, and add other users as Viewers (they can see your conversation with the agent and any outputs) or Editors (they can see everything a Viewer can, plus ask follow-up questions).
  5. When you’re all set, click Save.

Here’s how to get back into a session

  1. You can reenter any of your previous sessions by clicking on it. The agent remembers the previous conversation, so you can ask more follow-up questions or just review its findings.
  2. You can also tell the agent when the underlying tables have new data and ask it to rerun its analysis with the new data.

A few tips for getting the most out of the agent

  1. Be as specific as you can with your question. Imagine you’re asking a colleague and give the agent that same level of detail and clarity. If it isn’t sure what you mean, it should ask.
  2. Want to know where the data you’re viewing comes from? Include the word “source” in your question. That tells the agent to trace the value all the way upstream to where it enters the data model. If it doesn’t seem to have gone far enough, you can always ask it to try again or look at additional upstream objects.
  3. Remember, AI can make mistakes. If an answer doesn’t make sense or doesn’t address your question, type a follow-up in the box at the bottom of the screen to push back or ask more.
  4. Keep an eye on the agent’s thinking process in the chat window to make sure it’s working the way you’d expect. Every once in a while, the agent will say it queried an object or ran some other tool call, but there’s no response window showing that it actually did the work and got results. When that happens, the agent may be making up its own results. If you spot this, your best bet is to start a new session so you can trust the results.