diff --git a/src/libs/Weave/Generated/Weave.EvaluationRunsClient.EvaluationRunCreateV2EntityProjectEvaluationRunsPost.g.cs b/src/libs/Weave/Generated/Weave.EvaluationRunsClient.EvaluationRunCreateV2EntityProjectEvaluationRunsPost.g.cs
index e5a6873..a8168d3 100644
--- a/src/libs/Weave/Generated/Weave.EvaluationRunsClient.EvaluationRunCreateV2EntityProjectEvaluationRunsPost.g.cs
+++ b/src/libs/Weave/Generated/Weave.EvaluationRunsClient.EvaluationRunCreateV2EntityProjectEvaluationRunsPost.g.cs
@@ -500,6 +500,9 @@ partial void ProcessEvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse
///
/// Reference to the model (weave:// URI)
///
+ ///
+ /// Source evaluation run ID if this run was created by rescoring — provenance link
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -508,6 +511,7 @@ partial void ProcessEvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse
string project,
string evaluation,
string model,
+ string? sourceEvaluationRunId = default,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -515,6 +519,7 @@ partial void ProcessEvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse
{
Evaluation = evaluation,
Model = model,
+ SourceEvaluationRunId = sourceEvaluationRunId,
};
return await EvaluationRunCreateV2EntityProjectEvaluationRunsPostAsync(
diff --git a/src/libs/Weave/Generated/Weave.IEvaluationRunsClient.EvaluationRunCreateV2EntityProjectEvaluationRunsPost.g.cs b/src/libs/Weave/Generated/Weave.IEvaluationRunsClient.EvaluationRunCreateV2EntityProjectEvaluationRunsPost.g.cs
index ed22620..b641e72 100644
--- a/src/libs/Weave/Generated/Weave.IEvaluationRunsClient.EvaluationRunCreateV2EntityProjectEvaluationRunsPost.g.cs
+++ b/src/libs/Weave/Generated/Weave.IEvaluationRunsClient.EvaluationRunCreateV2EntityProjectEvaluationRunsPost.g.cs
@@ -50,6 +50,9 @@ public partial interface IEvaluationRunsClient
///
/// Reference to the model (weave:// URI)
///
+ ///
+ /// Source evaluation run ID if this run was created by rescoring — provenance link
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -58,6 +61,7 @@ public partial interface IEvaluationRunsClient
string project,
string evaluation,
string model,
+ string? sourceEvaluationRunId = default,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Weave/Generated/Weave.IScoresClient.ScoreCreateV2EntityProjectScoresPost.g.cs b/src/libs/Weave/Generated/Weave.IScoresClient.ScoreCreateV2EntityProjectScoresPost.g.cs
index f0281ac..75b75aa 100644
--- a/src/libs/Weave/Generated/Weave.IScoresClient.ScoreCreateV2EntityProjectScoresPost.g.cs
+++ b/src/libs/Weave/Generated/Weave.IScoresClient.ScoreCreateV2EntityProjectScoresPost.g.cs
@@ -51,7 +51,7 @@ public partial interface IScoresClient
/// The scorer reference (weave:// URI)
///
///
- /// The value of the score
+ /// The raw output of the scorer
///
///
/// Optional evaluation run ID to link this score as a child call
@@ -64,7 +64,7 @@ public partial interface IScoresClient
string project,
string predictionId,
string scorer,
- double value,
+ object value,
string? evaluationRunId = default,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsert.g.cs b/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsert.g.cs
index 6f1c646..9881338 100644
--- a/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsert.g.cs
+++ b/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsert.g.cs
@@ -29,6 +29,12 @@ public sealed partial class EndedCallSchemaForInsert
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.DateTime EndedAt { get; set; }
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("started_at")]
+ public global::System.DateTime? StartedAt { get; set; }
+
///
///
///
@@ -67,6 +73,7 @@ public sealed partial class EndedCallSchemaForInsert
///
///
///
+ ///
///
///
///
@@ -78,6 +85,7 @@ public EndedCallSchemaForInsert(
string id,
global::System.DateTime endedAt,
global::Weave.SummaryInsertMap summary,
+ global::System.DateTime? startedAt,
string? exception,
object? output,
int? wbRunStepEnd)
@@ -85,6 +93,7 @@ public EndedCallSchemaForInsert(
this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId));
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.EndedAt = endedAt;
+ this.StartedAt = startedAt;
this.Exception = exception;
this.Output = output;
this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary));
diff --git a/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsertStartedAt.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsertStartedAt.Json.g.cs
new file mode 100644
index 0000000..d14e183
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsertStartedAt.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Weave
+{
+ public sealed partial class EndedCallSchemaForInsertStartedAt
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Weave.EndedCallSchemaForInsertStartedAt? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Weave.EndedCallSchemaForInsertStartedAt),
+ jsonSerializerContext) as global::Weave.EndedCallSchemaForInsertStartedAt;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Weave.EndedCallSchemaForInsertStartedAt? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Weave.EndedCallSchemaForInsertStartedAt),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Weave.EndedCallSchemaForInsertStartedAt;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsertStartedAt.g.cs b/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsertStartedAt.g.cs
new file mode 100644
index 0000000..dd68eee
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.EndedCallSchemaForInsertStartedAt.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Weave
+{
+ ///
+ ///
+ ///
+ public sealed partial class EndedCallSchemaForInsertStartedAt
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBody.g.cs b/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBody.g.cs
index 4f9e5ac..4eb12d1 100644
--- a/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBody.g.cs
+++ b/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBody.g.cs
@@ -22,6 +22,12 @@ public sealed partial class EvaluationRunCreateBody
[global::System.Text.Json.Serialization.JsonRequired]
public required string Model { get; set; }
+ ///
+ /// Source evaluation run ID if this run was created by rescoring — provenance link
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("source_evaluation_run_id")]
+ public string? SourceEvaluationRunId { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -37,15 +43,20 @@ public sealed partial class EvaluationRunCreateBody
///
/// Reference to the model (weave:// URI)
///
+ ///
+ /// Source evaluation run ID if this run was created by rescoring — provenance link
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public EvaluationRunCreateBody(
string evaluation,
- string model)
+ string model,
+ string? sourceEvaluationRunId)
{
this.Evaluation = evaluation ?? throw new global::System.ArgumentNullException(nameof(evaluation));
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
+ this.SourceEvaluationRunId = sourceEvaluationRunId;
}
///
diff --git a/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBodySourceEvaluationRunId.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBodySourceEvaluationRunId.Json.g.cs
new file mode 100644
index 0000000..f994e00
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBodySourceEvaluationRunId.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Weave
+{
+ public sealed partial class EvaluationRunCreateBodySourceEvaluationRunId
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Weave.EvaluationRunCreateBodySourceEvaluationRunId? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Weave.EvaluationRunCreateBodySourceEvaluationRunId),
+ jsonSerializerContext) as global::Weave.EvaluationRunCreateBodySourceEvaluationRunId;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Weave.EvaluationRunCreateBodySourceEvaluationRunId? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Weave.EvaluationRunCreateBodySourceEvaluationRunId),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Weave.EvaluationRunCreateBodySourceEvaluationRunId;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBodySourceEvaluationRunId.g.cs b/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBodySourceEvaluationRunId.g.cs
new file mode 100644
index 0000000..a99b931
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.EvaluationRunCreateBodySourceEvaluationRunId.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Weave
+{
+ ///
+ /// Source evaluation run ID if this run was created by rescoring — provenance link
+ ///
+ public sealed partial class EvaluationRunCreateBodySourceEvaluationRunId
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadRes.g.cs b/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadRes.g.cs
index fbf352e..ad32cd4 100644
--- a/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadRes.g.cs
+++ b/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadRes.g.cs
@@ -53,6 +53,12 @@ public sealed partial class EvaluationRunReadRes
[global::System.Text.Json.Serialization.JsonPropertyName("summary")]
public object? Summary { get; set; }
+ ///
+ /// Source evaluation run ID if this run was created by rescoring
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("source_evaluation_run_id")]
+ public string? SourceEvaluationRunId { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -83,6 +89,9 @@ public sealed partial class EvaluationRunReadRes
///
/// Summary data for the evaluation run
///
+ ///
+ /// Source evaluation run ID if this run was created by rescoring
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -93,7 +102,8 @@ public EvaluationRunReadRes(
string? status,
global::System.DateTime? startedAt,
global::System.DateTime? finishedAt,
- object? summary)
+ object? summary,
+ string? sourceEvaluationRunId)
{
this.EvaluationRunId = evaluationRunId ?? throw new global::System.ArgumentNullException(nameof(evaluationRunId));
this.Evaluation = evaluation ?? throw new global::System.ArgumentNullException(nameof(evaluation));
@@ -102,6 +112,7 @@ public EvaluationRunReadRes(
this.StartedAt = startedAt;
this.FinishedAt = finishedAt;
this.Summary = summary;
+ this.SourceEvaluationRunId = sourceEvaluationRunId;
}
///
diff --git a/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadResSourceEvaluationRunId.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadResSourceEvaluationRunId.Json.g.cs
new file mode 100644
index 0000000..46555cd
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadResSourceEvaluationRunId.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Weave
+{
+ public sealed partial class EvaluationRunReadResSourceEvaluationRunId
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Weave.EvaluationRunReadResSourceEvaluationRunId? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Weave.EvaluationRunReadResSourceEvaluationRunId),
+ jsonSerializerContext) as global::Weave.EvaluationRunReadResSourceEvaluationRunId;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Weave.EvaluationRunReadResSourceEvaluationRunId? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Weave.EvaluationRunReadResSourceEvaluationRunId),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Weave.EvaluationRunReadResSourceEvaluationRunId;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadResSourceEvaluationRunId.g.cs b/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadResSourceEvaluationRunId.g.cs
new file mode 100644
index 0000000..929702f
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.EvaluationRunReadResSourceEvaluationRunId.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Weave
+{
+ ///
+ /// Source evaluation run ID if this run was created by rescoring
+ ///
+ public sealed partial class EvaluationRunReadResSourceEvaluationRunId
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Weave/Generated/Weave.Models.ScoreCreateBody.g.cs b/src/libs/Weave/Generated/Weave.Models.ScoreCreateBody.g.cs
index 54472fc..55b3ee8 100644
--- a/src/libs/Weave/Generated/Weave.Models.ScoreCreateBody.g.cs
+++ b/src/libs/Weave/Generated/Weave.Models.ScoreCreateBody.g.cs
@@ -24,11 +24,11 @@ public sealed partial class ScoreCreateBody
public required string Scorer { get; set; }
///
- /// The value of the score
+ /// The raw output of the scorer
///
[global::System.Text.Json.Serialization.JsonPropertyName("value")]
[global::System.Text.Json.Serialization.JsonRequired]
- public required double Value { get; set; }
+ public required object Value { get; set; }
///
/// Optional evaluation run ID to link this score as a child call
@@ -52,7 +52,7 @@ public sealed partial class ScoreCreateBody
/// The scorer reference (weave:// URI)
///
///
- /// The value of the score
+ /// The raw output of the scorer
///
///
/// Optional evaluation run ID to link this score as a child call
@@ -63,12 +63,12 @@ public sealed partial class ScoreCreateBody
public ScoreCreateBody(
string predictionId,
string scorer,
- double value,
+ object value,
string? evaluationRunId)
{
this.PredictionId = predictionId ?? throw new global::System.ArgumentNullException(nameof(predictionId));
this.Scorer = scorer ?? throw new global::System.ArgumentNullException(nameof(scorer));
- this.Value = value;
+ this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value));
this.EvaluationRunId = evaluationRunId;
}
diff --git a/src/libs/Weave/Generated/Weave.Models.ScoreCreateBodyValue.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.ScoreCreateBodyValue.Json.g.cs
new file mode 100644
index 0000000..679d8a2
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.ScoreCreateBodyValue.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Weave
+{
+ public sealed partial class ScoreCreateBodyValue
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Weave.ScoreCreateBodyValue? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Weave.ScoreCreateBodyValue),
+ jsonSerializerContext) as global::Weave.ScoreCreateBodyValue;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Weave.ScoreCreateBodyValue? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Weave.ScoreCreateBodyValue),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Weave.ScoreCreateBodyValue;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Weave/Generated/Weave.Models.ScoreCreateBodyValue.g.cs b/src/libs/Weave/Generated/Weave.Models.ScoreCreateBodyValue.g.cs
new file mode 100644
index 0000000..577127c
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.ScoreCreateBodyValue.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Weave
+{
+ ///
+ /// The raw output of the scorer
+ ///
+ public sealed partial class ScoreCreateBodyValue
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Weave/Generated/Weave.Models.ScoreReadRes.g.cs b/src/libs/Weave/Generated/Weave.Models.ScoreReadRes.g.cs
index ce0bf2a..b67c061 100644
--- a/src/libs/Weave/Generated/Weave.Models.ScoreReadRes.g.cs
+++ b/src/libs/Weave/Generated/Weave.Models.ScoreReadRes.g.cs
@@ -23,11 +23,11 @@ public sealed partial class ScoreReadRes
public required string Scorer { get; set; }
///
- /// The value of the score
+ /// The raw output of the scorer
///
[global::System.Text.Json.Serialization.JsonPropertyName("value")]
[global::System.Text.Json.Serialization.JsonRequired]
- public required double Value { get; set; }
+ public required object Value { get; set; }
///
/// Evaluation run ID if this score is linked to one
@@ -57,7 +57,7 @@ public sealed partial class ScoreReadRes
/// The scorer reference (weave:// URI)
///
///
- /// The value of the score
+ /// The raw output of the scorer
///
///
/// Evaluation run ID if this score is linked to one
@@ -71,13 +71,13 @@ public sealed partial class ScoreReadRes
public ScoreReadRes(
string scoreId,
string scorer,
- double value,
+ object value,
string? evaluationRunId,
string? wbUserId)
{
this.ScoreId = scoreId ?? throw new global::System.ArgumentNullException(nameof(scoreId));
this.Scorer = scorer ?? throw new global::System.ArgumentNullException(nameof(scorer));
- this.Value = value;
+ this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value));
this.EvaluationRunId = evaluationRunId;
this.WbUserId = wbUserId;
}
diff --git a/src/libs/Weave/Generated/Weave.Models.ScoreReadResValue.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.ScoreReadResValue.Json.g.cs
new file mode 100644
index 0000000..7674066
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.ScoreReadResValue.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Weave
+{
+ public sealed partial class ScoreReadResValue
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Weave.ScoreReadResValue? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Weave.ScoreReadResValue),
+ jsonSerializerContext) as global::Weave.ScoreReadResValue;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Weave.ScoreReadResValue? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Weave.ScoreReadResValue),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Weave.ScoreReadResValue;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Weave/Generated/Weave.Models.ScoreReadResValue.g.cs b/src/libs/Weave/Generated/Weave.Models.ScoreReadResValue.g.cs
new file mode 100644
index 0000000..1e81ee7
--- /dev/null
+++ b/src/libs/Weave/Generated/Weave.Models.ScoreReadResValue.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Weave
+{
+ ///
+ /// The raw output of the scorer
+ ///
+ public sealed partial class ScoreReadResValue
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Weave/Generated/Weave.ScoresClient.ScoreCreateV2EntityProjectScoresPost.g.cs b/src/libs/Weave/Generated/Weave.ScoresClient.ScoreCreateV2EntityProjectScoresPost.g.cs
index fd68831..d4dc7fc 100644
--- a/src/libs/Weave/Generated/Weave.ScoresClient.ScoreCreateV2EntityProjectScoresPost.g.cs
+++ b/src/libs/Weave/Generated/Weave.ScoresClient.ScoreCreateV2EntityProjectScoresPost.g.cs
@@ -501,7 +501,7 @@ partial void ProcessScoreCreateV2EntityProjectScoresPostResponseContent(
/// The scorer reference (weave:// URI)
///
///
- /// The value of the score
+ /// The raw output of the scorer
///
///
/// Optional evaluation run ID to link this score as a child call
@@ -514,7 +514,7 @@ partial void ProcessScoreCreateV2EntityProjectScoresPostResponseContent(
string project,
string predictionId,
string scorer,
- double value,
+ object value,
string? evaluationRunId = default,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
diff --git a/src/libs/Weave/openapi.json b/src/libs/Weave/openapi.json
index 8bd671d..1e0c9c8 100644
--- a/src/libs/Weave/openapi.json
+++ b/src/libs/Weave/openapi.json
@@ -8341,6 +8341,18 @@
"format": "date-time",
"title": "Ended At"
},
+ "started_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Started At"
+ },
"exception": {
"anyOf": [
{
@@ -9362,6 +9374,18 @@
"type": "string",
"title": "Model",
"description": "Reference to the model (weave:// URI)"
+ },
+ "source_evaluation_run_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Source Evaluation Run Id",
+ "description": "Source evaluation run ID if this run was created by rescoring — provenance link"
}
},
"type": "object",
@@ -9500,6 +9524,18 @@
],
"title": "Summary",
"description": "Summary data for the evaluation run"
+ },
+ "source_evaluation_run_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Source Evaluation Run Id",
+ "description": "Source evaluation run ID if this run was created by rescoring"
}
},
"type": "object",
@@ -13215,9 +13251,8 @@
"description": "The scorer reference (weave:// URI)"
},
"value": {
- "type": "number",
"title": "Value",
- "description": "The value of the score"
+ "description": "The raw output of the scorer"
},
"evaluation_run_id": {
"anyOf": [
@@ -13282,9 +13317,8 @@
"description": "The scorer reference (weave:// URI)"
},
"value": {
- "type": "number",
"title": "Value",
- "description": "The value of the score"
+ "description": "The raw output of the scorer"
},
"evaluation_run_id": {
"anyOf": [