Skip to content

Commit

Permalink
deploy: b6734a7
Browse files Browse the repository at this point in the history
  • Loading branch information
monofuel committed Oct 28, 2024
1 parent fc91528 commit f48d41e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h1 class="title">src/openai_leap</h1>
<li><a class="reference" href="#MessageContentPart" title="MessageContentPart = ref object
text*: Option[string]
image_url*: Option[ImageUrlPart]">MessageContentPart</a></li>
<li><a class="reference" href="#OpenAiApi" title="OpenAiApi = ref object">OpenAiApi</a></li>
<li><a class="reference" href="#OpenAiApi" title="OpenAiApi = object">OpenAiApi</a></li>
<li><a class="reference" href="#OpenAiError" title="OpenAiError = object of CatchableError">OpenAiError</a></li>
<li><a class="reference" href="#OpenAIFile" title="OpenAIFile = ref object
id*: string
Expand Down Expand Up @@ -304,7 +304,7 @@ <h1 class="title">src/openai_leap</h1>
<li><a class="reference" href="#streamChatCompletion%2COpenAiApi%2Cstring%2Cstring%2Cstring" title="streamChatCompletion(api: OpenAiApi; model: string; systemPrompt: string;
input: string): OpenAIStream">streamChatCompletion(api: OpenAiApi; model: string; systemPrompt: string;
input: string): OpenAIStream</a></li>
<li><a class="reference" href="#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq" title="streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): ResponseStream">streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): ResponseStream</a></li>
<li><a class="reference" href="#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq" title="streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): OpenAIStream">streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): OpenAIStream</a></li>

</ul>

Expand Down Expand Up @@ -528,7 +528,7 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>
</dd>
</div>
<div id="OpenAiApi">
<dt><pre><a href="openai_leap.html#OpenAiApi"><span class="Identifier">OpenAiApi</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span></pre></dt>
<dt><pre><a href="openai_leap.html#OpenAiApi"><span class="Identifier">OpenAiApi</span></a> <span class="Other">=</span> <span class="Keyword">object</span></pre></dt>
<dd>


Expand Down Expand Up @@ -1117,7 +1117,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
</dd>
</div>
<div id="streamChatCompletion,OpenAiApi,CreateChatCompletionReq">
<dt><pre><span class="Keyword">proc</span> <a href="#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq"><span class="Identifier">streamChatCompletion</span></a><span class="Other">(</span><span class="Identifier">api</span><span class="Other">:</span> <a href="openai_leap.html#OpenAiApi"><span class="Identifier">OpenAiApi</span></a><span class="Other">;</span> <span class="Identifier">req</span><span class="Other">:</span> <a href="openai_leap.html#CreateChatCompletionReq"><span class="Identifier">CreateChatCompletionReq</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">ResponseStream</span> {.
<dt><pre><span class="Keyword">proc</span> <a href="#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq"><span class="Identifier">streamChatCompletion</span></a><span class="Other">(</span><span class="Identifier">api</span><span class="Other">:</span> <a href="openai_leap.html#OpenAiApi"><span class="Identifier">OpenAiApi</span></a><span class="Other">;</span> <span class="Identifier">req</span><span class="Other">:</span> <a href="openai_leap.html#CreateChatCompletionReq"><span class="Identifier">CreateChatCompletionReq</span></a><span class="Other">)</span><span class="Other">:</span> <a href="openai_leap.html#OpenAIStream"><span class="Identifier">OpenAIStream</span></a> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">CatchableError</span><span class="Other">,</span> <span class="Identifier">OpenAiError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>

Expand All @@ -1139,7 +1139,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-23 21:28:02 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-28 17:57:38 UTC</small>
</div>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions openai_leap.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h1 class="title">src/openai_leap</h1>
<li><a class="reference" href="#MessageContentPart" title="MessageContentPart = ref object
text*: Option[string]
image_url*: Option[ImageUrlPart]">MessageContentPart</a></li>
<li><a class="reference" href="#OpenAiApi" title="OpenAiApi = ref object">OpenAiApi</a></li>
<li><a class="reference" href="#OpenAiApi" title="OpenAiApi = object">OpenAiApi</a></li>
<li><a class="reference" href="#OpenAiError" title="OpenAiError = object of CatchableError">OpenAiError</a></li>
<li><a class="reference" href="#OpenAIFile" title="OpenAIFile = ref object
id*: string
Expand Down Expand Up @@ -304,7 +304,7 @@ <h1 class="title">src/openai_leap</h1>
<li><a class="reference" href="#streamChatCompletion%2COpenAiApi%2Cstring%2Cstring%2Cstring" title="streamChatCompletion(api: OpenAiApi; model: string; systemPrompt: string;
input: string): OpenAIStream">streamChatCompletion(api: OpenAiApi; model: string; systemPrompt: string;
input: string): OpenAIStream</a></li>
<li><a class="reference" href="#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq" title="streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): ResponseStream">streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): ResponseStream</a></li>
<li><a class="reference" href="#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq" title="streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): OpenAIStream">streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): OpenAIStream</a></li>

</ul>

Expand Down Expand Up @@ -528,7 +528,7 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>
</dd>
</div>
<div id="OpenAiApi">
<dt><pre><a href="openai_leap.html#OpenAiApi"><span class="Identifier">OpenAiApi</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span></pre></dt>
<dt><pre><a href="openai_leap.html#OpenAiApi"><span class="Identifier">OpenAiApi</span></a> <span class="Other">=</span> <span class="Keyword">object</span></pre></dt>
<dd>


Expand Down Expand Up @@ -1117,7 +1117,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
</dd>
</div>
<div id="streamChatCompletion,OpenAiApi,CreateChatCompletionReq">
<dt><pre><span class="Keyword">proc</span> <a href="#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq"><span class="Identifier">streamChatCompletion</span></a><span class="Other">(</span><span class="Identifier">api</span><span class="Other">:</span> <a href="openai_leap.html#OpenAiApi"><span class="Identifier">OpenAiApi</span></a><span class="Other">;</span> <span class="Identifier">req</span><span class="Other">:</span> <a href="openai_leap.html#CreateChatCompletionReq"><span class="Identifier">CreateChatCompletionReq</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">ResponseStream</span> {.
<dt><pre><span class="Keyword">proc</span> <a href="#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq"><span class="Identifier">streamChatCompletion</span></a><span class="Other">(</span><span class="Identifier">api</span><span class="Other">:</span> <a href="openai_leap.html#OpenAiApi"><span class="Identifier">OpenAiApi</span></a><span class="Other">;</span> <span class="Identifier">req</span><span class="Other">:</span> <a href="openai_leap.html#CreateChatCompletionReq"><span class="Identifier">CreateChatCompletionReq</span></a><span class="Other">)</span><span class="Other">:</span> <a href="openai_leap.html#OpenAIStream"><span class="Identifier">OpenAIStream</span></a> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">CatchableError</span><span class="Other">,</span> <span class="Identifier">OpenAiError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>

Expand All @@ -1139,7 +1139,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-23 21:28:02 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-28 17:57:38 UTC</small>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions openai_leap.idx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nimTitle openai_leap openai_leap.html module src/openai_leap 0
nim OpenAiApi openai_leap.html#OpenAiApi type OpenAiApi 12
nim OpenAiApi openai_leap.html#OpenAiApi object OpenAiApi 12
nim OpenAiError openai_leap.html#OpenAiError object OpenAiError 19
nim OpenAIStream openai_leap.html#OpenAIStream type OpenAIStream 21
nim OpenAiModel openai_leap.html#OpenAiModel type OpenAiModel 25
Expand Down Expand Up @@ -41,7 +41,7 @@ nim getModel openai_leap.html#getModel,OpenAiApi,string proc getModel(api: OpenA
nim deleteModel openai_leap.html#deleteModel,OpenAiApi,string proc deleteModel(api: OpenAiApi; modelId: string): DeleteModelResponse 389
nim generateEmbeddings openai_leap.html#generateEmbeddings,OpenAiApi,string,string,Option[int],string proc generateEmbeddings(api: OpenAiApi; model: string; input: string;\n dimensions: Option[int] = none(int); user: string = ""): CreateEmbeddingResp 394
nim createChatCompletion openai_leap.html#createChatCompletion,OpenAiApi,CreateChatCompletionReq proc createChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): CreateChatCompletionResp 412
nim streamChatCompletion openai_leap.html#streamChatCompletion,OpenAiApi,CreateChatCompletionReq proc streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): ResponseStream 422
nim streamChatCompletion openai_leap.html#streamChatCompletion,OpenAiApi,CreateChatCompletionReq proc streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): OpenAIStream 422
nim createChatCompletion openai_leap.html#createChatCompletion,OpenAiApi,string,string,string proc createChatCompletion(api: OpenAiApi; model: string; systemPrompt: string;\n input: string): string 431
nim streamChatCompletion openai_leap.html#streamChatCompletion,OpenAiApi,string,string,string proc streamChatCompletion(api: OpenAiApi; model: string; systemPrompt: string;\n input: string): OpenAIStream 457
nim next openai_leap.html#next,OpenAIStream proc next(s: OpenAIStream): Option[ChatCompletionChunk] 511
Expand Down
6 changes: 3 additions & 3 deletions theindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h1 class="title">Index</h1>
</ul></dd>
<dt><a name="OpenAiApi" href="#OpenAiApi"><span>OpenAiApi:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="openai_leap: type OpenAiApi" href="openai_leap.html#OpenAiApi">openai_leap: type OpenAiApi</a></li>
data-doc-search-tag="openai_leap: object OpenAiApi" href="openai_leap.html#OpenAiApi">openai_leap: object OpenAiApi</a></li>
</ul></dd>
<dt><a name="OpenAiError" href="#OpenAiError"><span>OpenAiError:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
Expand Down Expand Up @@ -230,7 +230,7 @@ <h1 class="title">Index</h1>
</ul></dd>
<dt><a name="streamChatCompletion" href="#streamChatCompletion"><span>streamChatCompletion:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="openai_leap: proc streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): ResponseStream" href="openai_leap.html#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq">openai_leap: proc streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): ResponseStream</a></li>
data-doc-search-tag="openai_leap: proc streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): OpenAIStream" href="openai_leap.html#streamChatCompletion%2COpenAiApi%2CCreateChatCompletionReq">openai_leap: proc streamChatCompletion(api: OpenAiApi; req: CreateChatCompletionReq): OpenAIStream</a></li>
<li><a class="reference external"
data-doc-search-tag="openai_leap: proc streamChatCompletion(api: OpenAiApi; model: string; systemPrompt: string;
input: string): OpenAIStream" href="openai_leap.html#streamChatCompletion%2COpenAiApi%2Cstring%2Cstring%2Cstring">openai_leap: proc streamChatCompletion(api: OpenAiApi; model: string; systemPrompt: string;
Expand Down Expand Up @@ -268,7 +268,7 @@ <h1 class="title">Index</h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-23 21:28:02 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-28 17:57:38 UTC</small>
</div>
</div>
</div>
Expand Down

0 comments on commit f48d41e

Please sign in to comment.