Skip to content

Commit

Permalink
docs: Improve formatting consistency in structured outputs documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahar Shemesh committed Jan 24, 2025
1 parent 6eef3b2 commit 5ee2593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core_docs/docs/concepts/structured_outputs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const model = new ChatOpenAI({
});

// Create a tool with ResponseFormatter as its schema.
const responseFormatterTool = tool(() => {},{ name : "responseFormatter", schema : ResponseFormatter })
const responseFormatterTool = tool(() => {},{ name: "responseFormatter", schema: ResponseFormatter })

// Bind the created tool to the model
const modelWithTools = model.bindTools([responseFormatterTool]);
Expand Down

0 comments on commit 5ee2593

Please sign in to comment.