Create Projects
Last updated
Last updated
Robosaur will try to create a project for each folder inside the create.files
folder. If the contents of quickstart/token-based/documents
looks like the example below, Robosaur will create two projects named Project 1
and Project 2
with each project has one document named lorem.txt
and ipsum.txt
respectively. This attribute could be a path to your local drive or any supported object storage, the details can be seen .
All successful project creation is saved on the state that is configured by projectState
attribute. So, the next time you run the same command, there will be no project duplication. It will only process the new project(s) or the failed ones.
Select a configuration example from the quickstart
folder.
Specify the create.files
value. As mentioned above, this attribute will be the data source of the projects.
Create a new project using the Project Creation Wizard (PCW) by clicking the + Custom Project
.
Copy the values.
Run the command.
Directly on the configuration file which is the recommended approach. Paste the payload to create.pcwPayload
and make sure the value of create.pcwPayloadSource
is like the example below.
There are two ways to specify the list.
Using the labelers and reviewers that are already assigned on PCW. This is the default approach and you won't have to do a thing because it's already included on the configuration when you paste it from PCW.
Specify the list on your own. Create a file and specify the path on create.assignment
attribute. The values of the file should be like this below.
If useTeamMemberId
is true
, fill both labelers and reviewers with teamMembeId
.
If useTeamMemberId
is false
, fill both labelers and reviewers with their emails.
Currently, we are supporting two assignment distributions.
Across documents (default approach). You would only need to specify create.pcwAssignmentStrategy
value. Here is the supported approach.
AUTO: distribute documents to labelers using round-robin algorithm, i.e. each document will only be assigned by exactly one labeler.
ALL: labelers will be assigned to all documents.
Please note that the reviewers will be assigned to all projects and documents.
Create the assignment file and specify it on create.assignment
.
Fill project
as the value of create.assignment.by
attribute.
Select assignment strategy by filling the create.assignment.strategy
. There are two ways supported.
AUTO: distribute both labelers and reviewers using round-robin. Only one labeler and reviewer for each project.
ALL: all reviewers and labelers will be assigned to each project.
Remove create.pcwAssignmentStrategy
attribute and documentAssignments
attribute from pcwPayload
.
Newly created projects from Robosaur can be tagged automatically.
Or, if the PCW Payload is on an external file (whether it is local or from a cloud storage), add the tagNames
field in variables.input
, and specify the tags for the projects.
Automate the labeling process on the newly created projects using ML-assisted labeling.
In the config file, add the autoLabel
field under create and fill in the required fields. The target API requires the project to have a label set to be able to work properly.
With this, every time a project is created, the ML-assisted labeling will be triggered and there will be labels applied on the new project, depending on your custom API model response.
Open the and select your preferred team to work on by clicking your profile on the top right corner.
Configure what kind of projects that you want to automate. Go through until the last step, including choosing labelers and reviewers, and click <> View Script
in the top right corner (see to help visualize the step).
Paste the value directly to create.pcwPayload
and make sure the create.pcwPayloadSource
value is properly filled. See the detailed .
Specify the pcwAssignmentStrategy
. The value could be ALL
(default) or AUTO
. See the detailed .
Use a storage (could be local file or any supported cloud storage). Below is the example using GCS. Paste the value to a JSON file in your bucket and fill create.pcwPayload
with the path. Another attributes that must be filled are create.pcwPayloadSource
and credentials
. For other supported object storage, see .
Across projects. To use this approach, you would have to specify the labelers and reviewers list on your own just like mentioned on the section. Follow the steps below.
From the PCW payload that you have copied using the recommended approach from the (directly on the config file), add a new field called tagNames
under create.pcwPayload.variables.input
, and specify the tags for the projects. If the tags did not exist yet, they will be created for you.