Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@langchain/core

Package Overview
Dependencies
Maintainers
10
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/core - npm Package Compare versions

Comparing version 0.3.19 to 0.3.20

1

dist/singletons/tracer.d.ts
import { Client } from "langsmith";
export declare const getDefaultLangChainClientSingleton: () => Client;
export declare const setDefaultLangChainClientSingleton: (newClient: Client) => void;

@@ -16,1 +16,4 @@ import { Client } from "langsmith";

};
export const setDefaultLangChainClientSingleton = (newClient) => {
client = newClient;
};

12

dist/tracers/base.d.ts

@@ -59,3 +59,3 @@ import { KVMap, BaseRun } from "langsmith/schemas";

tags?: string[] | undefined;
attachments?: Record<string, [string, Uint8Array]> | undefined;
attachments?: import("langsmith/schemas").Attachments | undefined;
};

@@ -93,3 +93,3 @@ protected _endTrace(run: Run): Promise<void>;

tags?: string[] | undefined;
attachments?: Record<string, [string, Uint8Array]> | undefined;
attachments?: import("langsmith/schemas").Attachments | undefined;
};

@@ -126,3 +126,3 @@ handleLLMStart(llm: Serialized, prompts: string[], runId: string, parentRunId?: string, extraParams?: KVMap, tags?: string[], metadata?: KVMap, name?: string): Promise<Run>;

tags?: string[] | undefined;
attachments?: Record<string, [string, Uint8Array]> | undefined;
attachments?: import("langsmith/schemas").Attachments | undefined;
};

@@ -161,3 +161,3 @@ handleChatModelStart(llm: Serialized, messages: BaseMessage[][], runId: string, parentRunId?: string, extraParams?: KVMap, tags?: string[], metadata?: KVMap, name?: string): Promise<Run>;

tags?: string[] | undefined;
attachments?: Record<string, [string, Uint8Array]> | undefined;
attachments?: import("langsmith/schemas").Attachments | undefined;
};

@@ -200,3 +200,3 @@ handleChainStart(chain: Serialized, inputs: ChainValues, runId: string, parentRunId?: string, tags?: string[], metadata?: KVMap, runType?: string, name?: string): Promise<Run>;

tags?: string[] | undefined;
attachments?: Record<string, [string, Uint8Array]> | undefined;
attachments?: import("langsmith/schemas").Attachments | undefined;
};

@@ -237,3 +237,3 @@ handleToolStart(tool: Serialized, input: string, runId: string, parentRunId?: string, tags?: string[], metadata?: KVMap, name?: string): Promise<Run>;

tags?: string[] | undefined;
attachments?: Record<string, [string, Uint8Array]> | undefined;
attachments?: import("langsmith/schemas").Attachments | undefined;
};

@@ -240,0 +240,0 @@ handleRetrieverStart(retriever: Serialized, query: string, runId: string, parentRunId?: string, tags?: string[], metadata?: KVMap, name?: string): Promise<Run>;

@@ -1,2 +0,2 @@

import { Client } from "langsmith";
import type { LangSmithTracingClientInterface } from "langsmith";
import { RunTree } from "langsmith/run_trees";

@@ -26,3 +26,3 @@ import { BaseRun, RunCreate, RunUpdate as BaseRunUpdate, KVMap } from "langsmith/schemas";

projectName?: string;
client?: Client;
client?: LangSmithTracingClientInterface;
}

@@ -33,3 +33,3 @@ export declare class LangChainTracer extends BaseTracer implements LangChainTracerFields {

exampleId?: string;
client: Client;
client: LangSmithTracingClientInterface;
constructor(fields?: LangChainTracerFields);

@@ -36,0 +36,0 @@ private _convertToCreate;

{
"name": "@langchain/core",
"version": "0.3.19",
"version": "0.3.20",
"description": "Core LangChain.js abstractions and schemas",

@@ -40,3 +40,3 @@ "type": "module",

"js-tiktoken": "^1.0.12",
"langsmith": "^0.2.0",
"langsmith": "^0.2.8",
"mustache": "^4.2.0",

@@ -43,0 +43,0 @@ "p-queue": "^6.6.2",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc