diff --git a/src/libs/LangSmith/Generated/JsonConverters.QueryExampleSchemaWithRunsFormat.g.cs b/src/libs/LangSmith/Generated/JsonConverters.QueryExampleSchemaWithRunsFormat.g.cs new file mode 100644 index 0000000..a17f9a2 --- /dev/null +++ b/src/libs/LangSmith/Generated/JsonConverters.QueryExampleSchemaWithRunsFormat.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace LangSmith.JsonConverters +{ + /// + public sealed class QueryExampleSchemaWithRunsFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::LangSmith.QueryExampleSchemaWithRunsFormat Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::LangSmith.QueryExampleSchemaWithRunsFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::LangSmith.QueryExampleSchemaWithRunsFormat)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::LangSmith.QueryExampleSchemaWithRunsFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::LangSmith.QueryExampleSchemaWithRunsFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/LangSmith/Generated/JsonConverters.QueryExampleSchemaWithRunsFormatNullable.g.cs b/src/libs/LangSmith/Generated/JsonConverters.QueryExampleSchemaWithRunsFormatNullable.g.cs new file mode 100644 index 0000000..370ad2b --- /dev/null +++ b/src/libs/LangSmith/Generated/JsonConverters.QueryExampleSchemaWithRunsFormatNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace LangSmith.JsonConverters +{ + /// + public sealed class QueryExampleSchemaWithRunsFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::LangSmith.QueryExampleSchemaWithRunsFormat? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::LangSmith.QueryExampleSchemaWithRunsFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::LangSmith.QueryExampleSchemaWithRunsFormat)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::LangSmith.QueryExampleSchemaWithRunsFormat? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::LangSmith.QueryExampleSchemaWithRunsFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/LangSmith/Generated/JsonSerializerContext.g.cs b/src/libs/LangSmith/Generated/JsonSerializerContext.g.cs index 6c12110..783f292 100644 --- a/src/libs/LangSmith/Generated/JsonSerializerContext.g.cs +++ b/src/libs/LangSmith/Generated/JsonSerializerContext.g.cs @@ -123,6 +123,8 @@ namespace LangSmith typeof(global::LangSmith.JsonConverters.PlaygroundPromptCanvasPayloadReadingLevelNullableJsonConverter), typeof(global::LangSmith.JsonConverters.PlaygroundPromptCanvasPayloadTemplateFormatJsonConverter), typeof(global::LangSmith.JsonConverters.PlaygroundPromptCanvasPayloadTemplateFormatNullableJsonConverter), + typeof(global::LangSmith.JsonConverters.QueryExampleSchemaWithRunsFormatJsonConverter), + typeof(global::LangSmith.JsonConverters.QueryExampleSchemaWithRunsFormatNullableJsonConverter), typeof(global::LangSmith.JsonConverters.SortParamsForRunsComparisonViewSortOrderJsonConverter), typeof(global::LangSmith.JsonConverters.SortParamsForRunsComparisonViewSortOrderNullableJsonConverter), typeof(global::LangSmith.JsonConverters.RunsGenerateQueryFeedbackKeysJsonConverter), diff --git a/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs b/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs index bd388ec..41e91df 100644 --- a/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/LangSmith/Generated/JsonSerializerContextTypes.g.cs @@ -1430,794 +1430,798 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.Dictionary>? Type351 { get; set; } + public global::LangSmith.QueryExampleSchemaWithRunsFormat? Type351 { get; set; } /// /// /// - public global::LangSmith.SortParamsForRunsComparisonView? Type352 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type352 { get; set; } /// /// /// - public global::LangSmith.SortParamsForRunsComparisonViewSortOrder? Type353 { get; set; } + public global::LangSmith.SortParamsForRunsComparisonView? Type353 { get; set; } /// /// /// - public global::LangSmith.QueryFeedbackDelta? Type354 { get; set; } + public global::LangSmith.SortParamsForRunsComparisonViewSortOrder? Type354 { get; set; } /// /// /// - public global::LangSmith.QueryParamsForPublicRunSchema? Type355 { get; set; } + public global::LangSmith.QueryFeedbackDelta? Type355 { get; set; } /// /// /// - public global::LangSmith.RepoTag? Type356 { get; set; } + public global::LangSmith.QueryParamsForPublicRunSchema? Type356 { get; set; } /// /// /// - public global::LangSmith.RepoTagRequest? Type357 { get; set; } + public global::LangSmith.RepoTag? Type357 { get; set; } /// /// /// - public global::LangSmith.RepoUpdateTagRequest? Type358 { get; set; } + public global::LangSmith.RepoTagRequest? Type358 { get; set; } /// /// /// - public global::LangSmith.RequestBodyForRunsGenerateQuery? Type359 { get; set; } + public global::LangSmith.RepoUpdateTagRequest? Type359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type360 { get; set; } + public global::LangSmith.RequestBodyForRunsGenerateQuery? Type360 { get; set; } /// /// /// - public global::LangSmith.RunsGenerateQueryFeedbackKeys? Type361 { get; set; } + public global::System.Collections.Generic.IList? Type361 { get; set; } /// /// /// - public global::LangSmith.Resource? Type362 { get; set; } + public global::LangSmith.RunsGenerateQueryFeedbackKeys? Type362 { get; set; } /// /// /// - public global::LangSmith.ResourceType? Type363 { get; set; } + public global::LangSmith.Resource? Type363 { get; set; } /// /// /// - public global::LangSmith.ResponseBodyForRunsGenerateQuery? Type364 { get; set; } + public global::LangSmith.ResourceType? Type364 { get; set; } /// /// /// - public global::LangSmith.Role? Type365 { get; set; } + public global::LangSmith.ResponseBodyForRunsGenerateQuery? Type365 { get; set; } /// /// /// - public global::LangSmith.RuleLogActionOutcome? Type366 { get; set; } + public global::LangSmith.Role? Type366 { get; set; } /// /// /// - public global::LangSmith.RuleLogActionResponse? Type367 { get; set; } + public global::LangSmith.RuleLogActionOutcome? Type367 { get; set; } /// /// /// - public global::LangSmith.RuleLogSchema? Type368 { get; set; } + public global::LangSmith.RuleLogActionResponse? Type368 { get; set; } /// /// /// - public global::LangSmith.RunGroupBy? Type369 { get; set; } + public global::LangSmith.RuleLogSchema? Type369 { get; set; } /// /// /// - public global::LangSmith.RunGroupRequest? Type370 { get; set; } + public global::LangSmith.RunGroupBy? Type370 { get; set; } /// /// /// - public global::LangSmith.RunGroupStats? Type371 { get; set; } + public global::LangSmith.RunGroupRequest? Type371 { get; set; } /// /// /// - public global::LangSmith.RunRulesAlertType? Type372 { get; set; } + public global::LangSmith.RunGroupStats? Type372 { get; set; } /// /// /// - public global::LangSmith.RunRulesCreateSchema? Type373 { get; set; } + public global::LangSmith.RunRulesAlertType? Type373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type374 { get; set; } + public global::LangSmith.RunRulesCreateSchema? Type374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type375 { get; set; } + public global::System.Collections.Generic.IList? Type375 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type376 { get; set; } + public global::System.Collections.Generic.IList? Type376 { get; set; } /// /// /// - public global::LangSmith.RunRulesPagerdutyAlertSchema? Type377 { get; set; } + public global::System.Collections.Generic.IList? Type377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type378 { get; set; } + public global::LangSmith.RunRulesPagerdutyAlertSchema? Type378 { get; set; } /// /// /// - public global::LangSmith.RunRulesWebhookSchema? Type379 { get; set; } + public global::System.Collections.Generic.IList? Type379 { get; set; } /// /// /// - public global::LangSmith.RunRulesSchema? Type380 { get; set; } + public global::LangSmith.RunRulesWebhookSchema? Type380 { get; set; } /// /// /// - public global::LangSmith.RunSchemaWithAnnotationQueueInfo? Type381 { get; set; } + public global::LangSmith.RunRulesSchema? Type381 { get; set; } /// /// /// - public global::LangSmith.RunShareSchema? Type382 { get; set; } + public global::LangSmith.RunSchemaWithAnnotationQueueInfo? Type382 { get; set; } /// /// /// - public global::LangSmith.RunStats? Type383 { get; set; } + public global::LangSmith.RunShareSchema? Type383 { get; set; } /// /// /// - public global::LangSmith.SSOConfirmEmailRequest? Type384 { get; set; } + public global::LangSmith.RunStats? Type384 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationSendRequest? Type385 { get; set; } + public global::LangSmith.SSOConfirmEmailRequest? Type385 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationStatusRequest? Type386 { get; set; } + public global::LangSmith.SSOEmailVerificationSendRequest? Type386 { get; set; } /// /// /// - public global::LangSmith.SSOEmailVerificationStatusResponse? Type387 { get; set; } + public global::LangSmith.SSOEmailVerificationStatusRequest? Type387 { get; set; } /// /// /// - public global::LangSmith.SSOProvider? Type388 { get; set; } + public global::LangSmith.SSOEmailVerificationStatusResponse? Type388 { get; set; } /// /// /// - public global::LangSmith.SSOProviderSlim? Type389 { get; set; } + public global::LangSmith.SSOProvider? Type389 { get; set; } /// /// /// - public global::LangSmith.SSOSettingsCreate? Type390 { get; set; } + public global::LangSmith.SSOProviderSlim? Type390 { get; set; } /// /// /// - public global::LangSmith.SSOSettingsUpdate? Type391 { get; set; } + public global::LangSmith.SSOSettingsCreate? Type391 { get; set; } /// /// /// - public global::LangSmith.SearchDatasetRequest? Type392 { get; set; } + public global::LangSmith.SSOSettingsUpdate? Type392 { get; set; } /// /// /// - public global::LangSmith.SearchDatasetResponse? Type393 { get; set; } + public global::LangSmith.SearchDatasetRequest? Type393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type394 { get; set; } + public global::LangSmith.SearchDatasetResponse? Type394 { get; set; } /// /// /// - public global::LangSmith.SearchedFewShotExample? Type395 { get; set; } + public global::System.Collections.Generic.IList? Type395 { get; set; } /// /// /// - public global::LangSmith.SecretKey? Type396 { get; set; } + public global::LangSmith.SearchedFewShotExample? Type396 { get; set; } /// /// /// - public global::LangSmith.SecretUpsert? Type397 { get; set; } + public global::LangSmith.SecretKey? Type397 { get; set; } /// /// /// - public global::LangSmith.ServiceAccount? Type398 { get; set; } + public global::LangSmith.SecretUpsert? Type398 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountCreateRequest? Type399 { get; set; } + public global::LangSmith.ServiceAccount? Type399 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountCreateResponse? Type400 { get; set; } + public global::LangSmith.ServiceAccountCreateRequest? Type400 { get; set; } /// /// /// - public global::LangSmith.ServiceAccountDeleteResponse? Type401 { get; set; } + public global::LangSmith.ServiceAccountCreateResponse? Type401 { get; set; } /// /// /// - public global::LangSmith.SessionFeedbackDelta? Type402 { get; set; } + public global::LangSmith.ServiceAccountDeleteResponse? Type402 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type403 { get; set; } + public global::LangSmith.SessionFeedbackDelta? Type403 { get; set; } /// /// /// - public global::LangSmith.SessionSortableColumns? Type404 { get; set; } + public global::System.Collections.Generic.Dictionary? Type404 { get; set; } /// /// /// - public global::LangSmith.SetTenantHandleRequest? Type405 { get; set; } + public global::LangSmith.SessionSortableColumns? Type405 { get; set; } /// /// /// - public global::LangSmith.SingleCustomChartResponseBase? Type406 { get; set; } + public global::LangSmith.SetTenantHandleRequest? Type406 { get; set; } /// /// /// - public global::LangSmith.SortByComparativeExperimentColumn? Type407 { get; set; } + public global::LangSmith.SingleCustomChartResponseBase? Type407 { get; set; } /// /// /// - public global::LangSmith.SortByDatasetColumn? Type408 { get; set; } + public global::LangSmith.SortByComparativeExperimentColumn? Type408 { get; set; } /// /// /// - public global::LangSmith.SourceType? Type409 { get; set; } + public global::LangSmith.SortByDatasetColumn? Type409 { get; set; } /// /// /// - public global::LangSmith.StripeAccountLinksCreate? Type410 { get; set; } + public global::LangSmith.SourceType? Type410 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessBillingInfo? Type411 { get; set; } + public global::LangSmith.StripeAccountLinksCreate? Type411 { get; set; } /// /// /// - public global::LangSmith.StripeCustomerAddress? Type412 { get; set; } + public global::LangSmith.StripeBusinessBillingInfo? Type412 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessInfoInput? Type413 { get; set; } + public global::LangSmith.StripeCustomerAddress? Type413 { get; set; } /// /// /// - public global::LangSmith.StripeTaxId? Type414 { get; set; } + public global::LangSmith.StripeBusinessInfoInput? Type414 { get; set; } /// /// /// - public global::LangSmith.StripeBusinessInfoOutput? Type415 { get; set; } + public global::LangSmith.StripeTaxId? Type415 { get; set; } /// /// /// - public global::LangSmith.StripeCheckoutSessionsConfirm? Type416 { get; set; } + public global::LangSmith.StripeBusinessInfoOutput? Type416 { get; set; } /// /// /// - public global::LangSmith.StripeCheckoutSessionsCreate? Type417 { get; set; } + public global::LangSmith.StripeCheckoutSessionsConfirm? Type417 { get; set; } /// /// /// - public global::LangSmith.StripeCustomerBillingInfo? Type418 { get; set; } + public global::LangSmith.StripeCheckoutSessionsCreate? Type418 { get; set; } /// /// /// - public global::LangSmith.StripePaymentInformation? Type419 { get; set; } + public global::LangSmith.StripeCustomerBillingInfo? Type419 { get; set; } /// /// /// - public global::LangSmith.StripeSetupIntentResponse? Type420 { get; set; } + public global::LangSmith.StripePaymentInformation? Type420 { get; set; } /// /// /// - public global::LangSmith.TTLSettings? Type421 { get; set; } + public global::LangSmith.StripeSetupIntentResponse? Type421 { get; set; } /// /// /// - public global::LangSmith.TagKey? Type422 { get; set; } + public global::LangSmith.TTLSettings? Type422 { get; set; } /// /// /// - public global::LangSmith.TagKeyCreate? Type423 { get; set; } + public global::LangSmith.TagKey? Type423 { get; set; } /// /// /// - public global::LangSmith.TagKeyUpdate? Type424 { get; set; } + public global::LangSmith.TagKeyCreate? Type424 { get; set; } /// /// /// - public global::LangSmith.TagKeyWithValues? Type425 { get; set; } + public global::LangSmith.TagKeyUpdate? Type425 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type426 { get; set; } + public global::LangSmith.TagKeyWithValues? Type426 { get; set; } /// /// /// - public global::LangSmith.TagValue? Type427 { get; set; } + public global::System.Collections.Generic.IList? Type427 { get; set; } /// /// /// - public global::LangSmith.TagKeyWithValuesAndTaggings? Type428 { get; set; } + public global::LangSmith.TagValue? Type428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type429 { get; set; } + public global::LangSmith.TagKeyWithValuesAndTaggings? Type429 { get; set; } /// /// /// - public global::LangSmith.TagValueWithTaggings? Type430 { get; set; } + public global::System.Collections.Generic.IList? Type430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type431 { get; set; } + public global::LangSmith.TagValueWithTaggings? Type431 { get; set; } /// /// /// - public global::LangSmith.Tagging? Type432 { get; set; } + public global::System.Collections.Generic.IList? Type432 { get; set; } /// /// /// - public global::LangSmith.TagValueCreate? Type433 { get; set; } + public global::LangSmith.Tagging? Type433 { get; set; } /// /// /// - public global::LangSmith.TagValueUpdate? Type434 { get; set; } + public global::LangSmith.TagValueCreate? Type434 { get; set; } /// /// /// - public global::LangSmith.TaggingCreate? Type435 { get; set; } + public global::LangSmith.TagValueUpdate? Type435 { get; set; } /// /// /// - public global::LangSmith.TaggingsByResourceType? Type436 { get; set; } + public global::LangSmith.TaggingCreate? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::LangSmith.TaggingsByResourceType? Type437 { get; set; } /// /// /// - public global::LangSmith.TaggingsResponse? Type438 { get; set; } + public global::System.Collections.Generic.IList? Type438 { get; set; } /// /// /// - public global::LangSmith.TenantBulkUnshareRequest? Type439 { get; set; } + public global::LangSmith.TaggingsResponse? Type439 { get; set; } /// /// /// - public global::LangSmith.TenantCreate? Type440 { get; set; } + public global::LangSmith.TenantBulkUnshareRequest? Type440 { get; set; } /// /// /// - public global::LangSmith.TenantForUser? Type441 { get; set; } + public global::LangSmith.TenantCreate? Type441 { get; set; } /// /// /// - public global::LangSmith.TenantMembers? Type442 { get; set; } + public global::LangSmith.TenantForUser? Type442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type443 { get; set; } + public global::LangSmith.TenantMembers? Type443 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type444 { get; set; } + public global::System.Collections.Generic.IList? Type444 { get; set; } /// /// /// - public global::LangSmith.TenantShareDatasetToken? Type445 { get; set; } + public global::System.Collections.Generic.IList? Type445 { get; set; } /// /// /// - public global::LangSmith.TenantShareDatasetTokenType? Type446 { get; set; } + public global::LangSmith.TenantShareDatasetToken? Type446 { get; set; } /// /// /// - public global::LangSmith.TenantShareRunToken? Type447 { get; set; } + public global::LangSmith.TenantShareDatasetTokenType? Type447 { get; set; } /// /// /// - public global::LangSmith.TenantShareRunTokenType? Type448 { get; set; } + public global::LangSmith.TenantShareRunToken? Type448 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponse? Type449 { get; set; } + public global::LangSmith.TenantShareRunTokenType? Type449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type450 { get; set; } + public global::LangSmith.TenantShareTokensResponse? Type450 { get; set; } /// /// /// - public global::LangSmith.EntitiesItem? Type451 { get; set; } + public global::System.Collections.Generic.IList? Type451 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponseEntitieDiscriminator? Type452 { get; set; } + public global::LangSmith.EntitiesItem? Type452 { get; set; } /// /// /// - public global::LangSmith.TenantShareTokensResponseEntitieDiscriminatorType? Type453 { get; set; } + public global::LangSmith.TenantShareTokensResponseEntitieDiscriminator? Type453 { get; set; } /// /// /// - public global::LangSmith.TenantStats? Type454 { get; set; } + public global::LangSmith.TenantShareTokensResponseEntitieDiscriminatorType? Type454 { get; set; } /// /// /// - public global::LangSmith.TenantUsageLimitInfo? Type455 { get; set; } + public global::LangSmith.TenantStats? Type455 { get; set; } /// /// /// - public global::LangSmith.TenantUsageLimitType? Type456 { get; set; } + public global::LangSmith.TenantUsageLimitInfo? Type456 { get; set; } /// /// /// - public global::LangSmith.TracerSessionCreate? Type457 { get; set; } + public global::LangSmith.TenantUsageLimitType? Type457 { get; set; } /// /// /// - public global::LangSmith.TracerSessionUpdate? Type458 { get; set; } + public global::LangSmith.TracerSessionCreate? Type458 { get; set; } /// /// /// - public global::LangSmith.TracerSessionWithoutVirtualFields? Type459 { get; set; } + public global::LangSmith.TracerSessionUpdate? Type459 { get; set; } /// /// /// - public global::LangSmith.TriggerRulesRequest? Type460 { get; set; } + public global::LangSmith.TracerSessionWithoutVirtualFields? Type460 { get; set; } /// /// /// - public global::LangSmith.UpdateFeedbackConfigSchema? Type461 { get; set; } + public global::LangSmith.TriggerRulesRequest? Type461 { get; set; } /// /// /// - public global::LangSmith.UpdateRepoRequest? Type462 { get; set; } + public global::LangSmith.UpdateFeedbackConfigSchema? Type462 { get; set; } /// /// /// - public global::LangSmith.UpdateRoleRequest? Type463 { get; set; } + public global::LangSmith.UpdateRepoRequest? Type463 { get; set; } /// /// /// - public global::LangSmith.UpsertTTLSettingsRequest? Type464 { get; set; } + public global::LangSmith.UpdateRoleRequest? Type464 { get; set; } /// /// /// - public global::LangSmith.UpsertUsageLimit? Type465 { get; set; } + public global::LangSmith.UpsertTTLSettingsRequest? Type465 { get; set; } /// /// /// - public global::LangSmith.UsageLimitType? Type466 { get; set; } + public global::LangSmith.UpsertUsageLimit? Type466 { get; set; } /// /// /// - public global::LangSmith.UsageLimit? Type467 { get; set; } + public global::LangSmith.UsageLimitType? Type467 { get; set; } /// /// /// - public global::LangSmith.UserWithPassword? Type468 { get; set; } + public global::LangSmith.UsageLimit? Type468 { get; set; } /// /// /// - public global::LangSmith.WorkspaceCreate? Type469 { get; set; } + public global::LangSmith.UserWithPassword? Type469 { get; set; } /// /// /// - public global::LangSmith.WorkspacePatch? Type470 { get; set; } + public global::LangSmith.WorkspaceCreate? Type470 { get; set; } /// /// /// - public global::LangSmith.AppHubCrudOptimizeOptimizePromptResponse? Type471 { get; set; } + public global::LangSmith.WorkspacePatch? Type471 { get; set; } /// /// /// - public global::LangSmith.AppHubCrudTenantsTenant? Type472 { get; set; } + public global::LangSmith.AppHubCrudOptimizeOptimizePromptResponse? Type472 { get; set; } /// /// /// - public global::LangSmith.AppSchemasOptimizePromptResponse? Type473 { get; set; } + public global::LangSmith.AppHubCrudTenantsTenant? Type473 { get; set; } /// /// /// - public global::LangSmith.AppSchemasTenant? Type474 { get; set; } + public global::LangSmith.AppSchemasOptimizePromptResponse? Type474 { get; set; } /// /// /// - public global::LangSmith.CreateRunRequest? Type475 { get; set; } + public global::LangSmith.AppSchemasTenant? Type475 { get; set; } /// /// /// - public global::LangSmith.CreateRunRequestRunType? Type476 { get; set; } + public global::LangSmith.CreateRunRequest? Type476 { get; set; } /// /// /// - public global::LangSmith.OneOf? Type477 { get; set; } + public global::LangSmith.CreateRunRequestRunType? Type477 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequest? Type478 { get; set; } + public global::LangSmith.OneOf? Type478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type479 { get; set; } + public global::LangSmith.BatchIngestRunsRequest? Type479 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPostItem? Type480 { get; set; } + public global::System.Collections.Generic.IList? Type480 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPostItemRunType? Type481 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPostItem? Type481 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type482 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPostItemRunType? Type482 { get; set; } /// /// /// - public global::LangSmith.BatchIngestRunsRequestPatchItem? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::LangSmith.UpdateRunRequest? Type484 { get; set; } + public global::LangSmith.BatchIngestRunsRequestPatchItem? Type484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type485 { get; set; } + public global::LangSmith.UpdateRunRequest? 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>? 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>? Type489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type490 { get; set; } + public global::System.Collections.Generic.IList? Type490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type491 { get; set; } + public global::System.Collections.Generic.IList? Type491 { get; set; } /// /// /// - public global::LangSmith.AnyOf, global::LangSmith.DataType?>? Type492 { get; set; } + public global::System.Collections.Generic.IList? Type492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type493 { get; set; } + public global::LangSmith.AnyOf, global::LangSmith.DataType?>? Type493 { get; set; } /// /// /// - public global::LangSmith.ListRulesApiV1RunsRulesGetType? Type494 { get; set; } + public global::System.Collections.Generic.IList? Type494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type495 { get; set; } + public global::LangSmith.ListRulesApiV1RunsRulesGetType? Type495 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetIsArchived? Type496 { get; set; } + public global::System.Collections.Generic.IList? Type496 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetIsPublic? Type497 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetIsArchived? Type497 { get; set; } /// /// /// - public global::LangSmith.AnyOf? Type498 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetIsPublic? Type498 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant1? Type499 { get; set; } + public global::LangSmith.AnyOf? Type499 { get; set; } /// /// /// - public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant2? Type500 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant1? Type500 { get; set; } /// /// /// - public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsArchived? Type501 { get; set; } + public global::LangSmith.ListReposApiV1ReposGetSortDirectionVariant2? Type501 { get; set; } /// /// /// - public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsPublic? Type502 { get; set; } + public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsArchived? Type502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type503 { get; set; } + public global::LangSmith.ListRepoTagsApiV1ReposTagsGetIsPublic? 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::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::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::LangSmith.AnyOf, 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::LangSmith.AnyOf, 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::System.Collections.Generic.IList? Type519 { get; set; } + public global::System.Collections.Generic.IList? Type519 { get; set; } /// /// /// - public 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::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::LangSmith.AnyOf>? Type523 { get; set; } + public global::System.Collections.Generic.IList? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::LangSmith.AnyOf>? Type524 { get; set; } /// /// /// - public global::LangSmith.AnyOf, 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::LangSmith.AnyOf, 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; } + public global::System.Collections.Generic.IList? Type544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type545 { get; set; } + public global::System.Collections.Generic.IList? Type545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type546 { get; set; } + public global::System.Collections.Generic.IList? Type546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type547 { get; set; } + public global::System.Collections.Generic.IList? Type547 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type548 { get; set; } + public global::System.Collections.Generic.IList? Type548 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type549 { get; set; } } } \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.ReadExamplesWithRuns.g.cs b/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.ReadExamplesWithRuns.g.cs index ee157d5..d4bb6a3 100644 --- a/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.ReadExamplesWithRuns.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.DatasetsClient.ReadExamplesWithRuns.g.cs @@ -8,11 +8,13 @@ public partial class DatasetsClient partial void PrepareReadExamplesWithRunsArguments( global::System.Net.Http.HttpClient httpClient, ref global::System.Guid datasetId, + ref string? format, global::LangSmith.QueryExampleSchemaWithRuns request); partial void PrepareReadExamplesWithRunsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::System.Guid datasetId, + string? format, global::LangSmith.QueryExampleSchemaWithRuns request); partial void ProcessReadExamplesWithRunsResponse( global::System.Net.Http.HttpClient httpClient, @@ -28,12 +30,16 @@ partial void ProcessReadExamplesWithRunsResponseContent( /// Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids. /// /// + /// + /// Response format, e.g., 'csv' + /// /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadExamplesWithRunsAsync( global::System.Guid datasetId, global::LangSmith.QueryExampleSchemaWithRuns request, + string? format = default, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); @@ -43,11 +49,15 @@ partial void ProcessReadExamplesWithRunsResponseContent( PrepareReadExamplesWithRunsArguments( httpClient: HttpClient, datasetId: ref datasetId, + format: ref format, request: request); var __pathBuilder = new PathBuilder( path: $"/api/v1/datasets/{datasetId}/runs", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("format", format) + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -86,6 +96,7 @@ partial void ProcessReadExamplesWithRunsResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, datasetId: datasetId, + format: format, request: request); using var __response = await HttpClient.SendAsync( @@ -205,7 +216,11 @@ partial void ProcessReadExamplesWithRunsResponseContent( /// Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids. /// /// + /// + /// Response format, e.g., 'csv' + /// /// + /// /// /// /// @@ -223,6 +238,8 @@ partial void ProcessReadExamplesWithRunsResponseContent( public async global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadExamplesWithRunsAsync( global::System.Guid datasetId, global::System.Collections.Generic.IList sessionIds, + string? format = default, + global::LangSmith.QueryExampleSchemaWithRunsFormat? requestFormat = default, global::System.Guid? comparativeExperimentId = default, global::System.Collections.Generic.Dictionary>? filters = default, global::LangSmith.SortParamsForRunsComparisonView? sortParams = default, @@ -234,6 +251,7 @@ partial void ProcessReadExamplesWithRunsResponseContent( var __request = new global::LangSmith.QueryExampleSchemaWithRuns { SessionIds = sessionIds, + Format = requestFormat, ComparativeExperimentId = comparativeExperimentId, Filters = filters, SortParams = sortParams, @@ -244,6 +262,7 @@ partial void ProcessReadExamplesWithRunsResponseContent( return await ReadExamplesWithRunsAsync( datasetId: datasetId, + format: format, request: __request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.ReadExamplesWithRuns.g.cs b/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.ReadExamplesWithRuns.g.cs index a3543b3..77ad043 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.ReadExamplesWithRuns.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IDatasetsClient.ReadExamplesWithRuns.g.cs @@ -9,12 +9,16 @@ public partial interface IDatasetsClient /// Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids. /// /// + /// + /// Response format, e.g., 'csv' + /// /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadExamplesWithRunsAsync( global::System.Guid datasetId, global::LangSmith.QueryExampleSchemaWithRuns request, + string? format = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -22,7 +26,11 @@ public partial interface IDatasetsClient /// Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids. /// /// + /// + /// Response format, e.g., 'csv' + /// /// + /// /// /// /// @@ -40,6 +48,8 @@ public partial interface IDatasetsClient global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadExamplesWithRunsAsync( global::System.Guid datasetId, global::System.Collections.Generic.IList sessionIds, + string? format = default, + global::LangSmith.QueryExampleSchemaWithRunsFormat? requestFormat = default, global::System.Guid? comparativeExperimentId = default, global::System.Collections.Generic.Dictionary>? filters = default, global::LangSmith.SortParamsForRunsComparisonView? sortParams = default, diff --git a/src/libs/LangSmith/Generated/LangSmith.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.cs b/src/libs/LangSmith/Generated/LangSmith.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.cs index eff0e2f..f3671f0 100644 --- a/src/libs/LangSmith/Generated/LangSmith.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.cs @@ -23,6 +23,7 @@ public partial interface IPublicClient /// /// /// + /// /// /// /// @@ -40,6 +41,7 @@ public partial interface IPublicClient global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadSharedDatasetExamplesWithRunsAsync( global::System.Guid shareToken, global::System.Collections.Generic.IList sessionIds, + global::LangSmith.QueryExampleSchemaWithRunsFormat? format = default, global::System.Guid? comparativeExperimentId = default, global::System.Collections.Generic.Dictionary>? filters = default, global::LangSmith.SortParamsForRunsComparisonView? sortParams = default, diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.QueryExampleSchemaWithRuns.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.QueryExampleSchemaWithRuns.g.cs index 9b132f2..679c9a9 100644 --- a/src/libs/LangSmith/Generated/LangSmith.Models.QueryExampleSchemaWithRuns.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.Models.QueryExampleSchemaWithRuns.g.cs @@ -15,6 +15,13 @@ public sealed partial class QueryExampleSchemaWithRuns [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Collections.Generic.IList SessionIds { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("format")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LangSmith.JsonConverters.QueryExampleSchemaWithRunsFormatJsonConverter))] + public global::LangSmith.QueryExampleSchemaWithRunsFormat? Format { get; set; } + /// /// /// @@ -61,6 +68,7 @@ public sealed partial class QueryExampleSchemaWithRuns /// Initializes a new instance of the class. /// /// + /// /// /// /// @@ -78,6 +86,7 @@ public sealed partial class QueryExampleSchemaWithRuns #endif public QueryExampleSchemaWithRuns( global::System.Collections.Generic.IList sessionIds, + global::LangSmith.QueryExampleSchemaWithRunsFormat? format, global::System.Guid? comparativeExperimentId, global::System.Collections.Generic.Dictionary>? filters, global::LangSmith.SortParamsForRunsComparisonView? sortParams, @@ -86,6 +95,7 @@ public QueryExampleSchemaWithRuns( int? limit) { this.SessionIds = sessionIds ?? throw new global::System.ArgumentNullException(nameof(sessionIds)); + this.Format = format; this.ComparativeExperimentId = comparativeExperimentId; this.Filters = filters; this.SortParams = sortParams; diff --git a/src/libs/LangSmith/Generated/LangSmith.Models.QueryExampleSchemaWithRunsFormat.g.cs b/src/libs/LangSmith/Generated/LangSmith.Models.QueryExampleSchemaWithRunsFormat.g.cs new file mode 100644 index 0000000..8600797 --- /dev/null +++ b/src/libs/LangSmith/Generated/LangSmith.Models.QueryExampleSchemaWithRunsFormat.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace LangSmith +{ + /// + /// + /// + public enum QueryExampleSchemaWithRunsFormat + { + /// + /// + /// + Csv, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class QueryExampleSchemaWithRunsFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this QueryExampleSchemaWithRunsFormat value) + { + return value switch + { + QueryExampleSchemaWithRunsFormat.Csv => "csv", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static QueryExampleSchemaWithRunsFormat? ToEnum(string value) + { + return value switch + { + "csv" => QueryExampleSchemaWithRunsFormat.Csv, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/LangSmith/Generated/LangSmith.PublicClient.ReadSharedDatasetExamplesWithRuns.g.cs b/src/libs/LangSmith/Generated/LangSmith.PublicClient.ReadSharedDatasetExamplesWithRuns.g.cs index 969a371..274846c 100644 --- a/src/libs/LangSmith/Generated/LangSmith.PublicClient.ReadSharedDatasetExamplesWithRuns.g.cs +++ b/src/libs/LangSmith/Generated/LangSmith.PublicClient.ReadSharedDatasetExamplesWithRuns.g.cs @@ -206,6 +206,7 @@ partial void ProcessReadSharedDatasetExamplesWithRunsResponseContent( /// /// /// + /// /// /// /// @@ -223,6 +224,7 @@ partial void ProcessReadSharedDatasetExamplesWithRunsResponseContent( public async global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadSharedDatasetExamplesWithRunsAsync( global::System.Guid shareToken, global::System.Collections.Generic.IList sessionIds, + global::LangSmith.QueryExampleSchemaWithRunsFormat? format = default, global::System.Guid? comparativeExperimentId = default, global::System.Collections.Generic.Dictionary>? filters = default, global::LangSmith.SortParamsForRunsComparisonView? sortParams = default, @@ -234,6 +236,7 @@ partial void ProcessReadSharedDatasetExamplesWithRunsResponseContent( var __request = new global::LangSmith.QueryExampleSchemaWithRuns { SessionIds = sessionIds, + Format = format, ComparativeExperimentId = comparativeExperimentId, Filters = filters, SortParams = sortParams, diff --git a/src/libs/LangSmith/openapi.yaml b/src/libs/LangSmith/openapi.yaml index 82398fe..64bf9d7 100644 --- a/src/libs/LangSmith/openapi.yaml +++ b/src/libs/LangSmith/openapi.yaml @@ -3261,6 +3261,14 @@ paths: title: Dataset Id type: string format: uuid + - name: format + in: query + description: 'Response format, e.g., ''csv''' + schema: + title: Format + type: string + description: 'Response format, e.g., ''csv''' + nullable: true requestBody: content: application/json: @@ -3281,6 +3289,7 @@ paths: - type: array items: $ref: '#/components/schemas/ExampleWithRunsCH' + nullable: true '422': description: Validation Error content: @@ -18021,6 +18030,12 @@ components: items: type: string format: uuid + format: + title: Format + enum: + - csv + type: string + nullable: true comparative_experiment_id: title: Comparative Experiment Id type: string @@ -18047,7 +18062,6 @@ components: default: 0 limit: title: Limit - maximum: 100.0 minimum: 1.0 type: integer default: 20