Skip to content

Commit

Permalink
Fix code snippet in guided gen guide (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkozakov authored Aug 19, 2024
1 parent 1e78703 commit a86c573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fern/pages/text-generation/structured-outputs-json.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ co = cohere.Client(api_key="YOUR API KEY")

res = co.chat(
model="command-r-plus",
message="Generate a JSON describing a person, with the fields 'name' and 'age'"
message="Generate a JSON describing a person, with the fields 'name' and 'age'",
response_format={ "type": "json_object" }
)

Expand Down

0 comments on commit a86c573

Please sign in to comment.