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

Update README.md #70

Merged
merged 1 commit into from
Mar 3, 2025
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 lessons/04-structured-output/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ This time you end up with a table that is easier to read and understand.

### Presenting an output template

Another way of getting structured output is to present an output template. It can be any format, from columns to JSON, XML, CSV or markdown.
Another way of getting structured output is to present an output template. It can be in any format, from columns to JSON, XML, CSV or markdown.

> Prompt: Generate ideas for inventions that can be built using 15th-century technology. For each invention, specify the required resources and estimate the effort needed to construct it. Present the information using the following format (use markdown as output format):
>
Expand Down Expand Up @@ -438,7 +438,7 @@ What does a prompt look like that extracts the information?
What you can do as a developer is create a template:

```text
Extract the following information from a users prompt: location, when, budget, currency, respond with the extracted data in JSON format, user prompt: {user_input}.
Extract the following information from a user's prompt: location, when, budget, currency, respond with the extracted data in JSON format, user prompt: {user_input}.
```

**You:** Found it, take that George!
Expand Down