This is the end user guide for Metadata Studio. Be sure to check out the movies for Prompt Engineering and Prompt Automation in the same section.
Metadata Studio
Overview
Metadata Studio is an innovative feature in the Metazoa Snapshot tool that is designed to cater to both end-users and prompt engineers. It allows users to create, manage, validate, and deploy Salesforce metadata assets seamlessly, following best practices of the organization.
End-User Guide
End-users can leverage Metadata Studio in the following ways:
-
Selecting and Running Prompts: From the prompt library, end-users can select an appropriate prompt for their use and click the
Submit Prompt
button to run it.Example: Creating an Apex test class involves choosing the prompt, selecting an apex class, after which the intelligent assistant writes the test class.
-
Validating Assets: After the creation of an asset (such as a test class or flow description), users can validate it by clicking the
Validate Asset
button. This will trigger a test deployment of the newly created class against your Salesforce organization. -
Exporting or Deploying Assets: Once validated, the assets can be either exported or deployed back to the Salesforce org.
Example: When creating flow descriptions, the tool generates a detailed description for every node in the flow, which can then be saved back into the flow or as a separate file.
Prompt Engineer Guide
Prompt engineers can use the Metadata Studio to manage and customize prompts in the following ways:
-
Prompt Management: Using the buttons on the main
Prompt Library
tab, prompt engineers can manage the prompts by importing, exporting, duplicating, or creating them. -
Editing Prompts: The subsequent tab allows engineers to edit the content and messages within the prompt. For instance, they can modify text content, flow content, or input metadata into the prompt.
-
Few-Shot Learning: Prompts can use few-shot learning to guide the AI in providing the appropriate answer. This is done by setting an example question and an example answer, which can be modified as needed.
-
Prompt Submission and Sharing: After making changes to the prompt, it can be submitted from the same screen. The modified prompt is automatically saved to the prompt library, from where it can be exported and shared.
-
Error Management: If an error occurs while creating an asset, engineers can use the feature to create an error message. The intelligent assistant will acknowledge the error, provide the corrected XML, and allow re-validation of the asset.
Through Metadata Studio, prompt engineers can seamlessly include Salesforce metadata assets into these prompts, maintain the best practices of the organization, and share these prompts with all administrators. As the prompts create metadata assets or error messages, these can be seamlessly included back into the conversation stream as you interact with the intelligent assistant, creating these useful pieces of metadata.