langchain 0.3.11 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,7 @@ const base_js_1 = require("./base.cjs");
|
|
|
11
11
|
* OpenAIModerationChainInput interface.
|
|
12
12
|
* @example
|
|
13
13
|
* ```typescript
|
|
14
|
-
* const moderation = new
|
|
14
|
+
* const moderation = new OpenAIModerationChain({ throwError: true });
|
|
15
15
|
*
|
|
16
16
|
* const badString = "Bad naughty words from user";
|
|
17
17
|
*
|
|
@@ -19,7 +19,7 @@ export interface OpenAIModerationChainInput extends ChainInputs, AsyncCallerPara
|
|
|
19
19
|
* OpenAIModerationChainInput interface.
|
|
20
20
|
* @example
|
|
21
21
|
* ```typescript
|
|
22
|
-
* const moderation = new
|
|
22
|
+
* const moderation = new OpenAIModerationChain({ throwError: true });
|
|
23
23
|
*
|
|
24
24
|
* const badString = "Bad naughty words from user";
|
|
25
25
|
*
|
|
@@ -8,7 +8,7 @@ import { BaseChain } from "./base.js";
|
|
|
8
8
|
* OpenAIModerationChainInput interface.
|
|
9
9
|
* @example
|
|
10
10
|
* ```typescript
|
|
11
|
-
* const moderation = new
|
|
11
|
+
* const moderation = new OpenAIModerationChain({ throwError: true });
|
|
12
12
|
*
|
|
13
13
|
* const badString = "Bad naughty words from user";
|
|
14
14
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langchain",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
4
4
|
"description": "Typescript bindings for langchain",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
"js-tiktoken": "^1.0.12",
|
|
531
531
|
"js-yaml": "^4.1.0",
|
|
532
532
|
"jsonpointer": "^5.0.1",
|
|
533
|
-
"langsmith": "
|
|
533
|
+
"langsmith": ">=0.2.8 <0.4.0",
|
|
534
534
|
"openapi-types": "^12.1.3",
|
|
535
535
|
"p-retry": "4",
|
|
536
536
|
"uuid": "^10.0.0",
|