From 257d36a4f4f1c8247251703124c2445484364ed8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 2 Jun 2026 23:05:49 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Phoenix.JsonConverters.ChatContext.g.cs | 15 + .../Phoenix.JsonSerializerContext.g.cs | 1 + .../Phoenix.JsonSerializerContextTypes.g.cs | 728 +++++++++--------- .../Generated/Phoenix.Models.ChatContext.g.cs | 85 +- ...x.Models.ChatContextDiscriminatorType.g.cs | 6 + ...oenix.Models.LlmEvaluatorContext.Json.g.cs | 92 +++ .../Phoenix.Models.LlmEvaluatorContext.g.cs | 54 ++ ...mEvaluatorContextEvaluatorNodeId.Json.g.cs | 92 +++ ...ls.LlmEvaluatorContextEvaluatorNodeId.g.cs | 19 + src/libs/Phoenix/openapi.json | 30 + 10 files changed, 759 insertions(+), 363 deletions(-) create mode 100644 src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContext.Json.g.cs create mode 100644 src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContext.g.cs create mode 100644 src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContextEvaluatorNodeId.Json.g.cs create mode 100644 src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContextEvaluatorNodeId.g.cs diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatContext.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatContext.g.cs index d9fd792..df521ba 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatContext.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonConverters.ChatContext.g.cs @@ -63,6 +63,13 @@ public class ChatContextJsonConverter : global::System.Text.Json.Serialization.J throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.CodeEvaluatorContext)}"); codeEvaluator = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::Phoenix.LlmEvaluatorContext? llmEvaluator = default; + if (discriminator?.Type == global::Phoenix.ChatContextDiscriminatorType.LlmEvaluator) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.LlmEvaluatorContext), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Phoenix.LlmEvaluatorContext)}"); + llmEvaluator = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } global::Phoenix.DatasetContext? dataset = default; if (discriminator?.Type == global::Phoenix.ChatContextDiscriminatorType.Dataset) { @@ -99,6 +106,8 @@ public class ChatContextJsonConverter : global::System.Text.Json.Serialization.J codeEvaluator, + llmEvaluator, + dataset, graphql, @@ -154,6 +163,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.CodeEvaluatorContext).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.CodeEvaluator!, typeInfo); } + else if (value.IsLlmEvaluator) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.LlmEvaluatorContext), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Phoenix.LlmEvaluatorContext).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.LlmEvaluator!, typeInfo); + } else if (value.IsDataset) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Phoenix.DatasetContext), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs index f2b7e21..5c44918 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContext.g.cs @@ -527,6 +527,7 @@ namespace Phoenix [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.TraceContext))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.PlaygroundContext))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.CodeEvaluatorContext))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.LlmEvaluatorContext))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.DatasetContext))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.GraphQLContext))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Phoenix.WebAccessContext))] diff --git a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs index 7ed9471..ab56ea1 100644 --- a/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.JsonSerializerContextTypes.g.cs @@ -320,1451 +320,1455 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Phoenix.DatasetContext? Type73 { get; set; } + public global::Phoenix.LlmEvaluatorContext? Type73 { get; set; } /// /// /// - public global::Phoenix.GraphQLContext? Type74 { get; set; } + public global::Phoenix.DatasetContext? Type74 { get; set; } /// /// /// - public global::Phoenix.WebAccessContext? Type75 { get; set; } + public global::Phoenix.GraphQLContext? Type75 { get; set; } /// /// /// - public global::Phoenix.ChatContextDiscriminator? Type76 { get; set; } + public global::Phoenix.WebAccessContext? Type76 { get; set; } /// /// /// - public global::Phoenix.ChatContextDiscriminatorType? Type77 { get; set; } + public global::Phoenix.ChatContextDiscriminator? Type77 { get; set; } /// /// /// - public global::Phoenix.ChatRegenerateMessage? Type78 { get; set; } + public global::Phoenix.ChatContextDiscriminatorType? Type78 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type79 { get; set; } + public global::Phoenix.ChatRegenerateMessage? Type79 { get; set; } /// /// /// - public bool? Type80 { get; set; } + public global::System.Collections.Generic.IList? Type80 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type81 { get; set; } + public bool? Type81 { get; set; } /// /// /// - public global::Phoenix.ChatRegenerateMessageEditPermission? Type82 { get; set; } + public global::System.Collections.Generic.IList? Type82 { get; set; } /// /// /// - public global::Phoenix.Model? Type83 { get; set; } + public global::Phoenix.ChatRegenerateMessageEditPermission? Type83 { get; set; } /// /// /// - public global::Phoenix.CustomProviderModelSelection? Type84 { get; set; } + public global::Phoenix.Model? Type84 { get; set; } /// /// /// - public global::Phoenix.ChatRegenerateMessageModelDiscriminator? Type85 { get; set; } + public global::Phoenix.CustomProviderModelSelection? Type85 { get; set; } /// /// /// - public global::Phoenix.ChatRegenerateMessageModelDiscriminatorProviderType? Type86 { get; set; } + public global::Phoenix.ChatRegenerateMessageModelDiscriminator? Type86 { get; set; } /// /// /// - public global::Phoenix.ChatRequest? Type87 { get; set; } + public global::Phoenix.ChatRegenerateMessageModelDiscriminatorProviderType? Type87 { get; set; } /// /// /// - public global::Phoenix.ChatSubmitMessage? Type88 { get; set; } + public global::Phoenix.ChatRequest? Type88 { get; set; } /// /// /// - public global::Phoenix.ChatRequestDiscriminator? Type89 { get; set; } + public global::Phoenix.ChatSubmitMessage? Type89 { get; set; } /// /// /// - public global::Phoenix.ChatRequestDiscriminatorTrigger? Type90 { get; set; } + public global::Phoenix.ChatRequestDiscriminator? Type90 { get; set; } /// /// /// - public global::Phoenix.ChatSubmitMessageEditPermission? Type91 { get; set; } + public global::Phoenix.ChatRequestDiscriminatorTrigger? Type91 { get; set; } /// /// /// - public global::Phoenix.Model2? Type92 { get; set; } + public global::Phoenix.ChatSubmitMessageEditPermission? Type92 { get; set; } /// /// /// - public global::Phoenix.ChatSubmitMessageModelDiscriminator? Type93 { get; set; } + public global::Phoenix.Model2? Type93 { get; set; } /// /// /// - public global::Phoenix.ChatSubmitMessageModelDiscriminatorProviderType? Type94 { get; set; } + public global::Phoenix.ChatSubmitMessageModelDiscriminator? Type94 { get; set; } /// /// /// - public global::Phoenix.ContinuousAnnotationConfig? Type95 { get; set; } + public global::Phoenix.ChatSubmitMessageModelDiscriminatorProviderType? Type95 { get; set; } /// /// /// - public global::Phoenix.ContinuousAnnotationConfigData? Type96 { get; set; } + public global::Phoenix.ContinuousAnnotationConfig? Type96 { get; set; } /// /// /// - public global::Phoenix.CreateAnnotationConfigData? Type97 { get; set; } + public global::Phoenix.ContinuousAnnotationConfigData? Type97 { get; set; } /// /// /// - public global::Phoenix.FreeformAnnotationConfigData? Type98 { get; set; } + public global::Phoenix.CreateAnnotationConfigData? Type98 { get; set; } /// /// /// - public global::Phoenix.CreateAnnotationConfigDataDiscriminator? Type99 { get; set; } + public global::Phoenix.FreeformAnnotationConfigData? Type99 { get; set; } /// /// /// - public global::Phoenix.CreateAnnotationConfigDataDiscriminatorType? Type100 { get; set; } + public global::Phoenix.CreateAnnotationConfigDataDiscriminator? Type100 { get; set; } /// /// /// - public global::Phoenix.CreateAnnotationConfigResponseBody? Type101 { get; set; } + public global::Phoenix.CreateAnnotationConfigDataDiscriminatorType? Type101 { get; set; } /// /// /// - public global::Phoenix.Data? Type102 { get; set; } + public global::Phoenix.CreateAnnotationConfigResponseBody? Type102 { get; set; } /// /// /// - public global::Phoenix.FreeformAnnotationConfig? Type103 { get; set; } + public global::Phoenix.Data? Type103 { get; set; } /// /// /// - public global::Phoenix.CreateAnnotationConfigResponseBodyDataDiscriminator? Type104 { get; set; } + public global::Phoenix.FreeformAnnotationConfig? Type104 { get; set; } /// /// /// - public global::Phoenix.CreateAnnotationConfigResponseBodyDataDiscriminatorType? Type105 { get; set; } + public global::Phoenix.CreateAnnotationConfigResponseBodyDataDiscriminator? Type105 { get; set; } /// /// /// - public global::Phoenix.CreateExperimentRequestBody? Type106 { get; set; } + public global::Phoenix.CreateAnnotationConfigResponseBodyDataDiscriminatorType? Type106 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type107 { get; set; } + public global::Phoenix.CreateExperimentRequestBody? Type107 { get; set; } /// /// /// - public global::Phoenix.CreateExperimentResponseBody? Type108 { get; set; } + public global::System.Collections.Generic.IList? Type108 { get; set; } /// /// /// - public global::Phoenix.Experiment? Type109 { get; set; } + public global::Phoenix.CreateExperimentResponseBody? Type109 { get; set; } /// /// /// - public global::Phoenix.CreateExperimentRunRequestBody? Type110 { get; set; } + public global::Phoenix.Experiment? Type110 { get; set; } /// /// /// - public global::System.DateTime? Type111 { get; set; } + public global::Phoenix.CreateExperimentRunRequestBody? Type111 { get; set; } /// /// /// - public global::Phoenix.CreateExperimentRunResponseBody? Type112 { get; set; } + public global::System.DateTime? Type112 { get; set; } /// /// /// - public global::Phoenix.CreateExperimentRunResponseBodyData? Type113 { get; set; } + public global::Phoenix.CreateExperimentRunResponseBody? Type113 { get; set; } /// /// /// - public global::Phoenix.CreateProjectRequestBody? Type114 { get; set; } + public global::Phoenix.CreateExperimentRunResponseBodyData? Type114 { get; set; } /// /// /// - public global::Phoenix.CreateProjectResponseBody? Type115 { get; set; } + public global::Phoenix.CreateProjectRequestBody? Type115 { get; set; } /// /// /// - public global::Phoenix.Project? Type116 { get; set; } + public global::Phoenix.CreateProjectResponseBody? Type116 { get; set; } /// /// /// - public global::Phoenix.CreatePromptRequestBody? Type117 { get; set; } + public global::Phoenix.Project? Type117 { get; set; } /// /// /// - public global::Phoenix.PromptData? Type118 { get; set; } + public global::Phoenix.CreatePromptRequestBody? Type118 { get; set; } /// /// /// - public global::Phoenix.PromptVersionData? Type119 { get; set; } + public global::Phoenix.PromptData? Type119 { get; set; } /// /// /// - public global::Phoenix.CreatePromptResponseBody? Type120 { get; set; } + public global::Phoenix.PromptVersionData? Type120 { get; set; } /// /// /// - public global::Phoenix.PromptVersion? Type121 { get; set; } + public global::Phoenix.CreatePromptResponseBody? Type121 { get; set; } /// /// /// - public global::Phoenix.CreateSessionNoteRequestBody? Type122 { get; set; } + public global::Phoenix.PromptVersion? Type122 { get; set; } /// /// /// - public global::Phoenix.SessionNoteData? Type123 { get; set; } + public global::Phoenix.CreateSessionNoteRequestBody? Type123 { get; set; } /// /// /// - public global::Phoenix.CreateSessionNoteResponseBody? Type124 { get; set; } + public global::Phoenix.SessionNoteData? Type124 { get; set; } /// /// /// - public global::Phoenix.CreateSpanNoteRequestBody? Type125 { get; set; } + public global::Phoenix.CreateSessionNoteResponseBody? Type125 { get; set; } /// /// /// - public global::Phoenix.SpanNoteData? Type126 { get; set; } + public global::Phoenix.CreateSpanNoteRequestBody? Type126 { get; set; } /// /// /// - public global::Phoenix.CreateSpanNoteResponseBody? Type127 { get; set; } + public global::Phoenix.SpanNoteData? Type127 { get; set; } /// /// /// - public global::Phoenix.CreateSpansRequestBody? Type128 { get; set; } + public global::Phoenix.CreateSpanNoteResponseBody? Type128 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type129 { get; set; } + public global::Phoenix.CreateSpansRequestBody? Type129 { get; set; } /// /// /// - public global::Phoenix.Span? Type130 { get; set; } + public global::System.Collections.Generic.IList? Type130 { get; set; } /// /// /// - public global::Phoenix.CreateSpansResponseBody? Type131 { get; set; } + public global::Phoenix.Span? Type131 { get; set; } /// /// /// - public global::Phoenix.CreateTraceNoteRequestBody? Type132 { get; set; } + public global::Phoenix.CreateSpansResponseBody? Type132 { get; set; } /// /// /// - public global::Phoenix.TraceNoteData? Type133 { get; set; } + public global::Phoenix.CreateTraceNoteRequestBody? Type133 { get; set; } /// /// /// - public global::Phoenix.CreateTraceNoteResponseBody? Type134 { get; set; } + public global::Phoenix.TraceNoteData? Type134 { get; set; } /// /// /// - public global::Phoenix.CreateUserRequestBody? Type135 { get; set; } + public global::Phoenix.CreateTraceNoteResponseBody? Type135 { get; set; } /// /// /// - public global::Phoenix.User? Type136 { get; set; } + public global::Phoenix.CreateUserRequestBody? Type136 { get; set; } /// /// /// - public global::Phoenix.LocalUserData? Type137 { get; set; } + public global::Phoenix.User? Type137 { get; set; } /// /// /// - public global::Phoenix.OAuth2UserData? Type138 { get; set; } + public global::Phoenix.LocalUserData? Type138 { get; set; } /// /// /// - public global::Phoenix.LDAPUserData? Type139 { get; set; } + public global::Phoenix.OAuth2UserData? Type139 { get; set; } /// /// /// - public global::Phoenix.CreateUserRequestBodyUserDiscriminator? Type140 { get; set; } + public global::Phoenix.LDAPUserData? Type140 { get; set; } /// /// /// - public global::Phoenix.CreateUserRequestBodyUserDiscriminatorAuthMethod? Type141 { get; set; } + public global::Phoenix.CreateUserRequestBodyUserDiscriminator? Type141 { get; set; } /// /// /// - public global::Phoenix.CreateUserResponseBody? Type142 { get; set; } + public global::Phoenix.CreateUserRequestBodyUserDiscriminatorAuthMethod? Type142 { get; set; } /// /// /// - public global::Phoenix.Data2? Type143 { get; set; } + public global::Phoenix.CreateUserResponseBody? Type143 { get; set; } /// /// /// - public global::Phoenix.LocalUser? Type144 { get; set; } + public global::Phoenix.Data2? Type144 { get; set; } /// /// /// - public global::Phoenix.OAuth2User? Type145 { get; set; } + public global::Phoenix.LocalUser? Type145 { get; set; } /// /// /// - public global::Phoenix.LDAPUser? Type146 { get; set; } + public global::Phoenix.OAuth2User? Type146 { get; set; } /// /// /// - public global::Phoenix.CreateUserResponseBodyDataDiscriminator? Type147 { get; set; } + public global::Phoenix.LDAPUser? Type147 { get; set; } /// /// /// - public global::Phoenix.CreateUserResponseBodyDataDiscriminatorAuthMethod? Type148 { get; set; } + public global::Phoenix.CreateUserResponseBodyDataDiscriminator? Type148 { get; set; } /// /// /// - public global::Phoenix.Dataset? Type149 { get; set; } + public global::Phoenix.CreateUserResponseBodyDataDiscriminatorAuthMethod? Type149 { get; set; } /// /// /// - public global::Phoenix.DatasetExample? Type150 { get; set; } + public global::Phoenix.Dataset? Type150 { get; set; } /// /// /// - public global::Phoenix.DatasetVersion? Type151 { get; set; } + public global::Phoenix.DatasetExample? Type151 { get; set; } /// /// /// - public global::Phoenix.DatasetWithExampleCount? Type152 { get; set; } + public global::Phoenix.DatasetVersion? Type152 { get; set; } /// /// /// - public global::Phoenix.DeleteAnnotationConfigResponseBody? Type153 { get; set; } + public global::Phoenix.DatasetWithExampleCount? Type153 { get; set; } /// /// /// - public global::Phoenix.Data3? Type154 { get; set; } + public global::Phoenix.DeleteAnnotationConfigResponseBody? Type154 { get; set; } /// /// /// - public global::Phoenix.DeleteAnnotationConfigResponseBodyDataDiscriminator? Type155 { get; set; } + public global::Phoenix.Data3? Type155 { get; set; } /// /// /// - public global::Phoenix.DeleteAnnotationConfigResponseBodyDataDiscriminatorType? Type156 { get; set; } + public global::Phoenix.DeleteAnnotationConfigResponseBodyDataDiscriminator? Type156 { get; set; } /// /// /// - public global::Phoenix.DeleteSessionsRequestBody? Type157 { get; set; } + public global::Phoenix.DeleteAnnotationConfigResponseBodyDataDiscriminatorType? Type157 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type158 { get; set; } + public global::Phoenix.DeleteSessionsRequestBody? Type158 { get; set; } /// /// /// - public global::Phoenix.AnyOf? Type159 { get; set; } + public global::System.Collections.Generic.Dictionary? Type159 { get; set; } /// /// /// - public global::Phoenix.ToolApprovalRequested? Type160 { get; set; } + public global::Phoenix.AnyOf? Type160 { get; set; } /// /// /// - public global::Phoenix.ToolApprovalResponded? Type161 { get; set; } + public global::Phoenix.ToolApprovalRequested? Type161 { get; set; } /// /// /// - public global::Phoenix.ExperimentEvaluationResult? Type162 { get; set; } + public global::Phoenix.ToolApprovalResponded? Type162 { get; set; } /// /// /// - public global::Phoenix.ExperimentRun? Type163 { get; set; } + public global::Phoenix.ExperimentEvaluationResult? Type163 { get; set; } /// /// /// - public global::Phoenix.GetAnnotationConfigResponseBody? Type164 { get; set; } + public global::Phoenix.ExperimentRun? Type164 { get; set; } /// /// /// - public global::Phoenix.Data4? Type165 { get; set; } + public global::Phoenix.GetAnnotationConfigResponseBody? Type165 { get; set; } /// /// /// - public global::Phoenix.GetAnnotationConfigResponseBodyDataDiscriminator? Type166 { get; set; } + public global::Phoenix.Data4? Type166 { get; set; } /// /// /// - public global::Phoenix.GetAnnotationConfigResponseBodyDataDiscriminatorType? Type167 { get; set; } + public global::Phoenix.GetAnnotationConfigResponseBodyDataDiscriminator? Type167 { get; set; } /// /// /// - public global::Phoenix.GetAnnotationConfigsResponseBody? Type168 { get; set; } + public global::Phoenix.GetAnnotationConfigResponseBodyDataDiscriminatorType? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::Phoenix.GetAnnotationConfigsResponseBody? Type169 { get; set; } /// /// /// - public global::Phoenix.DataItem? Type170 { get; set; } + public global::System.Collections.Generic.IList? Type170 { get; set; } /// /// /// - public global::Phoenix.GetAnnotationConfigsResponseBodyDataItemDiscriminator? Type171 { get; set; } + public global::Phoenix.DataItem? Type171 { get; set; } /// /// /// - public global::Phoenix.GetAnnotationConfigsResponseBodyDataItemDiscriminatorType? Type172 { get; set; } + public global::Phoenix.GetAnnotationConfigsResponseBodyDataItemDiscriminator? Type172 { get; set; } /// /// /// - public global::Phoenix.GetDatasetResponseBody? Type173 { get; set; } + public global::Phoenix.GetAnnotationConfigsResponseBodyDataItemDiscriminatorType? Type173 { get; set; } /// /// /// - public global::Phoenix.GetExperimentResponseBody? Type174 { get; set; } + public global::Phoenix.GetDatasetResponseBody? Type174 { get; set; } /// /// /// - public global::Phoenix.GetIncompleteEvaluationsResponseBody? Type175 { get; set; } + public global::Phoenix.GetExperimentResponseBody? Type175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type176 { get; set; } + public global::Phoenix.GetIncompleteEvaluationsResponseBody? Type176 { get; set; } /// /// /// - public global::Phoenix.IncompleteExperimentEvaluation? Type177 { get; set; } + public global::System.Collections.Generic.IList? Type177 { get; set; } /// /// /// - public global::Phoenix.GetIncompleteExperimentRunsResponseBody? Type178 { get; set; } + public global::Phoenix.IncompleteExperimentEvaluation? Type178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type179 { get; set; } + public global::Phoenix.GetIncompleteExperimentRunsResponseBody? Type179 { get; set; } /// /// /// - public global::Phoenix.IncompleteExperimentRun? Type180 { get; set; } + public global::System.Collections.Generic.IList? Type180 { get; set; } /// /// /// - public global::Phoenix.GetProjectResponseBody? Type181 { get; set; } + public global::Phoenix.IncompleteExperimentRun? Type181 { get; set; } /// /// /// - public global::Phoenix.GetProjectsResponseBody? Type182 { get; set; } + public global::Phoenix.GetProjectResponseBody? Type182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type183 { get; set; } + public global::Phoenix.GetProjectsResponseBody? Type183 { get; set; } /// /// /// - public global::Phoenix.GetPromptResponseBody? Type184 { get; set; } + public global::System.Collections.Generic.IList? Type184 { get; set; } /// /// /// - public global::Phoenix.GetPromptVersionTagsResponseBody? Type185 { get; set; } + public global::Phoenix.GetPromptResponseBody? Type185 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type186 { get; set; } + public global::Phoenix.GetPromptVersionTagsResponseBody? Type186 { get; set; } /// /// /// - public global::Phoenix.PromptVersionTag? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::Phoenix.GetPromptVersionsResponseBody? Type188 { get; set; } + public global::Phoenix.PromptVersionTag? Type188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type189 { get; set; } + public global::Phoenix.GetPromptVersionsResponseBody? Type189 { get; set; } /// /// /// - public global::Phoenix.GetPromptsResponseBody? Type190 { get; set; } + public global::System.Collections.Generic.IList? Type190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type191 { get; set; } + public global::Phoenix.GetPromptsResponseBody? Type191 { get; set; } /// /// /// - public global::Phoenix.Prompt? Type192 { get; set; } + public global::System.Collections.Generic.IList? Type192 { get; set; } /// /// /// - public global::Phoenix.GetSessionResponseBody? Type193 { get; set; } + public global::Phoenix.Prompt? Type193 { get; set; } /// /// /// - public global::Phoenix.SessionData? Type194 { get; set; } + public global::Phoenix.GetSessionResponseBody? Type194 { get; set; } /// /// /// - public global::Phoenix.GetSessionsResponseBody? Type195 { get; set; } + public global::Phoenix.SessionData? Type195 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type196 { get; set; } + public global::Phoenix.GetSessionsResponseBody? Type196 { get; set; } /// /// /// - public global::Phoenix.GetTracesResponseBody? Type197 { get; set; } + public global::System.Collections.Generic.IList? Type197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type198 { get; set; } + public global::Phoenix.GetTracesResponseBody? Type198 { get; set; } /// /// /// - public global::Phoenix.TraceData? Type199 { get; set; } + public global::System.Collections.Generic.IList? Type199 { get; set; } /// /// /// - public global::Phoenix.GetUsersResponseBody? Type200 { get; set; } + public global::Phoenix.TraceData? Type200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type201 { get; set; } + public global::Phoenix.GetUsersResponseBody? Type201 { get; set; } /// /// /// - public global::Phoenix.DataItem2? Type202 { get; set; } + public global::System.Collections.Generic.IList? Type202 { get; set; } /// /// /// - public global::Phoenix.GetUsersResponseBodyDataItemDiscriminator? Type203 { get; set; } + public global::Phoenix.DataItem2? Type203 { get; set; } /// /// /// - public global::Phoenix.GetUsersResponseBodyDataItemDiscriminatorAuthMethod? Type204 { get; set; } + public global::Phoenix.GetUsersResponseBodyDataItemDiscriminator? Type204 { get; set; } /// /// /// - public global::Phoenix.GetViewerResponseBody? Type205 { get; set; } + public global::Phoenix.GetUsersResponseBodyDataItemDiscriminatorAuthMethod? Type205 { get; set; } /// /// /// - public global::Phoenix.Data5? Type206 { get; set; } + public global::Phoenix.GetViewerResponseBody? Type206 { get; set; } /// /// /// - public global::Phoenix.GetViewerResponseBodyDataDiscriminator? Type207 { get; set; } + public global::Phoenix.Data5? Type207 { get; set; } /// /// /// - public global::Phoenix.GetViewerResponseBodyDataDiscriminatorAuthMethod? Type208 { get; set; } + public global::Phoenix.GetViewerResponseBodyDataDiscriminator? Type208 { get; set; } /// /// /// - public global::Phoenix.HTTPValidationError? Type209 { get; set; } + public global::Phoenix.GetViewerResponseBodyDataDiscriminatorAuthMethod? Type209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type210 { get; set; } + public global::Phoenix.HTTPValidationError? Type210 { get; set; } /// /// /// - public global::Phoenix.ValidationError? Type211 { get; set; } + public global::System.Collections.Generic.IList? Type211 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type212 { get; set; } + public global::Phoenix.ValidationError? Type212 { get; set; } /// /// /// - public global::Phoenix.LDAPUserRole? Type213 { get; set; } + public global::System.Collections.Generic.IList? Type213 { get; set; } /// /// /// - public global::Phoenix.LDAPUserDataRole? Type214 { get; set; } + public global::Phoenix.LDAPUserRole? Type214 { get; set; } /// /// /// - public global::Phoenix.ListDatasetExamplesData? Type215 { get; set; } + public global::Phoenix.LDAPUserDataRole? Type215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type216 { get; set; } + public global::Phoenix.ListDatasetExamplesData? Type216 { get; set; } /// /// /// - public global::Phoenix.ListDatasetExamplesResponseBody? Type217 { get; set; } + public global::System.Collections.Generic.IList? Type217 { get; set; } /// /// /// - public global::Phoenix.ListDatasetVersionsResponseBody? Type218 { get; set; } + public global::Phoenix.ListDatasetExamplesResponseBody? Type218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type219 { get; set; } + public global::Phoenix.ListDatasetVersionsResponseBody? Type219 { get; set; } /// /// /// - public global::Phoenix.ListDatasetsResponseBody? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type221 { get; set; } + public global::Phoenix.ListDatasetsResponseBody? Type221 { get; set; } /// /// /// - public global::Phoenix.ListExperimentRunsResponseBody? Type222 { get; set; } + public global::System.Collections.Generic.IList? Type222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type223 { get; set; } + public global::Phoenix.ListExperimentRunsResponseBody? Type223 { get; set; } /// /// /// - public global::Phoenix.ListExperimentsResponseBody? Type224 { get; set; } + public global::System.Collections.Generic.IList? Type224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type225 { get; set; } + public global::Phoenix.ListExperimentsResponseBody? Type225 { get; set; } /// /// /// - public global::Phoenix.LocalUserRole? Type226 { get; set; } + public global::System.Collections.Generic.IList? Type226 { get; set; } /// /// /// - public global::Phoenix.LocalUserDataRole? Type227 { get; set; } + public global::Phoenix.LocalUserRole? Type227 { get; set; } /// /// /// - public global::Phoenix.OAuth2UserRole? Type228 { get; set; } + public global::Phoenix.LocalUserDataRole? Type228 { get; set; } /// /// /// - public global::Phoenix.OAuth2UserDataRole? Type229 { get; set; } + public global::Phoenix.OAuth2UserRole? Type229 { get; set; } /// /// /// - public global::Phoenix.OtlpAnyValue? Type230 { get; set; } + public global::Phoenix.OAuth2UserDataRole? Type230 { get; set; } /// /// /// - public global::Phoenix.OtlpArrayValue? Type231 { get; set; } + public global::Phoenix.OtlpAnyValue? Type231 { get; set; } /// /// /// - public global::Phoenix.AnyOf? Type232 { get; set; } + public global::Phoenix.OtlpArrayValue? Type232 { get; set; } /// /// /// - public global::Phoenix.OtlpDoubleValue? Type233 { get; set; } + public global::Phoenix.AnyOf? Type233 { get; set; } /// /// /// - public global::Phoenix.AnyOf? Type234 { get; set; } + public global::Phoenix.OtlpDoubleValue? Type234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type235 { get; set; } + public global::Phoenix.AnyOf? Type235 { get; set; } /// /// /// - public global::Phoenix.OtlpEvent? Type236 { get; set; } + public global::System.Collections.Generic.IList? Type236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type237 { get; set; } + public global::Phoenix.OtlpEvent? Type237 { get; set; } /// /// /// - public global::Phoenix.OtlpKeyValue? Type238 { get; set; } + public global::System.Collections.Generic.IList? Type238 { get; set; } /// /// /// - public global::Phoenix.AnyOf? Type239 { get; set; } + public global::Phoenix.OtlpKeyValue? Type239 { get; set; } /// /// /// - public long? Type240 { get; set; } + public global::Phoenix.AnyOf? Type240 { get; set; } /// /// /// - public global::Phoenix.OtlpKind? Type241 { get; set; } + public long? Type241 { get; set; } /// /// /// - public global::Phoenix.OtlpSpan? Type242 { get; set; } + public global::Phoenix.OtlpKind? Type242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type243 { get; set; } + public global::Phoenix.OtlpSpan? Type243 { get; set; } /// /// /// - public global::Phoenix.AnyOf? Type244 { get; set; } + public global::System.Collections.Generic.IList? Type244 { get; set; } /// /// /// - public global::Phoenix.OtlpStatus? Type245 { get; set; } + public global::Phoenix.AnyOf? Type245 { get; set; } /// /// /// - public global::Phoenix.OtlpSpansResponseBody? Type246 { get; set; } + public global::Phoenix.OtlpStatus? Type246 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type247 { get; set; } + public global::Phoenix.OtlpSpansResponseBody? Type247 { get; set; } /// /// /// - public global::Phoenix.PlaygroundBuiltinModelContext? Type248 { get; set; } + public global::System.Collections.Generic.IList? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type249 { get; set; } + public global::Phoenix.PlaygroundBuiltinModelContext? Type249 { get; set; } /// /// /// - public global::Phoenix.PlaygroundInstanceContext? Type250 { get; set; } + public global::System.Collections.Generic.IList? Type250 { get; set; } /// /// /// - public global::Phoenix.PlaygroundCustomProviderModelContext? Type251 { get; set; } + public global::Phoenix.PlaygroundInstanceContext? Type251 { get; set; } /// /// /// - public global::Phoenix.ModelVariant1? Type252 { get; set; } + public global::Phoenix.PlaygroundCustomProviderModelContext? Type252 { get; set; } /// /// /// - public global::Phoenix.PlaygroundInstanceContextModelVariant1Discriminator? Type253 { get; set; } + public global::Phoenix.ModelVariant1? Type253 { get; set; } /// /// /// - public global::Phoenix.PlaygroundInstanceContextModelVariant1DiscriminatorType? Type254 { get; set; } + public global::Phoenix.PlaygroundInstanceContextModelVariant1Discriminator? Type254 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicInvocationParameters? Type255 { get; set; } + public global::Phoenix.PlaygroundInstanceContextModelVariant1DiscriminatorType? Type255 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicInvocationParametersContent? Type256 { get; set; } + public global::Phoenix.PromptAnthropicInvocationParameters? Type256 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicOutputConfig? Type257 { get; set; } + public global::Phoenix.PromptAnthropicInvocationParametersContent? Type257 { get; set; } /// /// /// - public global::Phoenix.Thinking? Type258 { get; set; } + public global::Phoenix.PromptAnthropicOutputConfig? Type258 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigDisabled? Type259 { get; set; } + public global::Phoenix.Thinking? Type259 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigEnabled? Type260 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigDisabled? Type260 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigAdaptive? Type261 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigEnabled? Type261 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminator? Type262 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigAdaptive? Type262 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminatorType? Type263 { get; set; } + public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminator? Type263 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicOutputConfigEffort? Type264 { get; set; } + public global::Phoenix.PromptAnthropicInvocationParametersContentThinkingDiscriminatorType? Type264 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigAdaptiveDisplay? Type265 { get; set; } + public global::Phoenix.PromptAnthropicOutputConfigEffort? Type265 { get; set; } /// /// /// - public global::Phoenix.PromptAnthropicThinkingConfigEnabledDisplay? Type266 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigAdaptiveDisplay? Type266 { get; set; } /// /// /// - public global::Phoenix.PromptAwsInvocationParameters? Type267 { get; set; } + public global::Phoenix.PromptAnthropicThinkingConfigEnabledDisplay? Type267 { get; set; } /// /// /// - public global::Phoenix.PromptAwsInvocationParametersContent? Type268 { get; set; } + public global::Phoenix.PromptAwsInvocationParameters? Type268 { get; set; } /// /// /// - public global::Phoenix.PromptAzureOpenAIInvocationParameters? Type269 { get; set; } + public global::Phoenix.PromptAwsInvocationParametersContent? Type269 { get; set; } /// /// /// - public global::Phoenix.PromptAzureOpenAIInvocationParametersContent? Type270 { get; set; } + public global::Phoenix.PromptAzureOpenAIInvocationParameters? Type270 { get; set; } /// /// /// - public global::Phoenix.PromptAzureOpenAIInvocationParametersContentReasoningEffort? Type271 { get; set; } + public global::Phoenix.PromptAzureOpenAIInvocationParametersContent? Type271 { get; set; } /// /// /// - public global::Phoenix.PromptCerebrasInvocationParameters? Type272 { get; set; } + public global::Phoenix.PromptAzureOpenAIInvocationParametersContentReasoningEffort? Type272 { get; set; } /// /// /// - public global::Phoenix.PromptCerebrasInvocationParametersContent? Type273 { get; set; } + public global::Phoenix.PromptCerebrasInvocationParameters? Type273 { get; set; } /// /// /// - public global::Phoenix.PromptCerebrasInvocationParametersContentReasoningEffort? Type274 { get; set; } + public global::Phoenix.PromptCerebrasInvocationParametersContent? Type274 { get; set; } /// /// /// - public global::Phoenix.PromptChatTemplate? Type275 { get; set; } + public global::Phoenix.PromptCerebrasInvocationParametersContentReasoningEffort? Type275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type276 { get; set; } + public global::Phoenix.PromptChatTemplate? Type276 { get; set; } /// /// /// - public global::Phoenix.PromptMessage? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::Phoenix.PromptDeepSeekInvocationParameters? Type278 { get; set; } + public global::Phoenix.PromptMessage? Type278 { get; set; } /// /// /// - public global::Phoenix.PromptDeepSeekInvocationParametersContent? Type279 { get; set; } + public global::Phoenix.PromptDeepSeekInvocationParameters? Type279 { get; set; } /// /// /// - public global::Phoenix.PromptDeepSeekInvocationParametersContentReasoningEffort? Type280 { get; set; } + public global::Phoenix.PromptDeepSeekInvocationParametersContent? Type280 { get; set; } /// /// /// - public global::Phoenix.PromptFireworksInvocationParameters? Type281 { get; set; } + public global::Phoenix.PromptDeepSeekInvocationParametersContentReasoningEffort? Type281 { get; set; } /// /// /// - public global::Phoenix.PromptFireworksInvocationParametersContent? Type282 { get; set; } + public global::Phoenix.PromptFireworksInvocationParameters? Type282 { get; set; } /// /// /// - public global::Phoenix.PromptFireworksInvocationParametersContentReasoningEffort? Type283 { get; set; } + public global::Phoenix.PromptFireworksInvocationParametersContent? Type283 { get; set; } /// /// /// - public global::Phoenix.PromptGoogleInvocationParameters? Type284 { get; set; } + public global::Phoenix.PromptFireworksInvocationParametersContentReasoningEffort? Type284 { get; set; } /// /// /// - public global::Phoenix.PromptGoogleInvocationParametersContent? Type285 { get; set; } + public global::Phoenix.PromptGoogleInvocationParameters? Type285 { get; set; } /// /// /// - public global::Phoenix.PromptGoogleThinkingConfig? Type286 { get; set; } + public global::Phoenix.PromptGoogleInvocationParametersContent? Type286 { get; set; } /// /// /// - public global::Phoenix.PromptGoogleThinkingConfigThinkingLevel? Type287 { get; set; } + public global::Phoenix.PromptGoogleThinkingConfig? Type287 { get; set; } /// /// /// - public global::Phoenix.PromptGroqInvocationParameters? Type288 { get; set; } + public global::Phoenix.PromptGoogleThinkingConfigThinkingLevel? Type288 { get; set; } /// /// /// - public global::Phoenix.PromptGroqInvocationParametersContent? Type289 { get; set; } + public global::Phoenix.PromptGroqInvocationParameters? Type289 { get; set; } /// /// /// - public global::Phoenix.PromptGroqInvocationParametersContentReasoningEffort? Type290 { get; set; } + public global::Phoenix.PromptGroqInvocationParametersContent? Type290 { get; set; } /// /// /// - public global::Phoenix.PromptMessageRole? Type291 { get; set; } + public global::Phoenix.PromptGroqInvocationParametersContentReasoningEffort? Type291 { get; set; } /// /// /// - public global::Phoenix.AnyOf>? Type292 { get; set; } + public global::Phoenix.PromptMessageRole? Type292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type293 { get; set; } + public global::Phoenix.AnyOf>? Type293 { get; set; } /// /// /// - public global::Phoenix.ContentVariant2Item? Type294 { get; set; } + public global::System.Collections.Generic.IList? Type294 { get; set; } /// /// /// - public global::Phoenix.TextContentPart? Type295 { get; set; } + public global::Phoenix.ContentVariant2Item? Type295 { get; set; } /// /// /// - public global::Phoenix.ToolCallContentPart? Type296 { get; set; } + public global::Phoenix.TextContentPart? Type296 { get; set; } /// /// /// - public global::Phoenix.ToolResultContentPart? Type297 { get; set; } + public global::Phoenix.ToolCallContentPart? Type297 { get; set; } /// /// /// - public global::Phoenix.PromptMessageContentVariant2ItemDiscriminator? Type298 { get; set; } + public global::Phoenix.ToolResultContentPart? Type298 { get; set; } /// /// /// - public global::Phoenix.PromptMessageContentVariant2ItemDiscriminatorType? Type299 { get; set; } + public global::Phoenix.PromptMessageContentVariant2ItemDiscriminator? Type299 { get; set; } /// /// /// - public global::Phoenix.PromptMoonshotInvocationParameters? Type300 { get; set; } + public global::Phoenix.PromptMessageContentVariant2ItemDiscriminatorType? Type300 { get; set; } /// /// /// - public global::Phoenix.PromptMoonshotInvocationParametersContent? Type301 { get; set; } + public global::Phoenix.PromptMoonshotInvocationParameters? Type301 { get; set; } /// /// /// - public global::Phoenix.PromptMoonshotInvocationParametersContentReasoningEffort? Type302 { get; set; } + public global::Phoenix.PromptMoonshotInvocationParametersContent? Type302 { get; set; } /// /// /// - public global::Phoenix.PromptOllamaInvocationParameters? Type303 { get; set; } + public global::Phoenix.PromptMoonshotInvocationParametersContentReasoningEffort? Type303 { get; set; } /// /// /// - public global::Phoenix.PromptOllamaInvocationParametersContent? Type304 { get; set; } + public global::Phoenix.PromptOllamaInvocationParameters? Type304 { get; set; } /// /// /// - public global::Phoenix.PromptOllamaInvocationParametersContentReasoningEffort? Type305 { get; set; } + public global::Phoenix.PromptOllamaInvocationParametersContent? Type305 { get; set; } /// /// /// - public global::Phoenix.PromptOpenAIInvocationParameters? Type306 { get; set; } + public global::Phoenix.PromptOllamaInvocationParametersContentReasoningEffort? Type306 { get; set; } /// /// /// - public global::Phoenix.PromptOpenAIInvocationParametersContent? Type307 { get; set; } + public global::Phoenix.PromptOpenAIInvocationParameters? Type307 { get; set; } /// /// /// - public global::Phoenix.PromptOpenAIInvocationParametersContentReasoningEffort? Type308 { get; set; } + public global::Phoenix.PromptOpenAIInvocationParametersContent? Type308 { get; set; } /// /// /// - public global::Phoenix.PromptPerplexityInvocationParameters? Type309 { get; set; } + public global::Phoenix.PromptOpenAIInvocationParametersContentReasoningEffort? Type309 { get; set; } /// /// /// - public global::Phoenix.PromptPerplexityInvocationParametersContent? Type310 { get; set; } + public global::Phoenix.PromptPerplexityInvocationParameters? Type310 { get; set; } /// /// /// - public global::Phoenix.PromptPerplexityInvocationParametersContentReasoningEffort? Type311 { get; set; } + public global::Phoenix.PromptPerplexityInvocationParametersContent? Type311 { get; set; } /// /// /// - public global::Phoenix.PromptResponseFormatJSONSchema? Type312 { get; set; } + public global::Phoenix.PromptPerplexityInvocationParametersContentReasoningEffort? Type312 { get; set; } /// /// /// - public global::Phoenix.PromptResponseFormatJSONSchemaDefinition? Type313 { get; set; } + public global::Phoenix.PromptResponseFormatJSONSchema? Type313 { get; set; } /// /// /// - public global::Phoenix.PromptStringTemplate? Type314 { get; set; } + public global::Phoenix.PromptResponseFormatJSONSchemaDefinition? Type314 { get; set; } /// /// /// - public global::Phoenix.PromptTemplateFormat? Type315 { get; set; } + public global::Phoenix.PromptStringTemplate? Type315 { get; set; } /// /// /// - public global::Phoenix.PromptTemplateType? Type316 { get; set; } + public global::Phoenix.PromptTemplateFormat? Type316 { get; set; } /// /// /// - public global::Phoenix.PromptTogetherInvocationParameters? Type317 { get; set; } + public global::Phoenix.PromptTemplateType? Type317 { get; set; } /// /// /// - public global::Phoenix.PromptTogetherInvocationParametersContent? Type318 { get; set; } + public global::Phoenix.PromptTogetherInvocationParameters? Type318 { get; set; } /// /// /// - public global::Phoenix.PromptTogetherInvocationParametersContentReasoningEffort? Type319 { get; set; } + public global::Phoenix.PromptTogetherInvocationParametersContent? Type319 { get; set; } /// /// /// - public global::Phoenix.PromptToolChoiceNone? Type320 { get; set; } + public global::Phoenix.PromptTogetherInvocationParametersContentReasoningEffort? Type320 { get; set; } /// /// /// - public global::Phoenix.PromptToolChoiceOneOrMore? Type321 { get; set; } + public global::Phoenix.PromptToolChoiceNone? Type321 { get; set; } /// /// /// - public global::Phoenix.PromptToolChoiceSpecificFunctionTool? Type322 { get; set; } + public global::Phoenix.PromptToolChoiceOneOrMore? Type322 { get; set; } /// /// /// - public global::Phoenix.PromptToolChoiceZeroOrMore? Type323 { get; set; } + public global::Phoenix.PromptToolChoiceSpecificFunctionTool? Type323 { get; set; } /// /// /// - public global::Phoenix.PromptToolFunction? Type324 { get; set; } + public global::Phoenix.PromptToolChoiceZeroOrMore? Type324 { get; set; } /// /// /// - public global::Phoenix.PromptToolFunctionDefinition? Type325 { get; set; } + public global::Phoenix.PromptToolFunction? Type325 { get; set; } /// /// /// - public global::Phoenix.PromptToolRaw? Type326 { get; set; } + public global::Phoenix.PromptToolFunctionDefinition? Type326 { get; set; } /// /// /// - public global::Phoenix.PromptTools? Type327 { get; set; } + public global::Phoenix.PromptToolRaw? Type327 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type328 { get; set; } + public global::Phoenix.PromptTools? Type328 { get; set; } /// /// /// - public global::Phoenix.ToolsItem? Type329 { get; set; } + public global::System.Collections.Generic.IList? Type329 { get; set; } /// /// /// - public global::Phoenix.PromptToolsToolDiscriminator? Type330 { get; set; } + public global::Phoenix.ToolsItem? Type330 { get; set; } /// /// /// - public global::Phoenix.PromptToolsToolDiscriminatorType? Type331 { get; set; } + public global::Phoenix.PromptToolsToolDiscriminator? Type331 { get; set; } /// /// /// - public global::Phoenix.ToolChoice? Type332 { get; set; } + public global::Phoenix.PromptToolsToolDiscriminatorType? Type332 { get; set; } /// /// /// - public global::Phoenix.PromptToolsToolChoiceDiscriminator? Type333 { get; set; } + public global::Phoenix.ToolChoice? Type333 { get; set; } /// /// /// - public global::Phoenix.PromptToolsToolChoiceDiscriminatorType? Type334 { get; set; } + public global::Phoenix.PromptToolsToolChoiceDiscriminator? Type334 { get; set; } /// /// /// - public global::Phoenix.Template? Type335 { get; set; } + public global::Phoenix.PromptToolsToolChoiceDiscriminatorType? Type335 { get; set; } /// /// /// - public global::Phoenix.PromptVersionTemplateDiscriminator? Type336 { get; set; } + public global::Phoenix.Template? Type336 { get; set; } /// /// /// - public global::Phoenix.PromptVersionTemplateDiscriminatorType? Type337 { get; set; } + public global::Phoenix.PromptVersionTemplateDiscriminator? Type337 { get; set; } /// /// /// - public global::Phoenix.InvocationParameters? Type338 { get; set; } + public global::Phoenix.PromptVersionTemplateDiscriminatorType? Type338 { get; set; } /// /// /// - public global::Phoenix.PromptXAIInvocationParameters? Type339 { get; set; } + public global::Phoenix.InvocationParameters? Type339 { get; set; } /// /// /// - public global::Phoenix.PromptVersionInvocationParametersDiscriminator? Type340 { get; set; } + public global::Phoenix.PromptXAIInvocationParameters? Type340 { get; set; } /// /// /// - public global::Phoenix.PromptVersionInvocationParametersDiscriminatorType? Type341 { get; set; } + public global::Phoenix.PromptVersionInvocationParametersDiscriminator? Type341 { get; set; } /// /// /// - public global::Phoenix.ResponseFormatVariant1? Type342 { get; set; } + public global::Phoenix.PromptVersionInvocationParametersDiscriminatorType? Type342 { get; set; } /// /// /// - public global::Phoenix.PromptVersionResponseFormatVariant1Discriminator? Type343 { get; set; } + public global::Phoenix.ResponseFormatVariant1? Type343 { get; set; } /// /// /// - public global::Phoenix.PromptVersionResponseFormatVariant1DiscriminatorType? Type344 { get; set; } + public global::Phoenix.PromptVersionResponseFormatVariant1Discriminator? Type344 { get; set; } /// /// /// - public global::Phoenix.Template2? Type345 { get; set; } + public global::Phoenix.PromptVersionResponseFormatVariant1DiscriminatorType? Type345 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataTemplateDiscriminator? Type346 { get; set; } + public global::Phoenix.Template2? Type346 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataTemplateDiscriminatorType? Type347 { get; set; } + public global::Phoenix.PromptVersionDataTemplateDiscriminator? Type347 { get; set; } /// /// /// - public global::Phoenix.InvocationParameters2? Type348 { get; set; } + public global::Phoenix.PromptVersionDataTemplateDiscriminatorType? Type348 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataInvocationParametersDiscriminator? Type349 { get; set; } + public global::Phoenix.InvocationParameters2? Type349 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataInvocationParametersDiscriminatorType? Type350 { get; set; } + public global::Phoenix.PromptVersionDataInvocationParametersDiscriminator? Type350 { get; set; } /// /// /// - public global::Phoenix.ResponseFormatVariant12? Type351 { get; set; } + public global::Phoenix.PromptVersionDataInvocationParametersDiscriminatorType? Type351 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataResponseFormatVariant1Discriminator? Type352 { get; set; } + public global::Phoenix.ResponseFormatVariant12? Type352 { get; set; } /// /// /// - public global::Phoenix.PromptVersionDataResponseFormatVariant1DiscriminatorType? Type353 { get; set; } + public global::Phoenix.PromptVersionDataResponseFormatVariant1Discriminator? Type353 { get; set; } /// /// /// - public global::Phoenix.PromptVersionTagData? Type354 { get; set; } + public global::Phoenix.PromptVersionDataResponseFormatVariant1DiscriminatorType? Type354 { get; set; } /// /// /// - public global::Phoenix.PromptXAIInvocationParametersContent? Type355 { get; set; } + public global::Phoenix.PromptVersionTagData? Type355 { get; set; } /// /// /// - public global::Phoenix.PromptXAIInvocationParametersContentReasoningEffort? Type356 { get; set; } + public global::Phoenix.PromptXAIInvocationParametersContent? Type356 { get; set; } /// /// /// - public global::Phoenix.ReasoningUIPartState2? Type357 { get; set; } + public global::Phoenix.PromptXAIInvocationParametersContentReasoningEffort? Type357 { get; set; } /// /// /// - public global::Phoenix.ResponseBodyUpsertOrDeleteSecretsResult? Type358 { get; set; } + public global::Phoenix.ReasoningUIPartState2? Type358 { get; set; } /// /// /// - public global::Phoenix.UpsertOrDeleteSecretsResult? Type359 { get; set; } + public global::Phoenix.ResponseBodyUpsertOrDeleteSecretsResult? Type359 { get; set; } /// /// /// - public global::Phoenix.SecretKeyValue? Type360 { get; set; } + public global::Phoenix.UpsertOrDeleteSecretsResult? Type360 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotation? Type361 { get; set; } + public global::Phoenix.SecretKeyValue? Type361 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotationSource? Type362 { get; set; } + public global::Phoenix.SessionAnnotation? Type362 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotationAnnotatorKind? Type363 { get; set; } + public global::Phoenix.SessionAnnotationSource? Type363 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotationDataAnnotatorKind? Type364 { get; set; } + public global::Phoenix.SessionAnnotationAnnotatorKind? Type364 { get; set; } /// /// /// - public global::Phoenix.SessionAnnotationsResponseBody? Type365 { get; set; } + public global::Phoenix.SessionAnnotationDataAnnotatorKind? Type365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type366 { get; set; } + public global::Phoenix.SessionAnnotationsResponseBody? Type366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type367 { get; set; } + public global::System.Collections.Generic.IList? Type367 { get; set; } /// /// /// - public global::Phoenix.SessionTraceData? Type368 { get; set; } + public global::System.Collections.Generic.IList? Type368 { get; set; } /// /// /// - public global::Phoenix.SpanContext? Type369 { get; set; } + public global::Phoenix.SessionTraceData? Type369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type370 { get; set; } + public global::Phoenix.SpanContext? Type370 { get; set; } /// /// /// - public global::Phoenix.SpanEvent? Type371 { get; set; } + public global::System.Collections.Generic.IList? Type371 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotation? Type372 { get; set; } + public global::Phoenix.SpanEvent? Type372 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotationSource? Type373 { get; set; } + public global::Phoenix.SpanAnnotation? Type373 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotationAnnotatorKind? Type374 { get; set; } + public global::Phoenix.SpanAnnotationSource? Type374 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotationDataAnnotatorKind? Type375 { get; set; } + public global::Phoenix.SpanAnnotationAnnotatorKind? Type375 { get; set; } /// /// /// - public global::Phoenix.SpanAnnotationsResponseBody? Type376 { get; set; } + public global::Phoenix.SpanAnnotationDataAnnotatorKind? Type376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type377 { get; set; } + public global::Phoenix.SpanAnnotationsResponseBody? Type377 { get; set; } /// /// /// - public global::Phoenix.SpanDocumentAnnotationDataAnnotatorKind? Type378 { get; set; } + public global::System.Collections.Generic.IList? Type378 { get; set; } /// /// /// - public global::Phoenix.SpansResponseBody? Type379 { get; set; } + public global::Phoenix.SpanDocumentAnnotationDataAnnotatorKind? Type379 { get; set; } /// /// /// - public global::Phoenix.TextUIPartState2? Type380 { get; set; } + public global::Phoenix.SpansResponseBody? Type380 { get; set; } /// /// /// - public global::Phoenix.ToolCallFunction? Type381 { get; set; } + public global::Phoenix.TextUIPartState2? Type381 { get; set; } /// /// /// - public global::Phoenix.ToolCallContentPartToolCallDiscriminator? Type382 { get; set; } + public global::Phoenix.ToolCallFunction? Type382 { get; set; } /// /// /// - public global::Phoenix.ToolCallContentPartToolCallDiscriminatorType? Type383 { get; set; } + public global::Phoenix.ToolCallContentPartToolCallDiscriminator? Type383 { get; set; } /// /// /// - public global::Phoenix.AnyOf, object>? Type384 { get; set; } + public global::Phoenix.ToolCallContentPartToolCallDiscriminatorType? Type384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type385 { get; set; } + public global::Phoenix.AnyOf, object>? Type385 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotation? Type386 { get; set; } + public global::System.Collections.Generic.IList? Type386 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotationSource? Type387 { get; set; } + public global::Phoenix.TraceAnnotation? Type387 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotationAnnotatorKind? Type388 { get; set; } + public global::Phoenix.TraceAnnotationSource? Type388 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotationDataAnnotatorKind? Type389 { get; set; } + public global::Phoenix.TraceAnnotationAnnotatorKind? Type389 { get; set; } /// /// /// - public global::Phoenix.TraceAnnotationsResponseBody? Type390 { get; set; } + public global::Phoenix.TraceAnnotationDataAnnotatorKind? Type390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type391 { get; set; } + public global::Phoenix.TraceAnnotationsResponseBody? Type391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type392 { get; set; } + public global::System.Collections.Generic.IList? Type392 { get; set; } /// /// /// - public global::Phoenix.TraceSpanData? Type393 { get; set; } + public global::System.Collections.Generic.IList? Type393 { get; set; } /// /// /// - public global::Phoenix.UIMessage? Type394 { get; set; } + public global::Phoenix.TraceSpanData? Type394 { get; set; } /// /// /// - public global::Phoenix.UIMessageRole? Type395 { get; set; } + public global::Phoenix.UIMessage? Type395 { get; set; } /// /// /// - public global::Phoenix.UpdateAnnotationConfigResponseBody? Type396 { get; set; } + public global::Phoenix.UIMessageRole? Type396 { get; set; } /// /// /// - public global::Phoenix.Data6? Type397 { get; set; } + public global::Phoenix.UpdateAnnotationConfigResponseBody? Type397 { get; set; } /// /// /// - public global::Phoenix.UpdateAnnotationConfigResponseBodyDataDiscriminator? Type398 { get; set; } + public global::Phoenix.Data6? Type398 { get; set; } /// /// /// - public global::Phoenix.UpdateAnnotationConfigResponseBodyDataDiscriminatorType? Type399 { get; set; } + public global::Phoenix.UpdateAnnotationConfigResponseBodyDataDiscriminator? Type399 { get; set; } /// /// /// - public global::Phoenix.UpdateProjectRequestBody? Type400 { get; set; } + public global::Phoenix.UpdateAnnotationConfigResponseBodyDataDiscriminatorType? Type400 { get; set; } /// /// /// - public global::Phoenix.UpdateProjectResponseBody? Type401 { get; set; } + public global::Phoenix.UpdateProjectRequestBody? Type401 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetData? Type402 { get; set; } + public global::Phoenix.UpdateProjectResponseBody? Type402 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetResponseBody? Type403 { get; set; } + public global::Phoenix.UploadDatasetData? Type403 { get; set; } /// /// /// - public global::Phoenix.UpsertExperimentEvaluationRequestBody? Type404 { get; set; } + public global::Phoenix.UploadDatasetResponseBody? Type404 { get; set; } /// /// /// - public global::Phoenix.UpsertExperimentEvaluationRequestBodyAnnotatorKind? Type405 { get; set; } + public global::Phoenix.UpsertExperimentEvaluationRequestBody? Type405 { get; set; } /// /// /// - public global::Phoenix.UpsertExperimentEvaluationResponseBody? Type406 { get; set; } + public global::Phoenix.UpsertExperimentEvaluationRequestBodyAnnotatorKind? Type406 { get; set; } /// /// /// - public global::Phoenix.UpsertExperimentEvaluationResponseBodyData? Type407 { get; set; } + public global::Phoenix.UpsertExperimentEvaluationResponseBody? Type407 { get; set; } /// /// /// - public global::Phoenix.UpsertOrDeleteSecretsRequest? Type408 { get; set; } + public global::Phoenix.UpsertExperimentEvaluationResponseBodyData? Type408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type409 { get; set; } + public global::Phoenix.UpsertOrDeleteSecretsRequest? Type409 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type410 { get; set; } + public global::System.Collections.Generic.IList? Type410 { get; set; } /// /// /// - public global::Phoenix.AnyOf? Type411 { get; set; } + public global::System.Collections.Generic.IList>? Type411 { get; set; } /// /// /// - public global::Phoenix.SummarizeRequest? Type412 { get; set; } + public global::Phoenix.AnyOf? Type412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type413 { get; set; } + public global::Phoenix.SummarizeRequest? Type413 { get; set; } /// /// /// - public global::Phoenix.Model3? Type414 { get; set; } + public global::System.Collections.Generic.IList? Type414 { get; set; } /// /// /// - public global::Phoenix.SummarizeRequestModelDiscriminator? Type415 { get; set; } + public global::Phoenix.Model3? Type415 { get; set; } /// /// /// - public global::Phoenix.SummarizeRequestModelDiscriminatorProviderType? Type416 { get; set; } + public global::Phoenix.SummarizeRequestModelDiscriminator? Type416 { get; set; } /// /// /// - public global::Phoenix.SummarizeResponse? Type417 { get; set; } + public global::Phoenix.SummarizeRequestModelDiscriminatorProviderType? Type417 { get; set; } /// /// /// - public global::Phoenix.ToolCallProviderMetadata? Type418 { get; set; } + public global::Phoenix.SummarizeResponse? Type418 { get; set; } /// /// /// - public global::Phoenix.ToolCallProviderMetadataToolExecutionEnvironment? Type419 { get; set; } + public global::Phoenix.ToolCallProviderMetadata? Type419 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetRequest? Type420 { get; set; } + public global::Phoenix.ToolCallProviderMetadataToolExecutionEnvironment? Type420 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetRequestAction? Type421 { get; set; } + public global::Phoenix.UploadDatasetRequest? Type421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList, object>>? Type422 { get; set; } + public global::Phoenix.UploadDatasetRequestAction? Type422 { get; set; } /// /// /// - public global::Phoenix.OneOf, object>? Type423 { get; set; } + public global::System.Collections.Generic.IList, object>>? Type423 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type424 { get; set; } + public global::Phoenix.OneOf, object>? Type424 { get; set; } /// /// /// - public global::Phoenix.OneOf? Type425 { get; set; } + public global::System.Collections.Generic.IList>? Type425 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetRequest2? Type426 { get; set; } + public global::Phoenix.OneOf? Type426 { get; set; } /// /// /// - public global::Phoenix.UploadDatasetRequestAction2? Type427 { get; set; } + public global::Phoenix.UploadDatasetRequest2? Type427 { get; set; } /// /// /// - public byte[]? Type428 { get; set; } + public global::Phoenix.UploadDatasetRequestAction2? Type428 { get; set; } /// /// /// - public global::Phoenix.DeleteSpanAnnotationsAnnotatorKind2? Type429 { get; set; } + public byte[]? Type429 { get; set; } /// /// /// - public global::Phoenix.DeleteTraceAnnotationsAnnotatorKind2? Type430 { get; set; } + public global::Phoenix.DeleteSpanAnnotationsAnnotatorKind2? Type430 { get; set; } /// /// /// - public global::Phoenix.DeleteSessionAnnotationsAnnotatorKind2? Type431 { get; set; } + public global::Phoenix.DeleteTraceAnnotationsAnnotatorKind2? Type431 { get; set; } /// /// /// - public global::Phoenix.ListProjectTracesSort? Type432 { get; set; } + public global::Phoenix.DeleteSessionAnnotationsAnnotatorKind2? Type432 { get; set; } /// /// /// - public global::Phoenix.ListProjectTracesOrder? Type433 { get; set; } + public global::Phoenix.ListProjectTracesSort? Type433 { get; set; } /// /// /// - public global::Phoenix.ListProjectSessionsOrder? Type434 { get; set; } + public global::Phoenix.ListProjectTracesOrder? Type434 { get; set; } + /// + /// + /// + public global::Phoenix.ListProjectSessionsOrder? Type435 { get; set; } /// /// diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.ChatContext.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.ChatContext.g.cs index 1cb91d2..5cd5423 100644 --- a/src/libs/Phoenix/Generated/Phoenix.Models.ChatContext.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.Models.ChatContext.g.cs @@ -246,6 +246,43 @@ public bool TryPickCodeEvaluator( ? CodeEvaluator! : throw new global::System.InvalidOperationException($"Expected union variant 'CodeEvaluator' but the value was {ToString()}."); + /// + /// LLM-evaluator create/edit form mounted in the current browser route. + /// +#if NET6_0_OR_GREATER + public global::Phoenix.LlmEvaluatorContext? LlmEvaluator { get; init; } +#else + public global::Phoenix.LlmEvaluatorContext? LlmEvaluator { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(LlmEvaluator))] +#endif + public bool IsLlmEvaluator => LlmEvaluator != null; + + /// + /// + /// + public bool TryPickLlmEvaluator( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Phoenix.LlmEvaluatorContext? value) + { + value = LlmEvaluator; + return IsLlmEvaluator; + } + + /// + /// + /// + public global::Phoenix.LlmEvaluatorContext PickLlmEvaluator() => IsLlmEvaluator + ? LlmEvaluator! + : throw new global::System.InvalidOperationException($"Expected union variant 'LlmEvaluator' but the value was {ToString()}."); + /// /// Dataset the user is currently viewing or has bound to a workflow.
/// Carries the dataset's relay node id and, when known, the active version
@@ -498,6 +535,29 @@ public ChatContext(global::Phoenix.CodeEvaluatorContext? value) ///
public static ChatContext FromCodeEvaluator(global::Phoenix.CodeEvaluatorContext? value) => new ChatContext(value); + /// + /// + /// + public static implicit operator ChatContext(global::Phoenix.LlmEvaluatorContext value) => new ChatContext((global::Phoenix.LlmEvaluatorContext?)value); + + /// + /// + /// + public static implicit operator global::Phoenix.LlmEvaluatorContext?(ChatContext @this) => @this.LlmEvaluator; + + /// + /// + /// + public ChatContext(global::Phoenix.LlmEvaluatorContext? value) + { + LlmEvaluator = value; + } + + /// + /// + /// + public static ChatContext FromLlmEvaluator(global::Phoenix.LlmEvaluatorContext? value) => new ChatContext(value); + /// /// /// @@ -578,6 +638,7 @@ public ChatContext( global::Phoenix.AgentSpanContext? span, global::Phoenix.PlaygroundContext? playground, global::Phoenix.CodeEvaluatorContext? codeEvaluator, + global::Phoenix.LlmEvaluatorContext? llmEvaluator, global::Phoenix.DatasetContext? dataset, global::Phoenix.GraphQLContext? graphql, global::Phoenix.WebAccessContext? webAccess @@ -591,6 +652,7 @@ public ChatContext( Span = span; Playground = playground; CodeEvaluator = codeEvaluator; + LlmEvaluator = llmEvaluator; Dataset = dataset; Graphql = graphql; WebAccess = webAccess; @@ -603,6 +665,7 @@ public ChatContext( WebAccess as object ?? Graphql as object ?? Dataset as object ?? + LlmEvaluator as object ?? CodeEvaluator as object ?? Playground as object ?? Span as object ?? @@ -621,6 +684,7 @@ App as object Span?.ToString() ?? Playground?.ToString() ?? CodeEvaluator?.ToString() ?? + LlmEvaluator?.ToString() ?? Dataset?.ToString() ?? Graphql?.ToString() ?? WebAccess?.ToString() @@ -631,7 +695,7 @@ App as object ///
public bool Validate() { - return IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && IsSpan && !IsPlayground && !IsCodeEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && IsPlayground && !IsCodeEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && IsCodeEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsDataset && IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsDataset && !IsGraphql && IsWebAccess; + return IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsLlmEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsLlmEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsLlmEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && IsSpan && !IsPlayground && !IsCodeEvaluator && !IsLlmEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && IsPlayground && !IsCodeEvaluator && !IsLlmEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && IsCodeEvaluator && !IsLlmEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && IsLlmEvaluator && !IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsLlmEvaluator && IsDataset && !IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsLlmEvaluator && !IsDataset && IsGraphql && !IsWebAccess || !IsApp && !IsProject && !IsTrace && !IsSpan && !IsPlayground && !IsCodeEvaluator && !IsLlmEvaluator && !IsDataset && !IsGraphql && IsWebAccess; } /// @@ -644,6 +708,7 @@ public bool Validate() global::System.Func? span = null, global::System.Func? playground = null, global::System.Func? codeEvaluator = null, + global::System.Func? llmEvaluator = null, global::System.Func? dataset = null, global::System.Func? graphql = null, global::System.Func? webAccess = null, @@ -678,6 +743,10 @@ public bool Validate() { return codeEvaluator(CodeEvaluator!); } + else if (IsLlmEvaluator && llmEvaluator != null) + { + return llmEvaluator(LlmEvaluator!); + } else if (IsDataset && dataset != null) { return dataset(Dataset!); @@ -710,6 +779,8 @@ public void Match( global::System.Action? codeEvaluator = null, + global::System.Action? llmEvaluator = null, + global::System.Action? dataset = null, global::System.Action? graphql = null, @@ -746,6 +817,10 @@ public void Match( { codeEvaluator?.Invoke(CodeEvaluator!); } + else if (IsLlmEvaluator) + { + llmEvaluator?.Invoke(LlmEvaluator!); + } else if (IsDataset) { dataset?.Invoke(Dataset!); @@ -770,6 +845,7 @@ public void Switch( global::System.Action? span = null, global::System.Action? playground = null, global::System.Action? codeEvaluator = null, + global::System.Action? llmEvaluator = null, global::System.Action? dataset = null, global::System.Action? graphql = null, global::System.Action? webAccess = null, @@ -804,6 +880,10 @@ public void Switch( { codeEvaluator?.Invoke(CodeEvaluator!); } + else if (IsLlmEvaluator) + { + llmEvaluator?.Invoke(LlmEvaluator!); + } else if (IsDataset) { dataset?.Invoke(Dataset!); @@ -837,6 +917,8 @@ public override int GetHashCode() typeof(global::Phoenix.PlaygroundContext), CodeEvaluator, typeof(global::Phoenix.CodeEvaluatorContext), + LlmEvaluator, + typeof(global::Phoenix.LlmEvaluatorContext), Dataset, typeof(global::Phoenix.DatasetContext), Graphql, @@ -865,6 +947,7 @@ public bool Equals(ChatContext other) global::System.Collections.Generic.EqualityComparer.Default.Equals(Span, other.Span) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Playground, other.Playground) && global::System.Collections.Generic.EqualityComparer.Default.Equals(CodeEvaluator, other.CodeEvaluator) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(LlmEvaluator, other.LlmEvaluator) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Dataset, other.Dataset) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Graphql, other.Graphql) && global::System.Collections.Generic.EqualityComparer.Default.Equals(WebAccess, other.WebAccess) diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.ChatContextDiscriminatorType.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.ChatContextDiscriminatorType.g.cs index ecbd9fc..b76e918 100644 --- a/src/libs/Phoenix/Generated/Phoenix.Models.ChatContextDiscriminatorType.g.cs +++ b/src/libs/Phoenix/Generated/Phoenix.Models.ChatContextDiscriminatorType.g.cs @@ -27,6 +27,10 @@ public enum ChatContextDiscriminatorType /// /// /// + LlmEvaluator, + /// + /// + /// Playground, /// /// @@ -62,6 +66,7 @@ public static string ToValueString(this ChatContextDiscriminatorType value) ChatContextDiscriminatorType.CodeEvaluator => "code_evaluator", ChatContextDiscriminatorType.Dataset => "dataset", ChatContextDiscriminatorType.Graphql => "graphql", + ChatContextDiscriminatorType.LlmEvaluator => "llm_evaluator", ChatContextDiscriminatorType.Playground => "playground", ChatContextDiscriminatorType.Project => "project", ChatContextDiscriminatorType.Span => "span", @@ -81,6 +86,7 @@ public static string ToValueString(this ChatContextDiscriminatorType value) "code_evaluator" => ChatContextDiscriminatorType.CodeEvaluator, "dataset" => ChatContextDiscriminatorType.Dataset, "graphql" => ChatContextDiscriminatorType.Graphql, + "llm_evaluator" => ChatContextDiscriminatorType.LlmEvaluator, "playground" => ChatContextDiscriminatorType.Playground, "project" => ChatContextDiscriminatorType.Project, "span" => ChatContextDiscriminatorType.Span, diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContext.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContext.Json.g.cs new file mode 100644 index 0000000..36870a1 --- /dev/null +++ b/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContext.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Phoenix +{ + public sealed partial class LlmEvaluatorContext + { + /// + /// 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::Phoenix.LlmEvaluatorContext? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Phoenix.LlmEvaluatorContext), + jsonSerializerContext) as global::Phoenix.LlmEvaluatorContext; + } + + /// + /// 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::Phoenix.LlmEvaluatorContext? 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::Phoenix.LlmEvaluatorContext), + jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.LlmEvaluatorContext; + } + + /// + /// 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/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContext.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContext.g.cs new file mode 100644 index 0000000..b226baa --- /dev/null +++ b/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContext.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace Phoenix +{ + /// + /// LLM-evaluator create/edit form mounted in the current browser route. + /// + public sealed partial class LlmEvaluatorContext + { + /// + /// + /// + /// "llm_evaluator" + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string Type { get; set; } = "llm_evaluator"; + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("evaluatorNodeId")] + public string? EvaluatorNodeId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LlmEvaluatorContext( + string? evaluatorNodeId, + string type = "llm_evaluator") + { + this.Type = type; + this.EvaluatorNodeId = evaluatorNodeId; + } + + /// + /// Initializes a new instance of the class. + /// + public LlmEvaluatorContext() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContextEvaluatorNodeId.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContextEvaluatorNodeId.Json.g.cs new file mode 100644 index 0000000..847d62c --- /dev/null +++ b/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContextEvaluatorNodeId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Phoenix +{ + public sealed partial class LlmEvaluatorContextEvaluatorNodeId + { + /// + /// 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::Phoenix.LlmEvaluatorContextEvaluatorNodeId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Phoenix.LlmEvaluatorContextEvaluatorNodeId), + jsonSerializerContext) as global::Phoenix.LlmEvaluatorContextEvaluatorNodeId; + } + + /// + /// 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::Phoenix.LlmEvaluatorContextEvaluatorNodeId? 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::Phoenix.LlmEvaluatorContextEvaluatorNodeId), + jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.LlmEvaluatorContextEvaluatorNodeId; + } + + /// + /// 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/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContextEvaluatorNodeId.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContextEvaluatorNodeId.g.cs new file mode 100644 index 0000000..189ecb3 --- /dev/null +++ b/src/libs/Phoenix/Generated/Phoenix.Models.LlmEvaluatorContextEvaluatorNodeId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Phoenix +{ + /// + /// + /// + public sealed partial class LlmEvaluatorContextEvaluatorNodeId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Phoenix/openapi.json b/src/libs/Phoenix/openapi.json index 3303b7f..3cfb2f2 100644 --- a/src/libs/Phoenix/openapi.json +++ b/src/libs/Phoenix/openapi.json @@ -7307,6 +7307,9 @@ { "$ref": "#/components/schemas/CodeEvaluatorContext" }, + { + "$ref": "#/components/schemas/LlmEvaluatorContext" + }, { "$ref": "#/components/schemas/DatasetContext" }, @@ -7326,6 +7329,7 @@ "code_evaluator": "#/components/schemas/CodeEvaluatorContext", "dataset": "#/components/schemas/DatasetContext", "graphql": "#/components/schemas/GraphQLContext", + "llm_evaluator": "#/components/schemas/LlmEvaluatorContext", "playground": "#/components/schemas/PlaygroundContext", "project": "#/components/schemas/ProjectContext", "span": "#/components/schemas/AgentSpanContext", @@ -10324,6 +10328,32 @@ ], "title": "ListExperimentsResponseBody" }, + "LlmEvaluatorContext": { + "properties": { + "type": { + "type": "string", + "const": "llm_evaluator", + "title": "Type" + }, + "evaluatorNodeId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Evaluatornodeid" + } + }, + "type": "object", + "required": [ + "type" + ], + "title": "LlmEvaluatorContext", + "description": "LLM-evaluator create/edit form mounted in the current browser route." + }, "LocalUser": { "properties": { "id": {