Skip to main content

Configure Grounding Rules in GPTfy

Welcome to the step-by-step guide on configuring grounding rules in GPTfy AI prompts.

Grounding rules act as guardrails, ensuring ethical, content-related, dynamic, and data security aspects of your AI responses.


Why Set Grounding Rules?

Grounding rules in GPTfy help you:

  • Write better prompts
  • Accelerate revenue
  • Slash grunt work
  • Ensure trustworthy, secure AI outcomes

Types of Grounding Rules

There are two types of grounding rules in GPTfy:

  • Content
  • Ethical

alt text


Set Content Grounding Rules

Content grounding ensures that AI responses are complete, appropriately toned, and correctly formatted.

Here are some prepackaged content grounding rules to guide your AI:

  • Use data from the provided JSON, linked by 18-digit IDs.
  • Address all parts of a multi-part question.
  • Aim for clarity over complexity.
  • Avoid using absolutes, such as “always” or “never”.
  • Avoid using passive voice.
  • Avoid using slang or colloquial terms unless specifically asked.
  • Only answer what has been asked for.
  • Refrain from using first-person pronouns.
  • Ensure all records are shown in the tables.
  • Add captions to each HTML table.
  • Convert all internal CSS to inline CSS for the response.
  • Include border="1" in all HTML table tags
  • Prioritize quality over speed in responses.

alt text


Set Ethical Grounding Rules

Here are some ethical grounding rules:

  • Do not generate content that can be deemed offensive or inappropriate.
  • Avoid using slang or colloquial terms unless specifically asked.
  • Prioritize safety and ethical considerations in your answers.
  • Avoid using emotive language.
  • Do not use scare tactics.
  • Do not exaggerate.
  • Do not hallucinate.
  • Your response must be based on the information provided in the prompt.
  • Use data from the provided JSON, linked by 18-digit IDs.
  • Task summary must always include names and titles of people involved.
  • Write summaries in third person and condense key points.

alt text

These rules are just a starting point. You can customize them according to your specific needs.


Dynamic Grounding Rules

Additionally, here are some more dynamic (sample) grounding rules you can set for better AI responses:

  • When referencing dates and amounts, adhere to the USA locale conventions.
  • Adapt responses to user context.
  • Tailor responses to feedback.
  • Personalize based on preferences.
  • Implicitly adjust to user cues.

Locale Settings

alt text

SettingDescription
Locale - GPTfy ConsoleUsed to set the locale for the GPTfy console which will affect the change in dates, time and number formats. When the value is selected as 'Active user' the console's locale is set to the current user's personalized locale for better experience. When the value is selected as 'Company default' the console's locale is set to the org's locale to maintain consistency.
Locale - AutomationUsed to set the locale which will affect the change in dates, time and number formats for flows, AI mass processing and APIs. When the value is selected as 'Company default' locale for the automated formatting is set to the org's locale to maintain consistency. When the value is selected as 'Record owner' the locale adopts to the record owner's locale for personalized formatting.

Conclusion

Grounding rules are essential training wheels for your AI, aligning it with ethics, safety, and corporate values. Use GPTfy to seamlessly automate grounding rules in your Salesforce+AI prompts.