Skip to content

Commit b44314c

Browse files
committed
WIP
1 parent 1cc1aef commit b44314c

File tree

9 files changed

+1134
-183
lines changed

9 files changed

+1134
-183
lines changed

docs/llms_wrapper/config.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
6-
<meta name="generator" content="pdoc3 0.11.5">
6+
<meta name="generator" content="pdoc3 0.11.6">
77
<title>llms_wrapper.config API documentation</title>
88
<meta name="description" content="Module for reading config files …">
99
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/13.0.0/sanitize.min.css" integrity="sha512-y1dtMcuvtTMJc1yPgEqF0ZjQbhnc/bFhyvIyVNb9Zk5mIGtqVaAB1Ttl28su8AvFMOY0EwRbAe+HCLqj6W7/KA==" crossorigin>
@@ -240,6 +240,8 @@ <h2 id="returns">Returns</h2>
240240
&#34;llm&#34;: llm,
241241
}
242242
else:
243+
if &#34;/&#34; not in llm[&#34;llm&#34;]:
244+
raise ValueError(f&#34;Error: LLM entry in config file must be in the format &#39;provider/model&#39;&#34;)
243245
provider, model = llm[&#34;llm&#34;].split(&#34;/&#34;, 1)
244246
provider_config = config.get(&#34;providers&#34;, {}).get(provider, {})
245247
for key in provider_config:
@@ -323,7 +325,7 @@ <h2 id="returns">Returns</h2>
323325
</nav>
324326
</main>
325327
<footer id="footer">
326-
<p>Generated by <a href="https://pdoc3.github.io/pdoc" title="pdoc: Python API documentation generator"><cite>pdoc</cite> 0.11.5</a>.</p>
328+
<p>Generated by <a href="https://pdoc3.github.io/pdoc" title="pdoc: Python API documentation generator"><cite>pdoc</cite> 0.11.6</a>.</p>
327329
</footer>
328330
</body>
329331
</html>

docs/llms_wrapper/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
6-
<meta name="generator" content="pdoc3 0.11.5">
6+
<meta name="generator" content="pdoc3 0.11.6">
77
<title>llms_wrapper API documentation</title>
88
<meta name="description" content="">
99
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/13.0.0/sanitize.min.css" integrity="sha512-y1dtMcuvtTMJc1yPgEqF0ZjQbhnc/bFhyvIyVNb9Zk5mIGtqVaAB1Ttl28su8AvFMOY0EwRbAe+HCLqj6W7/KA==" crossorigin>
@@ -48,6 +48,10 @@ <h2 class="section-title" id="header-submodules">Sub-modules</h2>
4848
<dd>
4949
<div class="desc"><p>Module related to using LLMs.</p></div>
5050
</dd>
51+
<dt><code class="name"><a title="llms_wrapper.llms_wrapper_llminfo" href="llms_wrapper_llminfo.html">llms_wrapper.llms_wrapper_llminfo</a></code></dt>
52+
<dd>
53+
<div class="desc"><p>Module for the llms_wrapper_llminfo command to show known properties of one or more LLMs defined in a config file.</p></div>
54+
</dd>
5155
<dt><code class="name"><a title="llms_wrapper.llms_wrapper_test" href="llms_wrapper_test.html">llms_wrapper.llms_wrapper_test</a></code></dt>
5256
<dd>
5357
<div class="desc"><p>Module for the llms_wrapper_test command to perform a simple test to check
@@ -89,6 +93,7 @@ <h2 class="section-title" id="header-submodules">Sub-modules</h2>
8993
<ul>
9094
<li><code><a title="llms_wrapper.config" href="config.html">llms_wrapper.config</a></code></li>
9195
<li><code><a title="llms_wrapper.llms" href="llms.html">llms_wrapper.llms</a></code></li>
96+
<li><code><a title="llms_wrapper.llms_wrapper_llminfo" href="llms_wrapper_llminfo.html">llms_wrapper.llms_wrapper_llminfo</a></code></li>
9297
<li><code><a title="llms_wrapper.llms_wrapper_test" href="llms_wrapper_test.html">llms_wrapper.llms_wrapper_test</a></code></li>
9398
<li><code><a title="llms_wrapper.log" href="log.html">llms_wrapper.log</a></code></li>
9499
<li><code><a title="llms_wrapper.model_list" href="model_list.html">llms_wrapper.model_list</a></code></li>
@@ -100,7 +105,7 @@ <h2 class="section-title" id="header-submodules">Sub-modules</h2>
100105
</nav>
101106
</main>
102107
<footer id="footer">
103-
<p>Generated by <a href="https://pdoc3.github.io/pdoc" title="pdoc: Python API documentation generator"><cite>pdoc</cite> 0.11.5</a>.</p>
108+
<p>Generated by <a href="https://pdoc3.github.io/pdoc" title="pdoc: Python API documentation generator"><cite>pdoc</cite> 0.11.6</a>.</p>
104109
</footer>
105110
</body>
106111
</html>

0 commit comments

Comments
 (0)