Skip to content

Commit

Permalink
deploy: f5a6a20
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 9, 2024
1 parent 3e6047b commit def2195
Show file tree
Hide file tree
Showing 59 changed files with 5,373 additions and 75 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/apis/components/components.model_client.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/apis/components/components.retriever.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/apis/components/index.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.types.doctree
Binary file not shown.
Binary file modified .doctrees/apis/index.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/utils.lazy_import.doctree
Binary file not shown.
Binary file modified .doctrees/developer_notes/lightrag_design_philosophy.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/get_started/lightrag_in_10_mins.doctree
Binary file not shown.
Binary file modified .doctrees/index.doctree
Binary file not shown.
642 changes: 642 additions & 0 deletions _modules/components/model_client/anthropic_client.html

Large diffs are not rendered by default.

625 changes: 625 additions & 0 deletions _modules/components/model_client/cohere_client.html

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion _modules/components/model_client/google_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ <h1>Source code for components.model_client.google_client</h1><div class="highli
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="nb">input</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span>
<span class="nb">input</span> <span class="o">=</span> <span class="p">[</span><span class="nb">input</span><span class="p">]</span>
<span class="c1"># convert input to input</span>
<span class="k">assert</span> <span class="nb">isinstance</span><span class="p">(</span><span class="nb">input</span><span class="p">,</span> <span class="n">Sequence</span><span class="p">),</span> <span class="s2">&quot;input must be a sequence of text&quot;</span>
<span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="nb">input</span><span class="p">,</span> <span class="n">Sequence</span><span class="p">):</span>
<span class="k">raise</span> <span class="ne">TypeError</span><span class="p">(</span><span class="s2">&quot;input must be a sequence of text&quot;</span><span class="p">)</span>
<span class="n">final_model_kwargs</span><span class="p">[</span><span class="s2">&quot;input&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="nb">input</span>
<span class="k">elif</span> <span class="n">model_type</span> <span class="o">==</span> <span class="n">ModelType</span><span class="o">.</span><span class="n">LLM</span><span class="p">:</span>

Expand Down
Loading

0 comments on commit def2195

Please sign in to comment.