Skip to content

Commit 9314ef1

Browse files
docs: Fix typo in OpenAIModerationChain example (#7528)
1 parent e0e2fc9 commit 9314ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langchain/src/chains/openai_moderation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface OpenAIModerationChainInput
2727
* OpenAIModerationChainInput interface.
2828
* @example
2929
* ```typescript
30-
* const moderation = new ChatOpenAIModerationChain({ throwError: true });
30+
* const moderation = new OpenAIModerationChain({ throwError: true });
3131
*
3232
* const badString = "Bad naughty words from user";
3333
*

0 commit comments

Comments
 (0)