You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Device has 1 GPUs available. Provide device={deviceId} to `from_model_id` to use availableGPUs for execution. deviceId is -1 (default) for CPU and can be a positive integer associated with CUDA device id.
<div class="highlight hl-ipython3"><pre><span></span><span class="n">llm_chain</span><span class="p">(</span><span class="s2">"What's the length of the Tsar's Trail and where does it begin?"</span><span class="p">)[</span><span class="s2">"text"</span><span class="p">]</span>
7984
+
<div class="highlight hl-ipython3"><pre><span></span><span class="n">llm_chain</span><span class="p">(</span><span class="s2">"""Bialowieza Forest trails are marked with colors.</span>
7985
+
<span class="s2"> What's the color of the Wolf’s Trail?"""</span><span class="p">)[</span><span class="s2">"text"</span><span class="p">]</span>
<div class="highlight hl-ipython3"><pre><span></span><span class="n">question</span> <span class="o">=</span> <span class="s2">"What's the length of the Tsar's Trail and where does it begin?"</span>
8494
+
<div class="highlight hl-ipython3"><pre><span></span><span class="n">question</span> <span class="o">=</span> <span class="s2">"""Bialowieza Forest trails are marked with colors.</span>
8495
+
<span class="s2"> What's the color of the Wolf’s Trail?"""</span>
8481
8496
8482
8497
<span class="n">qa_chain</span><span class="p">(</span><span class="sa">f</span><span class="s2">"Provide brief answers, use 10 words or less. </span><span class="si">{</span><span class="n">question</span><span class="si">}</span><span class="s2">"</span><span class="p">)[</span><span class="s2">"result"</span><span class="p">]</span>
<pre>Device has 1 GPUs available. Provide device={deviceId} to `from_model_id` to use availableGPUs for execution. deviceId is -1 (default) for CPU and can be a positive integer associated with CUDA device id.
<divclass="highlight hl-ipython3"><pre><span></span><spanclass="n">llm_chain</span><spanclass="p">(</span><spanclass="s2">"What's the length of the Tsar's Trail and where does it begin?"</span><spanclass="p">)[</span><spanclass="s2">"text"</span><spanclass="p">]</span>
7943
+
<divclass="highlight hl-ipython3"><pre><span></span><spanclass="n">llm_chain</span><spanclass="p">(</span><spanclass="s2">"""Bialowieza Forest trails are marked with colors.</span>
7944
+
<spanclass="s2"> What's the color of the Wolf’s Trail?"""</span><spanclass="p">)[</span><spanclass="s2">"text"</span><spanclass="p">]</span>
<divclass="highlight hl-ipython3"><pre><span></span><spanclass="n">question</span><spanclass="o">=</span><spanclass="s2">"What's the length of the Tsar's Trail and where does it begin?"</span>
8404
+
<divclass="highlight hl-ipython3"><pre><span></span><spanclass="n">question</span><spanclass="o">=</span><spanclass="s2">"""Bialowieza Forest trails are marked with colors.</span>
8405
+
<spanclass="s2"> What's the color of the Wolf’s Trail?"""</span>
8391
8406
8392
8407
<spanclass="n">qa_chain</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"Provide brief answers, use 10 words or less. </span><spanclass="si">{</span><spanclass="n">question</span><spanclass="si">}</span><spanclass="s2">"</span><spanclass="p">)[</span><spanclass="s2">"result"</span><spanclass="p">]</span>
0 commit comments