mp.tasks.text.TextEmbeddingTextRole

The role of the text in the context of the embedding task.

DOCUMENT <TextRole.DOCUMENT: 2>
QUERY <TextRole.QUERY: 1>