langsmith
Advanced tools
Comparing version 0.0.38 to 0.0.39
@@ -216,3 +216,4 @@ import * as uuid from "uuid"; | ||
const runs = {}; | ||
childRuns.sort((a, b) => a.execution_order - b.execution_order); | ||
// TODO: make dotted order required when the migration finishes | ||
childRuns.sort((a, b) => (a?.dotted_order ?? "").localeCompare(b?.dotted_order ?? "")); | ||
for (const childRun of childRuns) { | ||
@@ -219,0 +220,0 @@ if (childRun.parent_run_id === null || |
@@ -98,2 +98,17 @@ export interface TracerSession { | ||
parent_run_ids?: string[]; | ||
/**Unique ID assigned to every run within this nested trace.**/ | ||
trace_id?: string; | ||
/** | ||
* The dotted order for the run. | ||
* | ||
* This is a string composed of {time}{run-uuid}.* so that a trace can be | ||
* sorted in the order it was executed. | ||
* | ||
* Example: | ||
* - Parent: 20230914T223155647Z1b64098b-4ab7-43f6-afee-992304f198d8 | ||
* - Children: | ||
* - 20230914T223155647Z1b64098b-4ab7-43f6-afee-992304f198d8.20230914T223155649Z809ed3a2-0172-4f4d-8a02-a64e9b7a0f8a | ||
* - 20230915T223155647Z1b64098b-4ab7-43f6-afee-992304f198d8.20230914T223155650Zc8d9f4c5-6c5a-4b2d-9b1c-3d9d7a7c5c7c | ||
*/ | ||
dotted_order?: string; | ||
} | ||
@@ -100,0 +115,0 @@ export interface RunCreate extends BaseRun { |
{ | ||
"name": "langsmith", | ||
"version": "0.0.38", | ||
"version": "0.0.39", | ||
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
178372
4427