Ground, preview and activate a prompt
Choose the right source of facts and test a version before making it available to users.
Ground, preview and activate a prompt
Work through the decision
A template drafts a warranty reply from a claim number. It invents a delivery date and repeats an obsolete returns policy. The claim object has a delivery field and the current policy is in a maintained library. How should the author fix the evidence?
Check your reasoning
Insert the permitted record value for the delivery date. Retrieve a relevant passage from the current policy library and tell the model to cite it when answering coverage questions. Give the template an explicit fallback for a missing date or absent passage. In preview, inspect the resolved prompt as well as the generated reply for known test records.
Compare the choices
- Record grounding
- Use a merge field for an authoritative value already present on the target record. Respect field visibility and plan for empty values.
- Related-list grounding
- Bring in relevant child records associated with the parent, with appropriate access, filtering and limits.
- Flow-based grounding
- Use a template-triggered prompt flow for approved retrieval or business logic when simple merge fields are insufficient. Return a concise, authorized result.
- Retrieval grounding
- Retrieve selected passages from indexed approved content when the answer depends on unstructured knowledge. Check the returned passage, date and source.
- Version preview and activation
- Inspect the resolved prompt and generated output on representative records, then activate the tested version for execution. Keep a known version for recovery.
Test the decision
Save a new version, test a claim with a date, one without, and two conflicting policy editions. Check content and access as the intended user. Activate the tested version and exercise the real field or action that invokes it.
Practice the guide skills
- For one claim reply, source the serial number from its record, visits from related records, a calculated exception from a flow and policy text from a retriever. Explain why each source fits. Watch 11:20
- Build a draft version with expected inputs, inspect the resolved prompt and output in preview, activate it, then repeat the call through the end-user interface. Watch 13:16
- Rewrite “handle the claim” as an instruction with an audience, evidence, output format and missing-data behavior. Compare results on a known claim and an incomplete claim. Watch 15:16
Official objectives for this lesson
Related lesson · Model records and relationships in Dataverse
Ground, preview and activate a prompt quiz
Answer 3 questions. Check each answer for an explanation.