Skip to content

Commit 2c8e950

Browse files
committed
📥 Export to HTML
1 parent 4d48362 commit 2c8e950

File tree

2 files changed

+48
-18
lines changed

2 files changed

+48
-18
lines changed

exported_qa_engine.one_page.html

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7697,7 +7697,7 @@ <h2 id="Load-a-model">Load a model<a class="anchor-link" href="#Load-a-model">¶
76977697
</div>
76987698
</div>
76997699
</div>
7700-
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=035dd36a">
7700+
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell" id="cell-id=035dd36a">
77017701
<div class="jp-Cell-inputWrapper" tabindex="0">
77027702
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
77037703
</div>
@@ -7723,6 +7723,19 @@ <h2 id="Load-a-model">Load a model<a class="anchor-link" href="#Load-a-model">¶
77237723
</div>
77247724
</div>
77257725
</div>
7726+
<div class="jp-Cell-outputWrapper">
7727+
<div class="jp-Collapser jp-OutputCollapser jp-Cell-outputCollapser">
7728+
</div>
7729+
<div class="jp-OutputArea jp-Cell-outputArea">
7730+
<div class="jp-OutputArea-child">
7731+
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
7732+
<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="application/vnd.jupyter.stderr" tabindex="0">
7733+
<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.
7734+
</pre>
7735+
</div>
7736+
</div>
7737+
</div>
7738+
</div>
77267739
</div>
77277740
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=83aecfba">
77287741
<div class="jp-Cell-inputWrapper" tabindex="0">
@@ -7968,7 +7981,8 @@ <h2 id="Harder-questions">Harder questions<a class="anchor-link" href="#Harder-q
79687981
<div class="jp-InputPrompt jp-InputArea-prompt">In [12]:</div>
79697982
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
79707983
<div class="cm-editor cm-s-jupyter">
7971-
<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>
79727986
</pre></div>
79737987
</div>
79747988
</div>
@@ -7981,7 +7995,7 @@ <h2 id="Harder-questions">Harder questions<a class="anchor-link" href="#Harder-q
79817995
<div class="jp-OutputArea-child jp-OutputArea-executeResult">
79827996
<div class="jp-OutputPrompt jp-OutputArea-prompt">Out[12]:</div>
79837997
<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain" tabindex="0">
7984-
<pre>"&lt;pad&gt; The Tsar's Trail is a 900 mile long trail that begins in Moscow and ends in St. Petersburg."</pre>
7998+
<pre>'&lt;pad&gt; Yellow.\n'</pre>
79857999
</div>
79868000
</div>
79878001
</div>
@@ -8375,11 +8389,11 @@ <h2 id="%E2%86%AA%EF%B8%8F-Similarity-search">↪️ Similarity search<a class="
83758389
<div class="jp-OutputArea-child jp-OutputArea-executeResult">
83768390
<div class="jp-OutputPrompt jp-OutputArea-prompt">Out[20]:</div>
83778391
<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain" tabindex="0">
8378-
<pre>['0.499 | 323 | Białowieża [bʲawɔˈvʲɛʐa] (Belarusian: Белавежа, Biełavieža) ...',
8379-
'0.613 | 238 | Białowieża is the seat of the administrative district of Gmi ...',
8380-
'0.676 | 283 | == Location ==\nBiałowieża is in eastern Poland, in Podlasie ...',
8392+
<pre>["0.570 | 245 | Białowieża [bʲawɔˈvʲɛʐa] in Poland's Podlasie Province, in t ...",
8393+
'0.624 | 450 | == Location ==\nBiałowieża is in eastern Poland, in Podlasie ...',
83818394
'0.716 | 95 | village of Białowieża lies within the forest. Białowieża mea ...',
8382-
'0.748 | 498 | The Białowieża Forest takes its name from the Polish village ...']</pre>
8395+
'0.748 | 498 | The Białowieża Forest takes its name from the Polish village ...',
8396+
'0.768 | 500 | Białowieża National Park (Polish: Białowieski Park Narodowy) ...']</pre>
83838397
</div>
83848398
</div>
83858399
</div>
@@ -8477,7 +8491,8 @@ <h2 id="RAG-step-6---generate-answers-with-the-Q&amp;A-chain">RAG step 6 - gener
84778491
<div class="jp-InputPrompt jp-InputArea-prompt">In [23]:</div>
84788492
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
84798493
<div class="cm-editor cm-s-jupyter">
8480-
<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>
84818496

84828497
<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>
84838498
</pre></div>
@@ -8492,7 +8507,7 @@ <h2 id="RAG-step-6---generate-answers-with-the-Q&amp;A-chain">RAG step 6 - gener
84928507
<div class="jp-OutputArea-child jp-OutputArea-executeResult">
84938508
<div class="jp-OutputPrompt jp-OutputArea-prompt">Out[23]:</div>
84948509
<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain" tabindex="0">
8495-
<pre>'&lt;pad&gt; 4 km long, starts at Przed Kosym Mostem depot.\n'</pre>
8510+
<pre>"&lt;pad&gt; The Wolf's Trail is green.\n"</pre>
84968511
</div>
84978512
</div>
84988513
</div>

exported_qa_engine.slides.html

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7656,7 +7656,7 @@ <h2 id="Load-a-model">Load a model<a class="anchor-link" href="#Load-a-model">¶
76567656
</div>
76577657
</div>
76587658
</div>
7659-
</div><div class="fragment"><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=035dd36a">
7659+
</div><div class="fragment"><div class="jp-Cell jp-CodeCell jp-Notebook-cell" id="cell-id=035dd36a">
76607660
<div class="jp-Cell-inputWrapper" tabindex="0">
76617661
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
76627662
</div>
@@ -7682,6 +7682,19 @@ <h2 id="Load-a-model">Load a model<a class="anchor-link" href="#Load-a-model">¶
76827682
</div>
76837683
</div>
76847684
</div>
7685+
<div class="jp-Cell-outputWrapper">
7686+
<div class="jp-Collapser jp-OutputCollapser jp-Cell-outputCollapser">
7687+
</div>
7688+
<div class="jp-OutputArea jp-Cell-outputArea">
7689+
<div class="jp-OutputArea-child">
7690+
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
7691+
<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="application/vnd.jupyter.stderr" tabindex="0">
7692+
<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.
7693+
</pre>
7694+
</div>
7695+
</div>
7696+
</div>
7697+
</div>
76857698
</div></div></section></section><section><section>
76867699
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=83aecfba">
76877700
<div class="jp-Cell-inputWrapper" tabindex="0">
@@ -7927,7 +7940,8 @@ <h2 id="Harder-questions">Harder questions<a class="anchor-link" href="#Harder-q
79277940
<div class="jp-InputPrompt jp-InputArea-prompt">In [12]:</div>
79287941
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
79297942
<div class="cm-editor cm-s-jupyter">
7930-
<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>
7943+
<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>
7944+
<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>
79317945
</pre></div>
79327946
</div>
79337947
</div>
@@ -7940,7 +7954,7 @@ <h2 id="Harder-questions">Harder questions<a class="anchor-link" href="#Harder-q
79407954
<div class="jp-OutputArea-child jp-OutputArea-executeResult">
79417955
<div class="jp-OutputPrompt jp-OutputArea-prompt">Out[12]:</div>
79427956
<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain" tabindex="0">
7943-
<pre>"&lt;pad&gt; The Tsar's Trail is a 900 mile long trail that begins in Moscow and ends in St. Petersburg."</pre>
7957+
<pre>'&lt;pad&gt; Yellow.\n'</pre>
79447958
</div>
79457959
</div>
79467960
</div>
@@ -8285,11 +8299,11 @@ <h2 id="%E2%86%AA%EF%B8%8F-Similarity-search">↪️ Similarity search<a class="
82858299
<div class="jp-OutputArea-child jp-OutputArea-executeResult">
82868300
<div class="jp-OutputPrompt jp-OutputArea-prompt">Out[20]:</div>
82878301
<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain" tabindex="0">
8288-
<pre>['0.499 | 323 | Białowieża [bʲawɔˈvʲɛʐa] (Belarusian: Белавежа, Biełavieža) ...',
8289-
'0.613 | 238 | Białowieża is the seat of the administrative district of Gmi ...',
8290-
'0.676 | 283 | == Location ==\nBiałowieża is in eastern Poland, in Podlasie ...',
8302+
<pre>["0.570 | 245 | Białowieża [bʲawɔˈvʲɛʐa] in Poland's Podlasie Province, in t ...",
8303+
'0.624 | 450 | == Location ==\nBiałowieża is in eastern Poland, in Podlasie ...',
82918304
'0.716 | 95 | village of Białowieża lies within the forest. Białowieża mea ...',
8292-
'0.748 | 498 | The Białowieża Forest takes its name from the Polish village ...']</pre>
8305+
'0.748 | 498 | The Białowieża Forest takes its name from the Polish village ...',
8306+
'0.768 | 500 | Białowieża National Park (Polish: Białowieski Park Narodowy) ...']</pre>
82938307
</div>
82948308
</div>
82958309
</div>
@@ -8387,7 +8401,8 @@ <h2 id="RAG-step-6---generate-answers-with-the-Q&amp;A-chain">RAG step 6 - gener
83878401
<div class="jp-InputPrompt jp-InputArea-prompt">In [23]:</div>
83888402
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
83898403
<div class="cm-editor cm-s-jupyter">
8390-
<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>
8404+
<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>
8405+
<span class="s2"> What's the color of the Wolf’s Trail?"""</span>
83918406

83928407
<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>
83938408
</pre></div>
@@ -8402,7 +8417,7 @@ <h2 id="RAG-step-6---generate-answers-with-the-Q&amp;A-chain">RAG step 6 - gener
84028417
<div class="jp-OutputArea-child jp-OutputArea-executeResult">
84038418
<div class="jp-OutputPrompt jp-OutputArea-prompt">Out[23]:</div>
84048419
<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain" tabindex="0">
8405-
<pre>'&lt;pad&gt; 4 km long, starts at Przed Kosym Mostem depot.\n'</pre>
8420+
<pre>"&lt;pad&gt; The Wolf's Trail is green.\n"</pre>
84068421
</div>
84078422
</div>
84088423
</div>

0 commit comments

Comments
 (0)