From 646c2205031a59508ed91303d488b384dd2a75f5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 12 Jan 2025 01:41:45 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/JsonSerializerContextTypes.g.cs | 432 +++++++++--------- ...ngSmith.DatasetsClient.DatasetHandler.g.cs | 3 + ...h.DatasetsClient.StreamDatasetHandler.g.cs | 3 + ...gSmith.IDatasetsClient.DatasetHandler.g.cs | 2 + ....IDatasetsClient.StreamDatasetHandler.g.cs | 2 + ...ttingsClient.CreatePlaygroundSettings.g.cs | 2 + ...ttingsClient.UpdatePlaygroundSettings.g.cs | 2 + ...PlaygroundRunOverDatasetRequestSchema.g.cs | 9 + ...th.Models.PlaygroundSavedOptions.Json.g.cs | 92 ++++ ...ngSmith.Models.PlaygroundSavedOptions.g.cs | 41 ++ ...odels.PlaygroundSettingsCreateRequest.g.cs | 11 +- ...ith.Models.PlaygroundSettingsResponse.g.cs | 9 + ...odels.PlaygroundSettingsUpdateRequest.g.cs | 11 +- ...ttingsClient.CreatePlaygroundSettings.g.cs | 3 + ...ttingsClient.UpdatePlaygroundSettings.g.cs | 3 + src/libs/LangSmith/openapi.yaml | 18 + 16 files changed, 427 insertions(+), 216 deletions(-) create mode 100644 src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSavedOptions.Json.g.cs create mode 100644 src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSavedOptions.g.cs diff --git a/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs b/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs index 24e61a0..faf04a4 100644 --- a/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs @@ -1346,858 +1346,862 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::LangSmith.PlaygroundSettingsCreateRequest? Type330 { get; set; } + public global::LangSmith.PlaygroundSavedOptions? Type330 { get; set; } /// /// /// - public global::LangSmith.PlaygroundSettingsResponse? Type331 { get; set; } + public global::LangSmith.PlaygroundSettingsCreateRequest? Type331 { get; set; } /// /// /// - public global::LangSmith.PlaygroundSettingsUpdateRequest? Type332 { get; set; } + public global::LangSmith.PlaygroundSettingsResponse? Type332 { get; set; } /// /// /// - public global::LangSmith.PopulateAnnotationQueueSchema? Type333 { get; set; } + public global::LangSmith.PlaygroundSettingsUpdateRequest? Type333 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJob? Type334 { get; set; } + public global::LangSmith.PopulateAnnotationQueueSchema? Type334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type335 { get; set; } + public global::LangSmith.PromptOptimizationJob? Type335 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationResult? Type336 { get; set; } + public global::System.Collections.Generic.IList? Type336 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobCreate? Type337 { get; set; } + public global::LangSmith.PromptOptimizationResult? Type337 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobLog? Type338 { get; set; } + public global::LangSmith.PromptOptimizationJobCreate? Type338 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobLogCreate? Type339 { get; set; } + public global::LangSmith.PromptOptimizationJobLog? Type339 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobUpdate? Type340 { get; set; } + public global::LangSmith.PromptOptimizationJobLogCreate? Type340 { get; set; } /// /// /// - public global::LangSmith.PromptOptimizationJobWithLogs? Type341 { get; set; } + public global::LangSmith.PromptOptimizationJobUpdate? Type341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type342 { get; set; } + public global::LangSmith.PromptOptimizationJobWithLogs? Type342 { get; set; } /// /// /// - public global::LangSmith.PublicComparativeExperiment? Type343 { get; set; } + public global::System.Collections.Generic.IList? Type343 { get; set; } /// /// /// - public global::LangSmith.PublicExampleWithRuns? Type344 { get; set; } + public global::LangSmith.PublicComparativeExperiment? Type344 { get; set; } /// /// /// - public global::LangSmith.PutDatasetVersionsSchema? Type345 { get; set; } + public global::LangSmith.PublicExampleWithRuns? Type345 { get; set; } /// /// /// - public global::LangSmith.AnyOf? Type346 { get; set; } + public global::LangSmith.PutDatasetVersionsSchema? Type346 { get; set; } /// /// /// - public global::LangSmith.QueryExampleSchemaWithRuns? Type347 { get; set; } + public global::LangSmith.AnyOf? Type347 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type348 { get; set; } + public global::LangSmith.QueryExampleSchemaWithRuns? Type348 { get; set; } /// /// /// - public global::LangSmith.QueryFeedbackDelta? Type349 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type349 { get; set; } /// /// /// - public global::LangSmith.QueryParamsForPublicRunSchema? Type350 { get; set; } + public global::LangSmith.QueryFeedbackDelta? Type350 { get; set; } /// /// /// - public global::LangSmith.RepoTag? Type351 { get; set; } + public global::LangSmith.QueryParamsForPublicRunSchema? Type351 { get; set; } /// /// /// - public global::LangSmith.RepoTagRequest? Type352 { get; set; } + public global::LangSmith.RepoTag? Type352 { get; set; } /// /// /// - public global::LangSmith.RepoUpdateTagRequest? Type353 { get; set; } + public global::LangSmith.RepoTagRequest? Type353 { get; set; } /// /// /// - public global::LangSmith.RequestBodyForRunsGenerateQuery? Type354 { get; set; } + public global::LangSmith.RepoUpdateTagRequest? Type354 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type355 { get; set; } + public global::LangSmith.RequestBodyForRunsGenerateQuery? Type355 { get; set; } /// /// /// - public global::LangSmith.RunsGenerateQueryFeedbackKeys? Type356 { get; set; } + public global::System.Collections.Generic.IList? Type356 { get; set; } /// /// /// - public global::LangSmith.Resource? Type357 { get; set; } + public global::LangSmith.RunsGenerateQueryFeedbackKeys? Type357 { get; set; } /// /// /// - public global::LangSmith.ResourceType? Type358 { get; set; } + public global::LangSmith.Resource? Type358 { get; set; } /// /// /// - public global::LangSmith.ResponseBodyForRunsGenerateQuery? Type359 { get; set; } + public global::LangSmith.ResourceType? Type359 { get; set; } /// /// /// - public global::LangSmith.Role? Type360 { get; set; } + public global::LangSmith.ResponseBodyForRunsGenerateQuery? Type360 { get; set; } /// /// /// - public global::LangSmith.RuleLogActionOutcome? Type361 { get; set; } + public global::LangSmith.Role? Type361 { get; set; } /// /// /// - public global::LangSmith.RuleLogActionResponse? Type362 { get; set; } + public global::LangSmith.RuleLogActionOutcome? Type362 { get; set; } /// /// /// - public global::LangSmith.RuleLogSchema? Type363 { get; set; } + public global::LangSmith.RuleLogActionResponse? Type363 { get; set; } /// /// /// - public global::LangSmith.RunGroupBy? Type364 { get; set; } + public global::LangSmith.RuleLogSchema? Type364 { get; set; } /// /// /// - public global::LangSmith.RunGroupRequest? Type365 { get; set; } + public global::LangSmith.RunGroupBy? Type365 { get; set; } /// /// /// - public global::LangSmith.RunGroupStats? Type366 { get; set; } + public global::LangSmith.RunGroupRequest? Type366 { get; set; } /// /// /// - public global::LangSmith.RunRulesAlertType? Type367 { get; set; } + public global::LangSmith.RunGroupStats? Type367 { get; set; } /// /// /// - public global::LangSmith.RunRulesCreateSchema? Type368 { get; set; } + public global::LangSmith.RunRulesAlertType? Type368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type369 { get; set; } + public global::LangSmith.RunRulesCreateSchema? Type369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type370 { get; set; } + public global::System.Collections.Generic.IList? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type371 { get; set; } + public global::System.Collections.Generic.IList? Type371 { get; set; } /// /// /// - public global::LangSmith.RunRulesPagerdutyAlertSchema? Type372 { get; set; } + public global::System.Collections.Generic.IList? Type372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type373 { get; set; } + public global::LangSmith.RunRulesPagerdutyAlertSchema? Type373 { get; set; } /// /// /// - public global::LangSmith.RunRulesWebhookSchema? Type374 { get; set; } + public global::System.Collections.Generic.IList? Type374 { get; set; } /// /// /// - public global::LangSmith.RunRulesSchema? Type375 { get; set; } + public global::LangSmith.RunRulesWebhookSchema? Type375 { get; set; } /// /// /// - public global::LangSmith.RunSchemaWithAnnotationQueueInfo? Type376 { get; set; } + public global::LangSmith.RunRulesSchema? Type376 { get; set; } /// /// /// - public global::LangSmith.RunShareSchema? Type377 { get; set; } + public global::LangSmith.RunSchemaWithAnnotationQueueInfo? Type377 { get; set; } /// /// /// - public global::LangSmith.RunStats? Type378 { get; set; } + public global::LangSmith.RunShareSchema? Type378 { get; set; } /// /// /// - public global::LangSmith.SSOConfirmEmailRequest? Type379 { get; set; } + public global::LangSmith.RunStats? Type379 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationSendRequest? Type380 { get; set; } + public global::LangSmith.SSOConfirmEmailRequest? Type380 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationStatusRequest? Type381 { get; set; } + public global::LangSmith.SSOEmailVerificationSendRequest? Type381 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationStatusResponse? Type382 { get; set; } + public global::LangSmith.SSOEmailVerificationStatusRequest? Type382 { get; set; } /// /// /// - public global::LangSmith.SSOProvider? Type383 { get; set; } + public global::LangSmith.SSOEmailVerificationStatusResponse? Type383 { get; set; } /// /// /// - public global::LangSmith.SSOProviderSlim? Type384 { get; set; } + public global::LangSmith.SSOProvider? Type384 { get; set; } /// /// /// - public global::LangSmith.SSOSettingsCreate? Type385 { get; set; } + public global::LangSmith.SSOProviderSlim? Type385 { get; set; } /// /// /// - public global::LangSmith.SSOSettingsUpdate? Type386 { get; set; } + public global::LangSmith.SSOSettingsCreate? Type386 { get; set; } /// /// /// - public global::LangSmith.SearchDatasetRequest? Type387 { get; set; } + public global::LangSmith.SSOSettingsUpdate? Type387 { get; set; } /// /// /// - public global::LangSmith.SearchDatasetResponse? Type388 { get; set; } + public global::LangSmith.SearchDatasetRequest? Type388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type389 { get; set; } + public global::LangSmith.SearchDatasetResponse? Type389 { get; set; } /// /// /// - public global::LangSmith.SearchedFewShotExample? Type390 { get; set; } + public global::System.Collections.Generic.IList? Type390 { get; set; } /// /// /// - public global::LangSmith.SecretKey? Type391 { get; set; } + public global::LangSmith.SearchedFewShotExample? Type391 { get; set; } /// /// /// - public global::LangSmith.SecretUpsert? Type392 { get; set; } + public global::LangSmith.SecretKey? Type392 { get; set; } /// /// /// - public global::LangSmith.ServiceAccount? Type393 { get; set; } + public global::LangSmith.SecretUpsert? Type393 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountCreateRequest? Type394 { get; set; } + public global::LangSmith.ServiceAccount? Type394 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountCreateResponse? Type395 { get; set; } + public global::LangSmith.ServiceAccountCreateRequest? Type395 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountDeleteResponse? Type396 { get; set; } + public global::LangSmith.ServiceAccountCreateResponse? Type396 { get; set; } /// /// /// - public global::LangSmith.SessionFeedbackDelta? Type397 { get; set; } + public global::LangSmith.ServiceAccountDeleteResponse? Type397 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type398 { get; set; } + public global::LangSmith.SessionFeedbackDelta? Type398 { get; set; } /// /// /// - public global::LangSmith.SessionSortableColumns? Type399 { get; set; } + public global::System.Collections.Generic.Dictionary? Type399 { get; set; } /// /// /// - public global::LangSmith.SetTenantHandleRequest? Type400 { get; set; } + public global::LangSmith.SessionSortableColumns? Type400 { get; set; } /// /// /// - public global::LangSmith.SingleCustomChartResponseBase? Type401 { get; set; } + public global::LangSmith.SetTenantHandleRequest? Type401 { get; set; } /// /// /// - public global::LangSmith.SortByComparativeExperimentColumn? Type402 { get; set; } + public global::LangSmith.SingleCustomChartResponseBase? Type402 { get; set; } /// /// /// - public global::LangSmith.SortByDatasetColumn? Type403 { get; set; } + public global::LangSmith.SortByComparativeExperimentColumn? Type403 { get; set; } /// /// /// - public global::LangSmith.SourceType? Type404 { get; set; } + public global::LangSmith.SortByDatasetColumn? Type404 { get; set; } /// /// /// - public global::LangSmith.StripeAccountLinksCreate? Type405 { get; set; } + public global::LangSmith.SourceType? Type405 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessBillingInfo? Type406 { get; set; } + public global::LangSmith.StripeAccountLinksCreate? Type406 { get; set; } /// /// /// - public global::LangSmith.StripeCustomerAddress? Type407 { get; set; } + public global::LangSmith.StripeBusinessBillingInfo? Type407 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessInfoInput? Type408 { get; set; } + public global::LangSmith.StripeCustomerAddress? Type408 { get; set; } /// /// /// - public global::LangSmith.StripeTaxId? Type409 { get; set; } + public global::LangSmith.StripeBusinessInfoInput? Type409 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessInfoOutput? Type410 { get; set; } + public global::LangSmith.StripeTaxId? Type410 { get; set; } /// /// /// - public global::LangSmith.StripeCheckoutSessionsConfirm? Type411 { get; set; } + public global::LangSmith.StripeBusinessInfoOutput? Type411 { get; set; } /// /// /// - public global::LangSmith.StripeCheckoutSessionsCreate? Type412 { get; set; } + public global::LangSmith.StripeCheckoutSessionsConfirm? Type412 { get; set; } /// /// /// - public global::LangSmith.StripeCustomerBillingInfo? Type413 { get; set; } + public global::LangSmith.StripeCheckoutSessionsCreate? Type413 { get; set; } /// /// /// - public global::LangSmith.StripePaymentInformation? Type414 { get; set; } + public global::LangSmith.StripeCustomerBillingInfo? Type414 { get; set; } /// /// /// - public global::LangSmith.StripeSetupIntentResponse? Type415 { get; set; } + public global::LangSmith.StripePaymentInformation? Type415 { get; set; } /// /// /// - public global::LangSmith.TTLSettings? Type416 { get; set; } + public global::LangSmith.StripeSetupIntentResponse? Type416 { get; set; } /// /// /// - public global::LangSmith.TagKey? Type417 { get; set; } + public global::LangSmith.TTLSettings? Type417 { get; set; } /// /// /// - public global::LangSmith.TagKeyCreate? Type418 { get; set; } + public global::LangSmith.TagKey? Type418 { get; set; } /// /// /// - public global::LangSmith.TagKeyUpdate? Type419 { get; set; } + public global::LangSmith.TagKeyCreate? Type419 { get; set; } /// /// /// - public global::LangSmith.TagKeyWithValues? Type420 { get; set; } + public global::LangSmith.TagKeyUpdate? Type420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type421 { get; set; } + public global::LangSmith.TagKeyWithValues? Type421 { get; set; } /// /// /// - public global::LangSmith.TagValue? Type422 { get; set; } + public global::System.Collections.Generic.IList? Type422 { get; set; } /// /// /// - public global::LangSmith.TagKeyWithValuesAndTaggings? Type423 { get; set; } + public global::LangSmith.TagValue? Type423 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type424 { get; set; } + public global::LangSmith.TagKeyWithValuesAndTaggings? Type424 { get; set; } /// /// /// - public global::LangSmith.TagValueWithTaggings? Type425 { get; set; } + public global::System.Collections.Generic.IList? Type425 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type426 { get; set; } + public global::LangSmith.TagValueWithTaggings? Type426 { get; set; } /// /// /// - public global::LangSmith.Tagging? Type427 { get; set; } + public global::System.Collections.Generic.IList? Type427 { get; set; } /// /// /// - public global::LangSmith.TagValueCreate? Type428 { get; set; } + public global::LangSmith.Tagging? Type428 { get; set; } /// /// /// - public global::LangSmith.TagValueUpdate? Type429 { get; set; } + public global::LangSmith.TagValueCreate? Type429 { get; set; } /// /// /// - public global::LangSmith.TaggingCreate? Type430 { get; set; } + public global::LangSmith.TagValueUpdate? Type430 { get; set; } /// /// /// - public global::LangSmith.TaggingsByResourceType? Type431 { get; set; } + public global::LangSmith.TaggingCreate? Type431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type432 { get; set; } + public global::LangSmith.TaggingsByResourceType? Type432 { get; set; } /// /// /// - public global::LangSmith.TaggingsResponse? Type433 { get; set; } + public global::System.Collections.Generic.IList? Type433 { get; set; } /// /// /// - public global::LangSmith.TenantBulkUnshareRequest? Type434 { get; set; } + public global::LangSmith.TaggingsResponse? Type434 { get; set; } /// /// /// - public global::LangSmith.TenantCreate? Type435 { get; set; } + public global::LangSmith.TenantBulkUnshareRequest? Type435 { get; set; } /// /// /// - public global::LangSmith.TenantForUser? Type436 { get; set; } + public global::LangSmith.TenantCreate? Type436 { get; set; } /// /// /// - public global::LangSmith.TenantMembers? Type437 { get; set; } + public global::LangSmith.TenantForUser? Type437 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type438 { get; set; } + public global::LangSmith.TenantMembers? Type438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type439 { get; set; } + public global::System.Collections.Generic.IList? Type439 { get; set; } /// /// /// - public global::LangSmith.TenantShareDatasetToken? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::LangSmith.TenantShareDatasetTokenType? Type441 { get; set; } + public global::LangSmith.TenantShareDatasetToken? Type441 { get; set; } /// /// /// - public global::LangSmith.TenantShareRunToken? Type442 { get; set; } + public global::LangSmith.TenantShareDatasetTokenType? Type442 { get; set; } /// /// /// - public global::LangSmith.TenantShareRunTokenType? Type443 { get; set; } + public global::LangSmith.TenantShareRunToken? Type443 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponse? Type444 { get; set; } + public global::LangSmith.TenantShareRunTokenType? Type444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type445 { get; set; } + public global::LangSmith.TenantShareTokensResponse? Type445 { get; set; } /// /// /// - public global::LangSmith.EntitiesItem? Type446 { get; set; } + public global::System.Collections.Generic.IList? Type446 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponseEntitieDiscriminator? Type447 { get; set; } + public global::LangSmith.EntitiesItem? Type447 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponseEntitieDiscriminatorType? Type448 { get; set; } + public global::LangSmith.TenantShareTokensResponseEntitieDiscriminator? Type448 { get; set; } /// /// /// - public global::LangSmith.TenantStats? Type449 { get; set; } + public global::LangSmith.TenantShareTokensResponseEntitieDiscriminatorType? Type449 { get; set; } /// /// /// - public global::LangSmith.TenantUsageLimitInfo? Type450 { get; set; } + public global::LangSmith.TenantStats? Type450 { get; set; } /// /// /// - public global::LangSmith.TenantUsageLimitType? Type451 { get; set; } + public global::LangSmith.TenantUsageLimitInfo? Type451 { get; set; } /// /// /// - public global::LangSmith.TracerSessionCreate? Type452 { get; set; } + public global::LangSmith.TenantUsageLimitType? Type452 { get; set; } /// /// /// - public global::LangSmith.TracerSessionUpdate? Type453 { get; set; } + public global::LangSmith.TracerSessionCreate? Type453 { get; set; } /// /// /// - public global::LangSmith.TracerSessionWithoutVirtualFields? Type454 { get; set; } + public global::LangSmith.TracerSessionUpdate? Type454 { get; set; } /// /// /// - public global::LangSmith.TriggerRulesRequest? Type455 { get; set; } + public global::LangSmith.TracerSessionWithoutVirtualFields? Type455 { get; set; } /// /// /// - public global::LangSmith.UpdateFeedbackConfigSchema? Type456 { get; set; } + public global::LangSmith.TriggerRulesRequest? Type456 { get; set; } /// /// /// - public global::LangSmith.UpdateRepoRequest? Type457 { get; set; } + public global::LangSmith.UpdateFeedbackConfigSchema? Type457 { get; set; } /// /// /// - public global::LangSmith.UpdateRoleRequest? Type458 { get; set; } + public global::LangSmith.UpdateRepoRequest? Type458 { get; set; } /// /// /// - public global::LangSmith.UpsertTTLSettingsRequest? Type459 { get; set; } + public global::LangSmith.UpdateRoleRequest? Type459 { get; set; } /// /// /// - public global::LangSmith.UpsertUsageLimit? Type460 { get; set; } + public global::LangSmith.UpsertTTLSettingsRequest? Type460 { get; set; } /// /// /// - public global::LangSmith.UsageLimitType? Type461 { get; set; } + public global::LangSmith.UpsertUsageLimit? Type461 { get; set; } /// /// /// - public global::LangSmith.UsageLimit? Type462 { get; set; } + public global::LangSmith.UsageLimitType? Type462 { get; set; } /// /// /// - public global::LangSmith.UserWithPassword? Type463 { get; set; } + public global::LangSmith.UsageLimit? Type463 { get; set; } /// /// /// - public global::LangSmith.WorkspaceCreate? Type464 { get; set; } + public global::LangSmith.UserWithPassword? Type464 { get; set; } /// /// /// - public global::LangSmith.WorkspacePatch? Type465 { get; set; } + public global::LangSmith.WorkspaceCreate? Type465 { get; set; } /// /// /// - public global::LangSmith.AppHubCrudOptimizeOptimizePromptResponse? Type466 { get; set; } + public global::LangSmith.WorkspacePatch? Type466 { get; set; } /// /// /// - public global::LangSmith.AppHubCrudTenantsTenant? Type467 { get; set; } + public global::LangSmith.AppHubCrudOptimizeOptimizePromptResponse? Type467 { get; set; } /// /// /// - public global::LangSmith.AppSchemasOptimizePromptResponse? Type468 { get; set; } + public global::LangSmith.AppHubCrudTenantsTenant? Type468 { get; set; } /// /// /// - public global::LangSmith.AppSchemasTenant? Type469 { get; set; } + public global::LangSmith.AppSchemasOptimizePromptResponse? Type469 { get; set; } /// /// /// - public global::LangSmith.CreateRunRequest? Type470 { get; set; } + public global::LangSmith.AppSchemasTenant? Type470 { get; set; } /// /// /// - public global::LangSmith.CreateRunRequestRunType? Type471 { get; set; } + public global::LangSmith.CreateRunRequest? Type471 { get; set; } /// /// /// - public global::LangSmith.OneOf? Type472 { get; set; } + public global::LangSmith.CreateRunRequestRunType? Type472 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequest? Type473 { get; set; } + public global::LangSmith.OneOf? Type473 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type474 { get; set; } + public global::LangSmith.BatchIngestRunsRequest? Type474 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPostItem? Type475 { get; set; } + public global::System.Collections.Generic.IList? Type475 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPostItemRunType? Type476 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPostItem? Type476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type477 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPostItemRunType? Type477 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPatchItem? Type478 { get; set; } + public global::System.Collections.Generic.IList? Type478 { get; set; } /// /// /// - public global::LangSmith.UpdateRunRequest? Type479 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPatchItem? Type479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type480 { get; set; } + public global::LangSmith.UpdateRunRequest? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::System.Collections.Generic.IList? Type481 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type482 { get; set; } + public global::System.Collections.Generic.IList? Type482 { get; set; } /// /// /// - public global::LangSmith.AnyOf>? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type484 { get; set; } + public global::LangSmith.AnyOf>? Type484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type485 { get; set; } + public global::System.Collections.Generic.IList? Type485 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type486 { get; set; } + public global::System.Collections.Generic.IList? Type486 { get; set; } /// /// /// - public global::LangSmith.AnyOf, global::LangSmith.DataType?>? Type487 { get; set; } + public global::System.Collections.Generic.IList? Type487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type488 { get; set; } + public global::LangSmith.AnyOf, global::LangSmith.DataType?>? Type488 { get; set; } /// /// /// - public global::LangSmith.ListRulesApiV1RunsRulesGetType? Type489 { get; set; } + public global::System.Collections.Generic.IList? Type489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type490 { get; set; } + public global::LangSmith.ListRulesApiV1RunsRulesGetType? Type490 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetIsArchived? Type491 { get; set; } + public global::System.Collections.Generic.IList? Type491 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetIsPublic? Type492 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetIsArchived? Type492 { get; set; } /// /// /// - public global::LangSmith.AnyOf? Type493 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetIsPublic? Type493 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant1? Type494 { get; set; } + public global::LangSmith.AnyOf? Type494 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant2? Type495 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant1? Type495 { get; set; } /// /// /// - public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsArchived? Type496 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant2? Type496 { get; set; } /// /// /// - public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsPublic? Type497 { get; set; } + public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsArchived? Type497 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type498 { get; set; } + public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsPublic? Type498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type499 { get; set; } + public global::System.Collections.Generic.IList? 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::LangSmith.AnyOf, global::System.Collections.Generic.IList>? Type511 { get; set; } + public global::System.Collections.Generic.IList? Type511 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type512 { get; set; } + public global::LangSmith.AnyOf, global::System.Collections.Generic.IList>? Type512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type513 { get; set; } + public 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::LangSmith.AnyOf>? Type518 { get; set; } + public global::System.Collections.Generic.IList? Type518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type519 { get; set; } + public global::LangSmith.AnyOf>? Type519 { get; set; } /// /// /// - public global::LangSmith.AnyOf, global::System.Collections.Generic.IList>? Type520 { get; set; } + public global::System.Collections.Generic.IList? Type520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type521 { get; set; } + public global::LangSmith.AnyOf, global::System.Collections.Generic.IList>? Type521 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type522 { get; set; } + public 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.DatasetsClient.DatasetHandler.g.cs b/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.DatasetHandler.g.cs index d0a1f52..71ba70f 100644 --- a/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.DatasetHandler.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.DatasetHandler.g.cs @@ -199,6 +199,7 @@ partial void ProcessDatasetHandlerResponseContent( /// /// /// + /// /// /// /// @@ -221,6 +222,7 @@ partial void ProcessDatasetHandlerResponseContent( string? owner = default, string? commit = default, global::System.Collections.Generic.IList? evaluatorRules = default, + int? requestsPerSecond = default, global::System.Collections.Generic.IList? datasetSplits = default, int? repetitions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -240,6 +242,7 @@ partial void ProcessDatasetHandlerResponseContent( Owner = owner, Commit = commit, EvaluatorRules = evaluatorRules, + RequestsPerSecond = requestsPerSecond, DatasetId = datasetId, DatasetSplits = datasetSplits, Repetitions = repetitions, diff --git a/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.StreamDatasetHandler.g.cs b/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.StreamDatasetHandler.g.cs index 2561043..09c38db 100644 --- a/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.StreamDatasetHandler.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.StreamDatasetHandler.g.cs @@ -199,6 +199,7 @@ partial void ProcessStreamDatasetHandlerResponseContent( /// /// /// + /// /// /// /// @@ -221,6 +222,7 @@ partial void ProcessStreamDatasetHandlerResponseContent( string? owner = default, string? commit = default, global::System.Collections.Generic.IList? evaluatorRules = default, + int? requestsPerSecond = default, global::System.Collections.Generic.IList? datasetSplits = default, int? repetitions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -240,6 +242,7 @@ partial void ProcessStreamDatasetHandlerResponseContent( Owner = owner, Commit = commit, EvaluatorRules = evaluatorRules, + RequestsPerSecond = requestsPerSecond, DatasetId = datasetId, DatasetSplits = datasetSplits, Repetitions = repetitions, diff --git a/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.DatasetHandler.g.cs b/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.DatasetHandler.g.cs index 8818e45..915c6db 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.DatasetHandler.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.DatasetHandler.g.cs @@ -32,6 +32,7 @@ public partial interface IDatasetsClient /// /// /// + /// /// /// /// @@ -54,6 +55,7 @@ public partial interface IDatasetsClient string? owner = default, string? commit = default, global::System.Collections.Generic.IList? evaluatorRules = default, + int? requestsPerSecond = default, global::System.Collections.Generic.IList? datasetSplits = default, int? repetitions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.StreamDatasetHandler.g.cs b/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.StreamDatasetHandler.g.cs index bc3f17b..93e9229 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.StreamDatasetHandler.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.StreamDatasetHandler.g.cs @@ -32,6 +32,7 @@ public partial interface IDatasetsClient /// /// /// + /// /// /// /// @@ -54,6 +55,7 @@ public partial interface IDatasetsClient string? owner = default, string? commit = default, global::System.Collections.Generic.IList? evaluatorRules = default, + int? requestsPerSecond = default, global::System.Collections.Generic.IList? datasetSplits = default, int? repetitions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/LangSmith/Generated/LangSmith.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.cs b/src/libs/LangSmith/Generated/LangSmith.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.cs index 3aff552..516b03d 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.cs @@ -22,12 +22,14 @@ public partial interface IPlaygroundSettingsClient /// /// /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreatePlaygroundSettingsAsync( object settings, string? name = default, string? description = default, + global::LangSmith.PlaygroundSavedOptions? options = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs b/src/libs/LangSmith/Generated/LangSmith.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs index a5ba4d2..55744ca 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs @@ -25,6 +25,7 @@ public partial interface IPlaygroundSettingsClient /// /// /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpdatePlaygroundSettingsAsync( @@ -32,6 +33,7 @@ public partial interface IPlaygroundSettingsClient string? name = default, string? description = default, object? settings = default, + global::LangSmith.PlaygroundSavedOptions? options = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundRunOverDatasetRequestSchema.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundRunOverDatasetRequestSchema.g.cs index e585f73..f5b687e 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundRunOverDatasetRequestSchema.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundRunOverDatasetRequestSchema.g.cs @@ -90,6 +90,12 @@ public sealed partial class PlaygroundRunOverDatasetRequestSchema [global::System.Text.Json.Serialization.JsonPropertyName("evaluator_rules")] public global::System.Collections.Generic.IList? EvaluatorRules { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("requests_per_second")] + public int? RequestsPerSecond { get; set; } + /// /// /// @@ -133,6 +139,7 @@ public sealed partial class PlaygroundRunOverDatasetRequestSchema /// /// /// + /// /// /// /// @@ -154,6 +161,7 @@ public PlaygroundRunOverDatasetRequestSchema( string? owner, string? commit, global::System.Collections.Generic.IList? evaluatorRules, + int? requestsPerSecond, global::System.Collections.Generic.IList? datasetSplits, int? repetitions) { @@ -171,6 +179,7 @@ public PlaygroundRunOverDatasetRequestSchema( this.Owner = owner; this.Commit = commit; this.EvaluatorRules = evaluatorRules; + this.RequestsPerSecond = requestsPerSecond; this.DatasetSplits = datasetSplits; this.Repetitions = repetitions; } diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSavedOptions.Json.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSavedOptions.Json.g.cs new file mode 100644 index 0000000..2e12fca --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSavedOptions.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace LangSmith +{ + public sealed partial class PlaygroundSavedOptions + { + /// + /// 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.PlaygroundSavedOptions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LangSmith.PlaygroundSavedOptions), + jsonSerializerContext) as global::LangSmith.PlaygroundSavedOptions; + } + + /// + /// 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.PlaygroundSavedOptions? 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.PlaygroundSavedOptions), + jsonSerializerContext).ConfigureAwait(false)) as global::LangSmith.PlaygroundSavedOptions; + } + + /// + /// 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.PlaygroundSavedOptions.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSavedOptions.g.cs new file mode 100644 index 0000000..924bbc9 --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSavedOptions.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace LangSmith +{ + /// + /// + /// + public sealed partial class PlaygroundSavedOptions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("requests_per_second")] + public int? RequestsPerSecond { 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 PlaygroundSavedOptions( + int? requestsPerSecond) + { + this.RequestsPerSecond = requestsPerSecond; + } + + /// + /// Initializes a new instance of the class. + /// + public PlaygroundSavedOptions() + { + } + } +} \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsCreateRequest.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsCreateRequest.g.cs index fc3aff7..bb38ffe 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsCreateRequest.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsCreateRequest.g.cs @@ -27,6 +27,12 @@ public sealed partial class PlaygroundSettingsCreateRequest [global::System.Text.Json.Serialization.JsonRequired] public required object Settings { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("options")] + public global::LangSmith.PlaygroundSavedOptions? Options { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -39,15 +45,18 @@ public sealed partial class PlaygroundSettingsCreateRequest /// /// /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public PlaygroundSettingsCreateRequest( object settings, string? name, - string? description) + string? description, + global::LangSmith.PlaygroundSavedOptions? options) { this.Settings = settings ?? throw new global::System.ArgumentNullException(nameof(settings)); this.Name = name; this.Description = description; + this.Options = options; } /// diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsResponse.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsResponse.g.cs index 790fb7f..22e9329 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsResponse.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsResponse.g.cs @@ -22,6 +22,12 @@ public sealed partial class PlaygroundSettingsResponse [global::System.Text.Json.Serialization.JsonRequired] public required object Settings { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("options")] + public global::LangSmith.PlaygroundSavedOptions? Options { get; set; } + /// /// /// @@ -59,6 +65,7 @@ public sealed partial class PlaygroundSettingsResponse /// /// /// + /// /// /// /// @@ -69,6 +76,7 @@ public PlaygroundSettingsResponse( object settings, global::System.DateTime createdAt, global::System.DateTime updatedAt, + global::LangSmith.PlaygroundSavedOptions? options, string? name, string? description) { @@ -76,6 +84,7 @@ public PlaygroundSettingsResponse( this.Settings = settings ?? throw new global::System.ArgumentNullException(nameof(settings)); this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; + this.Options = options; this.Name = name; this.Description = description; } diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsUpdateRequest.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsUpdateRequest.g.cs index c712dc2..d764ff3 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsUpdateRequest.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.PlaygroundSettingsUpdateRequest.g.cs @@ -26,6 +26,12 @@ public sealed partial class PlaygroundSettingsUpdateRequest [global::System.Text.Json.Serialization.JsonPropertyName("settings")] public object? Settings { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("options")] + public global::LangSmith.PlaygroundSavedOptions? Options { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -38,15 +44,18 @@ public sealed partial class PlaygroundSettingsUpdateRequest /// /// /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public PlaygroundSettingsUpdateRequest( string? name, string? description, - object? settings) + object? settings, + global::LangSmith.PlaygroundSavedOptions? options) { this.Name = name; this.Description = description; this.Settings = settings; + this.Options = options; } /// diff --git a/src/libs/LangSmith/Generated/LangSmith.PlaygroundSettingsClient.CreatePlaygroundSettings.g.cs b/src/libs/LangSmith/Generated/LangSmith.PlaygroundSettingsClient.CreatePlaygroundSettings.g.cs index f5d1713..4e7cba2 100644 --- a/src/libs/LangSmith/Generated/LangSmith.PlaygroundSettingsClient.CreatePlaygroundSettings.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.PlaygroundSettingsClient.CreatePlaygroundSettings.g.cs @@ -193,12 +193,14 @@ partial void ProcessCreatePlaygroundSettingsResponseContent( /// /// /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreatePlaygroundSettingsAsync( object settings, string? name = default, string? description = default, + global::LangSmith.PlaygroundSavedOptions? options = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::LangSmith.PlaygroundSettingsCreateRequest @@ -206,6 +208,7 @@ partial void ProcessCreatePlaygroundSettingsResponseContent( Name = name, Description = description, Settings = settings, + Options = options, }; return await CreatePlaygroundSettingsAsync( diff --git a/src/libs/LangSmith/Generated/LangSmith.PlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs b/src/libs/LangSmith/Generated/LangSmith.PlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs index 7dd3525..41d4eb1 100644 --- a/src/libs/LangSmith/Generated/LangSmith.PlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.PlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs @@ -200,6 +200,7 @@ partial void ProcessUpdatePlaygroundSettingsResponseContent( /// /// /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpdatePlaygroundSettingsAsync( @@ -207,6 +208,7 @@ partial void ProcessUpdatePlaygroundSettingsResponseContent( string? name = default, string? description = default, object? settings = default, + global::LangSmith.PlaygroundSavedOptions? options = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::LangSmith.PlaygroundSettingsUpdateRequest @@ -214,6 +216,7 @@ partial void ProcessUpdatePlaygroundSettingsResponseContent( Name = name, Description = description, Settings = settings, + Options = options, }; return await UpdatePlaygroundSettingsAsync( diff --git a/src/libs/LangSmith/openapi.yaml b/src/libs/LangSmith/openapi.yaml index 9de2031..7722afe 100644 --- a/src/libs/LangSmith/openapi.yaml +++ b/src/libs/LangSmith/openapi.yaml @@ -17393,6 +17393,10 @@ components: type: string format: uuid nullable: true + requests_per_second: + title: Requests Per Second + type: integer + nullable: true dataset_id: title: Dataset Id type: string @@ -17409,6 +17413,14 @@ components: minimum: 1.0 type: integer default: 1 + PlaygroundSavedOptions: + title: PlaygroundSavedOptions + type: object + properties: + requests_per_second: + title: Requests Per Second + type: integer + nullable: true PlaygroundSettingsCreateRequest: title: PlaygroundSettingsCreateRequest required: @@ -17426,6 +17438,8 @@ components: settings: title: Settings type: object + options: + $ref: '#/components/schemas/PlaygroundSavedOptions' PlaygroundSettingsResponse: title: PlaygroundSettingsResponse required: @@ -17442,6 +17456,8 @@ components: settings: title: Settings type: object + options: + $ref: '#/components/schemas/PlaygroundSavedOptions' name: title: Name type: string @@ -17474,6 +17490,8 @@ components: title: Settings type: object nullable: true + options: + $ref: '#/components/schemas/PlaygroundSavedOptions' PopulateAnnotationQueueSchema: title: PopulateAnnotationQueueSchema required: