Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo correction "enforcig" => "enforcing" #122

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AI_Agents_Guide/Constrained_Decoding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ assistant

```

## Enforcig Output Format via External Libraries
## Enforcing Output Format via External Libraries

In this section of the tutorial, we'll show how to impose constrains on LLMs,
which are not inherently fine-tuned for constrained decoding. We'll
Expand Down Expand Up @@ -700,4 +700,4 @@ curl -X POST localhost:8000/v2/models/ensemble/generate -d '{"text_input": "Who
This time, the expected response looks like:
```bash
{"context_logits":0.0,...,"text_output":"Who is Harry Potter?{ \"name\": \"Harry Potter\",\"house\": \"Gryffindor\",\"blood_status\": \"Pure-blood\",\"occupation\": \"Wizards\",\"alive\": \"No\",\"wand\": {\"wood\": \"Holly\",\"core\": \"Phoenix feather\",\"length\": 11 }}"}
```
```
Loading