 class="sd">    ...     .setInputCols([&quot;document&quot;]) \\</span>
<span class="sd">    ...     .setInstruction(&quot;Represent the Medicine sentence for clustering: &quot;) \\</span>
<span class="sd">    ...     .setOutputCol(&quot;instructor_embeddings&quot;)</span>
<span class="sd">    &gt;&gt;&gt; embeddingsFinisher = EmbeddingsFinisher() \\</span>
<span class="sd">    ...     .setInputCols([&quot;instructor_embeddings&quot;]) \\</span>
<span class="sd">    ...     .setOutputCols(&quot;finished_emb