Dear UiPath Development Team,
I am writing to propose an enhancement to the Autopilot feature introduced in the UiPath Community 2023.12 release. While the current functionality of converting natural language into expressions is incredibly useful and has nothing but changed the way I write “code”, I encountered a limitation when attempting to generate expressions based on context from open tabs:
Current Scenario:
- Step 1: I generated an expression in the file
TransactionItemSpecificContentLogging.xaml
. - Step 2: In a second file, I wanted to reuse the same expression.
- Prompt: “give me a recursive transactionItem LogMessage expression similar to the one in TransactionItemSpecificContentLogging.xaml”, this time for in_Config
- Result: Received an error message: “Sorry, we couldn’t generate an expression based on your request. Please adjust your prompt and try again.”
I also tried systematically if the prompt knows variables from other files, but couldn’t get any related output.
It seems though that the current file is in the context, as I could create a list of all current file’s variables with their datatype!
Don’t get me wrong: That GUI element with the natural language prompt ist a shining example how to include generative AI into a LowCode tool. As a “Pro Developer” the feature fulfills many of my needs.
Expected Behavior:
When generating an expression in a different file, the Autopilot feature should utilize the context from the open tabs, allowing it to recognize and reuse expressions defined in other open files.
Benefits:
- Improved Usability: This feature would significantly enhance the usability of Autopilot, making it easier for users to reuse code and expressions across different files.
- Efficiency: Reduces the time spent manually searching for and copying expressions between files, thereby increasing overall development efficiency.
- Consistency: Ensures consistency in the expressions used across different parts of the project.
- Adherence to Emerging Standards: By understanding the context from open tabs, UiPath Autopilot would align with the capabilities seen in other AI-enhanced IDEs, such as GitHub Copilot. These tools analyze the content of the current file and the overall structure of the project to provide relevant suggestions
Thank you for considering my request. I look forward to seeing continuous improvements in UiPath Studio.
Best regards,
Christian Prior-Mamulyan