code: def text2text_mappings():
      """Text2Text index mappings"""
      return {
          "_source": mappings.source(
              excludes=[
                  "predicted",
                  "predicted_as",
                  "predicted_by",
                  "annotated_as",
                  "annotated_by",
                  "score",
              ]
          ),
          "properties": {
              "annotated_as": mappings.keyword_field(),
              "predicted_as": mappings.keyword_field(),
              "text_predicted": mappings.text_field(),
              "score": mappings.decimal_field(),
          },
      }
  
label_desc: Use image node_id 1 for calling a global function with example usage: text2text_mappings() and returns: dict