@langchain/core
Advanced tools
Comparing version 0.3.19 to 0.3.20
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; | ||
}; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2312347
57688
160
Updatedlangsmith@^0.2.8