Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#nullable enable

namespace Weave
{
public partial interface IEvaluationsClient
{
/// <summary>
/// Rescore Evaluation<br/>
/// Rescore an existing evaluation run with different scorer(s).<br/>
/// Applies the provided scorer(s) to the predictions from source_evaluation_run_id<br/>
/// and returns a new evaluation_run_id. Original prediction call IDs are preserved.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Weave.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Weave.RescoreRes> RescoreEvaluationEvaluationsRescorePostAsync(

global::Weave.RescoreReq request,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Rescore Evaluation<br/>
/// Rescore an existing evaluation run with different scorer(s).<br/>
/// Applies the provided scorer(s) to the predictions from source_evaluation_run_id<br/>
/// and returns a new evaluation_run_id. Original prediction call IDs are preserved.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Weave.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Weave.AutoSDKHttpResponse<global::Weave.RescoreRes>> RescoreEvaluationEvaluationsRescorePostAsResponseAsync(

global::Weave.RescoreReq request,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Rescore Evaluation<br/>
/// Rescore an existing evaluation run with different scorer(s).<br/>
/// Applies the provided scorer(s) to the predictions from source_evaluation_run_id<br/>
/// and returns a new evaluation_run_id. Original prediction call IDs are preserved.
/// </summary>
/// <param name="sourceEvaluationRunId">
/// The evaluation run whose predictions will be rescored
/// </param>
/// <param name="scorerRefs">
/// Scorer references (weave:// URIs) to apply; must be non-empty
/// </param>
/// <param name="projectId"></param>
/// <param name="wbUserId">
/// Do not set directly. Server will automatically populate this field.
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Weave.RescoreRes> RescoreEvaluationEvaluationsRescorePostAsync(
string sourceEvaluationRunId,
global::System.Collections.Generic.IList<string> scorerRefs,
string projectId,
string? wbUserId = default,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
2 changes: 2 additions & 0 deletions src/libs/Weave/Generated/Weave.JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ namespace Weave
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.AnyOf<global::Weave.AndOperation, global::Weave.OrOperation, global::Weave.NotOperation, global::Weave.EqOperation, global::Weave.GtOperation, global::Weave.LtOperation, global::Weave.GteOperation, global::Weave.LteOperation, global::Weave.InOperation, global::Weave.ContainsOperation>), TypeInfoPropertyName = "ContainsOperation_b519b0000bd0c5bf")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.RefsReadBatchReq))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.RefsReadBatchRes))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.RescoreReq))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.RescoreRes))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.RouterOpenRouterModel))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.RouterOpenRouterModelQuantization), TypeInfoPropertyName = "RouterOpenRouterModelQuantization2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Weave.RouterOpenRouterModelSupportedSamplingParameter>))]
Expand Down
128 changes: 68 additions & 60 deletions src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -988,243 +988,251 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::Weave.RouterOpenRouterModel? Type240 { get; set; }
public global::Weave.RescoreReq? Type240 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.RouterOpenRouterModelQuantization? Type241 { get; set; }
public global::Weave.RescoreRes? Type241 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.RouterOpenRouterModelSupportedSamplingParameter>? Type242 { get; set; }
public global::Weave.RouterOpenRouterModel? Type242 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.RouterOpenRouterModelSupportedSamplingParameter? Type243 { get; set; }
public global::Weave.RouterOpenRouterModelQuantization? Type243 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.RouterOpenRouterModelSupportedFeature>? Type244 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.RouterOpenRouterModelSupportedSamplingParameter>? Type244 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.RouterOpenRouterModelSupportedFeature? Type245 { get; set; }
public global::Weave.RouterOpenRouterModelSupportedSamplingParameter? Type245 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.Datacenter>? Type246 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.RouterOpenRouterModelSupportedFeature>? Type246 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.RouterOpenRouterModelsRes? Type247 { get; set; }
public global::Weave.RouterOpenRouterModelSupportedFeature? Type247 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.RouterOpenRouterModel>? Type248 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.Datacenter>? Type248 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ScoreCreateBody? Type249 { get; set; }
public global::Weave.RouterOpenRouterModelsRes? Type249 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ScoreCreateRes? Type250 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.RouterOpenRouterModel>? Type250 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ScoreDeleteRes? Type251 { get; set; }
public global::Weave.ScoreCreateBody? Type251 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ScoreReadRes? Type252 { get; set; }
public global::Weave.ScoreCreateRes? Type252 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ScorerCreateBody? Type253 { get; set; }
public global::Weave.ScoreDeleteRes? Type253 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ScorerCreateRes? Type254 { get; set; }
public global::Weave.ScoreReadRes? Type254 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ScorerDeleteRes? Type255 { get; set; }
public global::Weave.ScorerCreateBody? Type255 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ScorerReadRes? Type256 { get; set; }
public global::Weave.ScorerCreateRes? Type256 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ServerInfoRes? Type257 { get; set; }
public global::Weave.ScorerDeleteRes? Type257 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.SortByDirection? Type258 { get; set; }
public global::Weave.ScorerReadRes? Type258 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.Dictionary<string, global::Weave.LLMUsageSchema>? Type259 { get; set; }
public global::Weave.ServerInfoRes? Type259 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.Dictionary<string, int>? Type260 { get; set; }
public global::Weave.SortByDirection? Type260 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableAppendSpec? Type261 { get; set; }
public global::System.Collections.Generic.Dictionary<string, global::Weave.LLMUsageSchema>? Type261 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableAppendSpecPayload? Type262 { get; set; }
public global::System.Collections.Generic.Dictionary<string, int>? Type262 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableCreateFromDigestsReq? Type263 { get; set; }
public global::Weave.TableAppendSpec? Type263 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableCreateFromDigestsRes? Type264 { get; set; }
public global::Weave.TableAppendSpecPayload? Type264 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableCreateReq? Type265 { get; set; }
public global::Weave.TableCreateFromDigestsReq? Type265 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableSchemaForInsert? Type266 { get; set; }
public global::Weave.TableCreateFromDigestsRes? Type266 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableCreateRes? Type267 { get; set; }
public global::Weave.TableCreateReq? Type267 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableInsertSpec? Type268 { get; set; }
public global::Weave.TableSchemaForInsert? Type268 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableInsertSpecPayload? Type269 { get; set; }
public global::Weave.TableCreateRes? Type269 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TablePopSpec? Type270 { get; set; }
public global::Weave.TableInsertSpec? Type270 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TablePopSpecPayload? Type271 { get; set; }
public global::Weave.TableInsertSpecPayload? Type271 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableQueryReq? Type272 { get; set; }
public global::Weave.TablePopSpec? Type272 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableRowFilter? Type273 { get; set; }
public global::Weave.TablePopSpecPayload? Type273 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableQueryRes? Type274 { get; set; }
public global::Weave.TableQueryReq? Type274 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.TableRowSchema>? Type275 { get; set; }
public global::Weave.TableRowFilter? Type275 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableRowSchema? Type276 { get; set; }
public global::Weave.TableQueryRes? Type276 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableQueryStatsBatchReq? Type277 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.TableRowSchema>? Type277 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableQueryStatsBatchRes? Type278 { get; set; }
public global::Weave.TableRowSchema? Type278 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.TableStatsRow>? Type279 { get; set; }
public global::Weave.TableQueryStatsBatchReq? Type279 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableStatsRow? Type280 { get; set; }
public global::Weave.TableQueryStatsBatchRes? Type280 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableQueryStatsReq? Type281 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.TableStatsRow>? Type281 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableQueryStatsRes? Type282 { get; set; }
public global::Weave.TableStatsRow? Type282 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableUpdateReq? Type283 { get; set; }
public global::Weave.TableQueryStatsReq? Type283 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.AnyOf<global::Weave.TableAppendSpec, global::Weave.TablePopSpec, global::Weave.TableInsertSpec>>? Type284 { get; set; }
public global::Weave.TableQueryStatsRes? Type284 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.AnyOf<global::Weave.TableAppendSpec, global::Weave.TablePopSpec, global::Weave.TableInsertSpec>? Type285 { get; set; }
public global::Weave.TableUpdateReq? Type285 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TableUpdateRes? Type286 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.AnyOf<global::Weave.TableAppendSpec, global::Weave.TablePopSpec, global::Weave.TableInsertSpec>>? Type286 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TagsListRes? Type287 { get; set; }
public global::Weave.AnyOf<global::Weave.TableAppendSpec, global::Weave.TablePopSpec, global::Weave.TableInsertSpec>? Type287 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ThreadsQueryFilter? Type288 { get; set; }
public global::Weave.TableUpdateRes? Type288 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.ThreadsQueryReq? Type289 { get; set; }
public global::Weave.TagsListRes? Type289 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TraceStatus? Type290 { get; set; }
public global::Weave.ThreadsQueryFilter? Type290 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TraceUsageReq? Type291 { get; set; }
public global::Weave.ThreadsQueryReq? Type291 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.TraceUsageRes? Type292 { get; set; }
public global::Weave.TraceStatus? Type292 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.UsageMetricSpecMetric? Type293 { get; set; }
public global::Weave.TraceUsageReq? Type293 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.AnyOf<string, int?>>? Type294 { get; set; }
public global::Weave.TraceUsageRes? Type294 { get; set; }
/// <summary>
///
/// </summary>
public global::Weave.AnyOf<string, int?>? Type295 { get; set; }
public global::Weave.UsageMetricSpecMetric? Type295 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.ProjectsInfoRes>? Type296 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.AnyOf<string, int?>>? Type296 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.EvaluationRunReadRes>? Type297 { get; set; }
public global::Weave.AnyOf<string, int?>? Type297 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.PredictionReadRes>? Type298 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.ProjectsInfoRes>? Type298 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.ScoreReadRes>? Type299 { get; set; }
public global::System.Collections.Generic.IList<global::Weave.EvaluationRunReadRes>? Type299 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.PredictionReadRes>? Type300 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Weave.ScoreReadRes>? Type301 { get; set; }

/// <summary>
///
Expand Down
Loading