> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encord.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Utilities.label utilities

#### construct\_answer\_dictionaries

```python theme={"dark"}
def construct_answer_dictionaries(label_row) -> LabelRow
```

Adds answer object and classification answer dictionaries from a label row if they do not exist.
Integrity checks are conducted upon saving of labels.

**Arguments**:

* `label_row` - A label row.

**Returns**:

* `LabelRow` - A label row instance with updated answer dictionaries

#### add\_answers\_to\_items

```python theme={"dark"}
def add_answers_to_items(items, classification_answers, object_answers)
```

If object\_hash (uid) or classification\_hash (uid) are not in answer dictionaries,
add key entry with empty classification list.
