add multi prompt chain

This commit is contained in:
Henry
2023-05-25 00:36:09 +01:00
parent f2d8796920
commit 1d42456ba1
7 changed files with 609 additions and 1 deletions
@@ -56,7 +56,8 @@ class ConversationChain_Chains implements INode {
const obj: any = {
llm: model,
memory
memory,
verbose: process.env.DEBUG === 'true' ? true : false
}
const chatPrompt = ChatPromptTemplate.fromPromptMessages([