Skip to content
Closed
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion packages/web/src/content/docs/sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const result = await client.session.prompt({
})

// Access the structured output
console.log(result.data.info.structured_output)
console.log(result.data.info.structured)
// { company: "Anthropic", founded: 2021, products: ["Claude", "Claude API"] }
Comment thread
ppodds marked this conversation as resolved.
```

Expand Down
Loading