in demo_app/demo_app.py [0:0]
def get_cu_value_field_name(field_info: dict) -> str:
"""Gets the name of the dictionary field containing the resulting value
from a content understanding field result."""
return next(
(
field_name
for field_name, field_value in field_info.items()
if field_name.startswith("value")
),
None,
)