Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Changing the subchapters from 5.a - 5.c to 6.a - 6.c
  • Loading branch information
tm17-abcgen authored Aug 20, 2024
1 parent 63e3249 commit fbcca59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ If you're a NLP/AI researcher (or a practitioner exploring new pipelines or new
####
<details>
<summary><h4 style="display: inline">[5.a] DSPy vs. thin wrappers for prompts (OpenAI API, MiniChain, basic templating)</h4></summary>
<summary><h4 style="display: inline">[6.a] DSPy vs. thin wrappers for prompts (OpenAI API, MiniChain, basic templating)</h4></summary>
In other words: _Why can't I just write my prompts directly as string templates?_ Well, for extremely simple settings, this _might_ work just fine. (If you're familiar with neural networks, this is like expressing a tiny two-layer NN as a Python for-loop. It kinda works.)
Expand All @@ -383,7 +383,7 @@ Oh, and you wouldn't need to maintain long, brittle, model-specific strings at t
####
<details>
<summary><h4 style="display: inline">[5.b] DSPy vs. application development libraries like LangChain, LlamaIndex</h4></summary>
<summary><h4 style="display: inline">[6.b] DSPy vs. application development libraries like LangChain, LlamaIndex</h4></summary>
> _Note: If you use LangChain as a thin wrapper around your own prompt strings, refer to answer [5.a] instead._
Expand All @@ -402,7 +402,7 @@ If you're familiar with neural networks:
####
<details>
<summary><h4 style="display: inline">[5.c] DSPy vs. generation control libraries like Guidance, LMQL, RELM, Outlines</h4></summary>
<summary><h4 style="display: inline">[6.c] DSPy vs. generation control libraries like Guidance, LMQL, RELM, Outlines</h4></summary>
Guidance, LMQL, RELM, and Outlines are all exciting new libraries for controlling the individual completions of LMs, e.g., if you want to enforce JSON output schema or constrain sampling to a particular regular expression.
Expand Down

0 comments on commit fbcca59

Please sign in to comment.