@langchain/core
Advanced tools
Comparing version
@@ -11,2 +11,3 @@ import { Runnable } from "../runnables/base.js"; | ||
inputVariables: Array<Extract<keyof RunInput, string>>; | ||
static lc_name(): string; | ||
constructor(fields: { | ||
@@ -13,0 +14,0 @@ template: Record<string, unknown>; |
import { Runnable } from "../runnables/base.js"; | ||
import { parseTemplate, renderTemplate } from "./template.js"; | ||
export class DictPromptTemplate extends Runnable { | ||
static lc_name() { | ||
return "DictPromptTemplate"; | ||
} | ||
constructor(fields) { | ||
@@ -5,0 +8,0 @@ const templateFormat = fields.templateFormat ?? "f-string"; |
{ | ||
"name": "@langchain/core", | ||
"version": "0.3.48", | ||
"version": "0.3.49-rc.0", | ||
"description": "Core LangChain.js abstractions and schemas", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
2290201
0.01%57333
0.01%