langsmith
Advanced tools
Comparing version 0.1.59 to 0.1.60-rc1
@@ -123,4 +123,4 @@ import { AsyncCallerParams } from "./utils/async_caller.js"; | ||
id?: string; | ||
start_time?: number; | ||
end_time?: number; | ||
start_time?: number | string; | ||
end_time?: number | string; | ||
extra?: KVMap; | ||
@@ -127,0 +127,0 @@ error?: string; |
import { BaseRun, KVMap, RunCreate } from "./schemas.js"; | ||
import { Client } from "./client.js"; | ||
export declare function convertToDottedOrderFormat(epoch: number, runId: string, executionOrder?: number): string; | ||
export declare function convertToDottedOrderFormat(epoch: number | string, runId: string, executionOrder?: number): string; | ||
export interface RunTreeConfig { | ||
@@ -59,4 +59,4 @@ name: string; | ||
child_runs: RunTree[]; | ||
start_time: number; | ||
end_time?: number; | ||
start_time: number | string; | ||
end_time?: number | string; | ||
extra: KVMap; | ||
@@ -63,0 +63,0 @@ tags?: string[]; |
@@ -45,7 +45,7 @@ export interface TracerSession { | ||
/** The epoch time at which the run started, if available. */ | ||
start_time?: number; | ||
start_time?: number | string; | ||
/** Specifies the type of run (tool, chain, llm, etc.). */ | ||
run_type: string; | ||
/** The epoch time at which the run ended, if applicable. */ | ||
end_time?: number; | ||
end_time?: number | string; | ||
/** Any additional metadata or settings for the run. */ | ||
@@ -102,2 +102,4 @@ extra?: KVMap; | ||
session_id?: string; | ||
start_time: string; | ||
end_time?: string; | ||
/** IDs of any child runs spawned by this run. */ | ||
@@ -139,3 +141,3 @@ child_run_ids?: string[]; | ||
id?: string; | ||
end_time?: number; | ||
end_time?: number | string; | ||
extra?: KVMap; | ||
@@ -323,3 +325,3 @@ tags?: string[]; | ||
ls_model_name?: string; | ||
ls_model_type: "chat" | "text"; | ||
ls_model_type: "chat" | "llm"; | ||
ls_temperature?: number; | ||
@@ -397,3 +399,7 @@ ls_max_tokens?: number; | ||
added_at?: string; | ||
/** The ISO 8601 formatted string representing the start time of the run. */ | ||
start_time: string; | ||
/** The ISO 8601 formatted string representing the end time of the run, if available. */ | ||
end_time?: string; | ||
} | ||
export {}; |
@@ -179,3 +179,3 @@ import { isTraceableFunction, traceable } from "../traceable.js"; | ||
ls_provider: "openai", | ||
ls_model_type: "text", | ||
ls_model_type: "llm", | ||
ls_model_name: params.model, | ||
@@ -182,0 +182,0 @@ ls_max_tokens: params.max_tokens ?? undefined, |
{ | ||
"name": "langsmith", | ||
"version": "0.1.59", | ||
"version": "0.1.60-rc1", | ||
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.", | ||
@@ -5,0 +5,0 @@ "packageManager": "yarn@1.22.19", |
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
663023
17532