Add Model Predictions
You can add predictions to existing tasks in Label Studio in your Python script.
If you would prefer to set them directly in the script, see Create a Project for an example.
This demo uses the example project from Create a Project. You would need to adjust this to match your labeling configuration.
For example, sentiment maps to <Choices name="sentiment" toName="text" choice="single"> in the labeling configuration we used earlier.
For information on finding your API key and base URL, see Authenticate and Connect to the API.
For another example, see the Jupyter notebook example of importing pre-annotated data.