Create Projects
How It Works
Robosaur will try to create a project for each folder inside the
create.files
folder. If the contents ofquickstart/token-based/documents
looks like the example below, Robosaur will create two projects namedProject 1
andProject 2
with each project has one document namedlorem.txt
andipsum.txt
respectively. This attribute could be a path to your local drive or any supported object storage, the details can be seen here.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.
Recommended Steps
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.Open the app and select your preferred team to work on by clicking your profile on the top right corner.
Create a new project using the Project Creation Wizard (PCW) by clicking the
+ Custom Project
.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 this video to help visualize the step).Copy the values.
Paste the value directly to
create.pcwPayload
and make sure thecreate.pcwPayloadSource
value is properly filled. See the detailed below.Specify the
pcwAssignmentStrategy
. The value could beALL
(default) orAUTO
. See the detailed below.Run the command.
PCW Payload
Directly on the configuration file which is the recommended approach. Paste the payload to
create.pcwPayload
and make sure the value ofcreate.pcwPayloadSource
is like the example below.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 arecreate.pcwPayloadSource
andcredentials
. For other supported object storage, see here.
Assignment
List of Assignees (Labelers and Reviewers)
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
istrue
, fill both labelers and reviewers withteamMembeId
.If
useTeamMemberId
isfalse
, fill both labelers and reviewers with their emails.
Distribution
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.
Across projects. To use this approach, you would have to specify the labelers and reviewers list on your own just like mentioned on the List of Assignees section. Follow the steps below.
Create the assignment file and specify it on
create.assignment
.Fill
project
as the value ofcreate.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 anddocumentAssignments
attribute frompcwPayload
.
Tagging Projects
Newly created projects from Robosaur can be tagged automatically.
From the PCW payload that you have copied using the recommended approach from the previous section (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.
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.
ML-Assisted Labeling
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.
Last updated