AI Developer
Generate specific business rules, or code expressions using natural language and automate the code necessary to implement them.
Description
The AI Developer is an intelligent agent that transforms natural language descriptions into functional code. It helps developers generate business rules, JavaScript expressions, and test data without requiring manual coding. The agent can also edit existing code, provide explanations, and translate between programming languages, significantly accelerating the development process.
Capabilities
The AI Developer offers two main categories of capabilities:
Generate New Code
-
Generate Business Rule
- Transforms natural language descriptions into code using the data model as context
- Supports JavaScript, Python, and MVEL
- Produces clean, functional business rule code based on text prompts
-
Generate Business Rule from Document
- Extracts business rule definitions from uploaded documents
- Identifies relevant text on each page that describes business rules
- Summarizes and presents the information to users in a dropdown
- Generates corresponding code based on the selected rule description
-
Generate (un)Hide JavaScript Expression
- Creates JavaScript expressions for conditional visibility of elements
- Uses the data model as context for proper variable references
-
Generate Computed JavaScript Expression
- Produces JavaScript code for calculated or derived values
- Leverages the data model to ensure proper variable referencing
Edit Existing Code
-
Edit Existing Business Rule
- Modifies existing code based on natural language instructions
- Uses the data model as context for accurate updates
-
Fix / Explain Code
- Fixes errors in business rules based on error logs
- Provides clear explanations of what the code does
-
Translate Code Between Programming Languages
- Converts business rules from one language to another
- Maintains functionality while adapting to language-specific syntax
User Experience
The AI Developer is accessible through the FlowX.AI Platform interface. Users can:
- Select the desired capability from the AI Developer section
- Provide natural language instructions or upload relevant documents
- Specify programming language preferences when applicable
- Review and implement the generated code
For document-based generation, users can upload documents, view extracted rule descriptions in a dropdown, select the rule they want to generate, and receive the corresponding code.
Anatomy
The AI Developer architecture integrates large language models with the FlowX.AI Platform to seamlessly convert natural language to code.
Top rules for Designer AI Agent prompting
✅ DO the following
Be specific with your requirements: Clearly state what the business rule should accomplish, including conditions, actions, and expected outcomes.
Reference data model elements: Mention specific data fields or entities that the code should interact with to ensure proper context.
Specify the programming language: Always indicate whether you need JavaScript, Python, or another supported language for your code generation.
Provide edge cases: Mention special conditions or exceptions that the business rule should handle to ensure robust code.
⛔ DON’T do these
Don’t be vague: Avoid ambiguous descriptions that can lead to incorrect implementation. Be precise about the logic you need.
Don’t reference external systems: The AI Developer has no knowledge of external systems not defined in the provided context.
Don’t skip defining variables: Make sure to define all variables or data fields that your business rule will use.
Don’t expect platform-specific knowledge: The agent doesn’t know about keys or information not defined in the data model or provided context.
Was this page helpful?