Skip to content

Commit

Permalink
deploy: 6b97f9f
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 1, 2024
1 parent 18d6845 commit 90911c8
Show file tree
Hide file tree
Showing 288 changed files with 14,053 additions and 742 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/apis/components/components.agent.doctree
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/apis/components/components.data_process.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/apis/components/components.memory.doctree
Binary file not shown.
Binary file modified .doctrees/apis/components/components.memory.memory.doctree
Binary file not shown.
Binary file modified .doctrees/apis/components/components.model_client.doctree
Binary file not shown.
Binary file modified .doctrees/apis/components/components.model_client.utils.doctree
Binary file not shown.
Binary file modified .doctrees/apis/components/components.output_parsers.doctree
Binary file not shown.
Binary file modified .doctrees/apis/components/components.reasoning.doctree
Binary file not shown.
Binary file modified .doctrees/apis/components/components.retriever.doctree
Binary file not shown.
Binary file modified .doctrees/apis/components/index.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.base_data_class.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.component.doctree
Binary file not shown.
Binary file added .doctrees/apis/core/core.data_components.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.db.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.default_prompt_template.doctree
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/apis/core/core.embedder.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.func_tool.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.functional.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.generator.doctree
Binary file not shown.
Binary file added .doctrees/apis/core/core.memory.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.model_client.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.parameter.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.prompt_builder.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.retriever.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.string_parser.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.tokenizer.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.tool_manager.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/core.types.doctree
Binary file not shown.
Binary file modified .doctrees/apis/core/index.doctree
Binary file not shown.
Binary file modified .doctrees/apis/eval/eval.answer_match_acc.doctree
Binary file not shown.
Binary file added .doctrees/apis/eval/eval.evaluators.doctree
Binary file not shown.
Binary file modified .doctrees/apis/eval/eval.llm_as_judge.doctree
Binary file not shown.
Binary file modified .doctrees/apis/eval/eval.retriever_recall.doctree
Binary file not shown.
Binary file modified .doctrees/apis/eval/eval.retriever_relevance.doctree
Binary file not shown.
Binary file modified .doctrees/apis/index.doctree
Binary file not shown.
Binary file modified .doctrees/apis/optim/optim.few_shot_optimizer.doctree
Binary file not shown.
Binary file modified .doctrees/apis/optim/optim.llm_augment.doctree
Binary file not shown.
Binary file modified .doctrees/apis/optim/optim.llm_optimizer.doctree
Binary file not shown.
Binary file modified .doctrees/apis/optim/optim.optimizer.doctree
Binary file not shown.
Binary file modified .doctrees/apis/optim/optim.sampler.doctree
Binary file not shown.
Binary file modified .doctrees/apis/tracing/tracing.decorators.doctree
Binary file not shown.
Binary file modified .doctrees/apis/tracing/tracing.generator_call_logger.doctree
Binary file not shown.
Binary file modified .doctrees/apis/tracing/tracing.generator_state_logger.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/index.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/utils.config.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/utils.file_io.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/utils.lazy_import.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/utils.logger.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/utils.registry.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/utils.serialization.doctree
Binary file not shown.
Binary file modified .doctrees/apis/utils/utils.setup_env.doctree
Binary file not shown.
Binary file modified .doctrees/developer_notes/component.doctree
Binary file not shown.
Binary file modified .doctrees/developer_notes/db.doctree
Binary file not shown.
Binary file modified .doctrees/developer_notes/generator.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/get_started/installation.doctree
Binary file not shown.
Binary file added _images/database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions _modules/components/agent/react.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css?v=66455f0e" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css?v=acde6056" />
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/rtd_sphinx_search.min.css" />

Expand Down Expand Up @@ -499,7 +499,7 @@ <h1>Source code for components.agent.react</h1><div class="highlight"><pre>


<div class="viewcode-block" id="ReActAgent">
<a class="viewcode-back" href="../../../apis/components/components.agent.html#components.agent.react.ReActAgent">[docs]</a>
<a class="viewcode-back" href="../../../apis/components/_autosummary/components.agent.react.html#components.agent.react.ReActAgent">[docs]</a>
<span class="k">class</span> <span class="nc">ReActAgent</span><span class="p">(</span><span class="n">Component</span><span class="p">):</span>
<span class="vm">__doc__</span> <span class="o">=</span> <span class="sa">r</span><span class="s2">&quot;&quot;&quot;ReActAgent uses generator as a planner that runs multiple and sequential functional call steps to generate the final response.</span>

Expand Down Expand Up @@ -575,7 +575,7 @@ <h1>Source code for components.agent.react</h1><div class="highlight"><pre>
<span class="n">func</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">_finish</span><span class="p">,</span>
<span class="n">answer</span><span class="o">=</span><span class="s2">&quot;final answer: &#39;answer&#39;&quot;</span><span class="p">,</span>
<span class="p">)</span>
<span class="n">output_parser</span> <span class="o">=</span> <span class="n">JsonOutputParser</span><span class="p">(</span><span class="n">data_class</span><span class="o">=</span><span class="n">ouput_data_class</span><span class="p">,</span> <span class="n">examples</span><span class="o">=</span><span class="n">example</span><span class="p">)</span>
<span class="n">output_parser</span> <span class="o">=</span> <span class="n">JsonOutputParser</span><span class="p">(</span><span class="n">data_class</span><span class="o">=</span><span class="n">ouput_data_class</span><span class="p">,</span> <span class="n">example</span><span class="o">=</span><span class="n">example</span><span class="p">)</span>
<span class="n">prompt_kwargs</span> <span class="o">=</span> <span class="p">{</span>
<span class="s2">&quot;tools&quot;</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">tool_manager</span><span class="o">.</span><span class="n">yaml_definitions</span><span class="p">,</span>
<span class="s2">&quot;output_format_str&quot;</span><span class="p">:</span> <span class="n">output_parser</span><span class="o">.</span><span class="n">format_instructions</span><span class="p">(),</span>
Expand Down Expand Up @@ -631,7 +631,7 @@ <h1>Source code for components.agent.react</h1><div class="highlight"><pre>
<span class="bp">self</span><span class="o">.</span><span class="n">tool_manager</span> <span class="o">=</span> <span class="n">ToolManager</span><span class="p">(</span><span class="n">tools</span><span class="o">=</span><span class="n">tools</span><span class="p">)</span>

<div class="viewcode-block" id="ReActAgent.reset">
<a class="viewcode-back" href="../../../apis/components/components.agent.html#components.agent.react.ReActAgent.reset">[docs]</a>
<a class="viewcode-back" href="../../../apis/components/_autosummary/components.agent.react.html#components.agent.react.ReActAgent.reset">[docs]</a>
<span class="k">def</span> <span class="nf">reset</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;Reset the agent to start a new query.&quot;&quot;&quot;</span>
<span class="bp">self</span><span class="o">.</span><span class="n">step_history</span> <span class="o">=</span> <span class="p">[]</span></div>
Expand Down Expand Up @@ -700,7 +700,7 @@ <h1>Source code for components.agent.react</h1><div class="highlight"><pre>
<span class="k">return</span> <span class="n">response</span>

<div class="viewcode-block" id="ReActAgent.call">
<a class="viewcode-back" href="../../../apis/components/components.agent.html#components.agent.react.ReActAgent.call">[docs]</a>
<a class="viewcode-back" href="../../../apis/components/_autosummary/components.agent.react.html#components.agent.react.ReActAgent.call">[docs]</a>
<span class="k">def</span> <span class="nf">call</span><span class="p">(</span>
<span class="bp">self</span><span class="p">,</span>
<span class="nb">input</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
Expand Down Expand Up @@ -738,7 +738,7 @@ <h1>Source code for components.agent.react</h1><div class="highlight"><pre>


<span class="k">if</span> <span class="vm">__name__</span> <span class="o">==</span> <span class="s2">&quot;__main__&quot;</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">lightrag.components.model_client</span> <span class="kn">import</span> <span class="n">GroqAPIClient</span>
<span class="kn">from</span> <span class="nn">components.model_client</span> <span class="kn">import</span> <span class="n">GroqAPIClient</span>
<span class="kn">from</span> <span class="nn">lightrag.core.types</span> <span class="kn">import</span> <span class="n">ModelClientType</span>
<span class="kn">from</span> <span class="nn">lightrag.utils</span> <span class="kn">import</span> <span class="n">setup_env</span> <span class="c1"># noqa</span>

Expand Down
2 changes: 1 addition & 1 deletion _modules/components/data_process/data_components.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css?v=66455f0e" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css?v=acde6056" />
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/rtd_sphinx_search.min.css" />

Expand Down
Loading

0 comments on commit 90911c8

Please sign in to comment.