Skip to content

Commit

Permalink
Deployed cd96d3d with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
joshreini1 committed Jan 10, 2024
1 parent 801ca7a commit aa38e5b
Show file tree
Hide file tree
Showing 15 changed files with 173 additions and 157 deletions.
38 changes: 19 additions & 19 deletions conf/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2765,7 +2765,7 @@ <h1>Conf</h1>
</style>
<!-- End of mermaid configuration --><div class="jupyter-wrapper">
<div class="jp-Notebook" data-jp-theme-light="true" data-jp-theme-name="JupyterLab Light">
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=f2f13171">
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=f93c28e4">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -2779,7 +2779,7 @@ <h1>Conf</h1>
</div>
</div>
</div>
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=d882a941">
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=69e05d97">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -2790,7 +2790,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=e5e1e6f9">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=19e2e9d2">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -2827,7 +2827,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=87190897">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=cbccf74b">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -2858,7 +2858,7 @@ <h1>Conf</h1>
</div>
</div>
</div>
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=0b51cf63">
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=a33cd27e">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -2869,7 +2869,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=2feebd84">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=61a4f580">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -2900,7 +2900,7 @@ <h1>Conf</h1>
</div>
</div>
</div>
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=f81e4e14">
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=6eb580e6">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -2911,7 +2911,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=24e72df8">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=91a0955d">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -2954,7 +2954,7 @@ <h1>Conf</h1>
</div>
</div>
</div>
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=6099d12b">
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=f9e8d0df">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -2967,7 +2967,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=860ef5f9">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=f3e85351">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -3000,7 +3000,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=a96d2661">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=ba53531d">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -3029,7 +3029,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=1d76582b">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=9950b281">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -3058,7 +3058,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=51d26815">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=bade64e9">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -3091,7 +3091,7 @@ <h1>Conf</h1>
</div>
</div>
</div>
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=15989035">
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell" id="cell-id=69084e3a">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -3102,7 +3102,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=7064c7b1">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=3c828a07">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -3135,7 +3135,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=cdbd9078">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=b6b1304c">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -3168,7 +3168,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=8cf765df">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=a630f6d2">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -3195,7 +3195,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=d82b636e">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=e92bbc6f">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -3222,7 +3222,7 @@ <h1>Conf</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=c23dcf5e">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=3d921968">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.
28 changes: 10 additions & 18 deletions trulens_eval/api/bedrock_provider/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2602,31 +2602,27 @@ <h1 id="aws-bedrock-apis">AWS Bedrock APIs<a class="headerlink" href="#aws-bedro
<span class="normal">135</span>
<span class="normal">136</span>
<span class="normal">137</span>
<span class="normal">138</span>
<span class="normal">139</span>
<span class="normal">140</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">class</span> <span class="nc">Bedrock</span><span class="p">(</span><span class="n">LLMProvider</span><span class="p">):</span>
<span class="normal">138</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">class</span> <span class="nc">Bedrock</span><span class="p">(</span><span class="n">LLMProvider</span><span class="p">):</span>
<span class="c1"># LLMProvider requirement which we do not use:</span>
<span class="n">model_engine</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;Bedrock&quot;</span>

<span class="n">model_id</span><span class="p">:</span> <span class="nb">str</span>
<span class="n">endpoint</span><span class="p">:</span> <span class="n">BedrockEndpoint</span>

<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
<span class="c1"># rajib76: changed the default model id to the cheaper model</span>
<span class="c1"># titan-tg1-large is no longer available</span>
<span class="bp">self</span><span class="p">,</span>
<span class="o">*</span><span class="n">args</span><span class="p">,</span>
<span class="n">model_id</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;amazon.titan-text-lite-v1&quot;</span><span class="p">,</span>
<span class="n">model_id</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;amazon.titan-text-express-v1&quot;</span><span class="p">,</span>
<span class="o">**</span><span class="n">kwargs</span>
<span class="c1"># self, *args, model_id: str = &quot;amazon.titan-tg1-large&quot;, **kwargs</span>
<span class="c1"># self, *args, model_id: str = &quot;amazon.titan-text-express-v1&quot;, **kwargs</span>
<span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> A set of AWS Feedback Functions.</span>

<span class="sd"> Parameters:</span>

<span class="sd"> - model_id (str, optional): The specific model id. Defaults to</span>
<span class="sd"> &quot;amazon.titan-tg1-large&quot;.</span>
<span class="sd"> &quot;amazon.titan-text-express-v1&quot;.</span>

<span class="sd"> - All other args/kwargs passed to BedrockEndpoint and subsequently</span>
<span class="sd"> to boto3 client constructor.</span>
Expand Down Expand Up @@ -2753,7 +2749,7 @@ <h1 id="aws-bedrock-apis">AWS Bedrock APIs<a class="headerlink" href="#aws-bedro


<h2 id="trulens_eval.trulens_eval.feedback.provider.bedrock.Bedrock.__init__" class="doc doc-heading">
<code class=" language-python"><span class="fm">__init__</span><span class="p">(</span><span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="n">model_id</span><span class="o">=</span><span class="s1">&#39;amazon.titan-text-lite-v1&#39;</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span></code>
<code class=" language-python"><span class="fm">__init__</span><span class="p">(</span><span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="n">model_id</span><span class="o">=</span><span class="s1">&#39;amazon.titan-text-express-v1&#39;</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span></code>

<a href="#trulens_eval.trulens_eval.feedback.provider.bedrock.Bedrock.__init__" class="headerlink" title="Permanent link">&para;</a></h2>

Expand All @@ -2765,7 +2761,7 @@ <h2 id="trulens_eval.trulens_eval.feedback.provider.bedrock.Bedrock.__init__" cl
<ul>
<li>
<p>model_id (str, optional): The specific model id. Defaults to
"amazon.titan-tg1-large".</p>
"amazon.titan-text-express-v1".</p>
</li>
<li>
<p>All other args/kwargs passed to BedrockEndpoint and subsequently
Expand Down Expand Up @@ -2808,24 +2804,20 @@ <h2 id="trulens_eval.trulens_eval.feedback.provider.bedrock.Bedrock.__init__" cl
<span class="normal">51</span>
<span class="normal">52</span>
<span class="normal">53</span>
<span class="normal">54</span>
<span class="normal">55</span>
<span class="normal">56</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
<span class="c1"># rajib76: changed the default model id to the cheaper model</span>
<span class="c1"># titan-tg1-large is no longer available</span>
<span class="normal">54</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
<span class="bp">self</span><span class="p">,</span>
<span class="o">*</span><span class="n">args</span><span class="p">,</span>
<span class="n">model_id</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;amazon.titan-text-lite-v1&quot;</span><span class="p">,</span>
<span class="n">model_id</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;amazon.titan-text-express-v1&quot;</span><span class="p">,</span>
<span class="o">**</span><span class="n">kwargs</span>
<span class="c1"># self, *args, model_id: str = &quot;amazon.titan-tg1-large&quot;, **kwargs</span>
<span class="c1"># self, *args, model_id: str = &quot;amazon.titan-text-express-v1&quot;, **kwargs</span>
<span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> A set of AWS Feedback Functions.</span>

<span class="sd"> Parameters:</span>

<span class="sd"> - model_id (str, optional): The specific model id. Defaults to</span>
<span class="sd"> &quot;amazon.titan-tg1-large&quot;.</span>
<span class="sd"> &quot;amazon.titan-text-express-v1&quot;.</span>

<span class="sd"> - All other args/kwargs passed to BedrockEndpoint and subsequently</span>
<span class="sd"> to boto3 client constructor.</span>
Expand Down
Loading

0 comments on commit aa38e5b

Please sign in to comment.