Frame([[&quot;What&#39;s my name?&quot;, &quot;My name is Clara and I live in Berkeley.&quot;]]).toDF(&quot;question&quot;, &quot;context&quot;)</span>
<span class="sd">    &gt;&gt;&gt; result = pipeline.fit(data).transform(data)</span>
<span class="sd">    &gt;&gt;&gt; result.select(&quot;answer.result&quot;).show(truncate=False)</span>
<span class="sd">    +--------------------+</span>
<span class="sd">    |result              |</span>
<span class="sd">    +--------------------+</span>
<span class="sd">  