Writing Rules with Plain Text Instructions

You can create business rules by simply describing your requirements in plain text. The AI Assistant reads your statement, interprets its meaning, and generates one or more corresponding rules in your rulesheet—based strictly on the vocabulary available in your model.

For example:

  • Open the rulesheet where you want to add rules.

  • Enter a plain text instruction such as:

    “Drivers over 65 who drive less than 50 miles per week get a 10% discount.”

  • Click Send. The Assistant will convert your description into rule logic using your rulesheet’s vocabulary.

You may also copy and paste requirements from documents, emails, or specifications. The Assistant supports all languages supported by your AI provider, so you may write your instructions in any preferred language.

Tips for best results:

  • Define and review your vocabulary (entities, attributes, values) before writing rules.

  • Be clear and specific in your statements.

Creating Rules from Code Snippets

If your logic is already written in code, you can paste code snippets directly into the Assistant. The AI will extract the business logic from the code and express it as rules, using the vocabulary available in your rulesheet.

To use code snippets:

  • Open the relevant rulesheet.

  • Paste your code snippet into the AI Assistant’s panel.

  • Click Send. The Assistant will translate the code into rules you can review and use.

This workflow helps translate technical logic into business-friendly rule models.

Working Within Your Vocabulary

The AI Assistant only generates rules using the entities and attributes defined in your rulesheet’s vocabulary:

  • If your plain text or code refers to terms not present in the vocabulary, the Assistant will use the closest available options or may be unable to proceed.

  • For best results, review and clarify your vocabulary first so your plain text instructions match what’s available.

Fixing Errors and Troubleshooting

When issues or errors are present in your rulesheet, the AI Assistant can help you quickly understand and resolve them:

  • Select the “Assist with errors” prompt if errors are detected.

  • The Assistant will explain each error and offer step-by-step suggestions to fix them.

This makes error correction easier for everyone, regardless of their technical background.

Working in Any Language

You can use the Corticon AI Assistant in any language supported by your chosen AI provider (OpenAI or Azure OpenAI). Type your plain text instructions, questions, or requests in your preferred language—the Assistant will respond in the same language. This supports collaboration across teams and regions.

Helpful Tips for Effective Use

  • Be descriptive and specific: Well-defined statements and questions yield more accurate results.

  • Always validate output: Review and test all generated rules and explanations before using them in production.

  • Try different approaches: If you don’t get the answer you expect, rephrase your instruction or add more detail.

  • Easy copy and paste: Assistant responses can be copied into your rulesheet or documentation.

  • Request alternate formats: Ask for responses as plain text, HTML, or JSON when needed.

  • Each interaction is independent: The Assistant does not remember previous prompts, so include all necessary details each time.