Slot Naming
Slot names & question detail are used by your Copilot to reason & generate questions about your slots. Setup the "question detail" to provide an example of how Copilot should ask the question.
How to write good slot names & question details
Best practice | ✅ Good example | ❌ Bad example |
---|---|---|
Write high-quality slot names & question details that are descriptive | "user comment for salesforce ticket" | "comment" or "TEST" or "slot1" |
Make sure slot names are semantically unique from each other | "comment for approval" & "comment for rejection" | "comment1" & "comment2" |
Make example question consistent with slot name | slot name = “referral type” and question detail = “Which type of referral is this?” OR slot name = “is technical referral” and question detail = “Is this a technical referral or not” (with options Yes/No) | slot name = “technical referral” and question detail = “Which type of referral is this?” |