chore: Upgrade LangChain packages to latest versions (no-changelog) (#11771)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Eugene
2024-12-02 15:35:23 +01:00
committed by GitHub
parent 80a2093388
commit 28487edb13
6 changed files with 197 additions and 231 deletions

View File

@@ -1,8 +1,10 @@
import type { ZodObjectAny } from '@langchain/core/dist/types/zod';
import type { z } from 'zod';
import type { BaseOutputParser } from '@langchain/core/output_parsers';
import type { DynamicStructuredTool, Tool } from 'langchain/tools';
import { NodeOperationError, type IExecuteFunctions, type INode } from 'n8n-workflow';
type ZodObjectAny = z.ZodObject<any, any, any, any>;
export async function extractParsedOutput(
ctx: IExecuteFunctions,
outputParser: BaseOutputParser<unknown>,