Configuring and Creating Objects

Prev Next

Configuring and Creating Objects

An object is a table or view that you build in partnership with the AI agent. The Object Builder interface in Compass is meant for custom client use cases (product / canon objects are built elsewhere).

Objects start out in the Compass schema, where you create and edit them. A limited set of users can publish objects to the Ursa schema, which makes them visible in Ursa Studio and lets them be added to an ELT.

Here’s how to refresh an existing object

  1. Quick note: this process only applies to objects that were created as Tables. Views refresh automatically whenever their underlying objects are updated.
  2. Select the Objects icon in the left menu bar within Compass.
  3. Click the object you want to refresh.
  4. If the object is published, click the Refresh Published button. If it’s still in draft status, click the Rebuild button. The agent will then truncate the table, rerun the SQL, and repopulate the table with new data.

Here’s how to configure an existing object

  1. Select the Objects icon in the left menu bar within Compass.
  2. Click the object you want to edit.
  3. To edit the object’s metadata (object name, table name, description, tags, column labels, or column descriptions), click Edit, make your changes, and click Save.
  4. To edit the object’s SQL, click Build and describe the change you want in the prompt window. You can do this in plain text or by providing the actual SQL you want to change.
  5. Keep iterating with the agent until the change looks the way you want it.
  6. If the object already exists in Ursa Studio and/or is part of the foundation of a published Compass App, you’ll need to publish the edited object before those changes show up.
  7. To publish, click the Publish button in the top right. Don’t see a Publish button? That means you don’t have rights to publish, so please coordinate with your Ursa team to push your changes through into the data model.

Here’s how to create a new object

  1. Most of the time, you’ll create a Compass object to support a Compass App. If that’s your situation, start with an App Builder Persona Explorer session, and the agent will walk you through each object that needs to be created. See the Configuring an App instructions here for more information.
  2. If you need to create an object for another reason, just follow the steps below.
  3. Select the Objects icon in the left menu bar within Compass.
  4. Click the New Object button at the top right.
  5. Enter the name you want to use for your object, the SQL table name, and (if you’d like) a description and tags, then click Create Object.
  6. In the prompt window that appears, tell the agent about the object you want to create. You can do this in plain text or by providing SQL code.
  7. The agent will identify and review the underlying objects it needs and ask any clarifying questions.
  8. Keep iterating with the agent until the object meets your specifications.
  9. If you need the object to be available in Ursa Studio (so other objects can reference it, or so it can be added to an ELT), you’ll need to publish it.
  10. To publish, click the Publish button in the top right. Don’t see a Publish button? That means you don’t have rights to publish, so please coordinate with your Ursa team to push your changes through into the data model.