Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
souzatharsis committed Nov 25, 2024
1 parent ec486f1 commit 48762e9
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
Binary file modified tamingllms/_build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified tamingllms/_build/.doctrees/notebooks/structured_output.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
"---\n",
"name: json-mode\n",
"alt: JSON Mode\n",
"scale: 50%\n",
"scale: 60%\n",
"align: center\n",
"---\n",
"Conceptual overview of JSON mode.\n",
Expand Down
2 changes: 1 addition & 1 deletion tamingllms/_build/html/notebooks/structured_output.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ <h4><a class="toc-backref" href="#id19" role="doc-backlink"><span class="section
<h4><a class="toc-backref" href="#id20" role="doc-backlink"><span class="section-number">3.3.2.3. </span>JSON Mode</a><a class="headerlink" href="#json-mode" title="Permalink to this heading"></a></h4>
<p>JSON mode is a feature provided by some LLM APIs, such as OpenAI’s, that allows the model to generate output in JSON format. This is particularly useful when you need structured data as a result, such as when parsing the output programmatically or integrating it with other systems that require JSON input. As depicted in <a class="reference internal" href="#id1"><span class="std std-numref">Fig. 3.1</span></a>, JSON mode is implemented by instructing theLLM model to use JSON as response format and optionally defining a target schema.</p>
<figure class="align-center" id="id1">
<a class="reference internal image-reference" href="../_images/json.svg"><img alt="JSON Mode" height="466" src="../_images/json.svg" width="732" /></a>
<a class="reference internal image-reference" href="../_images/json.svg"><img alt="JSON Mode" height="559" src="../_images/json.svg" width="878" /></a>
<figcaption>
<p><span class="caption-number">Fig. 3.1 </span><span class="caption-text">Conceptual overview of JSON mode.</span><a class="headerlink" href="#id1" title="Permalink to this image"></a></p>
</figcaption>
Expand Down
2 changes: 1 addition & 1 deletion tamingllms/_build/jupyter_execute/markdown/intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "f6c1605a",
"id": "04e29306",
"metadata": {},
"source": [
"(intro)=\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
"---\n",
"name: json-mode\n",
"alt: JSON Mode\n",
"scale: 50%\n",
"scale: 60%\n",
"align: center\n",
"---\n",
"Conceptual overview of JSON mode.\n",
Expand Down

0 comments on commit 48762e9

Please sign in to comment.