{#*******************************************

Generated input embedding fields

{{ dump(data) }}

********************************************#}

{% for component_id, field in data.input_text_embedding_fields %}
    field {{ field.definition.field_label }} type tensor<float>(x[{{ field.definition.vector_dimension }}]) {
        indexing {
            {{ data.include_input_text_fields }} . " " . {{ data.include_input_array_text_fields }}  | embed {{ component_id }} | attribute
        }
        {% if field.definition.attribute %}
            attribute {
            {% if field.definition.attribute.distance-metric %}
                distance-metric: {{ field.definition.attribute.distance-metric }}
            {% endif %}
            }
        {% endif %}
        }
{% endfor %}