# Span + Line + Document Labeling

### Create a project

1. From the **Projects** page, click **Create project**.
2. Upload files with supported file types for span labeling.
3. In step 3, select **Span labeling**, **Line labeling**, and **Document labeling**.

   ![](/files/Zpq6u7CPMkp559lFz84f)
4. Create a label set for span labeling, and question sets for line labeling and document labeling.
5. Complete the remaining steps and create the project.

### Working on a span + line + document labeling project

When you open the project, **Labels**, **Line labeling**, and **Document labeling** extensions are enabled automatically.

* To label a span, highlight the text and choose a label from the label box.
* To answer a line, right-click the line and select **Answer this line** from the context menu. Enter your answer in the **Line labeling** extension and click **Submit answers**.
* To label a document, open the **Document labeling** extension and answer the questions.

![](/files/iRjKTBS0TYIT5RaZKL7V)

### **Get the latest label updates in reviewer mode**

As a reviewer, you can refresh span labels, line answers, and document answers to ensure the latest changes are reflected. When reviewing labeling work, the displayed labels and answers may not be up to date. Open the **Review** extension and click **Update now** to load the latest changes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.datasaur.ai/data-studio-projects/lets-get-labeling/span-based/span-+-line-+-document-labeling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
