Skip to content

Commit

Permalink
Add name to README example (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
TranquilMarmot authored Feb 8, 2024
1 parent f3483e2 commit da92cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const client = Instructor({
const user = await client.chat.completions.create({
messages: [{ role: "user", content: "Jason Liu is 30 years old" }],
model: "gpt-3.5-turbo",
response_model: { schema: UserSchema }
response_model: { schema: UserSchema, name: "User" }
})

console.log(user)
Expand Down

0 comments on commit da92cff

Please sign in to comment.