@langchain/core 0.3.48 → 0.3.49

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.
@@ -4,6 +4,9 @@ exports.DictPromptTemplate = void 0;
4
4
  const base_js_1 = require("../runnables/base.cjs");
5
5
  const template_js_1 = require("./template.cjs");
6
6
  class DictPromptTemplate extends base_js_1.Runnable {
7
+ static lc_name() {
8
+ return "DictPromptTemplate";
9
+ }
7
10
  constructor(fields) {
8
11
  const templateFormat = fields.templateFormat ?? "f-string";
9
12
  const inputVariables = _getInputVariables(fields.template, templateFormat);
@@ -8,6 +8,7 @@ export declare class DictPromptTemplate<RunInput extends InputValues = InputValu
8
8
  template: Record<string, unknown>;
9
9
  templateFormat: TemplateFormat;
10
10
  inputVariables: Array<Extract<keyof RunInput, string>>;
11
+ static lc_name(): string;
11
12
  constructor(fields: {
12
13
  template: Record<string, unknown>;
13
14
  templateFormat?: TemplateFormat;
@@ -1,6 +1,9 @@
1
1
  import { Runnable } from "../runnables/base.js";
2
2
  import { parseTemplate, renderTemplate } from "./template.js";
3
3
  export class DictPromptTemplate extends Runnable {
4
+ static lc_name() {
5
+ return "DictPromptTemplate";
6
+ }
4
7
  constructor(fields) {
5
8
  const templateFormat = fields.templateFormat ?? "f-string";
6
9
  const inputVariables = _getInputVariables(fields.template, templateFormat);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/core",
3
- "version": "0.3.48",
3
+ "version": "0.3.49",
4
4
  "description": "Core LangChain.js abstractions and schemas",
5
5
  "type": "module",
6
6
  "engines": {