- Overview
- Platform setup and administration
- Platform setup and administration
- Platform architecture
- Data Bridge onboarding overview
- Connecting a Peak-managed data lake
- Connecting a customer-managed data lake
- Creating an AWS IAM role for Data Bridge
- Connecting a Snowflake data warehouse
- Connecting a Redshift data warehouse (public connectivity)
- Connecting a Redshift data warehouse (private connectivity)
- Reauthorizing a Snowflake OAuth connection
- Using Snowflake with Peak
- SQL Explorer overview
- Roles and permissions
- User management
- Autopilot for Retail & Supply Chain
- Inventory management solution
- Commercial pricing solution
- Merchandising solution
Managing Autopilot projects
Create, test, and publish an Autopilot project that combines a namespace, actions, context, and dashboard templates for one business area.
A project sets up Autopilot for Retail & Supply Chain for one business area, such as merchandising or replenishment. It combines a namespace, actions, context, and dashboard templates for that area, with test questions that check the quality of the answers. Users select a published project in Autopilot settings.
Projects are in Manage > Autopilot. The Projects page lists the published projects and the project templates available to the tenant. All projects lists every project, including drafts.
A project template is a ready-made setup for a business area. It includes context notes, test questions, and dashboard templates, and lists the fields that they use. A field is a measure or a breakdown that the project expects in the namespace.
Prerequisites
Before creating a project, ensure you have the following:
- The Manage > Autopilot Read permission and the Autopilot > Canvas Write permission.
- To publish or delete a project, the tenant admin role. For details, see Autopilot permissions.
- A published namespace with the metrics for the business area.
Creating a project
Follow these steps to create a project:
- In the platform, go to Manage > Autopilot.
- Select New project.
- Select From scratch or From a project template.
- Enter a Name.
- Complete the fields for the option that you selected:
- From scratch: select the Namespace and the API actions.
- From a project template: select the Project template.
- Select Create project.
The project opens as a draft. Edits save automatically, and nothing reaches users until you publish.
Connecting data sources
On the Data sources tab, you map each field that the project expects to a measure or a dimension in the namespace. A project created from a project template maps the fields with matching names automatically. Each field has one of the following statuses:
| Status | Meaning |
|---|---|
| Mapped | The field is mapped to a measure or a dimension in the namespace. |
| Not mapped | The field isn't mapped yet. |
| Mismatch | The mapped measure or dimension no longer exists, or is of the wrong type. |
Follow these steps to connect the data sources:
- Open the Data sources tab.
- In the Semantic layer row, select the namespace.
- For each field with the status Not mapped or Mismatch, select a measure or a dimension in Mapped field.
- For each API that the project expects, select the action to use.
Changing the namespace resets the mapping.
Adding context, dashboard templates, and test questions
- Context tab: notes that apply to the project's conversations, in addition to the tenant's default context. To add a note, select Add note.
- Templates & assets tab: dashboard templates for the project. To add a template, select Add template. After the project is published, Deploy creates a dashboard from a template.
- Questions tab: test questions for the project. To add a question, select Add question and enter a Golden answer that describes how a good answer is built. Users don't see the questions.
The Project Assistant panel answers questions about the project and can change the draft on request, for example to map fields or write test questions.
Testing a project
An experiment runs the test questions against a version of the project and scores each answer from 1 to 10. Follow these steps to run an experiment:
- Open the Experiments tab.
- Optional: to run only the questions with one tag, select the tag in the list next to Run experiment.
- Select Run experiment.
- In Run on, select the version to test.
- Select Run.
The experiment shows each answer's score and the average. An experiment runs up to 50 questions, and one experiment runs per project at a time.
The image shows a run in progress. The Average column shows the score when the run completes.
Publishing a project
A project has one of the following statuses:
- Draft: the project isn't published.
- Live: the project is published.
- Live with unpublished changes: the project is published, and the draft has changes that users don't have yet.
Follow these steps to publish a project:
- Select Validate.
- Fix the issues that block publishing. Fix with the assistant applies the fixes that need no decision.
- Select Create version.
- If the dialog shows "Not reviewed yet", select Review before continuing.
- Select Create vN, where N is the number of the new version.
- Select Publish.
- Select Publish in the dialog.
The first time you publish, the project becomes available under Project in Autopilot settings. Later versions reach users in their next conversation.
Saving a project as a project template
A project template lets other projects start from the same setup. Save as project template, in the project menu, saves the latest version of the project in one of two ways:
- New project template: creates a project template with a name and a description.
- New version of an existing project template: adds a version to a project template that your tenant owns or shares.
The project template includes the context notes, the test questions, and the dashboard templates. It leaves out your namespace, field mapping, and actions. Projects that were created from a project template don't change when the project template gets a new version.
Deleting a project
To delete a project, select Delete project in the project menu.
Conversations stop using a deleted project immediately, and its published notes are deleted. Users who selected the project return to the default setup.