@braintrust/core
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -32,2 +32,3 @@ declare const TRANSACTION_ID_FIELD = "_xact_id"; | ||
expected: unknown; | ||
tags: string[]; | ||
scores: Record<string, number | null>; | ||
@@ -85,2 +86,3 @@ metadata: Record<string, unknown>; | ||
input?: unknown; | ||
tags?: string[]; | ||
metadata?: unknown; | ||
@@ -123,2 +125,3 @@ id: string; | ||
expected: any; | ||
tags: any; | ||
metadata: any; | ||
@@ -125,0 +128,0 @@ } |
@@ -155,2 +155,3 @@ "use strict"; | ||
...r, | ||
tags: null, | ||
expected: r.output | ||
@@ -157,0 +158,0 @@ }; |
@@ -351,2 +351,3 @@ "use strict"; | ||
expected: customTypes.any, | ||
tags: import_zod4.z.array(import_zod4.z.string()).nullish().describe("A list of tags to log"), | ||
scores: import_zod4.z.record(import_zod4.z.number().min(0).max(1).nullish()).nullish(), | ||
@@ -412,2 +413,3 @@ metadata: import_zod4.z.record(customTypes.any).nullish().describe( | ||
), | ||
tags: import_zod4.z.array(import_zod4.z.string()).nullish().describe("A list of tags to log"), | ||
comment: import_zod4.z.string().nullish().describe( | ||
@@ -507,2 +509,3 @@ `An optional comment string to log about the ${eventDescription} event` | ||
metadata: experimentEventBaseSchema.shape.metadata, | ||
tags: experimentEventBaseSchema.shape.tags, | ||
metrics: experimentEventBaseSchema.shape.metrics, | ||
@@ -529,2 +532,3 @@ context: experimentEventBaseSchema.shape.context, | ||
metadata: datasetEventBaseSchema.shape.metadata, | ||
tags: datasetEventBaseSchema.shape.tags, | ||
span_id: datasetEventBaseSchema.shape.span_id, | ||
@@ -554,2 +558,3 @@ root_span_id: datasetEventBaseSchema.shape.root_span_id | ||
metadata: projectLogsEventBaseSchema.shape.metadata, | ||
tags: projectLogsEventBaseSchema.shape.tags, | ||
metrics: projectLogsEventBaseSchema.shape.metrics, | ||
@@ -615,2 +620,3 @@ context: projectLogsEventBaseSchema.shape.context, | ||
metadata: experimentEventSchema.shape.metadata, | ||
tags: experimentEventSchema.shape.tags, | ||
metrics: experimentEventSchema.shape.metrics, | ||
@@ -633,2 +639,3 @@ context: experimentEventSchema.shape.context, | ||
metadata: datasetEventSchema.shape.metadata, | ||
tags: datasetEventSchema.shape.tags, | ||
id: datasetEventSchema.shape.id.nullish(), | ||
@@ -649,2 +656,3 @@ [OBJECT_DELETE_FIELD]: datasetEventBaseSchema.shape[OBJECT_DELETE_FIELD] | ||
metadata: projectLogsEventSchema.shape.metadata, | ||
tags: projectLogsEventSchema.shape.tags, | ||
metrics: projectLogsEventSchema.shape.metrics, | ||
@@ -651,0 +659,0 @@ context: projectLogsEventSchema.shape.context, |
@@ -352,2 +352,3 @@ "use strict"; | ||
expected: customTypes.any, | ||
tags: import_zod4.z.array(import_zod4.z.string()).nullish().describe("A list of tags to log"), | ||
scores: import_zod4.z.record(import_zod4.z.number().min(0).max(1).nullish()).nullish(), | ||
@@ -413,2 +414,3 @@ metadata: import_zod4.z.record(customTypes.any).nullish().describe( | ||
), | ||
tags: import_zod4.z.array(import_zod4.z.string()).nullish().describe("A list of tags to log"), | ||
comment: import_zod4.z.string().nullish().describe( | ||
@@ -508,2 +510,3 @@ `An optional comment string to log about the ${eventDescription} event` | ||
metadata: experimentEventBaseSchema.shape.metadata, | ||
tags: experimentEventBaseSchema.shape.tags, | ||
metrics: experimentEventBaseSchema.shape.metrics, | ||
@@ -530,2 +533,3 @@ context: experimentEventBaseSchema.shape.context, | ||
metadata: datasetEventBaseSchema.shape.metadata, | ||
tags: datasetEventBaseSchema.shape.tags, | ||
span_id: datasetEventBaseSchema.shape.span_id, | ||
@@ -555,2 +559,3 @@ root_span_id: datasetEventBaseSchema.shape.root_span_id | ||
metadata: projectLogsEventBaseSchema.shape.metadata, | ||
tags: projectLogsEventBaseSchema.shape.tags, | ||
metrics: projectLogsEventBaseSchema.shape.metrics, | ||
@@ -616,2 +621,3 @@ context: projectLogsEventBaseSchema.shape.context, | ||
metadata: experimentEventSchema.shape.metadata, | ||
tags: experimentEventSchema.shape.tags, | ||
metrics: experimentEventSchema.shape.metrics, | ||
@@ -634,2 +640,3 @@ context: experimentEventSchema.shape.context, | ||
metadata: datasetEventSchema.shape.metadata, | ||
tags: datasetEventSchema.shape.tags, | ||
id: datasetEventSchema.shape.id.nullish(), | ||
@@ -650,2 +657,3 @@ [OBJECT_DELETE_FIELD]: datasetEventBaseSchema.shape[OBJECT_DELETE_FIELD] | ||
metadata: projectLogsEventSchema.shape.metadata, | ||
tags: projectLogsEventSchema.shape.tags, | ||
metrics: projectLogsEventSchema.shape.metrics, | ||
@@ -652,0 +660,0 @@ context: projectLogsEventSchema.shape.context, |
{ | ||
"name": "@braintrust/core", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Shared core dependencies for Braintrust packages", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
609414
8661