Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
whylabs committed Dec 7, 2023
1 parent 55a4881 commit ea9dd9b
Show file tree
Hide file tree
Showing 20 changed files with 265 additions and 265 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file removed .doctrees/whylogs_container.whylabs.actor.doctree
Binary file not shown.
Binary file modified .doctrees/whylogs_container.whylabs.container.doctree
Binary file not shown.
Binary file modified .doctrees/whylogs_container.whylabs.doctree
Binary file not shown.
Binary file modified .doctrees/whylogs_container.whylabs.llm_validation.doctree
Binary file not shown.
Binary file not shown.
29 changes: 0 additions & 29 deletions _sources/whylogs_container.whylabs.actor.rst.txt

This file was deleted.

29 changes: 29 additions & 0 deletions _sources/whylogs_container.whylabs.logger.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
whylogs\_container.whylabs.logger package
=========================================

Submodules
----------

whylogs\_container.whylabs.logger.logger module
-----------------------------------------------

.. automodule:: whylogs_container.whylabs.logger.logger
:members:
:undoc-members:
:show-inheritance:

whylogs\_container.whylabs.logger.openai\_messages module
---------------------------------------------------------

.. automodule:: whylogs_container.whylabs.logger.openai_messages
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: whylogs_container.whylabs.logger
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion _sources/whylogs_container.whylabs.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Subpackages
.. toctree::
:maxdepth: 4

whylogs_container.whylabs.actor
whylogs_container.whylabs.container
whylogs_container.whylabs.llm_validation
whylogs_container.whylabs.logger

Module contents
---------------
Expand Down
120 changes: 60 additions & 60 deletions genindex.html

Large diffs are not rendered by default.

Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion openapi.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,24 +233,6 @@ <h1>Python Module Index</h1>
<a href="whylogs_container.whylabs.html#module-whylogs_container.whylabs"><code class="xref">whylogs_container.whylabs</code></a></td><td>
<em></em></td>
</tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="whylogs_container.whylabs.actor.html#module-whylogs_container.whylabs.actor"><code class="xref">whylogs_container.whylabs.actor</code></a></td><td>
<em></em></td>
</tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="whylogs_container.whylabs.actor.html#module-whylogs_container.whylabs.actor.logger"><code class="xref">whylogs_container.whylabs.actor.logger</code></a></td><td>
<em></em></td>
</tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="whylogs_container.whylabs.actor.html#module-whylogs_container.whylabs.actor.openai_messages"><code class="xref">whylogs_container.whylabs.actor.openai_messages</code></a></td><td>
<em></em></td>
</tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
Expand Down Expand Up @@ -371,6 +353,24 @@ <h1>Python Module Index</h1>
<a href="whylogs_container.whylabs.llm_validation.html#module-whylogs_container.whylabs.llm_validation.validators"><code class="xref">whylogs_container.whylabs.llm_validation.validators</code></a></td><td>
<em></em></td>
</tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="whylogs_container.whylabs.logger.html#module-whylogs_container.whylabs.logger"><code class="xref">whylogs_container.whylabs.logger</code></a></td><td>
<em></em></td>
</tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="whylogs_container.whylabs.logger.html#module-whylogs_container.whylabs.logger.logger"><code class="xref">whylogs_container.whylabs.logger.logger</code></a></td><td>
<em></em></td>
</tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="whylogs_container.whylabs.logger.html#module-whylogs_container.whylabs.logger.openai_messages"><code class="xref">whylogs_container.whylabs.logger.openai_messages</code></a></td><td>
<em></em></td>
</tr>
</table>

</article>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions whylogs-container-python.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions whylogs_container.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,6 @@ <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to thi
</li>
<li class="toctree-l1"><a class="reference internal" href="whylogs_container.whylabs.html">whylogs_container.whylabs package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="whylogs_container.whylabs.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whylogs_container.whylabs.actor.html">whylogs_container.whylabs.actor package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.actor.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.actor.html#module-whylogs_container.whylabs.actor.logger">whylogs_container.whylabs.actor.logger module</a></li>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.actor.html#module-whylogs_container.whylabs.actor.openai_messages">whylogs_container.whylabs.actor.openai_messages module</a></li>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.actor.html#module-whylogs_container.whylabs.actor">Module contents</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whylogs_container.whylabs.container.html">whylogs_container.whylabs.container package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.container.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.container.html#module-whylogs_container.whylabs.container.auth">whylogs_container.whylabs.container.auth module</a></li>
Expand Down Expand Up @@ -248,6 +241,13 @@ <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to thi
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.llm_validation.html#module-whylogs_container.whylabs.llm_validation">Module contents</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whylogs_container.whylabs.logger.html">whylogs_container.whylabs.logger package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.logger.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.logger.html#module-whylogs_container.whylabs.logger.logger">whylogs_container.whylabs.logger.logger module</a></li>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.logger.html#module-whylogs_container.whylabs.logger.openai_messages">whylogs_container.whylabs.logger.openai_messages module</a></li>
<li class="toctree-l4"><a class="reference internal" href="whylogs_container.whylabs.logger.html#module-whylogs_container.whylabs.logger">Module contents</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="whylogs_container.whylabs.html#module-whylogs_container.whylabs">Module contents</a></li>
Expand Down
10 changes: 5 additions & 5 deletions whylogs_container.whylabs.container.html
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ <h3>Optional<a class="headerlink" href="#optional" title="Permalink to this head
<dl class="py attribute">
<dt class="sig sig-object py" id="whylogs_container.whylabs.container.environment.EnvVarNames.LLM_CONTAINER">
<span class="sig-name descname"><span class="pre">LLM_CONTAINER</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'LLM_CONTAINER'</span></em><a class="headerlink" href="#whylogs_container.whylabs.container.environment.EnvVarNames.LLM_CONTAINER" title="Permalink to this definition">#</a></dt>
<dd><p>Env var to identify if the deployment is of the type LLM or not. Defaults to False, but set to
<dd><p>Env var to identify if the deployment is of the type LLM or not. Defaults to False, but set to
True on LLM image build</p>
</dd></dl>

Expand All @@ -456,7 +456,7 @@ <h3>Optional<a class="headerlink" href="#optional" title="Permalink to this head
<dl class="py attribute">
<dt class="sig sig-object py" id="whylogs_container.whylabs.container.environment.EnvVarNames.MAX_REQUEST_BUFFER_BYTES">
<span class="sig-name descname"><span class="pre">MAX_REQUEST_BUFFER_BYTES</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'MAX_REQUEST_BUFFER_BYTES'</span></em><a class="headerlink" href="#whylogs_container.whylabs.container.environment.EnvVarNames.MAX_REQUEST_BUFFER_BYTES" title="Permalink to this definition">#</a></dt>
<dd><p>Defaults to 1_000_000_000 (1GB). The size of the buffer that requests are put onto after they come in from the REST server process.
<dd><p>Defaults to 1_000_000_000 (1GB). The size of the buffer that requests are put onto after they come in from the REST server process.
Increasing this would give you more time to process requests before they start timing out. It could be a good idea
to increase this number if you’re seeing request timeouts for spikey traffic patterns, or if you have more memory
on the host and nothing better to do with it.</p>
Expand Down Expand Up @@ -876,7 +876,7 @@ <h3>}’<a class="headerlink" href="#id5" title="Permalink to this heading">#</a
<dl class="py function">
<dt class="sig sig-object py" id="whylogs_container.whylabs.container.routes.log_embeddings">
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">whylogs_container.whylabs.container.routes.</span></span><span class="sig-name descname"><span class="pre">log_embeddings</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">_raw_request</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Request</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#whylogs_container.whylabs.container.routes.log_embeddings" title="Permalink to this definition">#</a></dt>
<dd><p>This endpoint requires a custom configuration to set up before hand. See <a class="reference external" href="https://docs.whylabs.ai/docs/integrations-whylogs-container/">https://docs.whylabs.ai/docs/integrations-whylogs-container/</a>
<dd><p>This endpoint requires a custom configuration to set up before hand. See <a class="reference external" href="https://docs.whylabs.ai/docs/integrations-whylogs-container/">https://docs.whylabs.ai/docs/integrations-whylogs-container/</a>
for setting up embeddings support.</p>
<p>Log embeddings data. The Swagger UI isn’t able to call this currently.</p>
<p>## Sample curl request:</p>
Expand Down Expand Up @@ -928,7 +928,7 @@ <h3>}’<a class="headerlink" href="#id18" title="Permalink to this heading">#</

<dl class="py function">
<dt class="sig sig-object py" id="whylogs_container.whylabs.container.routes.log_json">
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">whylogs_container.whylabs.container.routes.</span></span><span class="sig-name descname"><span class="pre">log_json</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">body</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#whylogs_container.whylabs.container.requests.LogRequest" title="whylogs_container.whylabs.container.requests.LogRequest"><span class="pre">LogRequest</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">_raw_request</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Request</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#whylogs_container.whylabs.container.routes.log_json" title="Permalink to this definition">#</a></dt>
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">whylogs_container.whylabs.container.routes.</span></span><span class="sig-name descname"><span class="pre">log_json</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">_body</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="#whylogs_container.whylabs.container.requests.LogRequest" title="whylogs_container.whylabs.container.requests.LogRequest"><span class="pre">LogRequest</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">_raw_request</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Request</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#whylogs_container.whylabs.container.routes.log_json" title="Permalink to this definition">#</a></dt>
<dd><p>Use this endpoint for manually testing and experimenting. It shouldn’t be used in production
because it has a steep performance penalty compared to the normal /log endpoint.</p>
</dd></dl>
Expand Down Expand Up @@ -983,7 +983,7 @@ <h3>}’<a class="headerlink" href="#id18" title="Permalink to this heading">#</

<dl class="py function">
<dt class="sig sig-object py" id="whylogs_container.whylabs.container.startup.update_pid">
<span class="sig-prename descclassname"><span class="pre">whylogs_container.whylabs.container.startup.</span></span><span class="sig-name descname"><span class="pre">update_pid</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">logger</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="whylogs_container.whylabs.actor.html#whylogs_container.whylabs.actor.logger.ContainerProcessRollingLogger" title="whylogs_container.whylabs.actor.logger.ContainerProcessRollingLogger"><span class="pre">ContainerProcessRollingLogger</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#whylogs_container.whylabs.container.startup.update_pid" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">whylogs_container.whylabs.container.startup.</span></span><span class="sig-name descname"><span class="pre">update_pid</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">logger</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="whylogs_container.whylabs.logger.html#whylogs_container.whylabs.logger.logger.ContainerProcessRollingLogger" title="whylogs_container.whylabs.logger.logger.ContainerProcessRollingLogger"><span class="pre">ContainerProcessRollingLogger</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#whylogs_container.whylabs.container.startup.update_pid" title="Permalink to this definition">#</a></dt>
<dd></dd></dl>

</section>
Expand Down
Loading

0 comments on commit ea9dd9b

Please sign in to comment.