@langchain/core 0.3.44 → 0.3.45

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.
@@ -55,7 +55,7 @@ class StructuredOutputParser extends base_js_1.BaseOutputParser {
55
55
 
56
56
  "JSON Schema" is a declarative language that allows you to annotate and validate JSON documents.
57
57
 
58
- For example, the example "JSON Schema" instance {{"properties": {{"foo": {{"description": "a list of test words", "type": "array", "items": {{"type": "string"}}}}}}, "required": ["foo"]}}}}
58
+ For example, the example "JSON Schema" instance {{"properties": {{"foo": {{"description": "a list of test words", "type": "array", "items": {{"type": "string"}}}}}}, "required": ["foo"]}}
59
59
  would match an object with one required property, "foo". The "type" property specifies "foo" must be an "array", and the "description" property semantically describes it as "a list of test words". The items within "foo" must be strings.
60
60
  Thus, the object {{"foo": ["bar", "baz"]}} is a well-formatted instance of this example "JSON Schema". The object {{"properties": {{"foo": ["bar", "baz"]}}}} is not well-formatted.
61
61
 
@@ -52,7 +52,7 @@ export class StructuredOutputParser extends BaseOutputParser {
52
52
 
53
53
  "JSON Schema" is a declarative language that allows you to annotate and validate JSON documents.
54
54
 
55
- For example, the example "JSON Schema" instance {{"properties": {{"foo": {{"description": "a list of test words", "type": "array", "items": {{"type": "string"}}}}}}, "required": ["foo"]}}}}
55
+ For example, the example "JSON Schema" instance {{"properties": {{"foo": {{"description": "a list of test words", "type": "array", "items": {{"type": "string"}}}}}}, "required": ["foo"]}}
56
56
  would match an object with one required property, "foo". The "type" property specifies "foo" must be an "array", and the "description" property semantically describes it as "a list of test words". The items within "foo" must be strings.
57
57
  Thus, the object {{"foo": ["bar", "baz"]}} is a well-formatted instance of this example "JSON Schema". The object {{"properties": {{"foo": ["bar", "baz"]}}}} is not well-formatted.
58
58
 
@@ -73,6 +73,7 @@ class LangChainTracer extends base_js_1.BaseTracer {
73
73
  dotted_order: run.dotted_order,
74
74
  parent_run_id: run.parent_run_id,
75
75
  extra: run.extra,
76
+ session_name: this.projectName,
76
77
  };
77
78
  await this.client.updateRun(run.id, runUpdate);
78
79
  }
@@ -70,6 +70,7 @@ export class LangChainTracer extends BaseTracer {
70
70
  dotted_order: run.dotted_order,
71
71
  parent_run_id: run.parent_run_id,
72
72
  extra: run.extra,
73
+ session_name: this.projectName,
73
74
  };
74
75
  await this.client.updateRun(run.id, runUpdate);
75
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/core",
3
- "version": "0.3.44",
3
+ "version": "0.3.45",
4
4
  "description": "Core LangChain.js abstractions and schemas",
5
5
  "type": "module",
6
6
  "engines": {
@@ -38,7 +38,7 @@
38
38
  "camelcase": "6",
39
39
  "decamelize": "1.2.0",
40
40
  "js-tiktoken": "^1.0.12",
41
- "langsmith": ">=0.2.8 <0.4.0",
41
+ "langsmith": "^0.3.16",
42
42
  "mustache": "^4.2.0",
43
43
  "p-queue": "^6.6.2",
44
44
  "p-retry": "4",
@@ -65,7 +65,7 @@
65
65
  "jest-environment-node": "^29.6.4",
66
66
  "ml-matrix": "^6.10.4",
67
67
  "prettier": "^2.8.3",
68
- "release-it": "^17.6.0",
68
+ "release-it": "^18.1.2",
69
69
  "rimraf": "^5.0.1",
70
70
  "ts-jest": "^29.1.0",
71
71
  "typescript": "~5.1.6",