Feature request: Autopilot "workspace"-awareness

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:

  1. Step 1: I generated an expression in the file TransactionItemSpecificContentLogging.xaml.
  2. 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

1 Like

Hello @cprima!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff