Skip to content

Commit

Permalink
docs: Fix typo in OpenAIModerationChain example (#7528)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanVelkeneers authored Jan 18, 2025
1 parent e0e2fc9 commit 9314ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langchain/src/chains/openai_moderation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface OpenAIModerationChainInput
* OpenAIModerationChainInput interface.
* @example
* ```typescript
* const moderation = new ChatOpenAIModerationChain({ throwError: true });
* const moderation = new OpenAIModerationChain({ throwError: true });
*
* const badString = "Bad naughty words from user";
*
Expand Down

0 comments on commit 9314ef1

Please sign in to comment.