From 08c541cdd18253a989a32da01795cc13eb728bea Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 2 Jun 2026 03:42:48 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ient.FeedbackCreateFeedbackCreatePost.g.cs | 30 ++ ...nt.FeedbackReplaceFeedbackReplacePost.g.cs | 30 ++ ...ient.FeedbackCreateFeedbackCreatePost.g.cs | 24 ++ ...nt.FeedbackReplaceFeedbackReplacePost.g.cs | 24 ++ .../Weave.JsonSerializerContext.g.cs | 1 + .../Weave.JsonSerializerContextTypes.g.cs | 272 +++++++++--------- .../Weave.Models.FeedbackCreateReq.g.cs | 66 +++++ ...CreateReqScorerRatingConfidences.Json.g.cs | 92 ++++++ ...dbackCreateReqScorerRatingConfidences.g.cs | 19 ++ ...backCreateReqScorerRatingReasons.Json.g.cs | 92 ++++++ ....FeedbackCreateReqScorerRatingReasons.g.cs | 19 ++ ...s.FeedbackCreateReqScorerRatings.Json.g.cs | 92 ++++++ ...Models.FeedbackCreateReqScorerRatings.g.cs | 19 ++ ...ackCreateReqScorerTagConfidences.Json.g.cs | 92 ++++++ ...FeedbackCreateReqScorerTagConfidences.g.cs | 19 ++ ...eedbackCreateReqScorerTagReasons.Json.g.cs | 92 ++++++ ...els.FeedbackCreateReqScorerTagReasons.g.cs | 19 ++ .../Weave.Models.FeedbackReplaceReq.g.cs | 66 +++++ ...eplaceReqScorerRatingConfidences.Json.g.cs | 92 ++++++ ...backReplaceReqScorerRatingConfidences.g.cs | 19 ++ ...ackReplaceReqScorerRatingReasons.Json.g.cs | 92 ++++++ ...FeedbackReplaceReqScorerRatingReasons.g.cs | 19 ++ ....FeedbackReplaceReqScorerRatings.Json.g.cs | 92 ++++++ ...odels.FeedbackReplaceReqScorerRatings.g.cs | 19 ++ ...ckReplaceReqScorerTagConfidences.Json.g.cs | 92 ++++++ ...eedbackReplaceReqScorerTagConfidences.g.cs | 19 ++ ...edbackReplaceReqScorerTagReasons.Json.g.cs | 92 ++++++ ...ls.FeedbackReplaceReqScorerTagReasons.g.cs | 19 ++ src/libs/Weave/openapi.json | 158 ++++++++++ 29 files changed, 1647 insertions(+), 134 deletions(-) create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingConfidences.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingConfidences.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingReasons.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingReasons.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatings.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatings.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagConfidences.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagConfidences.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagReasons.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagReasons.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingConfidences.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingConfidences.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingReasons.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingReasons.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatings.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatings.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagConfidences.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagConfidences.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagReasons.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagReasons.g.cs diff --git a/src/libs/Weave/Generated/Weave.FeedbackClient.FeedbackCreateFeedbackCreatePost.g.cs b/src/libs/Weave/Generated/Weave.FeedbackClient.FeedbackCreateFeedbackCreatePost.g.cs index e755dae..85154bd 100644 --- a/src/libs/Weave/Generated/Weave.FeedbackClient.FeedbackCreateFeedbackCreatePost.g.cs +++ b/src/libs/Weave/Generated/Weave.FeedbackClient.FeedbackCreateFeedbackCreatePost.g.cs @@ -489,6 +489,24 @@ partial void ProcessFeedbackCreateFeedbackCreatePostResponseContent( /// /// The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues. /// + /// + /// Tags applied to the ref by a scorer + /// + /// + /// reason text per tag, keyed by tag name + /// + /// + /// confidence (0-1) per tag, keyed by tag name + /// + /// + /// numeric ratings (0-1) keyed by rating name + /// + /// + /// reason text per rating, keyed by rating name + /// + /// + /// confidence (0-1) per rating, keyed by rating name + /// /// /// Do not set directly. Server will automatically populate this field. /// @@ -507,6 +525,12 @@ partial void ProcessFeedbackCreateFeedbackCreatePostResponseContent( string? callRef = default, string? triggerRef = default, string? queueId = default, + global::System.Collections.Generic.IList? scorerTags = default, + global::System.Collections.Generic.Dictionary? scorerTagReasons = default, + global::System.Collections.Generic.Dictionary? scorerTagConfidences = default, + global::System.Collections.Generic.Dictionary? scorerRatings = default, + global::System.Collections.Generic.Dictionary? scorerRatingReasons = default, + global::System.Collections.Generic.Dictionary? scorerRatingConfidences = default, string? wbUserId = default, global::Weave.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -524,6 +548,12 @@ partial void ProcessFeedbackCreateFeedbackCreatePostResponseContent( CallRef = callRef, TriggerRef = triggerRef, QueueId = queueId, + ScorerTags = scorerTags, + ScorerTagReasons = scorerTagReasons, + ScorerTagConfidences = scorerTagConfidences, + ScorerRatings = scorerRatings, + ScorerRatingReasons = scorerRatingReasons, + ScorerRatingConfidences = scorerRatingConfidences, WbUserId = wbUserId, }; diff --git a/src/libs/Weave/Generated/Weave.FeedbackClient.FeedbackReplaceFeedbackReplacePost.g.cs b/src/libs/Weave/Generated/Weave.FeedbackClient.FeedbackReplaceFeedbackReplacePost.g.cs index a3ae4a4..433a0f2 100644 --- a/src/libs/Weave/Generated/Weave.FeedbackClient.FeedbackReplaceFeedbackReplacePost.g.cs +++ b/src/libs/Weave/Generated/Weave.FeedbackClient.FeedbackReplaceFeedbackReplacePost.g.cs @@ -486,6 +486,24 @@ partial void ProcessFeedbackReplaceFeedbackReplacePostResponseContent( /// /// The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues. /// + /// + /// Tags applied to the ref by a scorer + /// + /// + /// reason text per tag, keyed by tag name + /// + /// + /// confidence (0-1) per tag, keyed by tag name + /// + /// + /// numeric ratings (0-1) keyed by rating name + /// + /// + /// reason text per rating, keyed by rating name + /// + /// + /// confidence (0-1) per rating, keyed by rating name + /// /// /// Do not set directly. Server will automatically populate this field. /// @@ -506,6 +524,12 @@ partial void ProcessFeedbackReplaceFeedbackReplacePostResponseContent( string? callRef = default, string? triggerRef = default, string? queueId = default, + global::System.Collections.Generic.IList? scorerTags = default, + global::System.Collections.Generic.Dictionary? scorerTagReasons = default, + global::System.Collections.Generic.Dictionary? scorerTagConfidences = default, + global::System.Collections.Generic.Dictionary? scorerRatings = default, + global::System.Collections.Generic.Dictionary? scorerRatingReasons = default, + global::System.Collections.Generic.Dictionary? scorerRatingConfidences = default, string? wbUserId = default, global::Weave.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -523,6 +547,12 @@ partial void ProcessFeedbackReplaceFeedbackReplacePostResponseContent( CallRef = callRef, TriggerRef = triggerRef, QueueId = queueId, + ScorerTags = scorerTags, + ScorerTagReasons = scorerTagReasons, + ScorerTagConfidences = scorerTagConfidences, + ScorerRatings = scorerRatings, + ScorerRatingReasons = scorerRatingReasons, + ScorerRatingConfidences = scorerRatingConfidences, WbUserId = wbUserId, FeedbackId = feedbackId, }; diff --git a/src/libs/Weave/Generated/Weave.IFeedbackClient.FeedbackCreateFeedbackCreatePost.g.cs b/src/libs/Weave/Generated/Weave.IFeedbackClient.FeedbackCreateFeedbackCreatePost.g.cs index 27cb758..d794f79 100644 --- a/src/libs/Weave/Generated/Weave.IFeedbackClient.FeedbackCreateFeedbackCreatePost.g.cs +++ b/src/libs/Weave/Generated/Weave.IFeedbackClient.FeedbackCreateFeedbackCreatePost.g.cs @@ -49,6 +49,24 @@ public partial interface IFeedbackClient /// /// The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues. /// + /// + /// Tags applied to the ref by a scorer + /// + /// + /// reason text per tag, keyed by tag name + /// + /// + /// confidence (0-1) per tag, keyed by tag name + /// + /// + /// numeric ratings (0-1) keyed by rating name + /// + /// + /// reason text per rating, keyed by rating name + /// + /// + /// confidence (0-1) per rating, keyed by rating name + /// /// /// Do not set directly. Server will automatically populate this field. /// @@ -67,6 +85,12 @@ public partial interface IFeedbackClient string? callRef = default, string? triggerRef = default, string? queueId = default, + global::System.Collections.Generic.IList? scorerTags = default, + global::System.Collections.Generic.Dictionary? scorerTagReasons = default, + global::System.Collections.Generic.Dictionary? scorerTagConfidences = default, + global::System.Collections.Generic.Dictionary? scorerRatings = default, + global::System.Collections.Generic.Dictionary? scorerRatingReasons = default, + global::System.Collections.Generic.Dictionary? scorerRatingConfidences = default, string? wbUserId = default, global::Weave.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Weave/Generated/Weave.IFeedbackClient.FeedbackReplaceFeedbackReplacePost.g.cs b/src/libs/Weave/Generated/Weave.IFeedbackClient.FeedbackReplaceFeedbackReplacePost.g.cs index 53e1d63..0a90c59 100644 --- a/src/libs/Weave/Generated/Weave.IFeedbackClient.FeedbackReplaceFeedbackReplacePost.g.cs +++ b/src/libs/Weave/Generated/Weave.IFeedbackClient.FeedbackReplaceFeedbackReplacePost.g.cs @@ -46,6 +46,24 @@ public partial interface IFeedbackClient /// /// The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues. /// + /// + /// Tags applied to the ref by a scorer + /// + /// + /// reason text per tag, keyed by tag name + /// + /// + /// confidence (0-1) per tag, keyed by tag name + /// + /// + /// numeric ratings (0-1) keyed by rating name + /// + /// + /// reason text per rating, keyed by rating name + /// + /// + /// confidence (0-1) per rating, keyed by rating name + /// /// /// Do not set directly. Server will automatically populate this field. /// @@ -66,6 +84,12 @@ public partial interface IFeedbackClient string? callRef = default, string? triggerRef = default, string? queueId = default, + global::System.Collections.Generic.IList? scorerTags = default, + global::System.Collections.Generic.Dictionary? scorerTagReasons = default, + global::System.Collections.Generic.Dictionary? scorerTagConfidences = default, + global::System.Collections.Generic.Dictionary? scorerRatings = default, + global::System.Collections.Generic.Dictionary? scorerRatingReasons = default, + global::System.Collections.Generic.Dictionary? scorerRatingConfidences = default, string? wbUserId = default, global::Weave.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Weave/Generated/Weave.JsonSerializerContext.g.cs b/src/libs/Weave/Generated/Weave.JsonSerializerContext.g.cs index 182396d..ef5432a 100644 --- a/src/libs/Weave/Generated/Weave.JsonSerializerContext.g.cs +++ b/src/libs/Weave/Generated/Weave.JsonSerializerContext.g.cs @@ -299,6 +299,7 @@ namespace Weave [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.FeedbackCreateBatchRes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.FeedbackCreateRes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.FeedbackMetricSpec))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.FeedbackMetricSpecValueType), TypeInfoPropertyName = "FeedbackMetricSpecValueType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.FeedbackPayloadPath))] diff --git a/src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs b/src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs index d7d9cb4..b01f86d 100644 --- a/src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs +++ b/src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs @@ -688,539 +688,543 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Weave.FeedbackMetricSpec? Type165 { get; set; } + public global::System.Collections.Generic.Dictionary? Type165 { get; set; } /// /// /// - public global::Weave.FeedbackMetricSpecValueType? Type166 { get; set; } + public global::Weave.FeedbackMetricSpec? Type166 { get; set; } /// /// /// - public global::Weave.FeedbackPayloadPath? Type167 { get; set; } + public global::Weave.FeedbackMetricSpecValueType? Type167 { get; set; } /// /// /// - public global::Weave.FeedbackPayloadPathValueType? Type168 { get; set; } + public global::Weave.FeedbackPayloadPath? Type168 { get; set; } /// /// /// - public global::Weave.FeedbackPayloadSchemaReq? Type169 { get; set; } + public global::Weave.FeedbackPayloadPathValueType? Type169 { get; set; } /// /// /// - public global::Weave.FeedbackPayloadSchemaRes? Type170 { get; set; } + public global::Weave.FeedbackPayloadSchemaReq? Type170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type171 { get; set; } + public global::Weave.FeedbackPayloadSchemaRes? Type171 { get; set; } /// /// /// - public global::Weave.FeedbackPurgeReq? Type172 { get; set; } + public global::System.Collections.Generic.IList? Type172 { get; set; } /// /// /// - public global::Weave.FeedbackPurgeRes? Type173 { get; set; } + public global::Weave.FeedbackPurgeReq? Type173 { get; set; } /// /// /// - public global::Weave.FeedbackQueryReq? Type174 { get; set; } + public global::Weave.FeedbackPurgeRes? Type174 { get; set; } /// /// /// - public global::Weave.FeedbackQueryRes? Type175 { get; set; } + public global::Weave.FeedbackQueryReq? Type175 { get; set; } /// /// /// - public global::Weave.FeedbackReplaceReq? Type176 { get; set; } + public global::Weave.FeedbackQueryRes? Type176 { get; set; } /// /// /// - public global::Weave.FeedbackReplaceRes? Type177 { get; set; } + public global::Weave.FeedbackReplaceReq? Type177 { get; set; } /// /// /// - public global::Weave.FeedbackStatsReq? Type178 { get; set; } + public global::Weave.FeedbackReplaceRes? Type178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type179 { get; set; } + public global::Weave.FeedbackStatsReq? Type179 { get; set; } /// /// /// - public global::Weave.FeedbackStatsRes? Type180 { get; set; } + public global::System.Collections.Generic.IList? Type180 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type181 { get; set; } + public global::Weave.FeedbackStatsRes? Type181 { get; set; } /// /// /// - public global::Weave.FileContentReadReq? Type182 { get; set; } + public global::System.Collections.Generic.Dictionary? Type182 { get; set; } /// /// /// - public global::Weave.FileCreateRes? Type183 { get; set; } + public global::Weave.FileContentReadReq? Type183 { get; set; } /// /// /// - public global::Weave.FilesStatsReq? Type184 { get; set; } + public global::Weave.FileCreateRes? Type184 { get; set; } /// /// /// - public global::Weave.FilesStatsRes? Type185 { get; set; } + public global::Weave.FilesStatsReq? Type185 { get; set; } /// /// /// - public global::Weave.Geolocation? Type186 { get; set; } + public global::Weave.FilesStatsRes? Type186 { get; set; } /// /// /// - public global::Weave.GeolocationRes? Type187 { get; set; } + public global::Weave.Geolocation? Type187 { get; set; } /// /// /// - public global::Weave.HTTPValidationError? Type188 { get; set; } + public global::Weave.GeolocationRes? Type188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type189 { get; set; } + public global::Weave.HTTPValidationError? Type189 { get; set; } /// /// /// - public global::Weave.ValidationError? Type190 { get; set; } + public global::System.Collections.Generic.IList? Type190 { get; set; } /// /// /// - public global::Weave.ImageGenerationCreateReq? Type191 { get; set; } + public global::Weave.ValidationError? Type191 { get; set; } /// /// /// - public global::Weave.ImageGenerationRequestInputs? Type192 { get; set; } + public global::Weave.ImageGenerationCreateReq? Type192 { get; set; } /// /// /// - public global::Weave.ImageGenerationCreateRes? Type193 { get; set; } + public global::Weave.ImageGenerationRequestInputs? Type193 { get; set; } /// /// /// - public global::Weave.LLMUsageSchema? Type194 { get; set; } + public global::Weave.ImageGenerationCreateRes? Type194 { get; set; } /// /// /// - public global::Weave.AnyOf, global::System.Collections.Generic.IList, object>? Type195 { get; set; } + public global::Weave.LLMUsageSchema? Type195 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type196 { get; set; } + public global::Weave.AnyOf, global::System.Collections.Generic.IList, object>? Type196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type197 { get; set; } + public global::System.Collections.Generic.Dictionary? Type197 { get; set; } /// /// /// - public global::Weave.ModelCreateBody? Type198 { get; set; } + public global::System.Collections.Generic.IList? Type198 { get; set; } /// /// /// - public global::Weave.ModelCreateRes? Type199 { get; set; } + public global::Weave.ModelCreateBody? Type199 { get; set; } /// /// /// - public global::Weave.ModelDeleteRes? Type200 { get; set; } + public global::Weave.ModelCreateRes? Type200 { get; set; } /// /// /// - public global::Weave.ModelReadRes? Type201 { get; set; } + public global::Weave.ModelDeleteRes? Type201 { get; set; } /// /// /// - public global::Weave.NvidiaHardwareOption? Type202 { get; set; } + public global::Weave.ModelReadRes? Type202 { get; set; } /// /// /// - public global::Weave.NvidiaServerlessPricing? Type203 { get; set; } + public global::Weave.NvidiaHardwareOption? Type203 { get; set; } /// /// /// - public global::Weave.NvidiaHardwareRes? Type204 { get; set; } + public global::Weave.NvidiaServerlessPricing? Type204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type205 { get; set; } + public global::Weave.NvidiaHardwareRes? Type205 { get; set; } /// /// /// - public global::Weave.ObjAddTagsRes? Type206 { get; set; } + public global::System.Collections.Generic.IList? Type206 { get; set; } /// /// /// - public global::Weave.ObjCreateReq? Type207 { get; set; } + public global::Weave.ObjAddTagsRes? Type207 { get; set; } /// /// /// - public global::Weave.ObjSchemaForInsert? Type208 { get; set; } + public global::Weave.ObjCreateReq? Type208 { get; set; } /// /// /// - public global::Weave.ObjCreateRes? Type209 { get; set; } + public global::Weave.ObjSchemaForInsert? Type209 { get; set; } /// /// /// - public global::Weave.ObjDeleteReq? Type210 { get; set; } + public global::Weave.ObjCreateRes? Type210 { get; set; } /// /// /// - public global::Weave.ObjDeleteRes? Type211 { get; set; } + public global::Weave.ObjDeleteReq? Type211 { get; set; } /// /// /// - public global::Weave.ObjQueryReq? Type212 { get; set; } + public global::Weave.ObjDeleteRes? Type212 { get; set; } /// /// /// - public global::Weave.ObjectVersionFilter? Type213 { get; set; } + public global::Weave.ObjQueryReq? Type213 { get; set; } /// /// /// - public global::Weave.ObjQueryRes? Type214 { get; set; } + public global::Weave.ObjectVersionFilter? Type214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type215 { get; set; } + public global::Weave.ObjQueryRes? Type215 { get; set; } /// /// /// - public global::Weave.ObjSchema? Type216 { get; set; } + public global::System.Collections.Generic.IList? Type216 { get; set; } /// /// /// - public global::Weave.ObjReadReq? Type217 { get; set; } + public global::Weave.ObjSchema? Type217 { get; set; } /// /// /// - public global::Weave.ObjReadRes? Type218 { get; set; } + public global::Weave.ObjReadReq? Type218 { get; set; } /// /// /// - public global::Weave.ObjRemoveAliasesBody? Type219 { get; set; } + public global::Weave.ObjReadRes? Type219 { get; set; } /// /// /// - public global::Weave.ObjRemoveAliasesRes? Type220 { get; set; } + public global::Weave.ObjRemoveAliasesBody? Type220 { get; set; } /// /// /// - public global::Weave.ObjRemoveTagsRes? Type221 { get; set; } + public global::Weave.ObjRemoveAliasesRes? Type221 { get; set; } /// /// /// - public global::Weave.ObjSetAliasesBody? Type222 { get; set; } + public global::Weave.ObjRemoveTagsRes? Type222 { get; set; } /// /// /// - public global::Weave.ObjSetAliasesRes? Type223 { get; set; } + public global::Weave.ObjSetAliasesBody? Type223 { get; set; } /// /// /// - public global::Weave.ObjTagsBody? Type224 { get; set; } + public global::Weave.ObjSetAliasesRes? Type224 { get; set; } /// /// /// - public global::Weave.OpCreateBody? Type225 { get; set; } + public global::Weave.ObjTagsBody? Type225 { get; set; } /// /// /// - public global::Weave.OpCreateRes? Type226 { get; set; } + public global::Weave.OpCreateBody? Type226 { get; set; } /// /// /// - public global::Weave.OpDeleteRes? Type227 { get; set; } + public global::Weave.OpCreateRes? Type227 { get; set; } /// /// /// - public global::Weave.OpReadRes? Type228 { get; set; } + public global::Weave.OpDeleteRes? Type228 { get; set; } /// /// /// - public global::Weave.PredictionCreateBody? Type229 { get; set; } + public global::Weave.OpReadRes? Type229 { get; set; } /// /// /// - public global::Weave.PredictionCreateRes? Type230 { get; set; } + public global::Weave.PredictionCreateBody? Type230 { get; set; } /// /// /// - public global::Weave.PredictionDeleteRes? Type231 { get; set; } + public global::Weave.PredictionCreateRes? Type231 { get; set; } /// /// /// - public global::Weave.PredictionFinishRes? Type232 { get; set; } + public global::Weave.PredictionDeleteRes? Type232 { get; set; } /// /// /// - public global::Weave.PredictionReadRes? Type233 { get; set; } + public global::Weave.PredictionFinishRes? Type233 { get; set; } /// /// /// - public global::Weave.Pricing? Type234 { get; set; } + public global::Weave.PredictionReadRes? Type234 { get; set; } /// /// /// - public global::Weave.ProjectsInfoReq? Type235 { get; set; } + public global::Weave.Pricing? Type235 { get; set; } /// /// /// - public global::Weave.ProjectsInfoRes? Type236 { get; set; } + public global::Weave.ProjectsInfoReq? Type236 { get; set; } /// /// /// - public global::Weave.RefsReadBatchReq? Type237 { get; set; } + public global::Weave.ProjectsInfoRes? Type237 { get; set; } /// /// /// - public global::Weave.RefsReadBatchRes? Type238 { get; set; } + public global::Weave.RefsReadBatchReq? Type238 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModel? Type239 { get; set; } + public global::Weave.RefsReadBatchRes? Type239 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModelQuantization? Type240 { get; set; } + public global::Weave.RouterOpenRouterModel? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public global::Weave.RouterOpenRouterModelQuantization? Type241 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModelSupportedSamplingParameter? Type242 { get; set; } + public global::System.Collections.Generic.IList? Type242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type243 { get; set; } + public global::Weave.RouterOpenRouterModelSupportedSamplingParameter? Type243 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModelSupportedFeature? Type244 { get; set; } + public global::System.Collections.Generic.IList? Type244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type245 { get; set; } + public global::Weave.RouterOpenRouterModelSupportedFeature? Type245 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModelsRes? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type247 { get; set; } + public global::Weave.RouterOpenRouterModelsRes? Type247 { get; set; } /// /// /// - public global::Weave.ScoreCreateBody? Type248 { get; set; } + public global::System.Collections.Generic.IList? Type248 { get; set; } /// /// /// - public global::Weave.ScoreCreateRes? Type249 { get; set; } + public global::Weave.ScoreCreateBody? Type249 { get; set; } /// /// /// - public global::Weave.ScoreDeleteRes? Type250 { get; set; } + public global::Weave.ScoreCreateRes? Type250 { get; set; } /// /// /// - public global::Weave.ScoreReadRes? Type251 { get; set; } + public global::Weave.ScoreDeleteRes? Type251 { get; set; } /// /// /// - public global::Weave.ScorerCreateBody? Type252 { get; set; } + public global::Weave.ScoreReadRes? Type252 { get; set; } /// /// /// - public global::Weave.ScorerCreateRes? Type253 { get; set; } + public global::Weave.ScorerCreateBody? Type253 { get; set; } /// /// /// - public global::Weave.ScorerDeleteRes? Type254 { get; set; } + public global::Weave.ScorerCreateRes? Type254 { get; set; } /// /// /// - public global::Weave.ScorerReadRes? Type255 { get; set; } + public global::Weave.ScorerDeleteRes? Type255 { get; set; } /// /// /// - public global::Weave.ServerInfoRes? Type256 { get; set; } + public global::Weave.ScorerReadRes? Type256 { get; set; } /// /// /// - public global::Weave.SortByDirection? Type257 { get; set; } + public global::Weave.ServerInfoRes? Type257 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type258 { get; set; } + public global::Weave.SortByDirection? Type258 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type259 { get; set; } + public global::System.Collections.Generic.Dictionary? Type259 { get; set; } /// /// /// - public global::Weave.TableAppendSpec? Type260 { get; set; } + public global::System.Collections.Generic.Dictionary? Type260 { get; set; } /// /// /// - public global::Weave.TableAppendSpecPayload? Type261 { get; set; } + public global::Weave.TableAppendSpec? Type261 { get; set; } /// /// /// - public global::Weave.TableCreateFromDigestsReq? Type262 { get; set; } + public global::Weave.TableAppendSpecPayload? Type262 { get; set; } /// /// /// - public global::Weave.TableCreateFromDigestsRes? Type263 { get; set; } + public global::Weave.TableCreateFromDigestsReq? Type263 { get; set; } /// /// /// - public global::Weave.TableCreateReq? Type264 { get; set; } + public global::Weave.TableCreateFromDigestsRes? Type264 { get; set; } /// /// /// - public global::Weave.TableSchemaForInsert? Type265 { get; set; } + public global::Weave.TableCreateReq? Type265 { get; set; } /// /// /// - public global::Weave.TableCreateRes? Type266 { get; set; } + public global::Weave.TableSchemaForInsert? Type266 { get; set; } /// /// /// - public global::Weave.TableInsertSpec? Type267 { get; set; } + public global::Weave.TableCreateRes? Type267 { get; set; } /// /// /// - public global::Weave.TableInsertSpecPayload? Type268 { get; set; } + public global::Weave.TableInsertSpec? Type268 { get; set; } /// /// /// - public global::Weave.TablePopSpec? Type269 { get; set; } + public global::Weave.TableInsertSpecPayload? Type269 { get; set; } /// /// /// - public global::Weave.TablePopSpecPayload? Type270 { get; set; } + public global::Weave.TablePopSpec? Type270 { get; set; } /// /// /// - public global::Weave.TableQueryReq? Type271 { get; set; } + public global::Weave.TablePopSpecPayload? Type271 { get; set; } /// /// /// - public global::Weave.TableRowFilter? Type272 { get; set; } + public global::Weave.TableQueryReq? Type272 { get; set; } /// /// /// - public global::Weave.TableQueryRes? Type273 { get; set; } + public global::Weave.TableRowFilter? Type273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type274 { get; set; } + public global::Weave.TableQueryRes? Type274 { get; set; } /// /// /// - public global::Weave.TableRowSchema? Type275 { get; set; } + public global::System.Collections.Generic.IList? Type275 { get; set; } /// /// /// - public global::Weave.TableQueryStatsBatchReq? Type276 { get; set; } + public global::Weave.TableRowSchema? Type276 { get; set; } /// /// /// - public global::Weave.TableQueryStatsBatchRes? Type277 { get; set; } + public global::Weave.TableQueryStatsBatchReq? Type277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type278 { get; set; } + public global::Weave.TableQueryStatsBatchRes? Type278 { get; set; } /// /// /// - public global::Weave.TableStatsRow? Type279 { get; set; } + public global::System.Collections.Generic.IList? Type279 { get; set; } /// /// /// - public global::Weave.TableQueryStatsReq? Type280 { get; set; } + public global::Weave.TableStatsRow? Type280 { get; set; } /// /// /// - public global::Weave.TableQueryStatsRes? Type281 { get; set; } + public global::Weave.TableQueryStatsReq? Type281 { get; set; } /// /// /// - public global::Weave.TableUpdateReq? Type282 { get; set; } + public global::Weave.TableQueryStatsRes? Type282 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type283 { get; set; } + public global::Weave.TableUpdateReq? Type283 { get; set; } /// /// /// - public global::Weave.AnyOf? Type284 { get; set; } + public global::System.Collections.Generic.IList>? Type284 { get; set; } /// /// /// - public global::Weave.TableUpdateRes? Type285 { get; set; } + public global::Weave.AnyOf? Type285 { get; set; } /// /// /// - public global::Weave.TagsListRes? Type286 { get; set; } + public global::Weave.TableUpdateRes? Type286 { get; set; } /// /// /// - public global::Weave.ThreadsQueryFilter? Type287 { get; set; } + public global::Weave.TagsListRes? Type287 { get; set; } /// /// /// - public global::Weave.ThreadsQueryReq? Type288 { get; set; } + public global::Weave.ThreadsQueryFilter? Type288 { get; set; } /// /// /// - public global::Weave.TraceStatus? Type289 { get; set; } + public global::Weave.ThreadsQueryReq? Type289 { get; set; } /// /// /// - public global::Weave.TraceUsageReq? Type290 { get; set; } + public global::Weave.TraceStatus? Type290 { get; set; } /// /// /// - public global::Weave.TraceUsageRes? Type291 { get; set; } + public global::Weave.TraceUsageReq? Type291 { get; set; } /// /// /// - public global::Weave.UsageMetricSpecMetric? Type292 { get; set; } + public global::Weave.TraceUsageRes? Type292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type293 { get; set; } + public global::Weave.UsageMetricSpecMetric? Type293 { get; set; } /// /// /// - public global::Weave.AnyOf? Type294 { get; set; } + public global::System.Collections.Generic.IList>? Type294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type295 { get; set; } + public global::Weave.AnyOf? Type295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type296 { get; set; } + public global::System.Collections.Generic.IList? Type296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type297 { get; set; } + public global::System.Collections.Generic.IList? Type297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type298 { get; set; } + public global::System.Collections.Generic.IList? Type298 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type299 { get; set; } /// /// diff --git a/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReq.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReq.g.cs index 0040f9c..4d0d6e7 100644 --- a/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReq.g.cs +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReq.g.cs @@ -78,6 +78,42 @@ public sealed partial class FeedbackCreateReq [global::System.Text.Json.Serialization.JsonPropertyName("queue_id")] public string? QueueId { get; set; } + /// + /// Tags applied to the ref by a scorer + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_tags")] + public global::System.Collections.Generic.IList? ScorerTags { get; set; } + + /// + /// reason text per tag, keyed by tag name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_tag_reasons")] + public global::System.Collections.Generic.Dictionary? ScorerTagReasons { get; set; } + + /// + /// confidence (0-1) per tag, keyed by tag name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_tag_confidences")] + public global::System.Collections.Generic.Dictionary? ScorerTagConfidences { get; set; } + + /// + /// numeric ratings (0-1) keyed by rating name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_ratings")] + public global::System.Collections.Generic.Dictionary? ScorerRatings { get; set; } + + /// + /// reason text per rating, keyed by rating name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_rating_reasons")] + public global::System.Collections.Generic.Dictionary? ScorerRatingReasons { get; set; } + + /// + /// confidence (0-1) per rating, keyed by rating name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_rating_confidences")] + public global::System.Collections.Generic.Dictionary? ScorerRatingConfidences { get; set; } + /// /// Do not set directly. Server will automatically populate this field. /// @@ -108,6 +144,24 @@ public sealed partial class FeedbackCreateReq /// /// The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues. /// + /// + /// Tags applied to the ref by a scorer + /// + /// + /// reason text per tag, keyed by tag name + /// + /// + /// confidence (0-1) per tag, keyed by tag name + /// + /// + /// numeric ratings (0-1) keyed by rating name + /// + /// + /// reason text per rating, keyed by rating name + /// + /// + /// confidence (0-1) per rating, keyed by rating name + /// /// /// Do not set directly. Server will automatically populate this field. /// @@ -126,6 +180,12 @@ public FeedbackCreateReq( string? callRef, string? triggerRef, string? queueId, + global::System.Collections.Generic.IList? scorerTags, + global::System.Collections.Generic.Dictionary? scorerTagReasons, + global::System.Collections.Generic.Dictionary? scorerTagConfidences, + global::System.Collections.Generic.Dictionary? scorerRatings, + global::System.Collections.Generic.Dictionary? scorerRatingReasons, + global::System.Collections.Generic.Dictionary? scorerRatingConfidences, string? wbUserId) { this.Id = id; @@ -139,6 +199,12 @@ public FeedbackCreateReq( this.CallRef = callRef; this.TriggerRef = triggerRef; this.QueueId = queueId; + this.ScorerTags = scorerTags; + this.ScorerTagReasons = scorerTagReasons; + this.ScorerTagConfidences = scorerTagConfidences; + this.ScorerRatings = scorerRatings; + this.ScorerRatingReasons = scorerRatingReasons; + this.ScorerRatingConfidences = scorerRatingConfidences; this.WbUserId = wbUserId; } diff --git a/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingConfidences.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingConfidences.Json.g.cs new file mode 100644 index 0000000..7968a5e --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingConfidences.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackCreateReqScorerRatingConfidences + { + /// + /// 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.FeedbackCreateReqScorerRatingConfidences? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackCreateReqScorerRatingConfidences), + jsonSerializerContext) as global::Weave.FeedbackCreateReqScorerRatingConfidences; + } + + /// + /// 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.FeedbackCreateReqScorerRatingConfidences? 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.FeedbackCreateReqScorerRatingConfidences), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackCreateReqScorerRatingConfidences; + } + + /// + /// 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.FeedbackCreateReqScorerRatingConfidences.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingConfidences.g.cs new file mode 100644 index 0000000..a84e56f --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingConfidences.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// confidence (0-1) per rating, keyed by rating name + /// + public sealed partial class FeedbackCreateReqScorerRatingConfidences + { + + /// + /// 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.FeedbackCreateReqScorerRatingReasons.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingReasons.Json.g.cs new file mode 100644 index 0000000..9a1f7cb --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingReasons.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackCreateReqScorerRatingReasons + { + /// + /// 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.FeedbackCreateReqScorerRatingReasons? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackCreateReqScorerRatingReasons), + jsonSerializerContext) as global::Weave.FeedbackCreateReqScorerRatingReasons; + } + + /// + /// 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.FeedbackCreateReqScorerRatingReasons? 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.FeedbackCreateReqScorerRatingReasons), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackCreateReqScorerRatingReasons; + } + + /// + /// 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.FeedbackCreateReqScorerRatingReasons.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingReasons.g.cs new file mode 100644 index 0000000..8dc2018 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatingReasons.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// reason text per rating, keyed by rating name + /// + public sealed partial class FeedbackCreateReqScorerRatingReasons + { + + /// + /// 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.FeedbackCreateReqScorerRatings.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatings.Json.g.cs new file mode 100644 index 0000000..5c65775 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatings.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackCreateReqScorerRatings + { + /// + /// 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.FeedbackCreateReqScorerRatings? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackCreateReqScorerRatings), + jsonSerializerContext) as global::Weave.FeedbackCreateReqScorerRatings; + } + + /// + /// 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.FeedbackCreateReqScorerRatings? 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.FeedbackCreateReqScorerRatings), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackCreateReqScorerRatings; + } + + /// + /// 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.FeedbackCreateReqScorerRatings.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatings.g.cs new file mode 100644 index 0000000..fb83367 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerRatings.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// numeric ratings (0-1) keyed by rating name + /// + public sealed partial class FeedbackCreateReqScorerRatings + { + + /// + /// 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.FeedbackCreateReqScorerTagConfidences.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagConfidences.Json.g.cs new file mode 100644 index 0000000..8faceb1 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagConfidences.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackCreateReqScorerTagConfidences + { + /// + /// 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.FeedbackCreateReqScorerTagConfidences? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackCreateReqScorerTagConfidences), + jsonSerializerContext) as global::Weave.FeedbackCreateReqScorerTagConfidences; + } + + /// + /// 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.FeedbackCreateReqScorerTagConfidences? 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.FeedbackCreateReqScorerTagConfidences), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackCreateReqScorerTagConfidences; + } + + /// + /// 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.FeedbackCreateReqScorerTagConfidences.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagConfidences.g.cs new file mode 100644 index 0000000..3a2875e --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagConfidences.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// confidence (0-1) per tag, keyed by tag name + /// + public sealed partial class FeedbackCreateReqScorerTagConfidences + { + + /// + /// 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.FeedbackCreateReqScorerTagReasons.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagReasons.Json.g.cs new file mode 100644 index 0000000..70bf58f --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagReasons.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackCreateReqScorerTagReasons + { + /// + /// 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.FeedbackCreateReqScorerTagReasons? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackCreateReqScorerTagReasons), + jsonSerializerContext) as global::Weave.FeedbackCreateReqScorerTagReasons; + } + + /// + /// 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.FeedbackCreateReqScorerTagReasons? 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.FeedbackCreateReqScorerTagReasons), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackCreateReqScorerTagReasons; + } + + /// + /// 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.FeedbackCreateReqScorerTagReasons.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagReasons.g.cs new file mode 100644 index 0000000..8da3404 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackCreateReqScorerTagReasons.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// reason text per tag, keyed by tag name + /// + public sealed partial class FeedbackCreateReqScorerTagReasons + { + + /// + /// 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.FeedbackReplaceReq.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReq.g.cs index 846684a..07209d3 100644 --- a/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReq.g.cs +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReq.g.cs @@ -78,6 +78,42 @@ public sealed partial class FeedbackReplaceReq [global::System.Text.Json.Serialization.JsonPropertyName("queue_id")] public string? QueueId { get; set; } + /// + /// Tags applied to the ref by a scorer + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_tags")] + public global::System.Collections.Generic.IList? ScorerTags { get; set; } + + /// + /// reason text per tag, keyed by tag name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_tag_reasons")] + public global::System.Collections.Generic.Dictionary? ScorerTagReasons { get; set; } + + /// + /// confidence (0-1) per tag, keyed by tag name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_tag_confidences")] + public global::System.Collections.Generic.Dictionary? ScorerTagConfidences { get; set; } + + /// + /// numeric ratings (0-1) keyed by rating name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_ratings")] + public global::System.Collections.Generic.Dictionary? ScorerRatings { get; set; } + + /// + /// reason text per rating, keyed by rating name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_rating_reasons")] + public global::System.Collections.Generic.Dictionary? ScorerRatingReasons { get; set; } + + /// + /// confidence (0-1) per rating, keyed by rating name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scorer_rating_confidences")] + public global::System.Collections.Generic.Dictionary? ScorerRatingConfidences { get; set; } + /// /// Do not set directly. Server will automatically populate this field. /// @@ -116,6 +152,24 @@ public sealed partial class FeedbackReplaceReq /// /// The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues. /// + /// + /// Tags applied to the ref by a scorer + /// + /// + /// reason text per tag, keyed by tag name + /// + /// + /// confidence (0-1) per tag, keyed by tag name + /// + /// + /// numeric ratings (0-1) keyed by rating name + /// + /// + /// reason text per rating, keyed by rating name + /// + /// + /// confidence (0-1) per rating, keyed by rating name + /// /// /// Do not set directly. Server will automatically populate this field. /// @@ -135,6 +189,12 @@ public FeedbackReplaceReq( string? callRef, string? triggerRef, string? queueId, + global::System.Collections.Generic.IList? scorerTags, + global::System.Collections.Generic.Dictionary? scorerTagReasons, + global::System.Collections.Generic.Dictionary? scorerTagConfidences, + global::System.Collections.Generic.Dictionary? scorerRatings, + global::System.Collections.Generic.Dictionary? scorerRatingReasons, + global::System.Collections.Generic.Dictionary? scorerRatingConfidences, string? wbUserId) { this.Id = id; @@ -148,6 +208,12 @@ public FeedbackReplaceReq( this.CallRef = callRef; this.TriggerRef = triggerRef; this.QueueId = queueId; + this.ScorerTags = scorerTags; + this.ScorerTagReasons = scorerTagReasons; + this.ScorerTagConfidences = scorerTagConfidences; + this.ScorerRatings = scorerRatings; + this.ScorerRatingReasons = scorerRatingReasons; + this.ScorerRatingConfidences = scorerRatingConfidences; this.WbUserId = wbUserId; this.FeedbackId = feedbackId ?? throw new global::System.ArgumentNullException(nameof(feedbackId)); } diff --git a/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingConfidences.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingConfidences.Json.g.cs new file mode 100644 index 0000000..dbc0c51 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingConfidences.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackReplaceReqScorerRatingConfidences + { + /// + /// 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.FeedbackReplaceReqScorerRatingConfidences? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackReplaceReqScorerRatingConfidences), + jsonSerializerContext) as global::Weave.FeedbackReplaceReqScorerRatingConfidences; + } + + /// + /// 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.FeedbackReplaceReqScorerRatingConfidences? 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.FeedbackReplaceReqScorerRatingConfidences), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackReplaceReqScorerRatingConfidences; + } + + /// + /// 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.FeedbackReplaceReqScorerRatingConfidences.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingConfidences.g.cs new file mode 100644 index 0000000..067016d --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingConfidences.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// confidence (0-1) per rating, keyed by rating name + /// + public sealed partial class FeedbackReplaceReqScorerRatingConfidences + { + + /// + /// 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.FeedbackReplaceReqScorerRatingReasons.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingReasons.Json.g.cs new file mode 100644 index 0000000..15f7afd --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingReasons.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackReplaceReqScorerRatingReasons + { + /// + /// 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.FeedbackReplaceReqScorerRatingReasons? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackReplaceReqScorerRatingReasons), + jsonSerializerContext) as global::Weave.FeedbackReplaceReqScorerRatingReasons; + } + + /// + /// 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.FeedbackReplaceReqScorerRatingReasons? 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.FeedbackReplaceReqScorerRatingReasons), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackReplaceReqScorerRatingReasons; + } + + /// + /// 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.FeedbackReplaceReqScorerRatingReasons.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingReasons.g.cs new file mode 100644 index 0000000..f69ceb2 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatingReasons.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// reason text per rating, keyed by rating name + /// + public sealed partial class FeedbackReplaceReqScorerRatingReasons + { + + /// + /// 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.FeedbackReplaceReqScorerRatings.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatings.Json.g.cs new file mode 100644 index 0000000..619ec80 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatings.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackReplaceReqScorerRatings + { + /// + /// 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.FeedbackReplaceReqScorerRatings? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackReplaceReqScorerRatings), + jsonSerializerContext) as global::Weave.FeedbackReplaceReqScorerRatings; + } + + /// + /// 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.FeedbackReplaceReqScorerRatings? 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.FeedbackReplaceReqScorerRatings), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackReplaceReqScorerRatings; + } + + /// + /// 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.FeedbackReplaceReqScorerRatings.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatings.g.cs new file mode 100644 index 0000000..1e72c21 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerRatings.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// numeric ratings (0-1) keyed by rating name + /// + public sealed partial class FeedbackReplaceReqScorerRatings + { + + /// + /// 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.FeedbackReplaceReqScorerTagConfidences.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagConfidences.Json.g.cs new file mode 100644 index 0000000..0ed2a56 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagConfidences.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackReplaceReqScorerTagConfidences + { + /// + /// 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.FeedbackReplaceReqScorerTagConfidences? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackReplaceReqScorerTagConfidences), + jsonSerializerContext) as global::Weave.FeedbackReplaceReqScorerTagConfidences; + } + + /// + /// 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.FeedbackReplaceReqScorerTagConfidences? 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.FeedbackReplaceReqScorerTagConfidences), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackReplaceReqScorerTagConfidences; + } + + /// + /// 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.FeedbackReplaceReqScorerTagConfidences.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagConfidences.g.cs new file mode 100644 index 0000000..73b469d --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagConfidences.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// confidence (0-1) per tag, keyed by tag name + /// + public sealed partial class FeedbackReplaceReqScorerTagConfidences + { + + /// + /// 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.FeedbackReplaceReqScorerTagReasons.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagReasons.Json.g.cs new file mode 100644 index 0000000..69b6bb9 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagReasons.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class FeedbackReplaceReqScorerTagReasons + { + /// + /// 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.FeedbackReplaceReqScorerTagReasons? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.FeedbackReplaceReqScorerTagReasons), + jsonSerializerContext) as global::Weave.FeedbackReplaceReqScorerTagReasons; + } + + /// + /// 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.FeedbackReplaceReqScorerTagReasons? 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.FeedbackReplaceReqScorerTagReasons), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.FeedbackReplaceReqScorerTagReasons; + } + + /// + /// 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.FeedbackReplaceReqScorerTagReasons.g.cs b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagReasons.g.cs new file mode 100644 index 0000000..1480589 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.FeedbackReplaceReqScorerTagReasons.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// reason text per tag, keyed by tag name + /// + public sealed partial class FeedbackReplaceReqScorerTagReasons + { + + /// + /// 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/openapi.json b/src/libs/Weave/openapi.json index 1e0c9c8..cc382f2 100644 --- a/src/libs/Weave/openapi.json +++ b/src/libs/Weave/openapi.json @@ -9840,6 +9840,85 @@ "018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b" ] }, + "scorer_tags": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Scorer Tags", + "description": "Tags applied to the ref by a scorer", + "examples": [ + [ + "nsfw", + "high-quality" + ] + ] + }, + "scorer_tag_reasons": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "title": "Scorer Tag Reasons", + "description": "reason text per tag, keyed by tag name", + "examples": [ + { + "nsfw": "Contains explicit language" + } + ] + }, + "scorer_tag_confidences": { + "additionalProperties": { + "type": "number" + }, + "type": "object", + "title": "Scorer Tag Confidences", + "description": "confidence (0-1) per tag, keyed by tag name", + "examples": [ + { + "nsfw": 0.92 + } + ] + }, + "scorer_ratings": { + "additionalProperties": { + "type": "number" + }, + "type": "object", + "title": "Scorer Ratings", + "description": "numeric ratings (0-1) keyed by rating name", + "examples": [ + { + "_rating_": 0.87 + } + ] + }, + "scorer_rating_reasons": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "title": "Scorer Rating Reasons", + "description": "reason text per rating, keyed by rating name", + "examples": [ + { + "_rating_": "very confident response" + } + ] + }, + "scorer_rating_confidences": { + "additionalProperties": { + "type": "number" + }, + "type": "object", + "title": "Scorer Rating Confidences", + "description": "confidence (0-1) per rating, keyed by rating name", + "examples": [ + { + "_rating_": 0.92 + } + ] + }, "wb_user_id": { "anyOf": [ { @@ -10311,6 +10390,85 @@ "018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b" ] }, + "scorer_tags": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Scorer Tags", + "description": "Tags applied to the ref by a scorer", + "examples": [ + [ + "nsfw", + "high-quality" + ] + ] + }, + "scorer_tag_reasons": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "title": "Scorer Tag Reasons", + "description": "reason text per tag, keyed by tag name", + "examples": [ + { + "nsfw": "Contains explicit language" + } + ] + }, + "scorer_tag_confidences": { + "additionalProperties": { + "type": "number" + }, + "type": "object", + "title": "Scorer Tag Confidences", + "description": "confidence (0-1) per tag, keyed by tag name", + "examples": [ + { + "nsfw": 0.92 + } + ] + }, + "scorer_ratings": { + "additionalProperties": { + "type": "number" + }, + "type": "object", + "title": "Scorer Ratings", + "description": "numeric ratings (0-1) keyed by rating name", + "examples": [ + { + "_rating_": 0.87 + } + ] + }, + "scorer_rating_reasons": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "title": "Scorer Rating Reasons", + "description": "reason text per rating, keyed by rating name", + "examples": [ + { + "_rating_": "very confident response" + } + ] + }, + "scorer_rating_confidences": { + "additionalProperties": { + "type": "number" + }, + "type": "object", + "title": "Scorer Rating Confidences", + "description": "confidence (0-1) per rating, keyed by rating name", + "examples": [ + { + "_rating_": 0.92 + } + ] + }, "wb_user_id": { "anyOf": [ {