Environmental Variable for Evaluation Pipeline

Where can I get the list of Environmental variable parameters for Evaluation or Full pipeline run?
Any link which has the list please?

Hello @anto.santhosh!

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.

  5. Meet us and our users on our Community Slack and ask your question there.

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

Hi @anto.santhosh
It actually depends of the model you want to use, all models are described in documentation.

Hello Mr Jeremy Tederry. Can you please explain why do we use environment variables in pipelines in UiPath AI Center. Thanks in advance

Hi @Jothi_prasanna_B

Please find the Details on "environment variables "

  • In the Enter parameters section, enter the environment variables defined and used by your pipeline, if any. The environment variables are:
    training_data_directory , with default value dataset/training : Defines where the training data is accessible locally for the pipeline. This directory is used as input for the train() function. Most users will never have to override this through the UI and can just write data into os.environ['training_data_directory'] in the process_data function and can just expect that the argument data_directory in train(self, data_directory will be called with os.environ['training_data_directory'] .
    test_data_directory with default value dataset/test : Defines where the test data is accessible locally for the pipeline. This directory is used as input to the evaluate() function. Most users will never have to override this through the UI and can just write data into os.environ['test_data_directory'] in the process_data function and can just expect that the argument data_directory in evaluate(self, data_directory will be called with os.environ['test_data_directory'] .
    artifacts_directory , with default value artifacts : This defines the path to a directory that will be persisted as ancillary data related to this pipeline. Most, if not all users, will never have the need to override this through the UI. Anything can be saved during pipeline execution including images, pdfs, and subfolders. Concretely, any data your code writes in the directory specified by the path os.environ['artifacts_directory'] will be uploaded at the end of the pipeline run and will be viewable from the Pipeline details page.
    save_training_data , with default value true : If set to true , training_data_directory folder will be uploaded at the end of the pipeline run as an output of the pipeline under directory training_data_directory .
    save_test_data , with default value true : If set to true , test_data_directory folder will be uploaded at the end of the pipeline run as an output of the pipeline under directory test_data_directory .

I am also curious on the environment variable section. So, is this creating a new variable with a value or is it assigning a value to a variable?

For example, I have this evaluate method
def evaluate(self, test_directory):
content = pd.read_csv(os.path.join(test_directory, ‘Test_case.csv’))
Based on some research, once called the ‘test_directory’ will have an assigned value of os.environ[‘test_data_directory’] (./data/dataset) but here its hardcoded “.csv” so I can’t change it in the UI.
However, if I do
def evaluate(self, test_data_directory, test_file):
content = pd.read_csv(os.path.join(test_directory, test_file))
and assign in the environment variable test_file = ‘Other_test.csv’
Will it work if not any suggestions? I want to know if that is the function of environment variables.