From 3dda6cb578b14fbb5871d116e037ebeadbbe2836 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 13 Dec 2024 21:18:41 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/JsonSerializerContextTypes.g.cs | 456 +++++++++--------- ...ionQueuesClient.CreateAnnotationQueue.g.cs | 3 + ...nQueuesClient.PopulateAnnotationQueue.g.cs | 209 ++++++++ ...ionQueuesClient.CreateAnnotationQueue.g.cs | 2 + ...nQueuesClient.PopulateAnnotationQueue.g.cs | 31 ++ .../LangSmith.IRunClient.CreateRule.g.cs | 4 + .../LangSmith.IRunClient.ListRules.g.cs | 2 + .../LangSmith.IRunClient.UpdateRule.g.cs | 4 + ...th.Models.AnnotationQueueCreateSchema.g.cs | 11 +- ...angSmith.Models.AnnotationQueueSchema.g.cs | 11 +- ...odels.AnnotationQueueSchemaWithRubric.g.cs | 9 + ....Models.AnnotationQueueSchemaWithSize.g.cs | 11 +- .../LangSmith.Models.OrganizationConfig.g.cs | 33 ++ ...tationQueuesPopulatePostResponse.Json.g.cs | 92 ++++ ...1AnnotationQueuesPopulatePostResponse.g.cs | 27 ++ ...ls.PopulateAnnotationQueueSchema.Json.g.cs | 92 ++++ ....Models.PopulateAnnotationQueueSchema.g.cs | 52 ++ ...LangSmith.Models.RunRulesCreateSchema.g.cs | 11 + .../LangSmith.Models.RunRulesSchema.g.cs | 13 +- .../LangSmith.RunClient.CreateRule.g.cs | 5 + .../LangSmith.RunClient.ListRules.g.cs | 15 +- .../LangSmith.RunClient.UpdateRule.g.cs | 5 + src/libs/LangSmith/openapi.yaml | 97 ++++ 23 files changed, 961 insertions(+), 234 deletions(-) create mode 100644 src/libs/LangSmith/Generated/LangSmith.AnnotationQueuesClient.PopulateAnnotationQueue.g.cs create mode 100644 src/libs/LangSmith/Generated/LangSmith.IAnnotationQueuesClient.PopulateAnnotationQueue.g.cs create mode 100644 src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse.Json.g.cs create mode 100644 src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse.g.cs create mode 100644 src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueSchema.Json.g.cs create mode 100644 src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueSchema.g.cs diff --git a/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs b/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs index fd4b5856..ba5d5abb 100644 --- a/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs @@ -158,71 +158,71 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::LangSmith.AnnotationQueueRunSchema? Type35 { get; set; } + public global::System.Collections.Generic.IList? Type35 { get; set; } /// /// /// - public global::LangSmith.AnnotationQueueRunUpdateSchema? Type36 { get; set; } + public global::LangSmith.AnnotationQueueRunSchema? Type36 { get; set; } /// /// /// - public global::LangSmith.AnnotationQueueSchema? Type37 { get; set; } + public global::LangSmith.AnnotationQueueRunUpdateSchema? Type37 { get; set; } /// /// /// - public global::LangSmith.AnnotationQueueSchemaWithRubric? Type38 { get; set; } + public global::LangSmith.AnnotationQueueSchema? Type38 { get; set; } /// /// /// - public global::LangSmith.AnnotationQueueSchemaWithSize? Type39 { get; set; } + public global::LangSmith.AnnotationQueueSchemaWithRubric? Type39 { get; set; } /// /// /// - public global::LangSmith.AnnotationQueueSizeSchema? Type40 { get; set; } + public global::LangSmith.AnnotationQueueSchemaWithSize? Type40 { get; set; } /// /// /// - public global::LangSmith.AnnotationQueueUpdateSchema? Type41 { get; set; } + public global::LangSmith.AnnotationQueueSizeSchema? Type41 { get; set; } /// /// /// - public global::LangSmith.AppFeedbackSource? Type42 { get; set; } + public global::LangSmith.AnnotationQueueUpdateSchema? Type42 { get; set; } /// /// /// - public global::LangSmith.Artifact? Type43 { get; set; } + public global::LangSmith.AppFeedbackSource? Type43 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type44 { get; set; } + public global::LangSmith.Artifact? Type44 { get; set; } /// /// /// - public global::LangSmith.ArtifactContent? Type45 { get; set; } + public global::System.Collections.Generic.IList? Type45 { get; set; } /// /// /// - public global::LangSmith.AttachmentsOperations? Type46 { get; set; } + public global::LangSmith.ArtifactContent? Type46 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type47 { get; set; } + public global::LangSmith.AttachmentsOperations? Type47 { get; set; } /// /// /// - public global::LangSmith.AuthProvider? Type48 { get; set; } + public global::System.Collections.Generic.IList? Type48 { get; set; } /// /// /// - public global::LangSmith.AutoEvalFeedbackSource? Type49 { get; set; } + public global::LangSmith.AuthProvider? Type49 { get; set; } /// /// /// - public global::LangSmith.BasicAuthMemberCreate? Type50 { get; set; } + public global::LangSmith.AutoEvalFeedbackSource? Type50 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type51 { get; set; } + public global::LangSmith.BasicAuthMemberCreate? Type51 { get; set; } /// /// /// @@ -1358,838 +1358,842 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::LangSmith.PromptOptimizationJob? Type335 { get; set; } + public global::LangSmith.PopulateAnnotationQueueSchema? Type335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type336 { get; set; } + public global::LangSmith.PromptOptimizationJob? Type336 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationResult? Type337 { get; set; } + public global::System.Collections.Generic.IList? Type337 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobCreate? Type338 { get; set; } + public global::LangSmith.PromptOptimizationResult? Type338 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobLog? Type339 { get; set; } + public global::LangSmith.PromptOptimizationJobCreate? Type339 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobLogCreate? Type340 { get; set; } + public global::LangSmith.PromptOptimizationJobLog? Type340 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobUpdate? Type341 { get; set; } + public global::LangSmith.PromptOptimizationJobLogCreate? Type341 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobWithLogs? Type342 { get; set; } + public global::LangSmith.PromptOptimizationJobUpdate? Type342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type343 { get; set; } + public global::LangSmith.PromptOptimizationJobWithLogs? Type343 { get; set; } /// /// /// - public global::LangSmith.PublicComparativeExperiment? Type344 { get; set; } + public global::System.Collections.Generic.IList? Type344 { get; set; } /// /// /// - public global::LangSmith.PublicExampleWithRuns? Type345 { get; set; } + public global::LangSmith.PublicComparativeExperiment? Type345 { get; set; } /// /// /// - public global::LangSmith.PutDatasetVersionsSchema? Type346 { get; set; } + public global::LangSmith.PublicExampleWithRuns? Type346 { get; set; } /// /// /// - public global::LangSmith.AnyOf? Type347 { get; set; } + public global::LangSmith.PutDatasetVersionsSchema? Type347 { get; set; } /// /// /// - public global::LangSmith.QueryExampleSchemaWithRuns? Type348 { get; set; } + public global::LangSmith.AnyOf? Type348 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type349 { get; set; } + public global::LangSmith.QueryExampleSchemaWithRuns? Type349 { get; set; } /// /// /// - public global::LangSmith.QueryFeedbackDelta? Type350 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type350 { get; set; } /// /// /// - public global::LangSmith.QueryParamsForPublicRunSchema? Type351 { get; set; } + public global::LangSmith.QueryFeedbackDelta? Type351 { get; set; } /// /// /// - public global::LangSmith.RepoTag? Type352 { get; set; } + public global::LangSmith.QueryParamsForPublicRunSchema? Type352 { get; set; } /// /// /// - public global::LangSmith.RepoTagRequest? Type353 { get; set; } + public global::LangSmith.RepoTag? Type353 { get; set; } /// /// /// - public global::LangSmith.RepoUpdateTagRequest? Type354 { get; set; } + public global::LangSmith.RepoTagRequest? Type354 { get; set; } /// /// /// - public global::LangSmith.RequestBodyForRunsGenerateQuery? Type355 { get; set; } + public global::LangSmith.RepoUpdateTagRequest? Type355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type356 { get; set; } + public global::LangSmith.RequestBodyForRunsGenerateQuery? Type356 { get; set; } /// /// /// - public global::LangSmith.RunsGenerateQueryFeedbackKeys? Type357 { get; set; } + public global::System.Collections.Generic.IList? Type357 { get; set; } /// /// /// - public global::LangSmith.Resource? Type358 { get; set; } + public global::LangSmith.RunsGenerateQueryFeedbackKeys? Type358 { get; set; } /// /// /// - public global::LangSmith.ResourceType? Type359 { get; set; } + public global::LangSmith.Resource? Type359 { get; set; } /// /// /// - public global::LangSmith.ResponseBodyForRunsGenerateQuery? Type360 { get; set; } + public global::LangSmith.ResourceType? Type360 { get; set; } /// /// /// - public global::LangSmith.Role? Type361 { get; set; } + public global::LangSmith.ResponseBodyForRunsGenerateQuery? Type361 { get; set; } /// /// /// - public global::LangSmith.RuleLogActionOutcome? Type362 { get; set; } + public global::LangSmith.Role? Type362 { get; set; } /// /// /// - public global::LangSmith.RuleLogActionResponse? Type363 { get; set; } + public global::LangSmith.RuleLogActionOutcome? Type363 { get; set; } /// /// /// - public global::LangSmith.RuleLogSchema? Type364 { get; set; } + public global::LangSmith.RuleLogActionResponse? Type364 { get; set; } /// /// /// - public global::LangSmith.RunGroupBy? Type365 { get; set; } + public global::LangSmith.RuleLogSchema? Type365 { get; set; } /// /// /// - public global::LangSmith.RunGroupRequest? Type366 { get; set; } + public global::LangSmith.RunGroupBy? Type366 { get; set; } /// /// /// - public global::LangSmith.RunGroupStats? Type367 { get; set; } + public global::LangSmith.RunGroupRequest? Type367 { get; set; } /// /// /// - public global::LangSmith.RunRulesAlertType? Type368 { get; set; } + public global::LangSmith.RunGroupStats? Type368 { get; set; } /// /// /// - public global::LangSmith.RunRulesCreateSchema? Type369 { get; set; } + public global::LangSmith.RunRulesAlertType? Type369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type370 { get; set; } + public global::LangSmith.RunRulesCreateSchema? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type371 { get; set; } + public global::System.Collections.Generic.IList? Type371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type372 { get; set; } + public global::System.Collections.Generic.IList? Type372 { get; set; } /// /// /// - public global::LangSmith.RunRulesPagerdutyAlertSchema? Type373 { get; set; } + public global::System.Collections.Generic.IList? Type373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type374 { get; set; } + public global::LangSmith.RunRulesPagerdutyAlertSchema? Type374 { get; set; } /// /// /// - public global::LangSmith.RunRulesWebhookSchema? Type375 { get; set; } + public global::System.Collections.Generic.IList? Type375 { get; set; } /// /// /// - public global::LangSmith.RunRulesSchema? Type376 { get; set; } + public global::LangSmith.RunRulesWebhookSchema? Type376 { get; set; } /// /// /// - public global::LangSmith.RunSchemaWithAnnotationQueueInfo? Type377 { get; set; } + public global::LangSmith.RunRulesSchema? Type377 { get; set; } /// /// /// - public global::LangSmith.RunShareSchema? Type378 { get; set; } + public global::LangSmith.RunSchemaWithAnnotationQueueInfo? Type378 { get; set; } /// /// /// - public global::LangSmith.RunStats? Type379 { get; set; } + public global::LangSmith.RunShareSchema? Type379 { get; set; } /// /// /// - public global::LangSmith.SSOConfirmEmailRequest? Type380 { get; set; } + public global::LangSmith.RunStats? Type380 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationSendRequest? Type381 { get; set; } + public global::LangSmith.SSOConfirmEmailRequest? Type381 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationStatusRequest? Type382 { get; set; } + public global::LangSmith.SSOEmailVerificationSendRequest? Type382 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationStatusResponse? Type383 { get; set; } + public global::LangSmith.SSOEmailVerificationStatusRequest? Type383 { get; set; } /// /// /// - public global::LangSmith.SSOProvider? Type384 { get; set; } + public global::LangSmith.SSOEmailVerificationStatusResponse? Type384 { get; set; } /// /// /// - public global::LangSmith.SSOProviderSlim? Type385 { get; set; } + public global::LangSmith.SSOProvider? Type385 { get; set; } /// /// /// - public global::LangSmith.SSOSettingsCreate? Type386 { get; set; } + public global::LangSmith.SSOProviderSlim? Type386 { get; set; } /// /// /// - public global::LangSmith.SSOSettingsUpdate? Type387 { get; set; } + public global::LangSmith.SSOSettingsCreate? Type387 { get; set; } /// /// /// - public global::LangSmith.SearchDatasetRequest? Type388 { get; set; } + public global::LangSmith.SSOSettingsUpdate? Type388 { get; set; } /// /// /// - public global::LangSmith.SearchDatasetResponse? Type389 { get; set; } + public global::LangSmith.SearchDatasetRequest? Type389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type390 { get; set; } + public global::LangSmith.SearchDatasetResponse? Type390 { get; set; } /// /// /// - public global::LangSmith.SearchedFewShotExample? Type391 { get; set; } + public global::System.Collections.Generic.IList? Type391 { get; set; } /// /// /// - public global::LangSmith.SecretKey? Type392 { get; set; } + public global::LangSmith.SearchedFewShotExample? Type392 { get; set; } /// /// /// - public global::LangSmith.SecretUpsert? Type393 { get; set; } + public global::LangSmith.SecretKey? Type393 { get; set; } /// /// /// - public global::LangSmith.ServiceAccount? Type394 { get; set; } + public global::LangSmith.SecretUpsert? Type394 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountCreateRequest? Type395 { get; set; } + public global::LangSmith.ServiceAccount? Type395 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountCreateResponse? Type396 { get; set; } + public global::LangSmith.ServiceAccountCreateRequest? Type396 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountDeleteResponse? Type397 { get; set; } + public global::LangSmith.ServiceAccountCreateResponse? Type397 { get; set; } /// /// /// - public global::LangSmith.SessionFeedbackDelta? Type398 { get; set; } + public global::LangSmith.ServiceAccountDeleteResponse? Type398 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type399 { get; set; } + public global::LangSmith.SessionFeedbackDelta? Type399 { get; set; } /// /// /// - public global::LangSmith.SessionSortableColumns? Type400 { get; set; } + public global::System.Collections.Generic.Dictionary? Type400 { get; set; } /// /// /// - public global::LangSmith.SetTenantHandleRequest? Type401 { get; set; } + public global::LangSmith.SessionSortableColumns? Type401 { get; set; } /// /// /// - public global::LangSmith.SingleCustomChartResponseBase? Type402 { get; set; } + public global::LangSmith.SetTenantHandleRequest? Type402 { get; set; } /// /// /// - public global::LangSmith.SortByComparativeExperimentColumn? Type403 { get; set; } + public global::LangSmith.SingleCustomChartResponseBase? Type403 { get; set; } /// /// /// - public global::LangSmith.SortByDatasetColumn? Type404 { get; set; } + public global::LangSmith.SortByComparativeExperimentColumn? Type404 { get; set; } /// /// /// - public global::LangSmith.SourceType? Type405 { get; set; } + public global::LangSmith.SortByDatasetColumn? Type405 { get; set; } /// /// /// - public global::LangSmith.StripeAccountLinksCreate? Type406 { get; set; } + public global::LangSmith.SourceType? Type406 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessBillingInfo? Type407 { get; set; } + public global::LangSmith.StripeAccountLinksCreate? Type407 { get; set; } /// /// /// - public global::LangSmith.StripeCustomerAddress? Type408 { get; set; } + public global::LangSmith.StripeBusinessBillingInfo? Type408 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessInfoInput? Type409 { get; set; } + public global::LangSmith.StripeCustomerAddress? Type409 { get; set; } /// /// /// - public global::LangSmith.StripeTaxId? Type410 { get; set; } + public global::LangSmith.StripeBusinessInfoInput? Type410 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessInfoOutput? Type411 { get; set; } + public global::LangSmith.StripeTaxId? Type411 { get; set; } /// /// /// - public global::LangSmith.StripeCheckoutSessionsConfirm? Type412 { get; set; } + public global::LangSmith.StripeBusinessInfoOutput? Type412 { get; set; } /// /// /// - public global::LangSmith.StripeCheckoutSessionsCreate? Type413 { get; set; } + public global::LangSmith.StripeCheckoutSessionsConfirm? Type413 { get; set; } /// /// /// - public global::LangSmith.StripeCustomerBillingInfo? Type414 { get; set; } + public global::LangSmith.StripeCheckoutSessionsCreate? Type414 { get; set; } /// /// /// - public global::LangSmith.StripePaymentInformation? Type415 { get; set; } + public global::LangSmith.StripeCustomerBillingInfo? Type415 { get; set; } /// /// /// - public global::LangSmith.StripeSetupIntentResponse? Type416 { get; set; } + public global::LangSmith.StripePaymentInformation? Type416 { get; set; } /// /// /// - public global::LangSmith.TTLSettings? Type417 { get; set; } + public global::LangSmith.StripeSetupIntentResponse? Type417 { get; set; } /// /// /// - public global::LangSmith.TagKey? Type418 { get; set; } + public global::LangSmith.TTLSettings? Type418 { get; set; } /// /// /// - public global::LangSmith.TagKeyCreate? Type419 { get; set; } + public global::LangSmith.TagKey? Type419 { get; set; } /// /// /// - public global::LangSmith.TagKeyUpdate? Type420 { get; set; } + public global::LangSmith.TagKeyCreate? Type420 { get; set; } /// /// /// - public global::LangSmith.TagKeyWithValues? Type421 { get; set; } + public global::LangSmith.TagKeyUpdate? Type421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type422 { get; set; } + public global::LangSmith.TagKeyWithValues? Type422 { get; set; } /// /// /// - public global::LangSmith.TagValue? Type423 { get; set; } + public global::System.Collections.Generic.IList? Type423 { get; set; } /// /// /// - public global::LangSmith.TagKeyWithValuesAndTaggings? Type424 { get; set; } + public global::LangSmith.TagValue? Type424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type425 { get; set; } + public global::LangSmith.TagKeyWithValuesAndTaggings? Type425 { get; set; } /// /// /// - public global::LangSmith.TagValueWithTaggings? Type426 { get; set; } + public global::System.Collections.Generic.IList? Type426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type427 { get; set; } + public global::LangSmith.TagValueWithTaggings? Type427 { get; set; } /// /// /// - public global::LangSmith.Tagging? Type428 { get; set; } + public global::System.Collections.Generic.IList? Type428 { get; set; } /// /// /// - public global::LangSmith.TagValueCreate? Type429 { get; set; } + public global::LangSmith.Tagging? Type429 { get; set; } /// /// /// - public global::LangSmith.TagValueUpdate? Type430 { get; set; } + public global::LangSmith.TagValueCreate? Type430 { get; set; } /// /// /// - public global::LangSmith.TaggingCreate? Type431 { get; set; } + public global::LangSmith.TagValueUpdate? Type431 { get; set; } /// /// /// - public global::LangSmith.TaggingsByResourceType? Type432 { get; set; } + public global::LangSmith.TaggingCreate? Type432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type433 { get; set; } + public global::LangSmith.TaggingsByResourceType? Type433 { get; set; } /// /// /// - public global::LangSmith.TaggingsResponse? Type434 { get; set; } + public global::System.Collections.Generic.IList? Type434 { get; set; } /// /// /// - public global::LangSmith.TenantBulkUnshareRequest? Type435 { get; set; } + public global::LangSmith.TaggingsResponse? Type435 { get; set; } /// /// /// - public global::LangSmith.TenantCreate? Type436 { get; set; } + public global::LangSmith.TenantBulkUnshareRequest? Type436 { get; set; } /// /// /// - public global::LangSmith.TenantForUser? Type437 { get; set; } + public global::LangSmith.TenantCreate? Type437 { get; set; } /// /// /// - public global::LangSmith.TenantMembers? Type438 { get; set; } + public global::LangSmith.TenantForUser? Type438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type439 { get; set; } + public global::LangSmith.TenantMembers? Type439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::LangSmith.TenantShareDatasetToken? Type441 { get; set; } + public global::System.Collections.Generic.IList? Type441 { get; set; } /// /// /// - public global::LangSmith.TenantShareDatasetTokenType? Type442 { get; set; } + public global::LangSmith.TenantShareDatasetToken? Type442 { get; set; } /// /// /// - public global::LangSmith.TenantShareRunToken? Type443 { get; set; } + public global::LangSmith.TenantShareDatasetTokenType? Type443 { get; set; } /// /// /// - public global::LangSmith.TenantShareRunTokenType? Type444 { get; set; } + public global::LangSmith.TenantShareRunToken? Type444 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponse? Type445 { get; set; } + public global::LangSmith.TenantShareRunTokenType? Type445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type446 { get; set; } + public global::LangSmith.TenantShareTokensResponse? Type446 { get; set; } /// /// /// - public global::LangSmith.EntitiesItem? Type447 { get; set; } + public global::System.Collections.Generic.IList? Type447 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponseEntitieDiscriminator? Type448 { get; set; } + public global::LangSmith.EntitiesItem? Type448 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponseEntitieDiscriminatorType? Type449 { get; set; } + public global::LangSmith.TenantShareTokensResponseEntitieDiscriminator? Type449 { get; set; } /// /// /// - public global::LangSmith.TenantStats? Type450 { get; set; } + public global::LangSmith.TenantShareTokensResponseEntitieDiscriminatorType? Type450 { get; set; } /// /// /// - public global::LangSmith.TenantUsageLimitInfo? Type451 { get; set; } + public global::LangSmith.TenantStats? Type451 { get; set; } /// /// /// - public global::LangSmith.TenantUsageLimitType? Type452 { get; set; } + public global::LangSmith.TenantUsageLimitInfo? Type452 { get; set; } /// /// /// - public global::LangSmith.TracerSessionCreate? Type453 { get; set; } + public global::LangSmith.TenantUsageLimitType? Type453 { get; set; } /// /// /// - public global::LangSmith.TracerSessionUpdate? Type454 { get; set; } + public global::LangSmith.TracerSessionCreate? Type454 { get; set; } /// /// /// - public global::LangSmith.TracerSessionWithoutVirtualFields? Type455 { get; set; } + public global::LangSmith.TracerSessionUpdate? Type455 { get; set; } /// /// /// - public global::LangSmith.TriggerRulesRequest? Type456 { get; set; } + public global::LangSmith.TracerSessionWithoutVirtualFields? Type456 { get; set; } /// /// /// - public global::LangSmith.UpdateFeedbackConfigSchema? Type457 { get; set; } + public global::LangSmith.TriggerRulesRequest? Type457 { get; set; } /// /// /// - public global::LangSmith.UpdateRepoRequest? Type458 { get; set; } + public global::LangSmith.UpdateFeedbackConfigSchema? Type458 { get; set; } /// /// /// - public global::LangSmith.UpdateRoleRequest? Type459 { get; set; } + public global::LangSmith.UpdateRepoRequest? Type459 { get; set; } /// /// /// - public global::LangSmith.UpsertTTLSettingsRequest? Type460 { get; set; } + public global::LangSmith.UpdateRoleRequest? Type460 { get; set; } /// /// /// - public global::LangSmith.UpsertUsageLimit? Type461 { get; set; } + public global::LangSmith.UpsertTTLSettingsRequest? Type461 { get; set; } /// /// /// - public global::LangSmith.UsageLimitType? Type462 { get; set; } + public global::LangSmith.UpsertUsageLimit? Type462 { get; set; } /// /// /// - public global::LangSmith.UsageLimit? Type463 { get; set; } + public global::LangSmith.UsageLimitType? Type463 { get; set; } /// /// /// - public global::LangSmith.UserWithPassword? Type464 { get; set; } + public global::LangSmith.UsageLimit? Type464 { get; set; } /// /// /// - public global::LangSmith.WorkspaceCreate? Type465 { get; set; } + public global::LangSmith.UserWithPassword? Type465 { get; set; } /// /// /// - public global::LangSmith.WorkspacePatch? Type466 { get; set; } + public global::LangSmith.WorkspaceCreate? Type466 { get; set; } /// /// /// - public global::LangSmith.AppHubCrudOptimizeOptimizePromptResponse? Type467 { get; set; } + public global::LangSmith.WorkspacePatch? Type467 { get; set; } /// /// /// - public global::LangSmith.AppHubCrudTenantsTenant? Type468 { get; set; } + public global::LangSmith.AppHubCrudOptimizeOptimizePromptResponse? Type468 { get; set; } /// /// /// - public global::LangSmith.AppSchemasOptimizePromptResponse? Type469 { get; set; } + public global::LangSmith.AppHubCrudTenantsTenant? Type469 { get; set; } /// /// /// - public global::LangSmith.AppSchemasTenant? Type470 { get; set; } + public global::LangSmith.AppSchemasOptimizePromptResponse? Type470 { get; set; } /// /// /// - public global::LangSmith.CreateRunRequest? Type471 { get; set; } + public global::LangSmith.AppSchemasTenant? Type471 { get; set; } /// /// /// - public global::LangSmith.CreateRunRequestRunType? Type472 { get; set; } + public global::LangSmith.CreateRunRequest? Type472 { get; set; } /// /// /// - public global::LangSmith.OneOf? Type473 { get; set; } + public global::LangSmith.CreateRunRequestRunType? Type473 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequest? Type474 { get; set; } + public global::LangSmith.OneOf? Type474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type475 { get; set; } + public global::LangSmith.BatchIngestRunsRequest? Type475 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPostItem? Type476 { get; set; } + public global::System.Collections.Generic.IList? Type476 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPostItemRunType? Type477 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPostItem? Type477 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type478 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPostItemRunType? Type478 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPatchItem? Type479 { get; set; } + public global::System.Collections.Generic.IList? Type479 { get; set; } /// /// /// - public global::LangSmith.UpdateRunRequest? Type480 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPatchItem? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::LangSmith.UpdateRunRequest? Type481 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type482 { get; set; } + public global::System.Collections.Generic.IList? Type482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::LangSmith.AnyOf>? Type484 { get; set; } + public global::System.Collections.Generic.IList? Type484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type485 { get; set; } + public global::LangSmith.AnyOf>? Type485 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type486 { get; set; } + public global::System.Collections.Generic.IList? Type486 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type487 { get; set; } + public global::System.Collections.Generic.IList? Type487 { get; set; } /// /// /// - public global::LangSmith.AnyOf, global::LangSmith.DataType?>? Type488 { get; set; } + public global::System.Collections.Generic.IList? Type488 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type489 { get; set; } + public global::LangSmith.AnyOf, global::LangSmith.DataType?>? Type489 { get; set; } /// /// /// - public global::LangSmith.ListRulesApiV1RunsRulesGetType? Type490 { get; set; } + public global::System.Collections.Generic.IList? Type490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type491 { get; set; } + public global::LangSmith.ListRulesApiV1RunsRulesGetType? Type491 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetIsArchived? Type492 { get; set; } + public global::System.Collections.Generic.IList? Type492 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetIsPublic? Type493 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetIsArchived? Type493 { get; set; } /// /// /// - public global::LangSmith.AnyOf? Type494 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetIsPublic? Type494 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant1? Type495 { get; set; } + public global::LangSmith.AnyOf? Type495 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant2? Type496 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant1? Type496 { get; set; } /// /// /// - public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsArchived? Type497 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant2? Type497 { get; set; } /// /// /// - public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsPublic? Type498 { get; set; } + public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsArchived? Type498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type499 { get; set; } + public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsPublic? Type499 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type500 { get; set; } + public global::System.Collections.Generic.IList? Type500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type501 { get; set; } + public global::System.Collections.Generic.IList? Type501 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type502 { get; set; } + public global::System.Collections.Generic.IList? Type502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type503 { get; set; } + public global::System.Collections.Generic.IList? Type503 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type504 { get; set; } + public global::System.Collections.Generic.IList? Type504 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type505 { get; set; } + public global::System.Collections.Generic.IList? Type505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type506 { get; set; } + public global::System.Collections.Generic.IList? Type506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type507 { get; set; } + public global::System.Collections.Generic.IList? Type507 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type508 { get; set; } + public global::System.Collections.Generic.IList? Type508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type509 { get; set; } + public global::System.Collections.Generic.IList? Type509 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type510 { get; set; } + public global::System.Collections.Generic.IList? Type510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type511 { get; set; } + public global::System.Collections.Generic.IList? Type511 { get; set; } /// /// /// - public global::LangSmith.AnyOf, global::System.Collections.Generic.IList>? Type512 { get; set; } + public global::System.Collections.Generic.IList? Type512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type513 { get; set; } + public global::LangSmith.AnyOf, global::System.Collections.Generic.IList>? Type513 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type514 { get; set; } + public global::System.Collections.Generic.IList? Type514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type515 { get; set; } + public global::System.Collections.Generic.IList? Type515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type516 { get; set; } + public global::System.Collections.Generic.IList? Type516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type517 { get; set; } + public global::System.Collections.Generic.IList? Type517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type518 { get; set; } + public global::System.Collections.Generic.IList? Type518 { get; set; } /// /// /// - public global::LangSmith.AnyOf>? Type519 { get; set; } + public global::System.Collections.Generic.IList? Type519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type520 { get; set; } + public global::LangSmith.AnyOf>? Type520 { get; set; } /// /// /// - public global::LangSmith.AnyOf, global::System.Collections.Generic.IList>? Type521 { get; set; } + public global::System.Collections.Generic.IList? Type521 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type522 { get; set; } + public global::LangSmith.AnyOf, global::System.Collections.Generic.IList>? Type522 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type523 { get; set; } + public global::System.Collections.Generic.IList? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::System.Collections.Generic.IList? Type524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type525 { get; set; } + public global::System.Collections.Generic.IList? Type525 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type526 { get; set; } + public global::System.Collections.Generic.IList? Type526 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type527 { get; set; } + public global::System.Collections.Generic.IList? Type527 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type528 { get; set; } + public global::System.Collections.Generic.IList? Type528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type529 { get; set; } + public global::System.Collections.Generic.IList? Type529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type530 { get; set; } + public global::System.Collections.Generic.IList? Type530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type531 { get; set; } + public global::System.Collections.Generic.IList? Type531 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type532 { get; set; } + public global::System.Collections.Generic.IList? Type532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type533 { get; set; } + public global::System.Collections.Generic.IList? Type533 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type534 { get; set; } + public global::System.Collections.Generic.IList? Type534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type535 { get; set; } + public global::System.Collections.Generic.IList? Type535 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type536 { get; set; } + public global::System.Collections.Generic.IList? Type536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type537 { get; set; } + public global::System.Collections.Generic.IList? Type537 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type538 { get; set; } + public global::System.Collections.Generic.IList? Type538 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type539 { get; set; } + public global::System.Collections.Generic.IList? Type539 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type540 { get; set; } + public global::System.Collections.Generic.IList? Type540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type541 { get; set; } + public global::System.Collections.Generic.IList? Type541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type542 { get; set; } + public global::System.Collections.Generic.IList? Type542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type543 { get; set; } + public global::System.Collections.Generic.IList? Type543 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type544 { get; set; } } } \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.AnnotationQueuesClient.CreateAnnotationQueue.g.cs b/src/libs/LangSmith/Generated/LangSmith.AnnotationQueuesClient.CreateAnnotationQueue.g.cs index d9a01855..83dfda6c 100644 --- a/src/libs/LangSmith/Generated/LangSmith.AnnotationQueuesClient.CreateAnnotationQueue.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.AnnotationQueuesClient.CreateAnnotationQueue.g.cs @@ -205,6 +205,7 @@ partial void ProcessCreateAnnotationQueueResponseContent( /// /// /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateAnnotationQueueAsync( @@ -219,6 +220,7 @@ partial void ProcessCreateAnnotationQueueResponseContent( global::System.Guid? id = default, global::System.Collections.Generic.IList? rubricItems = default, string? rubricInstructions = default, + global::System.Collections.Generic.IList? sessionIds = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::LangSmith.AnnotationQueueCreateSchema @@ -234,6 +236,7 @@ partial void ProcessCreateAnnotationQueueResponseContent( Id = id, RubricItems = rubricItems, RubricInstructions = rubricInstructions, + SessionIds = sessionIds, }; return await CreateAnnotationQueueAsync( diff --git a/src/libs/LangSmith/Generated/LangSmith.AnnotationQueuesClient.PopulateAnnotationQueue.g.cs b/src/libs/LangSmith/Generated/LangSmith.AnnotationQueuesClient.PopulateAnnotationQueue.g.cs new file mode 100644 index 00000000..0cdfd1ae --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.AnnotationQueuesClient.PopulateAnnotationQueue.g.cs @@ -0,0 +1,209 @@ + +#nullable enable + +namespace LangSmith +{ + public partial class AnnotationQueuesClient + { + partial void PreparePopulateAnnotationQueueArguments( + global::System.Net.Http.HttpClient httpClient, + global::LangSmith.PopulateAnnotationQueueSchema request); + partial void PreparePopulateAnnotationQueueRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::LangSmith.PopulateAnnotationQueueSchema request); + partial void ProcessPopulateAnnotationQueueResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessPopulateAnnotationQueueResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Populate Annotation Queue
+ /// Populate annotation queue with runs from an experiment. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task PopulateAnnotationQueueAsync( + global::LangSmith.PopulateAnnotationQueueSchema request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PreparePopulateAnnotationQueueArguments( + httpClient: HttpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/annotation-queues/populate", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in Authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PreparePopulateAnnotationQueueRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + using var __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessPopulateAnnotationQueueResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::LangSmith.HTTPValidationError? __value_422 = null; + if (ReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + __value_422 = global::LangSmith.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + var __contentStream_422 = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + __value_422 = await global::LangSmith.HTTPValidationError.FromJsonStreamAsync(__contentStream_422, JsonSerializerContext).ConfigureAwait(false); + } + + throw new global::LangSmith.ApiException( + message: __response.ReasonPhrase ?? string.Empty, + statusCode: __response.StatusCode) + { + ResponseBody = __content_422, + ResponseObject = __value_422, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + if (ReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessPopulateAnnotationQueueResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException __ex) + { + throw new global::LangSmith.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + return __content; + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException __ex) + { + throw new global::LangSmith.ApiException( + message: __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + return __content; + } + } + + /// + /// Populate Annotation Queue
+ /// Populate annotation queue with runs from an experiment. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task PopulateAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Collections.Generic.IList sessionIds, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::LangSmith.PopulateAnnotationQueueSchema + { + QueueId = queueId, + SessionIds = sessionIds, + }; + + return await PopulateAnnotationQueueAsync( + request: __request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.IAnnotationQueuesClient.CreateAnnotationQueue.g.cs b/src/libs/LangSmith/Generated/LangSmith.IAnnotationQueuesClient.CreateAnnotationQueue.g.cs index cfa1a58a..ec6b74d6 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IAnnotationQueuesClient.CreateAnnotationQueue.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IAnnotationQueuesClient.CreateAnnotationQueue.g.cs @@ -34,6 +34,7 @@ public partial interface IAnnotationQueuesClient /// /// /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateAnnotationQueueAsync( @@ -48,6 +49,7 @@ public partial interface IAnnotationQueuesClient global::System.Guid? id = default, global::System.Collections.Generic.IList? rubricItems = default, string? rubricInstructions = default, + global::System.Collections.Generic.IList? sessionIds = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.IAnnotationQueuesClient.PopulateAnnotationQueue.g.cs b/src/libs/LangSmith/Generated/LangSmith.IAnnotationQueuesClient.PopulateAnnotationQueue.g.cs new file mode 100644 index 00000000..d3a2a4d2 --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.IAnnotationQueuesClient.PopulateAnnotationQueue.g.cs @@ -0,0 +1,31 @@ +#nullable enable + +namespace LangSmith +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Populate Annotation Queue
+ /// Populate annotation queue with runs from an experiment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PopulateAnnotationQueueAsync( + global::LangSmith.PopulateAnnotationQueueSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Populate Annotation Queue
+ /// Populate annotation queue with runs from an experiment. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PopulateAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Collections.Generic.IList sessionIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.IRunClient.CreateRule.g.cs b/src/libs/LangSmith/Generated/LangSmith.IRunClient.CreateRule.g.cs index 1f08cd89..94ac06ac 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IRunClient.CreateRule.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IRunClient.CreateRule.g.cs @@ -37,6 +37,9 @@ public partial interface IRunClient /// /// Default Value: false /// + /// + /// Default Value: false + /// /// /// /// @@ -61,6 +64,7 @@ public partial interface IRunClient bool? useCorrectionsDataset = default, int? numFewShotExamples = default, bool? extendOnly = default, + bool? transient = default, global::System.Guid? addToAnnotationQueueId = default, global::System.Guid? addToDatasetId = default, bool? addToDatasetPreferCorrection = default, diff --git a/src/libs/LangSmith/Generated/LangSmith.IRunClient.ListRules.g.cs b/src/libs/LangSmith/Generated/LangSmith.IRunClient.ListRules.g.cs index aacd5ba8..7fbca001 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IRunClient.ListRules.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IRunClient.ListRules.g.cs @@ -12,6 +12,7 @@ public partial interface IRunClient /// /// /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListRulesAsync( @@ -19,6 +20,7 @@ public partial interface IRunClient global::System.Guid? sessionId = default, global::LangSmith.ListRulesApiV1RunsRulesGetType? type = default, string? nameContains = default, + global::System.Collections.Generic.IList? id = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.IRunClient.UpdateRule.g.cs b/src/libs/LangSmith/Generated/LangSmith.IRunClient.UpdateRule.g.cs index 8c0242bd..cb5bfedf 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IRunClient.UpdateRule.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IRunClient.UpdateRule.g.cs @@ -40,6 +40,9 @@ public partial interface IRunClient /// /// Default Value: false /// + /// + /// Default Value: false + /// /// /// /// @@ -65,6 +68,7 @@ public partial interface IRunClient bool? useCorrectionsDataset = default, int? numFewShotExamples = default, bool? extendOnly = default, + bool? transient = default, global::System.Guid? addToAnnotationQueueId = default, global::System.Guid? addToDatasetId = default, bool? addToDatasetPreferCorrection = default, diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueCreateSchema.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueCreateSchema.g.cs index 4553ca5b..51abd5bf 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueCreateSchema.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueCreateSchema.g.cs @@ -75,6 +75,12 @@ public sealed partial class AnnotationQueueCreateSchema [global::System.Text.Json.Serialization.JsonPropertyName("rubric_instructions")] public string? RubricInstructions { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("session_ids")] + public global::System.Collections.Generic.IList? SessionIds { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -101,6 +107,7 @@ public sealed partial class AnnotationQueueCreateSchema /// /// /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public AnnotationQueueCreateSchema( string name, @@ -113,7 +120,8 @@ public AnnotationQueueCreateSchema( int? reservationMinutes, global::System.Guid? id, global::System.Collections.Generic.IList? rubricItems, - string? rubricInstructions) + string? rubricInstructions, + global::System.Collections.Generic.IList? sessionIds) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; @@ -126,6 +134,7 @@ public AnnotationQueueCreateSchema( this.Id = id; this.RubricItems = rubricItems; this.RubricInstructions = rubricInstructions; + this.SessionIds = sessionIds; } /// diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchema.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchema.g.cs index fab98a3e..0405cd9c 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchema.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchema.g.cs @@ -71,6 +71,12 @@ public sealed partial class AnnotationQueueSchema [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Guid TenantId { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source_rule_id")] + public global::System.Guid? SourceRuleId { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -96,6 +102,7 @@ public sealed partial class AnnotationQueueSchema /// /// /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public AnnotationQueueSchema( string name, @@ -107,7 +114,8 @@ public AnnotationQueueSchema( global::System.Guid? defaultDataset, int? numReviewersPerItem, bool? enableReservations, - int? reservationMinutes) + int? reservationMinutes, + global::System.Guid? sourceRuleId) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Id = id; @@ -119,6 +127,7 @@ public AnnotationQueueSchema( this.NumReviewersPerItem = numReviewersPerItem; this.EnableReservations = enableReservations; this.ReservationMinutes = reservationMinutes; + this.SourceRuleId = sourceRuleId; } /// diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchemaWithRubric.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchemaWithRubric.g.cs index fca32794..d7754002 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchemaWithRubric.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchemaWithRubric.g.cs @@ -71,6 +71,12 @@ public sealed partial class AnnotationQueueSchemaWithRubric [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Guid TenantId { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source_rule_id")] + public global::System.Guid? SourceRuleId { get; set; } + /// /// /// @@ -108,6 +114,7 @@ public sealed partial class AnnotationQueueSchemaWithRubric /// /// /// + /// /// /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -122,6 +129,7 @@ public AnnotationQueueSchemaWithRubric( int? numReviewersPerItem, bool? enableReservations, int? reservationMinutes, + global::System.Guid? sourceRuleId, global::System.Collections.Generic.IList? rubricItems, string? rubricInstructions) { @@ -135,6 +143,7 @@ public AnnotationQueueSchemaWithRubric( this.NumReviewersPerItem = numReviewersPerItem; this.EnableReservations = enableReservations; this.ReservationMinutes = reservationMinutes; + this.SourceRuleId = sourceRuleId; this.RubricItems = rubricItems; this.RubricInstructions = rubricInstructions; } diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchemaWithSize.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchemaWithSize.g.cs index b3d80796..147611b4 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchemaWithSize.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.AnnotationQueueSchemaWithSize.g.cs @@ -71,6 +71,12 @@ public sealed partial class AnnotationQueueSchemaWithSize [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Guid TenantId { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source_rule_id")] + public global::System.Guid? SourceRuleId { get; set; } + /// /// /// @@ -103,6 +109,7 @@ public sealed partial class AnnotationQueueSchemaWithSize /// /// /// + /// /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public AnnotationQueueSchemaWithSize( @@ -116,7 +123,8 @@ public AnnotationQueueSchemaWithSize( global::System.Guid? defaultDataset, int? numReviewersPerItem, bool? enableReservations, - int? reservationMinutes) + int? reservationMinutes, + global::System.Guid? sourceRuleId) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Id = id; @@ -129,6 +137,7 @@ public AnnotationQueueSchemaWithSize( this.NumReviewersPerItem = numReviewersPerItem; this.EnableReservations = enableReservations; this.ReservationMinutes = reservationMinutes; + this.SourceRuleId = sourceRuleId; } /// diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.OrganizationConfig.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.OrganizationConfig.g.cs index 284d00ef..b7dbba81 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.OrganizationConfig.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.OrganizationConfig.g.cs @@ -152,6 +152,24 @@ public sealed partial class OrganizationConfig [global::System.Text.Json.Serialization.JsonPropertyName("use_exact_search_for_prompts")] public bool? UseExactSearchForPrompts { get; set; } + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("langgraph_deploy_own_cloud_enabled")] + public bool? LanggraphDeployOwnCloudEnabled { get; set; } + + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prompt_optimization")] + public bool? PromptOptimization { get; set; } + + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enable_k8s_vanilla_platform")] + public bool? EnableK8sVanillaPlatform { get; set; } + /// /// /// @@ -233,6 +251,15 @@ public sealed partial class OrganizationConfig /// /// Default Value: false /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public OrganizationConfig( @@ -260,6 +287,9 @@ public OrganizationConfig( bool? enableOrgUsageCharts, bool? enableSelectAllTraces, bool? useExactSearchForPrompts, + bool? langgraphDeployOwnCloudEnabled, + bool? promptOptimization, + bool? enableK8sVanillaPlatform, global::System.Collections.Generic.Dictionary? flags) { this.MaxIdentities = maxIdentities; @@ -286,6 +316,9 @@ public OrganizationConfig( this.EnableOrgUsageCharts = enableOrgUsageCharts; this.EnableSelectAllTraces = enableSelectAllTraces; this.UseExactSearchForPrompts = useExactSearchForPrompts; + this.LanggraphDeployOwnCloudEnabled = langgraphDeployOwnCloudEnabled; + this.PromptOptimization = promptOptimization; + this.EnableK8sVanillaPlatform = enableK8sVanillaPlatform; this.Flags = flags; } diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse.Json.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse.Json.g.cs new file mode 100644 index 00000000..a09097ee --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace LangSmith +{ + public sealed partial class PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse + { + /// + /// 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::LangSmith.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LangSmith.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse), + jsonSerializerContext) as global::LangSmith.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse; + } + + /// + /// 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::LangSmith.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse? 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::LangSmith.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::LangSmith.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse; + } + + /// + /// 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/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse.g.cs new file mode 100644 index 00000000..026bc7c6 --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse.g.cs @@ -0,0 +1,27 @@ + +#nullable enable + +namespace LangSmith +{ + /// + /// + /// + public sealed partial class PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse + { + + /// + /// 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. + /// + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public PopulateAnnotationQueueApiV1AnnotationQueuesPopulatePostResponse( + ) + { + } + } +} \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueSchema.Json.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueSchema.Json.g.cs new file mode 100644 index 00000000..78485cab --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueSchema.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace LangSmith +{ + public sealed partial class PopulateAnnotationQueueSchema + { + /// + /// 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::LangSmith.PopulateAnnotationQueueSchema? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LangSmith.PopulateAnnotationQueueSchema), + jsonSerializerContext) as global::LangSmith.PopulateAnnotationQueueSchema; + } + + /// + /// 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::LangSmith.PopulateAnnotationQueueSchema? 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::LangSmith.PopulateAnnotationQueueSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::LangSmith.PopulateAnnotationQueueSchema; + } + + /// + /// 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/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueSchema.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueSchema.g.cs new file mode 100644 index 00000000..9daf9d54 --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PopulateAnnotationQueueSchema.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace LangSmith +{ + /// + /// + /// + public sealed partial class PopulateAnnotationQueueSchema + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("queue_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid QueueId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("session_ids")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList SessionIds { 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. + /// + /// + /// + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public PopulateAnnotationQueueSchema( + global::System.Guid queueId, + global::System.Collections.Generic.IList sessionIds) + { + this.QueueId = queueId; + this.SessionIds = sessionIds ?? throw new global::System.ArgumentNullException(nameof(sessionIds)); + } + + /// + /// Initializes a new instance of the class. + /// + public PopulateAnnotationQueueSchema() + { + } + } +} \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.RunRulesCreateSchema.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.RunRulesCreateSchema.g.cs index f23ac283..3f3a70b1 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.RunRulesCreateSchema.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.RunRulesCreateSchema.g.cs @@ -82,6 +82,12 @@ public sealed partial class RunRulesCreateSchema [global::System.Text.Json.Serialization.JsonPropertyName("extend_only")] public bool? ExtendOnly { get; set; } + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("transient")] + public bool? Transient { get; set; } + /// /// /// @@ -151,6 +157,9 @@ public sealed partial class RunRulesCreateSchema /// /// Default Value: false /// + /// + /// Default Value: false + /// /// /// /// @@ -174,6 +183,7 @@ public RunRulesCreateSchema( bool? useCorrectionsDataset, int? numFewShotExamples, bool? extendOnly, + bool? transient, global::System.Guid? addToAnnotationQueueId, global::System.Guid? addToDatasetId, bool? addToDatasetPreferCorrection, @@ -194,6 +204,7 @@ public RunRulesCreateSchema( this.UseCorrectionsDataset = useCorrectionsDataset; this.NumFewShotExamples = numFewShotExamples; this.ExtendOnly = extendOnly; + this.Transient = transient; this.AddToAnnotationQueueId = addToAnnotationQueueId; this.AddToDatasetId = addToDatasetId; this.AddToDatasetPreferCorrection = addToDatasetPreferCorrection; diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.RunRulesSchema.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.RunRulesSchema.g.cs index 341ccb5b..bc442feb 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.RunRulesSchema.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.RunRulesSchema.g.cs @@ -183,6 +183,12 @@ public sealed partial class RunRulesSchema [global::System.Text.Json.Serialization.JsonPropertyName("backfill_from")] public global::System.DateTime? BackfillFrom { get; set; } + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("transient")] + public bool? Transient { get; set; } + /// /// /// @@ -235,6 +241,9 @@ public sealed partial class RunRulesSchema /// /// /// + /// + /// Default Value: false + /// /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public RunRulesSchema( @@ -266,7 +275,8 @@ public RunRulesSchema( global::System.Collections.Generic.IList? codeEvaluators, global::System.Collections.Generic.IList? alerts, bool? extendOnly, - global::System.DateTime? backfillFrom) + global::System.DateTime? backfillFrom, + bool? transient) { this.Id = id; this.TenantId = tenantId; @@ -297,6 +307,7 @@ public RunRulesSchema( this.Alerts = alerts; this.ExtendOnly = extendOnly; this.BackfillFrom = backfillFrom; + this.Transient = transient; } /// diff --git a/src/libs/LangSmith/Generated/LangSmith.RunClient.CreateRule.g.cs b/src/libs/LangSmith/Generated/LangSmith.RunClient.CreateRule.g.cs index 50431390..0343217b 100644 --- a/src/libs/LangSmith/Generated/LangSmith.RunClient.CreateRule.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.RunClient.CreateRule.g.cs @@ -208,6 +208,9 @@ partial void ProcessCreateRuleResponseContent( /// /// Default Value: false /// + /// + /// Default Value: false + /// /// /// /// @@ -232,6 +235,7 @@ partial void ProcessCreateRuleResponseContent( bool? useCorrectionsDataset = default, int? numFewShotExamples = default, bool? extendOnly = default, + bool? transient = default, global::System.Guid? addToAnnotationQueueId = default, global::System.Guid? addToDatasetId = default, bool? addToDatasetPreferCorrection = default, @@ -255,6 +259,7 @@ partial void ProcessCreateRuleResponseContent( UseCorrectionsDataset = useCorrectionsDataset, NumFewShotExamples = numFewShotExamples, ExtendOnly = extendOnly, + Transient = transient, AddToAnnotationQueueId = addToAnnotationQueueId, AddToDatasetId = addToDatasetId, AddToDatasetPreferCorrection = addToDatasetPreferCorrection, diff --git a/src/libs/LangSmith/Generated/LangSmith.RunClient.ListRules.g.cs b/src/libs/LangSmith/Generated/LangSmith.RunClient.ListRules.g.cs index 2a462325..6649f2e4 100644 --- a/src/libs/LangSmith/Generated/LangSmith.RunClient.ListRules.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.RunClient.ListRules.g.cs @@ -10,14 +10,16 @@ partial void PrepareListRulesArguments( ref global::System.Guid? datasetId, ref global::System.Guid? sessionId, ref global::LangSmith.ListRulesApiV1RunsRulesGetType? type, - ref string? nameContains); + ref string? nameContains, + global::System.Collections.Generic.IList? id); partial void PrepareListRulesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::System.Guid? datasetId, global::System.Guid? sessionId, global::LangSmith.ListRulesApiV1RunsRulesGetType? type, - string? nameContains); + string? nameContains, + global::System.Collections.Generic.IList? id); partial void ProcessListRulesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -35,6 +37,7 @@ partial void ProcessListRulesResponseContent( /// /// /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListRulesAsync( @@ -42,6 +45,7 @@ partial void ProcessListRulesResponseContent( global::System.Guid? sessionId = default, global::LangSmith.ListRulesApiV1RunsRulesGetType? type = default, string? nameContains = default, + global::System.Collections.Generic.IList? id = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -51,7 +55,8 @@ partial void ProcessListRulesResponseContent( datasetId: ref datasetId, sessionId: ref sessionId, type: ref type, - nameContains: ref nameContains); + nameContains: ref nameContains, + id: id); var __pathBuilder = new PathBuilder( path: "/api/v1/runs/rules", @@ -61,6 +66,7 @@ partial void ProcessListRulesResponseContent( .AddOptionalParameter("session_id", sessionId?.ToString()) .AddOptionalParameter("type", type?.ToValueString()) .AddOptionalParameter("name_contains", nameContains) + .AddOptionalParameter("id", id, selector: static x => x.ToString(), delimiter: ",", explode: true) ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -96,7 +102,8 @@ partial void ProcessListRulesResponseContent( datasetId: datasetId, sessionId: sessionId, type: type, - nameContains: nameContains); + nameContains: nameContains, + id: id); using var __response = await HttpClient.SendAsync( request: __httpRequest, diff --git a/src/libs/LangSmith/Generated/LangSmith.RunClient.UpdateRule.g.cs b/src/libs/LangSmith/Generated/LangSmith.RunClient.UpdateRule.g.cs index fb12a16b..4ce63da0 100644 --- a/src/libs/LangSmith/Generated/LangSmith.RunClient.UpdateRule.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.RunClient.UpdateRule.g.cs @@ -215,6 +215,9 @@ partial void ProcessUpdateRuleResponseContent( /// /// Default Value: false /// + /// + /// Default Value: false + /// /// /// /// @@ -240,6 +243,7 @@ partial void ProcessUpdateRuleResponseContent( bool? useCorrectionsDataset = default, int? numFewShotExamples = default, bool? extendOnly = default, + bool? transient = default, global::System.Guid? addToAnnotationQueueId = default, global::System.Guid? addToDatasetId = default, bool? addToDatasetPreferCorrection = default, @@ -263,6 +267,7 @@ partial void ProcessUpdateRuleResponseContent( UseCorrectionsDataset = useCorrectionsDataset, NumFewShotExamples = numFewShotExamples, ExtendOnly = extendOnly, + Transient = transient, AddToAnnotationQueueId = addToAnnotationQueueId, AddToDatasetId = addToDatasetId, AddToDatasetPreferCorrection = addToDatasetPreferCorrection, diff --git a/src/libs/LangSmith/openapi.yaml b/src/libs/LangSmith/openapi.yaml index d9f94e2a..ce39e871 100644 --- a/src/libs/LangSmith/openapi.yaml +++ b/src/libs/LangSmith/openapi.yaml @@ -3927,6 +3927,15 @@ paths: title: Name Contains type: string nullable: true + - name: id + in: query + schema: + title: Id + type: array + items: + type: string + format: uuid + nullable: true responses: '200': description: Successful Response @@ -6169,6 +6178,35 @@ paths: - ApiKey: [ ] - TenantId: [ ] - BearerAuth: [ ] + /api/v1/annotation-queues/populate: + post: + tags: + - annotation-queues + summary: Populate Annotation Queue + description: Populate annotation queue with runs from an experiment. + operationId: populate_annotation_queue_api_v1_annotation_queues_populate_post + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PopulateAnnotationQueueSchema' + required: true + responses: + '200': + description: Successful Response + content: + application/json: + schema: { } + '422': + description: Validation Error + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + security: + - ApiKey: [ ] + - TenantId: [ ] + - BearerAuth: [ ] '/api/v1/annotation-queues/{queue_id}': delete: tags: @@ -11776,6 +11814,13 @@ components: title: Rubric Instructions type: string nullable: true + session_ids: + title: Session Ids + type: array + items: + type: string + format: uuid + nullable: true description: AnnotationQueue schema. AnnotationQueueRubricItemSchema: title: AnnotationQueueRubricItemSchema @@ -11896,6 +11941,11 @@ components: title: Tenant Id type: string format: uuid + source_rule_id: + title: Source Rule Id + type: string + format: uuid + nullable: true description: AnnotationQueue schema. AnnotationQueueSchemaWithRubric: title: AnnotationQueueSchemaWithRubric @@ -11948,6 +11998,11 @@ components: title: Tenant Id type: string format: uuid + source_rule_id: + title: Source Rule Id + type: string + format: uuid + nullable: true rubric_items: title: Rubric Items type: array @@ -12011,6 +12066,11 @@ components: title: Tenant Id type: string format: uuid + source_rule_id: + title: Source Rule Id + type: string + format: uuid + nullable: true total_runs: title: Total Runs type: integer @@ -16783,6 +16843,18 @@ components: title: Use Exact Search For Prompts type: boolean default: false + langgraph_deploy_own_cloud_enabled: + title: Langgraph Deploy Own Cloud Enabled + type: boolean + default: false + prompt_optimization: + title: Prompt Optimization + type: boolean + default: false + enable_k8s_vanilla_platform: + title: Enable K8S Vanilla Platform + type: boolean + default: false flags: title: Flags type: object @@ -17366,6 +17438,23 @@ components: title: Settings type: object nullable: true + PopulateAnnotationQueueSchema: + title: PopulateAnnotationQueueSchema + required: + - queue_id + - session_ids + type: object + properties: + queue_id: + title: Queue Id + type: string + format: uuid + session_ids: + title: Session Ids + type: array + items: + type: string + format: uuid PromptOptimizationJob: title: PromptOptimizationJob required: @@ -18788,6 +18877,10 @@ components: title: Extend Only type: boolean default: false + transient: + title: Transient + type: boolean + default: false add_to_annotation_queue_id: title: Add To Annotation Queue Id type: string @@ -18980,6 +19073,10 @@ components: type: string format: date-time nullable: true + transient: + title: Transient + type: boolean + default: false evaluator_version: title: Evaluator Version type: integer