Skip to content

Commit

Permalink
deploy: 9a0cf44
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Sep 19, 2024
1 parent 4562961 commit 574dabd
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 14 deletions.
Binary file modified en/.doctrees/environment.pickle
Binary file not shown.
Binary file modified en/.doctrees/memoryscope.core.utils.doctree
Binary file not shown.
Binary file modified en/.doctrees/memoryscope.core.utils.tool_functions.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion en/memoryscope.core.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Link to this headi

<dl class="py function">
<dt class="sig sig-object py" id="memoryscope.core.utils.char_logo">
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1726133565202627749</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.char_logo" title="Link to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1726739093327264828</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.char_logo" title="Link to this definition"></a></dt>
<dd><p>Render the context of logo with colors</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
Expand Down
2 changes: 1 addition & 1 deletion en/memoryscope.core.utils.tool_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

<dl class="py function">
<dt class="sig sig-object py" id="memoryscope.core.utils.tool_functions.char_logo">
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.tool_functions.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1726133565202627749</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.tool_functions.char_logo" title="Link to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.tool_functions.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1726739093327264828</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.tool_functions.char_logo" title="Link to this definition"></a></dt>
<dd><p>Render the context of logo with colors</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
Expand Down
2 changes: 1 addition & 1 deletion en/searchindex.js

Large diffs are not rendered by default.

Binary file modified zh/.doctrees/README.doctree
Binary file not shown.
Binary file modified zh/.doctrees/environment.pickle
Binary file not shown.
Binary file modified zh/.doctrees/memoryscope.core.utils.doctree
Binary file not shown.
Binary file modified zh/.doctrees/memoryscope.core.utils.tool_functions.doctree
Binary file not shown.
7 changes: 3 additions & 4 deletions zh/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,11 @@ <h3>核心框架:<a class="headerlink" href="#id3" title="Link to this heading
</p>
<p>💾 记忆数据库: MemoryScope配备了向量数据库(默认是<em>ElasticSearch</em>),用于存储系统中记录的所有记忆片段。</p>
<p>🔧 核心worker库: MemoryScope将长期记忆的能力原子化,抽象成单独的worker,包括query信息过滤,observation抽取,insight更新等20+worker。</p>
<p>🛠️ 核心Op库: 并基于worker的pipeline构建了memory服务的核心operation,实现了记忆检索,记忆巩固等核心能力。</p>
<p>🛠️ 核心Operation库: MemoryScope将workers组织为工作流(workflow),构建了处理记忆的完善Operation库,实现了记忆检索,记忆巩固等核心能力。</p>
<ul class="simple">
<li><p>记忆检索:当用户输入对话,此操作返回语义相关的记忆片段。如果输入对话包含对时间的指涉,则同时返回相应时间中的记忆片段。</p></li>
<li><p>记忆巩固:此操作接收一批用户的输入对话,并从对话中提取重要的用户信息,将其作为 <em>observation</em> 形式的记忆片段存储在记忆数据库中。</p></li>
<li><p>反思与再巩固:每隔一段时间,此操作对新记录的 <em>observations</em> 进行反思,以形成和更新 <em>insight</em>
形式的记忆片段。然后执行记忆再巩固,以确保记忆片段之间的矛盾和重复得到妥善处理。</p></li>
<li><p>反思与再巩固:每隔一段时间,此操作对新记录的 <em>observations</em> 进行反思,以形成和更新 <em>insight</em> 形式的记忆片段。然后执行记忆再巩固,以确保记忆片段之间的矛盾和重复得到妥善处理。</p></li>
</ul>
<p>⚙️ 最佳实践:</p>
<ul class="simple">
Expand All @@ -181,7 +180,7 @@ <h3>🤝主要特点<a class="headerlink" href="#id4" title="Link to this headin
</ul>
<p>⏰ 时间敏感性:</p>
<ul class="simple">
<li><p>T系统在执行记忆检索和记忆巩固时具备时间敏感性,因此在输入对话包含对时间的指涉时,可以检索到准确的相关信息。</p></li>
<li><p>在执行记忆检索和记忆巩固时具备时间敏感性,因此在输入对话包含对时间的指涉时,可以检索到准确的相关信息。</p></li>
</ul>
</section>
</section>
Expand Down
7 changes: 3 additions & 4 deletions zh/_sources/README.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@ MemoryScope可以用于个人助理、情感陪伴等记忆场景,通过长期

🔧 核心worker库: MemoryScope将长期记忆的能力原子化,抽象成单独的worker,包括query信息过滤,observation抽取,insight更新等20+worker。

🛠️ 核心Op库: 并基于worker的pipeline构建了memory服务的核心operation,实现了记忆检索,记忆巩固等核心能力。
🛠️ 核心Operation库: MemoryScope将workers组织为工作流(workflow),构建了处理记忆的完善Operation库,实现了记忆检索,记忆巩固等核心能力。

- 记忆检索:当用户输入对话,此操作返回语义相关的记忆片段。如果输入对话包含对时间的指涉,则同时返回相应时间中的记忆片段。
- 记忆巩固:此操作接收一批用户的输入对话,并从对话中提取重要的用户信息,将其作为 *observation* 形式的记忆片段存储在记忆数据库中。
- 反思与再巩固:每隔一段时间,此操作对新记录的 *observations* 进行反思,以形成和更新 *insight*
形式的记忆片段。然后执行记忆再巩固,以确保记忆片段之间的矛盾和重复得到妥善处理。
- 反思与再巩固:每隔一段时间,此操作对新记录的 *observations* 进行反思,以形成和更新 *insight* 形式的记忆片段。然后执行记忆再巩固,以确保记忆片段之间的矛盾和重复得到妥善处理。

⚙️ 最佳实践:

Expand All @@ -67,7 +66,7 @@ MemoryScope可以用于个人助理、情感陪伴等记忆场景,通过长期
- 过滤掉用户输入的虚构内容,以避免LLM产生幻觉。

⏰ 时间敏感性:
- T系统在执行记忆检索和记忆巩固时具备时间敏感性,因此在输入对话包含对时间的指涉时,可以检索到准确的相关信息。
- 在执行记忆检索和记忆巩固时具备时间敏感性,因此在输入对话包含对时间的指涉时,可以检索到准确的相关信息。

----

Expand Down
2 changes: 1 addition & 1 deletion zh/memoryscope.core.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Link to this headi

<dl class="py function">
<dt class="sig sig-object py" id="memoryscope.core.utils.char_logo">
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1726133587483093787</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[源代码]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.char_logo" title="Link to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1726739115068799273</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[源代码]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.char_logo" title="Link to this definition"></a></dt>
<dd><p>Render the context of logo with colors</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
Expand Down
2 changes: 1 addition & 1 deletion zh/memoryscope.core.utils.tool_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

<dl class="py function">
<dt class="sig sig-object py" id="memoryscope.core.utils.tool_functions.char_logo">
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.tool_functions.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1726133587483093787</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[源代码]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.tool_functions.char_logo" title="Link to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.tool_functions.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1726739115068799273</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[源代码]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.tool_functions.char_logo" title="Link to this definition"></a></dt>
<dd><p>Render the context of logo with colors</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
Expand Down
2 changes: 1 addition & 1 deletion zh/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 574dabd

Please sign in to comment.