From f16ef0d70a6f7e0bec49595bb991bbeffb63edec Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 19 Aug 2024 15:04:04 -0400 Subject: [PATCH] Fix code snippet in guided gen guide --- fern/pages/text-generation/structured-outputs-json.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/pages/text-generation/structured-outputs-json.mdx b/fern/pages/text-generation/structured-outputs-json.mdx index d9008df5..de12b0d3 100644 --- a/fern/pages/text-generation/structured-outputs-json.mdx +++ b/fern/pages/text-generation/structured-outputs-json.mdx @@ -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" } )