diff --git a/src/libs/Weave/Generated/Weave.IPredictionsClient.PredictionCreateV2EntityProjectPredictionsPost.g.cs b/src/libs/Weave/Generated/Weave.IPredictionsClient.PredictionCreateV2EntityProjectPredictionsPost.g.cs index cd081fb..6eadcbe 100644 --- a/src/libs/Weave/Generated/Weave.IPredictionsClient.PredictionCreateV2EntityProjectPredictionsPost.g.cs +++ b/src/libs/Weave/Generated/Weave.IPredictionsClient.PredictionCreateV2EntityProjectPredictionsPost.g.cs @@ -56,6 +56,9 @@ public partial interface IPredictionsClient /// /// Optional evaluation run ID to link this prediction as a child call /// + /// + /// Optional GenAI span reference produced by this prediction. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -66,6 +69,7 @@ public partial interface IPredictionsClient object inputs, object output, string? evaluationRunId = default, + global::Weave.GenAISpanRef? genaiSpanRef = 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 e2b68b9..6a04d03 100644 --- a/src/libs/Weave/Generated/Weave.JsonSerializerContext.g.cs +++ b/src/libs/Weave/Generated/Weave.JsonSerializerContext.g.cs @@ -272,6 +272,7 @@ namespace Weave [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.EvalResultsSortByMode), TypeInfoPropertyName = "EvalResultsSortByMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.GenAISpanRef))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.EvaluateModelReq))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.EvaluateModelRes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.EvaluationCreateBody))] diff --git a/src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs b/src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs index 784bf26..ecb2e22 100644 --- a/src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs +++ b/src/libs/Weave/Generated/Weave.JsonSerializerContextTypes.g.cs @@ -580,639 +580,643 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Weave.EvaluateModelReq? Type138 { get; set; } + public global::Weave.GenAISpanRef? Type138 { get; set; } /// /// /// - public global::Weave.EvaluateModelRes? Type139 { get; set; } + public global::Weave.EvaluateModelReq? Type139 { get; set; } /// /// /// - public global::Weave.EvaluationCreateBody? Type140 { get; set; } + public global::Weave.EvaluateModelRes? Type140 { get; set; } /// /// /// - public global::Weave.EvaluationCreateRes? Type141 { get; set; } + public global::Weave.EvaluationCreateBody? Type141 { get; set; } /// /// /// - public global::Weave.EvaluationDeleteRes? Type142 { get; set; } + public global::Weave.EvaluationCreateRes? Type142 { get; set; } /// /// /// - public global::Weave.EvaluationReadRes? Type143 { get; set; } + public global::Weave.EvaluationDeleteRes? Type143 { get; set; } /// /// /// - public global::Weave.EvaluationRunCreateBody? Type144 { get; set; } + public global::Weave.EvaluationReadRes? Type144 { get; set; } /// /// /// - public global::Weave.EvaluationRunCreateRes? Type145 { get; set; } + public global::Weave.EvaluationRunCreateBody? Type145 { get; set; } /// /// /// - public global::Weave.EvaluationRunDeleteRes? Type146 { get; set; } + public global::Weave.EvaluationRunCreateRes? Type146 { get; set; } /// /// /// - public global::Weave.EvaluationRunFinishBody? Type147 { get; set; } + public global::Weave.EvaluationRunDeleteRes? Type147 { get; set; } /// /// /// - public global::Weave.EvaluationRunFinishRes? Type148 { get; set; } + public global::Weave.EvaluationRunFinishBody? Type148 { get; set; } /// /// /// - public global::Weave.EvaluationRunReadRes? Type149 { get; set; } + public global::Weave.EvaluationRunFinishRes? Type149 { get; set; } /// /// /// - public global::Weave.EvaluationStatusComplete? Type150 { get; set; } + public global::Weave.EvaluationRunReadRes? Type150 { get; set; } /// /// /// - public global::Weave.EvaluationStatusFailed? Type151 { get; set; } + public global::Weave.EvaluationStatusComplete? Type151 { get; set; } /// /// /// - public global::Weave.EvaluationStatusNotFound? Type152 { get; set; } + public global::Weave.EvaluationStatusFailed? Type152 { get; set; } /// /// /// - public global::Weave.EvaluationStatusReq? Type153 { get; set; } + public global::Weave.EvaluationStatusNotFound? Type153 { get; set; } /// /// /// - public global::Weave.EvaluationStatusRes? Type154 { get; set; } + public global::Weave.EvaluationStatusReq? Type154 { get; set; } /// /// /// - public global::Weave.AnyOf? Type155 { get; set; } + public global::Weave.EvaluationStatusRes? Type155 { get; set; } /// /// /// - public global::Weave.EvaluationStatusRunning? Type156 { get; set; } + public global::Weave.AnyOf? Type156 { get; set; } /// /// /// - public global::Weave.FeedbackCreateBatchReq? Type157 { get; set; } + public global::Weave.EvaluationStatusRunning? Type157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type158 { get; set; } + public global::Weave.FeedbackCreateBatchReq? Type158 { get; set; } /// /// /// - public global::Weave.FeedbackCreateReq? Type159 { get; set; } + public global::System.Collections.Generic.IList? Type159 { get; set; } /// /// /// - public global::Weave.FeedbackCreateBatchRes? Type160 { get; set; } + public global::Weave.FeedbackCreateReq? Type160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type161 { get; set; } + public global::Weave.FeedbackCreateBatchRes? Type161 { get; set; } /// /// /// - public global::Weave.FeedbackCreateRes? Type162 { get; set; } + public global::System.Collections.Generic.IList? Type162 { get; set; } /// /// /// - public global::Weave.FeedbackMetricSpec? Type163 { get; set; } + public global::Weave.FeedbackCreateRes? Type163 { get; set; } /// /// /// - public global::Weave.FeedbackMetricSpecValueType? Type164 { get; set; } + public global::Weave.FeedbackMetricSpec? Type164 { get; set; } /// /// /// - public global::Weave.FeedbackPayloadPath? Type165 { get; set; } + public global::Weave.FeedbackMetricSpecValueType? Type165 { get; set; } /// /// /// - public global::Weave.FeedbackPayloadPathValueType? Type166 { get; set; } + public global::Weave.FeedbackPayloadPath? Type166 { get; set; } /// /// /// - public global::Weave.FeedbackPayloadSchemaReq? Type167 { get; set; } + public global::Weave.FeedbackPayloadPathValueType? Type167 { get; set; } /// /// /// - public global::Weave.FeedbackPayloadSchemaRes? Type168 { get; set; } + public global::Weave.FeedbackPayloadSchemaReq? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::Weave.FeedbackPayloadSchemaRes? Type169 { get; set; } /// /// /// - public global::Weave.FeedbackPurgeReq? Type170 { get; set; } + public global::System.Collections.Generic.IList? Type170 { get; set; } /// /// /// - public global::Weave.FeedbackPurgeRes? Type171 { get; set; } + public global::Weave.FeedbackPurgeReq? Type171 { get; set; } /// /// /// - public global::Weave.FeedbackQueryReq? Type172 { get; set; } + public global::Weave.FeedbackPurgeRes? Type172 { get; set; } /// /// /// - public global::Weave.FeedbackQueryRes? Type173 { get; set; } + public global::Weave.FeedbackQueryReq? Type173 { get; set; } /// /// /// - public global::Weave.FeedbackReplaceReq? Type174 { get; set; } + public global::Weave.FeedbackQueryRes? Type174 { get; set; } /// /// /// - public global::Weave.FeedbackReplaceRes? Type175 { get; set; } + public global::Weave.FeedbackReplaceReq? Type175 { get; set; } /// /// /// - public global::Weave.FeedbackStatsReq? Type176 { get; set; } + public global::Weave.FeedbackReplaceRes? Type176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type177 { get; set; } + public global::Weave.FeedbackStatsReq? Type177 { get; set; } /// /// /// - public global::Weave.FeedbackStatsRes? Type178 { get; set; } + public global::System.Collections.Generic.IList? Type178 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type179 { get; set; } + public global::Weave.FeedbackStatsRes? Type179 { get; set; } /// /// /// - public global::Weave.FileContentReadReq? Type180 { get; set; } + public global::System.Collections.Generic.Dictionary? Type180 { get; set; } /// /// /// - public global::Weave.FileCreateRes? Type181 { get; set; } + public global::Weave.FileContentReadReq? Type181 { get; set; } /// /// /// - public global::Weave.FilesStatsReq? Type182 { get; set; } + public global::Weave.FileCreateRes? Type182 { get; set; } /// /// /// - public global::Weave.FilesStatsRes? Type183 { get; set; } + public global::Weave.FilesStatsReq? Type183 { get; set; } /// /// /// - public global::Weave.Geolocation? Type184 { get; set; } + public global::Weave.FilesStatsRes? Type184 { get; set; } /// /// /// - public global::Weave.GeolocationRes? Type185 { get; set; } + public global::Weave.Geolocation? Type185 { get; set; } /// /// /// - public global::Weave.HTTPValidationError? Type186 { get; set; } + public global::Weave.GeolocationRes? Type186 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type187 { get; set; } + public global::Weave.HTTPValidationError? Type187 { get; set; } /// /// /// - public global::Weave.ValidationError? Type188 { get; set; } + public global::System.Collections.Generic.IList? Type188 { get; set; } /// /// /// - public global::Weave.ImageGenerationCreateReq? Type189 { get; set; } + public global::Weave.ValidationError? Type189 { get; set; } /// /// /// - public global::Weave.ImageGenerationRequestInputs? Type190 { get; set; } + public global::Weave.ImageGenerationCreateReq? Type190 { get; set; } /// /// /// - public global::Weave.ImageGenerationCreateRes? Type191 { get; set; } + public global::Weave.ImageGenerationRequestInputs? Type191 { get; set; } /// /// /// - public global::Weave.LLMUsageSchema? Type192 { get; set; } + public global::Weave.ImageGenerationCreateRes? Type192 { get; set; } /// /// /// - public global::Weave.AnyOf, global::System.Collections.Generic.IList, object>? Type193 { get; set; } + public global::Weave.LLMUsageSchema? Type193 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type194 { get; set; } + public global::Weave.AnyOf, global::System.Collections.Generic.IList, object>? Type194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type195 { get; set; } + public global::System.Collections.Generic.Dictionary? Type195 { get; set; } /// /// /// - public global::Weave.ModelCreateBody? Type196 { get; set; } + public global::System.Collections.Generic.IList? Type196 { get; set; } /// /// /// - public global::Weave.ModelCreateRes? Type197 { get; set; } + public global::Weave.ModelCreateBody? Type197 { get; set; } /// /// /// - public global::Weave.ModelDeleteRes? Type198 { get; set; } + public global::Weave.ModelCreateRes? Type198 { get; set; } /// /// /// - public global::Weave.ModelReadRes? Type199 { get; set; } + public global::Weave.ModelDeleteRes? Type199 { get; set; } /// /// /// - public global::Weave.NvidiaHardwareOption? Type200 { get; set; } + public global::Weave.ModelReadRes? Type200 { get; set; } /// /// /// - public global::Weave.NvidiaServerlessPricing? Type201 { get; set; } + public global::Weave.NvidiaHardwareOption? Type201 { get; set; } /// /// /// - public global::Weave.NvidiaHardwareRes? Type202 { get; set; } + public global::Weave.NvidiaServerlessPricing? Type202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type203 { get; set; } + public global::Weave.NvidiaHardwareRes? Type203 { get; set; } /// /// /// - public global::Weave.ObjAddTagsRes? Type204 { get; set; } + public global::System.Collections.Generic.IList? Type204 { get; set; } /// /// /// - public global::Weave.ObjCreateReq? Type205 { get; set; } + public global::Weave.ObjAddTagsRes? Type205 { get; set; } /// /// /// - public global::Weave.ObjSchemaForInsert? Type206 { get; set; } + public global::Weave.ObjCreateReq? Type206 { get; set; } /// /// /// - public global::Weave.ObjCreateRes? Type207 { get; set; } + public global::Weave.ObjSchemaForInsert? Type207 { get; set; } /// /// /// - public global::Weave.ObjDeleteReq? Type208 { get; set; } + public global::Weave.ObjCreateRes? Type208 { get; set; } /// /// /// - public global::Weave.ObjDeleteRes? Type209 { get; set; } + public global::Weave.ObjDeleteReq? Type209 { get; set; } /// /// /// - public global::Weave.ObjQueryReq? Type210 { get; set; } + public global::Weave.ObjDeleteRes? Type210 { get; set; } /// /// /// - public global::Weave.ObjectVersionFilter? Type211 { get; set; } + public global::Weave.ObjQueryReq? Type211 { get; set; } /// /// /// - public global::Weave.ObjQueryRes? Type212 { get; set; } + public global::Weave.ObjectVersionFilter? Type212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type213 { get; set; } + public global::Weave.ObjQueryRes? Type213 { get; set; } /// /// /// - public global::Weave.ObjSchema? Type214 { get; set; } + public global::System.Collections.Generic.IList? Type214 { get; set; } /// /// /// - public global::Weave.ObjReadReq? Type215 { get; set; } + public global::Weave.ObjSchema? Type215 { get; set; } /// /// /// - public global::Weave.ObjReadRes? Type216 { get; set; } + public global::Weave.ObjReadReq? Type216 { get; set; } /// /// /// - public global::Weave.ObjRemoveAliasesBody? Type217 { get; set; } + public global::Weave.ObjReadRes? Type217 { get; set; } /// /// /// - public global::Weave.ObjRemoveAliasesRes? Type218 { get; set; } + public global::Weave.ObjRemoveAliasesBody? Type218 { get; set; } /// /// /// - public global::Weave.ObjRemoveTagsRes? Type219 { get; set; } + public global::Weave.ObjRemoveAliasesRes? Type219 { get; set; } /// /// /// - public global::Weave.ObjSetAliasesBody? Type220 { get; set; } + public global::Weave.ObjRemoveTagsRes? Type220 { get; set; } /// /// /// - public global::Weave.ObjSetAliasesRes? Type221 { get; set; } + public global::Weave.ObjSetAliasesBody? Type221 { get; set; } /// /// /// - public global::Weave.ObjTagsBody? Type222 { get; set; } + public global::Weave.ObjSetAliasesRes? Type222 { get; set; } /// /// /// - public global::Weave.OpCreateBody? Type223 { get; set; } + public global::Weave.ObjTagsBody? Type223 { get; set; } /// /// /// - public global::Weave.OpCreateRes? Type224 { get; set; } + public global::Weave.OpCreateBody? Type224 { get; set; } /// /// /// - public global::Weave.OpDeleteRes? Type225 { get; set; } + public global::Weave.OpCreateRes? Type225 { get; set; } /// /// /// - public global::Weave.OpReadRes? Type226 { get; set; } + public global::Weave.OpDeleteRes? Type226 { get; set; } /// /// /// - public global::Weave.PredictionCreateBody? Type227 { get; set; } + public global::Weave.OpReadRes? Type227 { get; set; } /// /// /// - public global::Weave.PredictionCreateRes? Type228 { get; set; } + public global::Weave.PredictionCreateBody? Type228 { get; set; } /// /// /// - public global::Weave.PredictionDeleteRes? Type229 { get; set; } + public global::Weave.PredictionCreateRes? Type229 { get; set; } /// /// /// - public global::Weave.PredictionFinishRes? Type230 { get; set; } + public global::Weave.PredictionDeleteRes? Type230 { get; set; } /// /// /// - public global::Weave.PredictionReadRes? Type231 { get; set; } + public global::Weave.PredictionFinishRes? Type231 { get; set; } /// /// /// - public global::Weave.Pricing? Type232 { get; set; } + public global::Weave.PredictionReadRes? Type232 { get; set; } /// /// /// - public global::Weave.ProjectsInfoReq? Type233 { get; set; } + public global::Weave.Pricing? Type233 { get; set; } /// /// /// - public global::Weave.ProjectsInfoRes? Type234 { get; set; } + public global::Weave.ProjectsInfoReq? Type234 { get; set; } /// /// /// - public global::Weave.RefsReadBatchReq? Type235 { get; set; } + public global::Weave.ProjectsInfoRes? Type235 { get; set; } /// /// /// - public global::Weave.RefsReadBatchRes? Type236 { get; set; } + public global::Weave.RefsReadBatchReq? Type236 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModel? Type237 { get; set; } + public global::Weave.RefsReadBatchRes? Type237 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModelQuantization? Type238 { get; set; } + public global::Weave.RouterOpenRouterModel? Type238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type239 { get; set; } + public global::Weave.RouterOpenRouterModelQuantization? Type239 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModelSupportedSamplingParameter? Type240 { get; set; } + public global::System.Collections.Generic.IList? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public global::Weave.RouterOpenRouterModelSupportedSamplingParameter? Type241 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModelSupportedFeature? Type242 { get; set; } + public global::System.Collections.Generic.IList? Type242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type243 { get; set; } + public global::Weave.RouterOpenRouterModelSupportedFeature? Type243 { get; set; } /// /// /// - public global::Weave.RouterOpenRouterModelsRes? Type244 { get; set; } + public global::System.Collections.Generic.IList? Type244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type245 { get; set; } + public global::Weave.RouterOpenRouterModelsRes? Type245 { get; set; } /// /// /// - public global::Weave.ScoreCreateBody? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::Weave.ScoreCreateRes? Type247 { get; set; } + public global::Weave.ScoreCreateBody? Type247 { get; set; } /// /// /// - public global::Weave.ScoreDeleteRes? Type248 { get; set; } + public global::Weave.ScoreCreateRes? Type248 { get; set; } /// /// /// - public global::Weave.ScoreReadRes? Type249 { get; set; } + public global::Weave.ScoreDeleteRes? Type249 { get; set; } /// /// /// - public global::Weave.ScorerCreateBody? Type250 { get; set; } + public global::Weave.ScoreReadRes? Type250 { get; set; } /// /// /// - public global::Weave.ScorerCreateRes? Type251 { get; set; } + public global::Weave.ScorerCreateBody? Type251 { get; set; } /// /// /// - public global::Weave.ScorerDeleteRes? Type252 { get; set; } + public global::Weave.ScorerCreateRes? Type252 { get; set; } /// /// /// - public global::Weave.ScorerReadRes? Type253 { get; set; } + public global::Weave.ScorerDeleteRes? Type253 { get; set; } /// /// /// - public global::Weave.ServerInfoRes? Type254 { get; set; } + public global::Weave.ScorerReadRes? Type254 { get; set; } /// /// /// - public global::Weave.SortByDirection? Type255 { get; set; } + public global::Weave.ServerInfoRes? Type255 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type256 { get; set; } + public global::Weave.SortByDirection? Type256 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type257 { get; set; } + public global::System.Collections.Generic.Dictionary? Type257 { get; set; } /// /// /// - public global::Weave.TableAppendSpec? Type258 { get; set; } + public global::System.Collections.Generic.Dictionary? Type258 { get; set; } /// /// /// - public global::Weave.TableAppendSpecPayload? Type259 { get; set; } + public global::Weave.TableAppendSpec? Type259 { get; set; } /// /// /// - public global::Weave.TableCreateFromDigestsReq? Type260 { get; set; } + public global::Weave.TableAppendSpecPayload? Type260 { get; set; } /// /// /// - public global::Weave.TableCreateFromDigestsRes? Type261 { get; set; } + public global::Weave.TableCreateFromDigestsReq? Type261 { get; set; } /// /// /// - public global::Weave.TableCreateReq? Type262 { get; set; } + public global::Weave.TableCreateFromDigestsRes? Type262 { get; set; } /// /// /// - public global::Weave.TableSchemaForInsert? Type263 { get; set; } + public global::Weave.TableCreateReq? Type263 { get; set; } /// /// /// - public global::Weave.TableCreateRes? Type264 { get; set; } + public global::Weave.TableSchemaForInsert? Type264 { get; set; } /// /// /// - public global::Weave.TableInsertSpec? Type265 { get; set; } + public global::Weave.TableCreateRes? Type265 { get; set; } /// /// /// - public global::Weave.TableInsertSpecPayload? Type266 { get; set; } + public global::Weave.TableInsertSpec? Type266 { get; set; } /// /// /// - public global::Weave.TablePopSpec? Type267 { get; set; } + public global::Weave.TableInsertSpecPayload? Type267 { get; set; } /// /// /// - public global::Weave.TablePopSpecPayload? Type268 { get; set; } + public global::Weave.TablePopSpec? Type268 { get; set; } /// /// /// - public global::Weave.TableQueryReq? Type269 { get; set; } + public global::Weave.TablePopSpecPayload? Type269 { get; set; } /// /// /// - public global::Weave.TableRowFilter? Type270 { get; set; } + public global::Weave.TableQueryReq? Type270 { get; set; } /// /// /// - public global::Weave.TableQueryRes? Type271 { get; set; } + public global::Weave.TableRowFilter? Type271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type272 { get; set; } + public global::Weave.TableQueryRes? Type272 { get; set; } /// /// /// - public global::Weave.TableRowSchema? Type273 { get; set; } + public global::System.Collections.Generic.IList? Type273 { get; set; } /// /// /// - public global::Weave.TableQueryStatsBatchReq? Type274 { get; set; } + public global::Weave.TableRowSchema? Type274 { get; set; } /// /// /// - public global::Weave.TableQueryStatsBatchRes? Type275 { get; set; } + public global::Weave.TableQueryStatsBatchReq? Type275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type276 { get; set; } + public global::Weave.TableQueryStatsBatchRes? Type276 { get; set; } /// /// /// - public global::Weave.TableStatsRow? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::Weave.TableQueryStatsReq? Type278 { get; set; } + public global::Weave.TableStatsRow? Type278 { get; set; } /// /// /// - public global::Weave.TableQueryStatsRes? Type279 { get; set; } + public global::Weave.TableQueryStatsReq? Type279 { get; set; } /// /// /// - public global::Weave.TableUpdateReq? Type280 { get; set; } + public global::Weave.TableQueryStatsRes? Type280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type281 { get; set; } + public global::Weave.TableUpdateReq? Type281 { get; set; } /// /// /// - public global::Weave.AnyOf? Type282 { get; set; } + public global::System.Collections.Generic.IList>? Type282 { get; set; } /// /// /// - public global::Weave.TableUpdateRes? Type283 { get; set; } + public global::Weave.AnyOf? Type283 { get; set; } /// /// /// - public global::Weave.TagsListRes? Type284 { get; set; } + public global::Weave.TableUpdateRes? Type284 { get; set; } /// /// /// - public global::Weave.ThreadsQueryFilter? Type285 { get; set; } + public global::Weave.TagsListRes? Type285 { get; set; } /// /// /// - public global::Weave.ThreadsQueryReq? Type286 { get; set; } + public global::Weave.ThreadsQueryFilter? Type286 { get; set; } /// /// /// - public global::Weave.TraceStatus? Type287 { get; set; } + public global::Weave.ThreadsQueryReq? Type287 { get; set; } /// /// /// - public global::Weave.TraceUsageReq? Type288 { get; set; } + public global::Weave.TraceStatus? Type288 { get; set; } /// /// /// - public global::Weave.TraceUsageRes? Type289 { get; set; } + public global::Weave.TraceUsageReq? Type289 { get; set; } /// /// /// - public global::Weave.UsageMetricSpecMetric? Type290 { get; set; } + public global::Weave.TraceUsageRes? Type290 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type291 { get; set; } + public global::Weave.UsageMetricSpecMetric? Type291 { get; set; } /// /// /// - public global::Weave.AnyOf? Type292 { get; set; } + public global::System.Collections.Generic.IList>? Type292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type293 { get; set; } + public global::Weave.AnyOf? Type293 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type294 { get; set; } + public global::System.Collections.Generic.IList? Type294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type295 { get; set; } + public global::System.Collections.Generic.IList? 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; } /// /// diff --git a/src/libs/Weave/Generated/Weave.Models.EvalResultsTrial.g.cs b/src/libs/Weave/Generated/Weave.Models.EvalResultsTrial.g.cs index b7aa12a..748567f 100644 --- a/src/libs/Weave/Generated/Weave.Models.EvalResultsTrial.g.cs +++ b/src/libs/Weave/Generated/Weave.Models.EvalResultsTrial.g.cs @@ -51,6 +51,12 @@ public sealed partial class EvalResultsTrial [global::System.Text.Json.Serialization.JsonPropertyName("scorer_call_ids")] public global::System.Collections.Generic.Dictionary? ScorerCallIds { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("genai_span_ref")] + public global::Weave.GenAISpanRef? GenaiSpanRef { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -67,6 +73,7 @@ public sealed partial class EvalResultsTrial /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,7 +84,8 @@ public EvalResultsTrial( object? scores, double? modelLatencySeconds, int? totalTokens, - global::System.Collections.Generic.Dictionary? scorerCallIds) + global::System.Collections.Generic.Dictionary? scorerCallIds, + global::Weave.GenAISpanRef? genaiSpanRef) { this.PredictAndScoreCallId = predictAndScoreCallId ?? throw new global::System.ArgumentNullException(nameof(predictAndScoreCallId)); this.PredictCallId = predictCallId; @@ -86,6 +94,7 @@ public EvalResultsTrial( this.ModelLatencySeconds = modelLatencySeconds; this.TotalTokens = totalTokens; this.ScorerCallIds = scorerCallIds; + this.GenaiSpanRef = genaiSpanRef; } /// diff --git a/src/libs/Weave/Generated/Weave.Models.EvalResultsTrialGenaiSpanRef.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.EvalResultsTrialGenaiSpanRef.Json.g.cs new file mode 100644 index 0000000..e159b3d --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.EvalResultsTrialGenaiSpanRef.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class EvalResultsTrialGenaiSpanRef + { + /// + /// 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.EvalResultsTrialGenaiSpanRef? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.EvalResultsTrialGenaiSpanRef), + jsonSerializerContext) as global::Weave.EvalResultsTrialGenaiSpanRef; + } + + /// + /// 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.EvalResultsTrialGenaiSpanRef? 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.EvalResultsTrialGenaiSpanRef), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.EvalResultsTrialGenaiSpanRef; + } + + /// + /// 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.EvalResultsTrialGenaiSpanRef.g.cs b/src/libs/Weave/Generated/Weave.Models.EvalResultsTrialGenaiSpanRef.g.cs new file mode 100644 index 0000000..db1e269 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.EvalResultsTrialGenaiSpanRef.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// + /// + public sealed partial class EvalResultsTrialGenaiSpanRef + { + + /// + /// 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.GenAISpanRef.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.GenAISpanRef.Json.g.cs new file mode 100644 index 0000000..e2e2e08 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.GenAISpanRef.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class GenAISpanRef + { + /// + /// 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.GenAISpanRef? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.GenAISpanRef), + jsonSerializerContext) as global::Weave.GenAISpanRef; + } + + /// + /// 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.GenAISpanRef? 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.GenAISpanRef), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.GenAISpanRef; + } + + /// + /// 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.GenAISpanRef.g.cs b/src/libs/Weave/Generated/Weave.Models.GenAISpanRef.g.cs new file mode 100644 index 0000000..b1eb0e8 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.GenAISpanRef.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Weave +{ + /// + /// + /// + public sealed partial class GenAISpanRef + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trace_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string TraceId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("span_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SpanId { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GenAISpanRef( + string traceId, + string spanId) + { + this.TraceId = traceId ?? throw new global::System.ArgumentNullException(nameof(traceId)); + this.SpanId = spanId ?? throw new global::System.ArgumentNullException(nameof(spanId)); + } + + /// + /// Initializes a new instance of the class. + /// + public GenAISpanRef() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Weave/Generated/Weave.Models.PredictionCreateBody.g.cs b/src/libs/Weave/Generated/Weave.Models.PredictionCreateBody.g.cs index f53ea4b..f0a8604 100644 --- a/src/libs/Weave/Generated/Weave.Models.PredictionCreateBody.g.cs +++ b/src/libs/Weave/Generated/Weave.Models.PredictionCreateBody.g.cs @@ -36,6 +36,12 @@ public sealed partial class PredictionCreateBody [global::System.Text.Json.Serialization.JsonPropertyName("evaluation_run_id")] public string? EvaluationRunId { get; set; } + /// + /// Optional GenAI span reference produced by this prediction. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("genai_span_ref")] + public global::Weave.GenAISpanRef? GenaiSpanRef { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -57,6 +63,9 @@ public sealed partial class PredictionCreateBody /// /// Optional evaluation run ID to link this prediction as a child call /// + /// + /// Optional GenAI span reference produced by this prediction. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -64,12 +73,14 @@ public PredictionCreateBody( string model, object inputs, object output, - string? evaluationRunId) + string? evaluationRunId, + global::Weave.GenAISpanRef? genaiSpanRef) { this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Inputs = inputs ?? throw new global::System.ArgumentNullException(nameof(inputs)); this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.EvaluationRunId = evaluationRunId; + this.GenaiSpanRef = genaiSpanRef; } /// diff --git a/src/libs/Weave/Generated/Weave.Models.PredictionCreateBodyGenaiSpanRef.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.PredictionCreateBodyGenaiSpanRef.Json.g.cs new file mode 100644 index 0000000..c12fa1a --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.PredictionCreateBodyGenaiSpanRef.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class PredictionCreateBodyGenaiSpanRef + { + /// + /// 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.PredictionCreateBodyGenaiSpanRef? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.PredictionCreateBodyGenaiSpanRef), + jsonSerializerContext) as global::Weave.PredictionCreateBodyGenaiSpanRef; + } + + /// + /// 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.PredictionCreateBodyGenaiSpanRef? 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.PredictionCreateBodyGenaiSpanRef), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.PredictionCreateBodyGenaiSpanRef; + } + + /// + /// 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.PredictionCreateBodyGenaiSpanRef.g.cs b/src/libs/Weave/Generated/Weave.Models.PredictionCreateBodyGenaiSpanRef.g.cs new file mode 100644 index 0000000..9fc2f0c --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.PredictionCreateBodyGenaiSpanRef.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Weave +{ + /// + /// Optional GenAI span reference produced by this prediction. + /// + public sealed partial class PredictionCreateBodyGenaiSpanRef + { + + /// + /// 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.PredictionsClient.PredictionCreateV2EntityProjectPredictionsPost.g.cs b/src/libs/Weave/Generated/Weave.PredictionsClient.PredictionCreateV2EntityProjectPredictionsPost.g.cs index eb2e352..de3f9d9 100644 --- a/src/libs/Weave/Generated/Weave.PredictionsClient.PredictionCreateV2EntityProjectPredictionsPost.g.cs +++ b/src/libs/Weave/Generated/Weave.PredictionsClient.PredictionCreateV2EntityProjectPredictionsPost.g.cs @@ -511,6 +511,9 @@ partial void ProcessPredictionCreateV2EntityProjectPredictionsPostResponseConten /// /// Optional evaluation run ID to link this prediction as a child call /// + /// + /// Optional GenAI span reference produced by this prediction. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -521,6 +524,7 @@ partial void ProcessPredictionCreateV2EntityProjectPredictionsPostResponseConten object inputs, object output, string? evaluationRunId = default, + global::Weave.GenAISpanRef? genaiSpanRef = default, global::Weave.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -530,6 +534,7 @@ partial void ProcessPredictionCreateV2EntityProjectPredictionsPostResponseConten Inputs = inputs, Output = output, EvaluationRunId = evaluationRunId, + GenaiSpanRef = genaiSpanRef, }; return await PredictionCreateV2EntityProjectPredictionsPostAsync( diff --git a/src/libs/Weave/openapi.json b/src/libs/Weave/openapi.json index ca97e51..6cf7129 100644 --- a/src/libs/Weave/openapi.json +++ b/src/libs/Weave/openapi.json @@ -9031,6 +9031,16 @@ }, "type": "object", "title": "Scorer Call Ids" + }, + "genai_span_ref": { + "anyOf": [ + { + "$ref": "#/components/schemas/GenAISpanRef" + }, + { + "type": "null" + } + ] } }, "type": "object", @@ -10527,6 +10537,24 @@ ], "title": "FilesStatsRes" }, + "GenAISpanRef": { + "properties": { + "trace_id": { + "type": "string", + "title": "Trace Id" + }, + "span_id": { + "type": "string", + "title": "Span Id" + } + }, + "type": "object", + "required": [ + "trace_id", + "span_id" + ], + "title": "GenAISpanRef" + }, "Geolocation": { "properties": { "file_index": { @@ -12750,6 +12778,17 @@ ], "title": "Evaluation Run Id", "description": "Optional evaluation run ID to link this prediction as a child call" + }, + "genai_span_ref": { + "anyOf": [ + { + "$ref": "#/components/schemas/GenAISpanRef" + }, + { + "type": "null" + } + ], + "description": "Optional GenAI span reference produced by this prediction." } }, "type": "object",