diff --git a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Create.g.cs b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Create.g.cs index 3b0e16de..828a701a 100644 --- a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Create.g.cs +++ b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Create.g.cs @@ -558,6 +558,10 @@ partial void ProcessCreateResponseContent( /// /// Indicates if this prompt is the default prompt used with the LLM. /// + /// + /// Indicates whether the generation preset is provided by the platform or created by the customer. Platform presets are pre-configured and cannot be modified or deleted. Customer presets are created and managed by the customer.
+ /// Example: platform + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -577,6 +581,7 @@ partial void ProcessCreateResponseContent( object? additionalModelParams = default, bool? enabled = default, bool? @default = default, + global::Vectara.GenerationPresetOwnership? ownership = default, global::Vectara.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -596,6 +601,7 @@ partial void ProcessCreateResponseContent( AdditionalModelParams = additionalModelParams, Enabled = enabled, Default = @default, + Ownership = ownership, }); return await CreateAsync( diff --git a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.List.g.cs b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.List.g.cs index 4b811aed..1bfd90aa 100644 --- a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.List.g.cs +++ b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.List.g.cs @@ -46,6 +46,7 @@ partial void PrepareListArguments( ref int? requestTimeout, ref int? requestTimeoutMillis, ref string? llmName, + ref string? filter, ref int? limit, ref string? pageKey); partial void PrepareListRequest( @@ -54,6 +55,7 @@ partial void PrepareListRequest( int? requestTimeout, int? requestTimeoutMillis, string? llmName, + string? filter, int? limit, string? pageKey); partial void ProcessListResponse( @@ -79,6 +81,9 @@ partial void ProcessListResponseContent( /// /// Example: mockingbird-2.0 /// + /// + /// Example: mockingbird.* + /// /// /// Default Value: 10 /// @@ -90,6 +95,7 @@ partial void ProcessListResponseContent( int? requestTimeout = default, int? requestTimeoutMillis = default, string? llmName = default, + string? filter = default, int? limit = default, string? pageKey = default, global::Vectara.AutoSDKRequestOptions? requestOptions = default, @@ -102,6 +108,7 @@ partial void ProcessListResponseContent( requestTimeout: ref requestTimeout, requestTimeoutMillis: ref requestTimeoutMillis, llmName: ref llmName, + filter: ref filter, limit: ref limit, pageKey: ref pageKey); @@ -132,6 +139,7 @@ partial void ProcessListResponseContent( baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("llm_name", llmName) + .AddOptionalParameter("filter", filter) .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("page_key", pageKey) ; @@ -188,6 +196,7 @@ partial void ProcessListResponseContent( requestTimeout: requestTimeout, requestTimeoutMillis: requestTimeoutMillis, llmName: llmName, + filter: filter, limit: limit, pageKey: pageKey); diff --git a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Replace.g.cs b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Replace.g.cs index d25763fa..5cbf872c 100644 --- a/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Replace.g.cs +++ b/src/libs/Vectara/Generated/Vectara.GenerationPresetsClient.Replace.g.cs @@ -603,6 +603,10 @@ partial void ProcessReplaceResponseContent( /// /// Indicates if this prompt is the default prompt used with the LLM. /// + /// + /// Indicates whether the generation preset is provided by the platform or created by the customer. Platform presets are pre-configured and cannot be modified or deleted. Customer presets are created and managed by the customer.
+ /// Example: platform + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -623,6 +627,7 @@ partial void ProcessReplaceResponseContent( object? additionalModelParams = default, bool? enabled = default, bool? @default = default, + global::Vectara.GenerationPresetOwnership? ownership = default, global::Vectara.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -642,6 +647,7 @@ partial void ProcessReplaceResponseContent( AdditionalModelParams = additionalModelParams, Enabled = enabled, Default = @default, + Ownership = ownership, }); return await ReplaceAsync( diff --git a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Create.g.cs b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Create.g.cs index 2f7cbab2..ae53e42b 100644 --- a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Create.g.cs +++ b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Create.g.cs @@ -77,6 +77,10 @@ public partial interface IGenerationPresetsClient /// /// Indicates if this prompt is the default prompt used with the LLM. /// + /// + /// Indicates whether the generation preset is provided by the platform or created by the customer. Platform presets are pre-configured and cannot be modified or deleted. Customer presets are created and managed by the customer.
+ /// Example: platform + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -96,6 +100,7 @@ public partial interface IGenerationPresetsClient object? additionalModelParams = default, bool? enabled = default, bool? @default = default, + global::Vectara.GenerationPresetOwnership? ownership = default, global::Vectara.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.List.g.cs b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.List.g.cs index b02fd6e1..b5b6b20d 100644 --- a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.List.g.cs +++ b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.List.g.cs @@ -18,6 +18,9 @@ public partial interface IGenerationPresetsClient /// /// Example: mockingbird-2.0 /// + /// + /// Example: mockingbird.* + /// /// /// Default Value: 10 /// @@ -29,6 +32,7 @@ public partial interface IGenerationPresetsClient int? requestTimeout = default, int? requestTimeoutMillis = default, string? llmName = default, + string? filter = default, int? limit = default, string? pageKey = default, global::Vectara.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Replace.g.cs b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Replace.g.cs index 57575e6d..905de5dd 100644 --- a/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Replace.g.cs +++ b/src/libs/Vectara/Generated/Vectara.IGenerationPresetsClient.Replace.g.cs @@ -80,6 +80,10 @@ public partial interface IGenerationPresetsClient /// /// Indicates if this prompt is the default prompt used with the LLM. /// + /// + /// Indicates whether the generation preset is provided by the platform or created by the customer. Platform presets are pre-configured and cannot be modified or deleted. Customer presets are created and managed by the customer.
+ /// Example: platform + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -100,6 +104,7 @@ public partial interface IGenerationPresetsClient object? additionalModelParams = default, bool? enabled = default, bool? @default = default, + global::Vectara.GenerationPresetOwnership? ownership = default, global::Vectara.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.AgentToolConfiguration.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.AgentToolConfiguration.g.cs index 61637ea8..93cd9a5d 100644 --- a/src/libs/Vectara/Generated/Vectara.JsonConverters.AgentToolConfiguration.g.cs +++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.AgentToolConfiguration.g.cs @@ -84,13 +84,6 @@ public class AgentToolConfigurationJsonConverter : global::System.Text.Json.Seri throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.InlineArtifactGrepToolConfiguration)}"); artifactGrep = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Vectara.InlineArtifactCreateToolConfiguration? artifactCreate = default; - if (discriminator?.Type == global::Vectara.AgentToolConfigurationDiscriminatorType.ArtifactCreate) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.InlineArtifactCreateToolConfiguration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Vectara.InlineArtifactCreateToolConfiguration)}"); - artifactCreate = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } global::Vectara.InlineImageReadToolConfiguration? imageRead = default; if (discriminator?.Type == global::Vectara.AgentToolConfigurationDiscriminatorType.ImageRead) { @@ -133,8 +126,6 @@ public class AgentToolConfigurationJsonConverter : global::System.Text.Json.Seri artifactGrep, - artifactCreate, - imageRead, documentConversion, @@ -208,12 +199,6 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.InlineArtifactGrepToolConfiguration).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ArtifactGrep!, typeInfo); } - else if (value.IsArtifactCreate) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.InlineArtifactCreateToolConfiguration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Vectara.InlineArtifactCreateToolConfiguration).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ArtifactCreate!, typeInfo); - } else if (value.IsImageRead) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Vectara.InlineImageReadToolConfiguration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.CreateGenerationPresetRequest.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.CreateGenerationPresetRequest.g.cs index 8e0f2b7c..738ebebc 100644 --- a/src/libs/Vectara/Generated/Vectara.JsonConverters.CreateGenerationPresetRequest.g.cs +++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.CreateGenerationPresetRequest.g.cs @@ -38,6 +38,7 @@ public class CreateGenerationPresetRequestJsonConverter : global::System.Text.Js if (__jsonProps.Contains("max_tokens")) __score0++; if (__jsonProps.Contains("max_used_search_results")) __score0++; if (__jsonProps.Contains("name")) __score0++; + if (__jsonProps.Contains("ownership")) __score0++; if (__jsonProps.Contains("presence_penalty")) __score0++; if (__jsonProps.Contains("prompt_template")) __score0++; if (__jsonProps.Contains("temperature")) __score0++; diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.GenerationPresetOwnership.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.GenerationPresetOwnership.g.cs new file mode 100644 index 00000000..4be15336 --- /dev/null +++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.GenerationPresetOwnership.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vectara.JsonConverters +{ + /// + public sealed class GenerationPresetOwnershipJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vectara.GenerationPresetOwnership 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::Vectara.GenerationPresetOwnershipExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vectara.GenerationPresetOwnership)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vectara.GenerationPresetOwnership); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vectara.GenerationPresetOwnership value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vectara.GenerationPresetOwnershipExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vectara/Generated/Vectara.JsonConverters.GenerationPresetOwnershipNullable.g.cs b/src/libs/Vectara/Generated/Vectara.JsonConverters.GenerationPresetOwnershipNullable.g.cs new file mode 100644 index 00000000..3ffa04fc --- /dev/null +++ b/src/libs/Vectara/Generated/Vectara.JsonConverters.GenerationPresetOwnershipNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vectara.JsonConverters +{ + /// + public sealed class GenerationPresetOwnershipNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vectara.GenerationPresetOwnership? 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::Vectara.GenerationPresetOwnershipExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vectara.GenerationPresetOwnership)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vectara.GenerationPresetOwnership?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vectara.GenerationPresetOwnership? 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::Vectara.GenerationPresetOwnershipExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs b/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs index d790b22b..a6666ef2 100644 --- a/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs +++ b/src/libs/Vectara/Generated/Vectara.JsonSerializerContext.g.cs @@ -121,6 +121,10 @@ namespace Vectara typeof(global::Vectara.JsonConverters.CreateChatCompletionStreamResponseObjectNullableJsonConverter), + typeof(global::Vectara.JsonConverters.GenerationPresetOwnershipJsonConverter), + + typeof(global::Vectara.JsonConverters.GenerationPresetOwnershipNullableJsonConverter), + typeof(global::Vectara.JsonConverters.CreateEncoderRequestDiscriminatorTypeJsonConverter), typeof(global::Vectara.JsonConverters.CreateEncoderRequestDiscriminatorTypeNullableJsonConverter), @@ -795,6 +799,7 @@ namespace Vectara [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CreateChatCompletionStreamResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.CreateChatCompletionStreamResponseObject), TypeInfoPropertyName = "CreateChatCompletionStreamResponseObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.GenerationPresetOwnership), TypeInfoPropertyName = "GenerationPresetOwnership2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.GenerationPreset))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ListGenerationPresetsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -981,7 +986,6 @@ namespace Vectara [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.InlineArtifactReadToolConfiguration))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ArtifactGrepToolParameters))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.InlineArtifactGrepToolConfiguration))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.InlineArtifactCreateToolConfiguration))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ImageReadToolParameters))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.ImageReadToolParametersDetail), TypeInfoPropertyName = "ImageReadToolParametersDetail2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vectara.InlineImageReadToolConfiguration))] diff --git a/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs b/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs index 9e165563..7565b2ff 100644 --- a/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs +++ b/src/libs/Vectara/Generated/Vectara.JsonSerializerContextTypes.g.cs @@ -960,751 +960,751 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Vectara.GenerationPreset? Type233 { get; set; } + public global::Vectara.GenerationPresetOwnership? Type233 { get; set; } /// /// /// - public global::Vectara.ListGenerationPresetsResponse? Type234 { get; set; } + public global::Vectara.GenerationPreset? Type234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type235 { get; set; } + public global::Vectara.ListGenerationPresetsResponse? Type235 { get; set; } /// /// /// - public global::Vectara.CreateGenerationPresetRequest? Type236 { get; set; } + public global::System.Collections.Generic.IList? Type236 { get; set; } /// /// /// - public global::Vectara.EvaluateFactualConsistencyRequest? Type237 { get; set; } + public global::Vectara.CreateGenerationPresetRequest? Type237 { get; set; } /// /// /// - public global::Vectara.EvaluateFactualConsistencyRequestModelParameters? Type238 { get; set; } + public global::Vectara.EvaluateFactualConsistencyRequest? Type238 { get; set; } /// /// /// - public global::Vectara.EvaluateFactualConsistencyResponse? Type239 { get; set; } + public global::Vectara.EvaluateFactualConsistencyRequestModelParameters? Type239 { get; set; } /// /// /// - public global::Vectara.Encoder? Type240 { get; set; } + public global::Vectara.EvaluateFactualConsistencyResponse? Type240 { get; set; } /// /// /// - public global::Vectara.ListEncodersResponse? Type241 { get; set; } + public global::Vectara.Encoder? Type241 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type242 { get; set; } + public global::Vectara.ListEncodersResponse? Type242 { get; set; } /// /// /// - public global::Vectara.CreateOpenAIEncoderRequest? Type243 { get; set; } + public global::System.Collections.Generic.IList? Type243 { get; set; } /// /// /// - public global::Vectara.CreateEncoderRequest? Type244 { get; set; } + public global::Vectara.CreateOpenAIEncoderRequest? Type244 { get; set; } /// /// /// - public global::Vectara.CreateEncoderRequestDiscriminator? Type245 { get; set; } + public global::Vectara.CreateEncoderRequest? Type245 { get; set; } /// /// /// - public global::Vectara.CreateEncoderRequestDiscriminatorType? Type246 { get; set; } + public global::Vectara.CreateEncoderRequestDiscriminator? Type246 { get; set; } /// /// /// - public global::Vectara.Reranker? Type247 { get; set; } + public global::Vectara.CreateEncoderRequestDiscriminatorType? Type247 { get; set; } /// /// /// - public global::Vectara.ListRerankersResponse? Type248 { get; set; } + public global::Vectara.Reranker? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type249 { get; set; } + public global::Vectara.ListRerankersResponse? Type249 { get; set; } /// /// /// - public global::Vectara.TableExtractor? Type250 { get; set; } + public global::System.Collections.Generic.IList? Type250 { get; set; } /// /// /// - public global::Vectara.ListTableExtractorsResponse? Type251 { get; set; } + public global::Vectara.TableExtractor? Type251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type252 { get; set; } + public global::Vectara.ListTableExtractorsResponse? Type252 { get; set; } /// /// /// - public global::Vectara.HallucinationCorrector? Type253 { get; set; } + public global::System.Collections.Generic.IList? Type253 { get; set; } /// /// /// - public global::Vectara.ListHallucinationCorrectorsResponse? Type254 { get; set; } + public global::Vectara.HallucinationCorrector? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::Vectara.ListHallucinationCorrectorsResponse? Type255 { get; set; } /// /// /// - public global::Vectara.HcmSourceDocument? Type256 { get; set; } + public global::System.Collections.Generic.IList? Type256 { get; set; } /// /// /// - public global::Vectara.HallucinationCorrectionRequest? Type257 { get; set; } + public global::Vectara.HcmSourceDocument? Type257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type258 { get; set; } + public global::Vectara.HallucinationCorrectionRequest? Type258 { get; set; } /// /// /// - public global::Vectara.CorrectionItem? Type259 { get; set; } + public global::System.Collections.Generic.IList? Type259 { get; set; } /// /// /// - public global::Vectara.HallucinationCorrectionResponse? Type260 { get; set; } + public global::Vectara.CorrectionItem? Type260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type261 { get; set; } + public global::Vectara.HallucinationCorrectionResponse? Type261 { get; set; } /// /// /// - public global::Vectara.JobState? Type262 { get; set; } + public global::System.Collections.Generic.IList? Type262 { get; set; } /// /// /// - public global::Vectara.Job? Type263 { get; set; } + public global::Vectara.JobState? Type263 { get; set; } /// /// /// - public global::Vectara.JobType? Type264 { get; set; } + public global::Vectara.Job? Type264 { get; set; } /// /// /// - public global::Vectara.ListJobsResponse? Type265 { get; set; } + public global::Vectara.JobType? Type265 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type266 { get; set; } + public global::Vectara.ListJobsResponse? Type266 { get; set; } /// /// /// - public global::Vectara.ApiRole? Type267 { get; set; } + public global::System.Collections.Generic.IList? Type267 { get; set; } /// /// /// - public global::Vectara.CorpusRole? Type268 { get; set; } + public global::Vectara.ApiRole? Type268 { get; set; } /// /// /// - public global::Vectara.CorpusRoleRole? Type269 { get; set; } + public global::Vectara.CorpusRole? Type269 { get; set; } /// /// /// - public global::Vectara.AgentRole? Type270 { get; set; } + public global::Vectara.CorpusRoleRole? Type270 { get; set; } /// /// /// - public global::Vectara.AgentRoleRole? Type271 { get; set; } + public global::Vectara.AgentRole? Type271 { get; set; } /// /// /// - public global::Vectara.ApiOperationPolicy? Type272 { get; set; } + public global::Vectara.AgentRoleRole? Type272 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type273 { get; set; } + public global::Vectara.ApiOperationPolicy? Type273 { get; set; } /// /// /// - public global::Vectara.ApiPolicy? Type274 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type274 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type275 { get; set; } + public global::Vectara.ApiPolicy? Type275 { get; set; } /// /// /// - public global::Vectara.User? Type276 { get; set; } + public global::System.Collections.Generic.Dictionary? Type276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type277 { get; set; } + public global::Vectara.User? Type277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type278 { get; set; } + public global::System.Collections.Generic.IList? Type278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type279 { get; set; } + public global::System.Collections.Generic.IList? Type279 { get; set; } /// /// /// - public global::Vectara.ListUsersResponse? Type280 { get; set; } + public global::System.Collections.Generic.IList? Type280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type281 { get; set; } + public global::Vectara.ListUsersResponse? Type281 { get; set; } /// /// /// - public global::Vectara.CreateUserRequest? Type282 { get; set; } + public global::System.Collections.Generic.IList? Type282 { get; set; } /// /// /// - public global::Vectara.UpdateUserRequest? Type283 { get; set; } + public global::Vectara.CreateUserRequest? Type283 { get; set; } /// /// /// - public global::Vectara.ApiKeyRole? Type284 { get; set; } + public global::Vectara.UpdateUserRequest? Type284 { get; set; } /// /// /// - public global::Vectara.ApiKey? Type285 { get; set; } + public global::Vectara.ApiKeyRole? Type285 { get; set; } /// /// /// - public global::Vectara.ListApiKeysResponse? Type286 { get; set; } + public global::Vectara.ApiKey? Type286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type287 { get; set; } + public global::Vectara.ListApiKeysResponse? Type287 { get; set; } /// /// /// - public global::Vectara.CreateApiKeyRequest? Type288 { get; set; } + public global::System.Collections.Generic.IList? Type288 { get; set; } /// /// /// - public global::Vectara.UpdateApiKeyRequest? Type289 { get; set; } + public global::Vectara.CreateApiKeyRequest? Type289 { get; set; } /// /// /// - public global::Vectara.AppClient? Type290 { get; set; } + public global::Vectara.UpdateApiKeyRequest? Type290 { get; set; } /// /// /// - public global::Vectara.ListAppClientsResponse? Type291 { get; set; } + public global::Vectara.AppClient? Type291 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type292 { get; set; } + public global::Vectara.ListAppClientsResponse? Type292 { get; set; } /// /// /// - public global::Vectara.CreateClientCredentialsRequest? Type293 { get; set; } + public global::System.Collections.Generic.IList? Type293 { get; set; } /// /// /// - public global::Vectara.CreateAppClientRequest? Type294 { get; set; } + public global::Vectara.CreateClientCredentialsRequest? Type294 { get; set; } /// /// /// - public global::Vectara.CreateAppClientRequestDiscriminator? Type295 { get; set; } + public global::Vectara.CreateAppClientRequest? Type295 { get; set; } /// /// /// - public global::Vectara.CreateAppClientRequestDiscriminatorType? Type296 { get; set; } + public global::Vectara.CreateAppClientRequestDiscriminator? Type296 { get; set; } /// /// /// - public global::Vectara.UpdateAppClientRequest? Type297 { get; set; } + public global::Vectara.CreateAppClientRequestDiscriminatorType? Type297 { get; set; } /// /// /// - public global::Vectara.ToolServerType? Type298 { get; set; } + public global::Vectara.UpdateAppClientRequest? Type298 { get; set; } /// /// /// - public global::Vectara.ToolServerTransport? Type299 { get; set; } + public global::Vectara.ToolServerType? Type299 { get; set; } /// /// /// - public global::Vectara.ToolServer? Type300 { get; set; } + public global::Vectara.ToolServerTransport? Type300 { get; set; } /// /// /// - public global::Vectara.ListToolServersResponse? Type301 { get; set; } + public global::Vectara.ToolServer? Type301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type302 { get; set; } + public global::Vectara.ListToolServersResponse? Type302 { get; set; } /// /// /// - public global::Vectara.CreateToolServerRequest? Type303 { get; set; } + public global::System.Collections.Generic.IList? Type303 { get; set; } /// /// /// - public global::Vectara.UpdateToolServerRequest? Type304 { get; set; } + public global::Vectara.CreateToolServerRequest? Type304 { get; set; } /// /// /// - public global::Vectara.ToolBase? Type305 { get; set; } + public global::Vectara.UpdateToolServerRequest? Type305 { get; set; } /// /// /// - public global::Vectara.DynamicVectaraTool? Type306 { get; set; } + public global::Vectara.ToolBase? Type306 { get; set; } /// /// /// - public global::Vectara.DynamicVectaraToolVariant2? Type307 { get; set; } + public global::Vectara.DynamicVectaraTool? Type307 { get; set; } /// /// /// - public global::Vectara.McpToolAnnotations? Type308 { get; set; } + public global::Vectara.DynamicVectaraToolVariant2? Type308 { get; set; } /// /// /// - public global::Vectara.McpTool? Type309 { get; set; } + public global::Vectara.McpToolAnnotations? Type309 { get; set; } /// /// /// - public global::Vectara.McpToolVariant2? Type310 { get; set; } + public global::Vectara.McpTool? Type310 { get; set; } /// /// /// - public global::Vectara.CorporaSearchTool? Type311 { get; set; } + public global::Vectara.McpToolVariant2? Type311 { get; set; } /// /// /// - public global::Vectara.CorporaSearchToolVariant2? Type312 { get; set; } + public global::Vectara.CorporaSearchTool? Type312 { get; set; } /// /// /// - public global::Vectara.WebSearchTool? Type313 { get; set; } + public global::Vectara.CorporaSearchToolVariant2? Type313 { get; set; } /// /// /// - public global::Vectara.WebSearchToolVariant2? Type314 { get; set; } + public global::Vectara.WebSearchTool? Type314 { get; set; } /// /// /// - public global::Vectara.WebGetTool? Type315 { get; set; } + public global::Vectara.WebSearchToolVariant2? Type315 { get; set; } /// /// /// - public global::Vectara.WebGetToolVariant2? Type316 { get; set; } + public global::Vectara.WebGetTool? Type316 { get; set; } /// /// /// - public global::Vectara.ExecutionConfiguration? Type317 { get; set; } + public global::Vectara.WebGetToolVariant2? Type317 { get; set; } /// /// /// - public global::Vectara.FunctionDefinition? Type318 { get; set; } + public global::Vectara.ExecutionConfiguration? Type318 { get; set; } /// /// /// - public global::Vectara.FunctionDefinitionLanguage? Type319 { get; set; } + public global::Vectara.FunctionDefinition? Type319 { get; set; } /// /// /// - public global::Vectara.FunctionDefinitionValidationStatus? Type320 { get; set; } + public global::Vectara.FunctionDefinitionLanguage? Type320 { get; set; } /// /// /// - public global::Vectara.LambdaTool? Type321 { get; set; } + public global::Vectara.FunctionDefinitionValidationStatus? Type321 { get; set; } /// /// /// - public global::Vectara.LambdaToolVariant2? Type322 { get; set; } + public global::Vectara.LambdaTool? Type322 { get; set; } /// /// /// - public global::Vectara.LambdaToolVariant2Language? Type323 { get; set; } + public global::Vectara.LambdaToolVariant2? Type323 { get; set; } /// /// /// - public global::Vectara.SubAgentTool? Type324 { get; set; } + public global::Vectara.LambdaToolVariant2Language? Type324 { get; set; } /// /// /// - public global::Vectara.SubAgentToolVariant2? Type325 { get; set; } + public global::Vectara.SubAgentTool? Type325 { get; set; } /// /// /// - public global::Vectara.ArtifactCreateTool? Type326 { get; set; } + public global::Vectara.SubAgentToolVariant2? Type326 { get; set; } /// /// /// - public global::Vectara.ArtifactCreateToolVariant2? Type327 { get; set; } + public global::Vectara.ArtifactCreateTool? Type327 { get; set; } /// /// /// - public global::Vectara.ArtifactReadTool? Type328 { get; set; } + public global::Vectara.ArtifactCreateToolVariant2? Type328 { get; set; } /// /// /// - public global::Vectara.ArtifactReadToolVariant2? Type329 { get; set; } + public global::Vectara.ArtifactReadTool? Type329 { get; set; } /// /// /// - public global::Vectara.ArtifactGrepTool? Type330 { get; set; } + public global::Vectara.ArtifactReadToolVariant2? Type330 { get; set; } /// /// /// - public global::Vectara.ArtifactGrepToolVariant2? Type331 { get; set; } + public global::Vectara.ArtifactGrepTool? Type331 { get; set; } /// /// /// - public global::Vectara.ImageReadTool? Type332 { get; set; } + public global::Vectara.ArtifactGrepToolVariant2? Type332 { get; set; } /// /// /// - public global::Vectara.ImageReadToolVariant2? Type333 { get; set; } + public global::Vectara.ImageReadTool? Type333 { get; set; } /// /// /// - public global::Vectara.DocumentConversionTool? Type334 { get; set; } + public global::Vectara.ImageReadToolVariant2? Type334 { get; set; } /// /// /// - public global::Vectara.DocumentConversionToolVariant2? Type335 { get; set; } + public global::Vectara.DocumentConversionTool? Type335 { get; set; } /// /// /// - public global::Vectara.GetDocumentTextTool? Type336 { get; set; } + public global::Vectara.DocumentConversionToolVariant2? Type336 { get; set; } /// /// /// - public global::Vectara.GetDocumentTextToolVariant2? Type337 { get; set; } + public global::Vectara.GetDocumentTextTool? Type337 { get; set; } /// /// /// - public global::Vectara.Tool? Type338 { get; set; } + public global::Vectara.GetDocumentTextToolVariant2? Type338 { get; set; } /// /// /// - public global::Vectara.ToolDiscriminator? Type339 { get; set; } + public global::Vectara.Tool? Type339 { get; set; } /// /// /// - public global::Vectara.ToolDiscriminatorType? Type340 { get; set; } + public global::Vectara.ToolDiscriminator? Type340 { get; set; } /// /// /// - public global::Vectara.ListToolsResponse? Type341 { get; set; } + public global::Vectara.ToolDiscriminatorType? Type341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type342 { get; set; } + public global::Vectara.ListToolsResponse? Type342 { get; set; } /// /// /// - public global::Vectara.CreateLambdaToolRequest? Type343 { get; set; } + public global::System.Collections.Generic.IList? Type343 { get; set; } /// /// /// - public global::Vectara.CreateLambdaToolRequestLanguage? Type344 { get; set; } + public global::Vectara.CreateLambdaToolRequest? Type344 { get; set; } /// /// /// - public global::Vectara.CreateToolRequest? Type345 { get; set; } + public global::Vectara.CreateLambdaToolRequestLanguage? Type345 { get; set; } /// /// /// - public global::Vectara.CreateToolRequestDiscriminator? Type346 { get; set; } + public global::Vectara.CreateToolRequest? Type346 { get; set; } /// /// /// - public global::Vectara.CreateToolRequestDiscriminatorType? Type347 { get; set; } + public global::Vectara.CreateToolRequestDiscriminator? Type347 { get; set; } /// /// /// - public global::Vectara.TestLambdaToolRequest? Type348 { get; set; } + public global::Vectara.CreateToolRequestDiscriminatorType? Type348 { get; set; } /// /// /// - public global::Vectara.TestLambdaToolRequestLanguage? Type349 { get; set; } + public global::Vectara.TestLambdaToolRequest? Type349 { get; set; } /// /// /// - public global::Vectara.TestLambdaToolResponse? Type350 { get; set; } + public global::Vectara.TestLambdaToolRequestLanguage? Type350 { get; set; } /// /// /// - public global::Vectara.TestLambdaToolResponseValidation? Type351 { get; set; } + public global::Vectara.TestLambdaToolResponse? Type351 { get; set; } /// /// /// - public global::Vectara.TestLambdaToolResponseValidationStatus? Type352 { get; set; } + public global::Vectara.TestLambdaToolResponseValidation? Type352 { get; set; } /// /// /// - public global::Vectara.TestLambdaToolResponseExecution? Type353 { get; set; } + public global::Vectara.TestLambdaToolResponseValidationStatus? Type353 { get; set; } /// /// /// - public global::Vectara.TestLambdaToolResponseExecutionError? Type354 { get; set; } + public global::Vectara.TestLambdaToolResponseExecution? Type354 { get; set; } /// /// /// - public global::Vectara.TestLambdaToolResponseExecutionValidationResults? Type355 { get; set; } + public global::Vectara.TestLambdaToolResponseExecutionError? Type355 { get; set; } /// /// /// - public global::Vectara.UpdateMcpToolRequest? Type356 { get; set; } + public global::Vectara.TestLambdaToolResponseExecutionValidationResults? Type356 { get; set; } /// /// /// - public global::Vectara.UpdateLambdaToolRequest? Type357 { get; set; } + public global::Vectara.UpdateMcpToolRequest? Type357 { get; set; } /// /// /// - public global::Vectara.UpdateToolRequest? Type358 { get; set; } + public global::Vectara.UpdateLambdaToolRequest? Type358 { get; set; } /// /// /// - public global::Vectara.UpdateToolRequestDiscriminator? Type359 { get; set; } + public global::Vectara.UpdateToolRequest? Type359 { get; set; } /// /// /// - public global::Vectara.UpdateToolRequestDiscriminatorType? Type360 { get; set; } + public global::Vectara.UpdateToolRequestDiscriminator? Type360 { get; set; } /// /// /// - public global::Vectara.TestToolRequest? Type361 { get; set; } + public global::Vectara.UpdateToolRequestDiscriminatorType? Type361 { get; set; } /// /// /// - public global::Vectara.TestToolSuccessResponse? Type362 { get; set; } + public global::Vectara.TestToolRequest? Type362 { get; set; } /// /// /// - public global::Vectara.TestToolSuccessResponseValidationResults? Type363 { get; set; } + public global::Vectara.TestToolSuccessResponse? Type363 { get; set; } /// /// /// - public global::Vectara.TestToolErrorResponse? Type364 { get; set; } + public global::Vectara.TestToolSuccessResponseValidationResults? Type364 { get; set; } /// /// /// - public global::Vectara.TestToolErrorResponseError? Type365 { get; set; } + public global::Vectara.TestToolErrorResponse? Type365 { get; set; } /// /// /// - public global::Vectara.TestToolResponse? Type366 { get; set; } + public global::Vectara.TestToolErrorResponseError? Type366 { get; set; } /// /// /// - public global::Vectara.TestToolResponseDiscriminator? Type367 { get; set; } + public global::Vectara.TestToolResponse? Type367 { get; set; } /// /// /// - public global::Vectara.TestToolResponseDiscriminatorType? Type368 { get; set; } + public global::Vectara.TestToolResponseDiscriminator? Type368 { get; set; } /// /// /// - public global::Vectara.TemplateType? Type369 { get; set; } + public global::Vectara.TestToolResponseDiscriminatorType? Type369 { get; set; } /// /// /// - public global::Vectara.InitialInstruction? Type370 { get; set; } + public global::Vectara.TemplateType? Type370 { get; set; } /// /// /// - public global::Vectara.Instruction? Type371 { get; set; } + public global::Vectara.InitialInstruction? Type371 { get; set; } /// /// /// - public global::Vectara.InstructionDiscriminator? Type372 { get; set; } + public global::Vectara.Instruction? Type372 { get; set; } /// /// /// - public global::Vectara.InstructionDiscriminatorType? Type373 { get; set; } + public global::Vectara.InstructionDiscriminator? Type373 { get; set; } /// /// /// - public global::Vectara.ListInstructionsResponse? Type374 { get; set; } + public global::Vectara.InstructionDiscriminatorType? Type374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type375 { get; set; } + public global::Vectara.ListInstructionsResponse? Type375 { get; set; } /// /// /// - public global::Vectara.InstructionRequestBase? Type376 { get; set; } + public global::System.Collections.Generic.IList? Type376 { get; set; } /// /// /// - public global::Vectara.CreateInitialInstructionRequest? Type377 { get; set; } + public global::Vectara.InstructionRequestBase? Type377 { get; set; } /// /// /// - public global::Vectara.CreateInitialInstructionRequestVariant2? Type378 { get; set; } + public global::Vectara.CreateInitialInstructionRequest? Type378 { get; set; } /// /// /// - public global::Vectara.CreateInstructionRequest? Type379 { get; set; } + public global::Vectara.CreateInitialInstructionRequestVariant2? Type379 { get; set; } /// /// /// - public global::Vectara.CreateInstructionRequestDiscriminator? Type380 { get; set; } + public global::Vectara.CreateInstructionRequest? Type380 { get; set; } /// /// /// - public global::Vectara.CreateInstructionRequestDiscriminatorType? Type381 { get; set; } + public global::Vectara.CreateInstructionRequestDiscriminator? Type381 { get; set; } /// /// /// - public global::Vectara.UpdateInitialInstructionRequest? Type382 { get; set; } + public global::Vectara.CreateInstructionRequestDiscriminatorType? Type382 { get; set; } /// /// /// - public global::Vectara.UpdateInstructionRequest? Type383 { get; set; } + public global::Vectara.UpdateInitialInstructionRequest? Type383 { get; set; } /// /// /// - public global::Vectara.UpdateInstructionRequestDiscriminator? Type384 { get; set; } + public global::Vectara.UpdateInstructionRequest? Type384 { get; set; } /// /// /// - public global::Vectara.UpdateInstructionRequestDiscriminatorType? Type385 { get; set; } + public global::Vectara.UpdateInstructionRequestDiscriminator? Type385 { get; set; } /// /// /// - public global::Vectara.TestInstructionRequest? Type386 { get; set; } + public global::Vectara.UpdateInstructionRequestDiscriminatorType? Type386 { get; set; } /// /// /// - public global::Vectara.TestInstructionResponse? Type387 { get; set; } + public global::Vectara.TestInstructionRequest? Type387 { get; set; } /// /// /// - public global::Vectara.InlineDynamicVectaraToolConfiguration? Type388 { get; set; } + public global::Vectara.TestInstructionResponse? Type388 { get; set; } /// /// /// - public global::Vectara.InlineMcpToolConfiguration? Type389 { get; set; } + public global::Vectara.InlineDynamicVectaraToolConfiguration? Type389 { get; set; } /// /// /// - public global::Vectara.CorporaSearchToolParameters? Type390 { get; set; } + public global::Vectara.InlineMcpToolConfiguration? Type390 { get; set; } /// /// /// - public global::Vectara.EagerReference? Type391 { get; set; } + public global::Vectara.CorporaSearchToolParameters? Type391 { get; set; } /// /// /// - public global::Vectara.AgentKeyedSearchCorpus? Type392 { get; set; } + public global::Vectara.EagerReference? Type392 { get; set; } /// /// /// - public global::Vectara.OneOf? Type393 { get; set; } + public global::Vectara.AgentKeyedSearchCorpus? Type393 { get; set; } /// /// /// - public global::Vectara.AgentSearchCorporaParameters? Type394 { get; set; } + public global::Vectara.OneOf? Type394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type395 { get; set; } + public global::Vectara.AgentSearchCorporaParameters? Type395 { get; set; } /// /// /// - public global::Vectara.AgentCorporaSearchQueryConfiguration? Type396 { get; set; } + public global::System.Collections.Generic.IList? Type396 { get; set; } /// /// /// - public global::Vectara.InlineCorporaSearchToolConfiguration? Type397 { get; set; } + public global::Vectara.AgentCorporaSearchQueryConfiguration? Type397 { get; set; } /// /// /// - public global::Vectara.WebSearchToolParameters? Type398 { get; set; } + public global::Vectara.InlineCorporaSearchToolConfiguration? Type398 { get; set; } /// /// /// - public global::Vectara.WebSearchToolParametersProvider? Type399 { get; set; } + public global::Vectara.WebSearchToolParameters? Type399 { get; set; } /// /// /// - public global::Vectara.InlineWebSearchToolConfiguration? Type400 { get; set; } + public global::Vectara.WebSearchToolParametersProvider? Type400 { get; set; } /// /// /// - public global::Vectara.WebGetToolParameters? Type401 { get; set; } + public global::Vectara.InlineWebSearchToolConfiguration? Type401 { get; set; } /// /// /// - public global::Vectara.WebGetToolParametersMethod? Type402 { get; set; } + public global::Vectara.WebGetToolParameters? Type402 { get; set; } /// /// /// - public global::Vectara.OneOf, global::Vectara.EagerReference>? Type403 { get; set; } + public global::Vectara.WebGetToolParametersMethod? Type403 { get; set; } /// /// /// - public global::Vectara.OneOf? Type404 { get; set; } + public global::Vectara.OneOf, global::Vectara.EagerReference>? Type404 { get; set; } /// /// /// - public global::Vectara.OneOf? Type405 { get; set; } + public global::Vectara.OneOf? Type405 { get; set; } /// /// /// - public global::Vectara.OneOf? Type406 { get; set; } + public global::Vectara.OneOf? Type406 { get; set; } /// /// /// - public global::Vectara.InlineWebGetToolConfiguration? Type407 { get; set; } + public global::Vectara.OneOf? Type407 { get; set; } /// /// /// - public global::Vectara.InlineLambdaToolConfiguration? Type408 { get; set; } + public global::Vectara.InlineWebGetToolConfiguration? Type408 { get; set; } /// /// /// - public global::Vectara.SubAgentToolParameters? Type409 { get; set; } + public global::Vectara.InlineLambdaToolConfiguration? Type409 { get; set; } /// /// /// - public global::Vectara.SubAgentSessionMode? Type410 { get; set; } + public global::Vectara.SubAgentToolParameters? Type410 { get; set; } /// /// /// - public global::Vectara.SubAgentConfiguration? Type411 { get; set; } + public global::Vectara.SubAgentSessionMode? Type411 { get; set; } /// /// /// - public global::Vectara.InlineSubAgentToolConfiguration? Type412 { get; set; } + public global::Vectara.SubAgentConfiguration? Type412 { get; set; } /// /// /// - public global::Vectara.ArtifactReadToolParameters? Type413 { get; set; } + public global::Vectara.InlineSubAgentToolConfiguration? Type413 { get; set; } /// /// /// - public global::Vectara.ArtifactReadToolParametersEncoding? Type414 { get; set; } + public global::Vectara.ArtifactReadToolParameters? Type414 { get; set; } /// /// /// - public global::Vectara.ArtifactReadConfiguration? Type415 { get; set; } + public global::Vectara.ArtifactReadToolParametersEncoding? Type415 { get; set; } /// /// /// - public global::Vectara.InlineArtifactReadToolConfiguration? Type416 { get; set; } + public global::Vectara.ArtifactReadConfiguration? Type416 { get; set; } /// /// /// - public global::Vectara.ArtifactGrepToolParameters? Type417 { get; set; } + public global::Vectara.InlineArtifactReadToolConfiguration? Type417 { get; set; } /// /// /// - public global::Vectara.InlineArtifactGrepToolConfiguration? Type418 { get; set; } + public global::Vectara.ArtifactGrepToolParameters? Type418 { get; set; } /// /// /// - public global::Vectara.InlineArtifactCreateToolConfiguration? Type419 { get; set; } + public global::Vectara.InlineArtifactGrepToolConfiguration? Type419 { get; set; } /// /// /// diff --git a/src/libs/Vectara/Generated/Vectara.Models.AgentToolConfiguration.g.cs b/src/libs/Vectara/Generated/Vectara.Models.AgentToolConfiguration.g.cs index 28484626..f0b13a13 100644 --- a/src/libs/Vectara/Generated/Vectara.Models.AgentToolConfiguration.g.cs +++ b/src/libs/Vectara/Generated/Vectara.Models.AgentToolConfiguration.g.cs @@ -168,23 +168,6 @@ namespace Vectara #endif public bool IsArtifactGrep => ArtifactGrep != null; - /// - /// An artifact create tool configuration defined inline in the agent for creating artifacts from text or structured data content. - /// -#if NET6_0_OR_GREATER - public global::Vectara.InlineArtifactCreateToolConfiguration? ArtifactCreate { get; init; } -#else - public global::Vectara.InlineArtifactCreateToolConfiguration? ArtifactCreate { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ArtifactCreate))] -#endif - public bool IsArtifactCreate => ArtifactCreate != null; - /// /// An image read tool configuration defined inline in the agent for loading images into the conversation context. /// @@ -397,24 +380,6 @@ public AgentToolConfiguration(global::Vectara.InlineArtifactGrepToolConfiguratio ArtifactGrep = value; } - /// - /// - /// - public static implicit operator AgentToolConfiguration(global::Vectara.InlineArtifactCreateToolConfiguration value) => new AgentToolConfiguration((global::Vectara.InlineArtifactCreateToolConfiguration?)value); - - /// - /// - /// - public static implicit operator global::Vectara.InlineArtifactCreateToolConfiguration?(AgentToolConfiguration @this) => @this.ArtifactCreate; - - /// - /// - /// - public AgentToolConfiguration(global::Vectara.InlineArtifactCreateToolConfiguration? value) - { - ArtifactCreate = value; - } - /// /// /// @@ -483,7 +448,6 @@ public AgentToolConfiguration( global::Vectara.InlineSubAgentToolConfiguration? subAgent, global::Vectara.InlineArtifactReadToolConfiguration? artifactRead, global::Vectara.InlineArtifactGrepToolConfiguration? artifactGrep, - global::Vectara.InlineArtifactCreateToolConfiguration? artifactCreate, global::Vectara.InlineImageReadToolConfiguration? imageRead, global::Vectara.InlineDocumentConversionToolConfiguration? documentConversion, global::Vectara.InlineGetDocumentTextToolConfiguration? getDocumentText @@ -500,7 +464,6 @@ public AgentToolConfiguration( SubAgent = subAgent; ArtifactRead = artifactRead; ArtifactGrep = artifactGrep; - ArtifactCreate = artifactCreate; ImageRead = imageRead; DocumentConversion = documentConversion; GetDocumentText = getDocumentText; @@ -513,7 +476,6 @@ public AgentToolConfiguration( GetDocumentText as object ?? DocumentConversion as object ?? ImageRead as object ?? - ArtifactCreate as object ?? ArtifactGrep as object ?? ArtifactRead as object ?? SubAgent as object ?? @@ -538,7 +500,6 @@ DynamicVectara as object SubAgent?.ToString() ?? ArtifactRead?.ToString() ?? ArtifactGrep?.ToString() ?? - ArtifactCreate?.ToString() ?? ImageRead?.ToString() ?? DocumentConversion?.ToString() ?? GetDocumentText?.ToString() @@ -549,7 +510,7 @@ DynamicVectara as object /// public bool Validate() { - return IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && IsArtifactCreate && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsArtifactCreate && !IsImageRead && !IsDocumentConversion && IsGetDocumentText; + return IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && IsArtifactGrep && !IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && IsImageRead && !IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && IsDocumentConversion && !IsGetDocumentText || !IsDynamicVectara && !IsMcp && !IsCorporaSearch && !IsWebSearch && !IsWebGet && !IsLambda && !IsSubAgent && !IsArtifactRead && !IsArtifactGrep && !IsImageRead && !IsDocumentConversion && IsGetDocumentText; } /// @@ -565,7 +526,6 @@ public bool Validate() global::System.Func? subAgent = null, global::System.Func? artifactRead = null, global::System.Func? artifactGrep = null, - global::System.Func? artifactCreate = null, global::System.Func? imageRead = null, global::System.Func? documentConversion = null, global::System.Func? getDocumentText = null, @@ -612,10 +572,6 @@ public bool Validate() { return artifactGrep(ArtifactGrep!); } - else if (IsArtifactCreate && artifactCreate != null) - { - return artifactCreate(ArtifactCreate!); - } else if (IsImageRead && imageRead != null) { return imageRead(ImageRead!); @@ -645,7 +601,6 @@ public void Match( global::System.Action? subAgent = null, global::System.Action? artifactRead = null, global::System.Action? artifactGrep = null, - global::System.Action? artifactCreate = null, global::System.Action? imageRead = null, global::System.Action? documentConversion = null, global::System.Action? getDocumentText = null, @@ -692,10 +647,6 @@ public void Match( { artifactGrep?.Invoke(ArtifactGrep!); } - else if (IsArtifactCreate) - { - artifactCreate?.Invoke(ArtifactCreate!); - } else if (IsImageRead) { imageRead?.Invoke(ImageRead!); @@ -735,8 +686,6 @@ public override int GetHashCode() typeof(global::Vectara.InlineArtifactReadToolConfiguration), ArtifactGrep, typeof(global::Vectara.InlineArtifactGrepToolConfiguration), - ArtifactCreate, - typeof(global::Vectara.InlineArtifactCreateToolConfiguration), ImageRead, typeof(global::Vectara.InlineImageReadToolConfiguration), DocumentConversion, @@ -768,7 +717,6 @@ public bool Equals(AgentToolConfiguration other) global::System.Collections.Generic.EqualityComparer.Default.Equals(SubAgent, other.SubAgent) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ArtifactRead, other.ArtifactRead) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ArtifactGrep, other.ArtifactGrep) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ArtifactCreate, other.ArtifactCreate) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageRead, other.ImageRead) && global::System.Collections.Generic.EqualityComparer.Default.Equals(DocumentConversion, other.DocumentConversion) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GetDocumentText, other.GetDocumentText) diff --git a/src/libs/Vectara/Generated/Vectara.Models.AgentToolConfigurationDiscriminatorType.g.cs b/src/libs/Vectara/Generated/Vectara.Models.AgentToolConfigurationDiscriminatorType.g.cs index 6502ccdc..348e4948 100644 --- a/src/libs/Vectara/Generated/Vectara.Models.AgentToolConfigurationDiscriminatorType.g.cs +++ b/src/libs/Vectara/Generated/Vectara.Models.AgentToolConfigurationDiscriminatorType.g.cs @@ -8,10 +8,6 @@ namespace Vectara /// public enum AgentToolConfigurationDiscriminatorType { - /// - /// - /// - ArtifactCreate, /// /// /// @@ -74,7 +70,6 @@ public static string ToValueString(this AgentToolConfigurationDiscriminatorType { return value switch { - AgentToolConfigurationDiscriminatorType.ArtifactCreate => "artifact_create", AgentToolConfigurationDiscriminatorType.ArtifactGrep => "artifact_grep", AgentToolConfigurationDiscriminatorType.ArtifactRead => "artifact_read", AgentToolConfigurationDiscriminatorType.CorporaSearch => "corpora_search", @@ -97,7 +92,6 @@ public static string ToValueString(this AgentToolConfigurationDiscriminatorType { return value switch { - "artifact_create" => AgentToolConfigurationDiscriminatorType.ArtifactCreate, "artifact_grep" => AgentToolConfigurationDiscriminatorType.ArtifactGrep, "artifact_read" => AgentToolConfigurationDiscriminatorType.ArtifactRead, "corpora_search" => AgentToolConfigurationDiscriminatorType.CorporaSearch, diff --git a/src/libs/Vectara/Generated/Vectara.Models.GenerationPreset.g.cs b/src/libs/Vectara/Generated/Vectara.Models.GenerationPreset.g.cs index 3836f266..7a14e2eb 100644 --- a/src/libs/Vectara/Generated/Vectara.Models.GenerationPreset.g.cs +++ b/src/libs/Vectara/Generated/Vectara.Models.GenerationPreset.g.cs @@ -104,6 +104,15 @@ public sealed partial class GenerationPreset [global::System.Text.Json.Serialization.JsonPropertyName("default")] public bool? Default { get; set; } + /// + /// Indicates whether the generation preset is provided by the platform or created by the customer. Platform presets are pre-configured and cannot be modified or deleted. Customer presets are created and managed by the customer.
+ /// Example: platform + ///
+ /// platform + [global::System.Text.Json.Serialization.JsonPropertyName("ownership")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vectara.JsonConverters.GenerationPresetOwnershipJsonConverter))] + public global::Vectara.GenerationPresetOwnership? Ownership { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -161,6 +170,10 @@ public sealed partial class GenerationPreset /// /// Indicates if this prompt is the default prompt used with the LLM. /// + /// + /// Indicates whether the generation preset is provided by the platform or created by the customer. Platform presets are pre-configured and cannot be modified or deleted. Customer presets are created and managed by the customer.
+ /// Example: platform + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -177,7 +190,8 @@ public GenerationPreset( float? presencePenalty, object? additionalModelParams, bool? enabled, - bool? @default) + bool? @default, + global::Vectara.GenerationPresetOwnership? ownership) { this.Id = id; this.Name = name; @@ -192,6 +206,7 @@ public GenerationPreset( this.AdditionalModelParams = additionalModelParams; this.Enabled = enabled; this.Default = @default; + this.Ownership = ownership; } /// diff --git a/src/libs/Vectara/Generated/Vectara.Models.GenerationPresetOwnership.g.cs b/src/libs/Vectara/Generated/Vectara.Models.GenerationPresetOwnership.g.cs new file mode 100644 index 00000000..c2ef15ee --- /dev/null +++ b/src/libs/Vectara/Generated/Vectara.Models.GenerationPresetOwnership.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace Vectara +{ + /// + /// Indicates whether the generation preset is provided by the platform or created by the customer. Platform presets are pre-configured and cannot be modified or deleted. Customer presets are created and managed by the customer.
+ /// Example: platform + ///
+ public enum GenerationPresetOwnership + { + /// + /// + /// + Customer, + /// + /// + /// + Platform, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GenerationPresetOwnershipExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GenerationPresetOwnership value) + { + return value switch + { + GenerationPresetOwnership.Customer => "customer", + GenerationPresetOwnership.Platform => "platform", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GenerationPresetOwnership? ToEnum(string value) + { + return value switch + { + "customer" => GenerationPresetOwnership.Customer, + "platform" => GenerationPresetOwnership.Platform, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vectara/Generated/Vectara.Models.InlineArtifactCreateToolConfiguration.Json.g.cs b/src/libs/Vectara/Generated/Vectara.Models.InlineArtifactCreateToolConfiguration.Json.g.cs deleted file mode 100644 index fcebef45..00000000 --- a/src/libs/Vectara/Generated/Vectara.Models.InlineArtifactCreateToolConfiguration.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vectara -{ - public sealed partial class InlineArtifactCreateToolConfiguration - { - /// - /// 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::Vectara.InlineArtifactCreateToolConfiguration? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vectara.InlineArtifactCreateToolConfiguration), - jsonSerializerContext) as global::Vectara.InlineArtifactCreateToolConfiguration; - } - - /// - /// 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::Vectara.InlineArtifactCreateToolConfiguration? 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::Vectara.InlineArtifactCreateToolConfiguration), - jsonSerializerContext).ConfigureAwait(false)) as global::Vectara.InlineArtifactCreateToolConfiguration; - } - - /// - /// 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/Vectara/Generated/Vectara.Models.InlineArtifactCreateToolConfiguration.g.cs b/src/libs/Vectara/Generated/Vectara.Models.InlineArtifactCreateToolConfiguration.g.cs deleted file mode 100644 index 20a0ee4f..00000000 --- a/src/libs/Vectara/Generated/Vectara.Models.InlineArtifactCreateToolConfiguration.g.cs +++ /dev/null @@ -1,74 +0,0 @@ - -#nullable enable - -namespace Vectara -{ - /// - /// An artifact create tool configuration defined inline in the agent for creating artifacts from text or structured data content. - /// - public sealed partial class InlineArtifactCreateToolConfiguration - { - /// - /// The type of tool configuration, which is always 'artifact_create' for inline artifact create tool configurations.
- /// Default Value: artifact_create - ///
- /// "artifact_create" - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } = "artifact_create"; - - /// - /// Velocity template for generating dynamic tool descriptions. When set, this template is rendered at runtime to produce the tool description.
- /// Available Velocity variables:
- /// - `$agent.name` - Agent name
- /// - `$agent.metadata` - Agent metadata map
- /// - `$session.key` - Session key
- /// - `$session.metadata` - Session metadata map
- /// - `$currentDate` - Current date/time in ISO 8601 format (e.g., "2025-10-24T15:30:45Z")
- /// Example: "Search tool configured for agent $agent.name on $currentDate" - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("description_template")] - public string? DescriptionTemplate { 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. - /// - /// - /// The type of tool configuration, which is always 'artifact_create' for inline artifact create tool configurations.
- /// Default Value: artifact_create - /// - /// - /// Velocity template for generating dynamic tool descriptions. When set, this template is rendered at runtime to produce the tool description.
- /// Available Velocity variables:
- /// - `$agent.name` - Agent name
- /// - `$agent.metadata` - Agent metadata map
- /// - `$session.key` - Session key
- /// - `$session.metadata` - Session metadata map
- /// - `$currentDate` - Current date/time in ISO 8601 format (e.g., "2025-10-24T15:30:45Z")
- /// Example: "Search tool configured for agent $agent.name on $currentDate" - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public InlineArtifactCreateToolConfiguration( - string type, - string? descriptionTemplate) - { - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.DescriptionTemplate = descriptionTemplate; - } - - /// - /// Initializes a new instance of the class. - /// - public InlineArtifactCreateToolConfiguration() - { - } - } -} \ No newline at end of file diff --git a/src/libs/Vectara/Generated/autosdk.generated-examples.json b/src/libs/Vectara/Generated/autosdk.generated-examples.json index bc146e8b..d50ea206 100644 --- a/src/libs/Vectara/Generated/autosdk.generated-examples.json +++ b/src/libs/Vectara/Generated/autosdk.generated-examples.json @@ -149,7 +149,7 @@ "Slug": "listgenerationpresets", "Description": "Organizations often struggle to fine-tune query responses and maintain consistency across different use cases. Vectara creates and maintains predefined generation presets for our users which provides a flexible and powerful way to utilize generation parameters. Each preset includes a complete Velocity template for the prompt along with other generation parameters. Presets are typically associated with a single LLM.\n\nThe List Generation Presets API lets you view the generation presets used for [query](/docs/rest-api/queries) requests. Generation presets group several properties that configure generation for a request. These presets provide more flexibility in how generation parameters are configured, enabling more fine-tuned control over query responses.\n\nThis includes the \u0060prompt_template\u0060, the Large Language Model (LLM), and other generation settings like \u0060max_tokens\u0060 and \u0060temperature\u0060. Users specify a generation preset in their query or chat requests using the \u0060generation_preset_name\u0060 field.\n\n## Generation presets object\n\nThe \u0060generation_presets\u0060 object contains the \u0060name\u0060, \u0060description\u0060, \u0060llm_name\u0060, \u0060prompt_template\u0060, and other fields make up the preset.\n\nIf your account has access to a preset, then \u0060enabled\u0060 is set to \u0060true\u0060. A preset can also be set as a \u0060default\u0060.\\n\\n### Example generation presets response\\n\\n\u0060\u0060\u0060json\\n{\\n \\\u0022generation_presets\\\u0022: [\\n {\\n \\\u0022name\\\u0022: \\\u0022vectara-summary-ext-24-05-med-omni\\\u0022,\\n \\\u0022description\\\u0022: \\\u0022Generate summary with controllable citations, Uses GPT-4o with 2,048 max tokens\\\u0022,\\n \\\u0022llm_name\\\u0022: \\\u0022gpt-4o\\\u0022,\\n \\\u0022prompt_template\\\u0022: \\\u0022[\\\\n {\\\\\\\u0022role\\\\\\\u0022: \\\\\\\u0022system\\\\\\\u0022, \\\\\\\u0022content\\\\\\\u0022: \\\\\\\u0022Follow these detailed step-by-step\\\u0022,\\n \\\u0022max_used_search_results\\\u0022: 25,\\n \\\u0022max_tokens\\\u0022: 2048,\\n \\\u0022temperature\\\u0022: 0,\\n \\\u0022frequency_penalty\\\u0022: 0,\\n \\\u0022presence_penalty\\\u0022: 0,\\n \\\u0022enabled\\\u0022: true,\\n \\\u0022default\\\u0022: false\\n },\\n // More presets appear here\\n}\\n\u0060\u0060\u0060\\n\u0022", "Language": "http", - "Code": "### List generation presets\n# @name listGenerationPresets\nGET {{host}}/v2/generation_presets?llm_name={{llm_name}}\u0026limit=50\u0026page_key={{page_key}}\nx-api-key: {{api_key}}\nAuthorization: Bearer {{token}}\nRequest-Timeout: {{Request-Timeout}}\nRequest-Timeout-Millis: {{Request-Timeout-Millis}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: List of Generation Presets.\n# Content-Type: application/json\n# 403\n# Description: Permissions do not allow listing generation presets.\n# Content-Type: application/json", + "Code": "### List generation presets\n# @name listGenerationPresets\nGET {{host}}/v2/generation_presets?llm_name={{llm_name}}\u0026filter={{filter}}\u0026limit=50\u0026page_key={{page_key}}\nx-api-key: {{api_key}}\nAuthorization: Bearer {{token}}\nRequest-Timeout: {{Request-Timeout}}\nRequest-Timeout-Millis: {{Request-Timeout-Millis}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: List of Generation Presets.\n# Content-Type: application/json\n# 403\n# Description: Permissions do not allow listing generation presets.\n# Content-Type: application/json", "Format": "http", "OperationId": "listGenerationPresets", "Setup": null diff --git a/src/libs/Vectara/openapi.yaml b/src/libs/Vectara/openapi.yaml index 3df449c1..bea09a40 100644 --- a/src/libs/Vectara/openapi.yaml +++ b/src/libs/Vectara/openapi.yaml @@ -5549,6 +5549,14 @@ paths: schema: type: string example: mockingbird-2.0 + - name: filter + in: query + description: A regular expression to match names and descriptions of the generation + presets. + required: false + schema: + type: string + example: mockingbird.* - name: limit in: query description: The maximum number of results to return in the list. @@ -15757,6 +15765,15 @@ components: items: $ref: '#/components/schemas/ChatCompletionStreamResponseChoice' additionalProperties: true + GenerationPresetOwnership: + description: Indicates whether the generation preset is provided by the platform + or created by the customer. Platform presets are pre-configured and cannot + be modified or deleted. Customer presets are created and managed by the customer. + type: string + enum: + - platform + - customer + example: platform GenerationPreset: description: Bundle of default values used when calling generation. All values except model name can be overridden at generation time. @@ -15828,6 +15845,10 @@ components: description: Indicates if this prompt is the default prompt used with the LLM. type: boolean + ownership: + description: Indicates whether the preset is provided by the platform (`platform`) + or created by the customer (`customer`). + $ref: '#/components/schemas/GenerationPresetOwnership' ListGenerationPresetsResponse: description: Response containing a list of generation presets for configuring RAG behavior. @@ -18753,23 +18774,6 @@ components: - type x-vectaraParents: - AgentToolConfiguration - InlineArtifactCreateToolConfiguration: - title: InlineArtifactCreateToolConfiguration - description: An artifact create tool configuration defined inline in the agent - for creating artifacts from text or structured data content. - type: object - properties: - type: - type: string - description: The type of tool configuration, which is always 'artifact_create' - for inline artifact create tool configurations. - default: artifact_create - description_template: - $ref: '#/components/schemas/ToolDescriptionTemplate' - required: - - type - x-vectaraParents: - - AgentToolConfiguration ImageReadToolParameters: description: Configurable parameters for the image read tool. If not overridden, they will be required by the LLM to fill in. @@ -18926,7 +18930,6 @@ components: sub_agent: '#/components/schemas/InlineSubAgentToolConfiguration' artifact_read: '#/components/schemas/InlineArtifactReadToolConfiguration' artifact_grep: '#/components/schemas/InlineArtifactGrepToolConfiguration' - artifact_create: '#/components/schemas/InlineArtifactCreateToolConfiguration' image_read: '#/components/schemas/InlineImageReadToolConfiguration' document_conversion: '#/components/schemas/InlineDocumentConversionToolConfiguration' get_document_text: '#/components/schemas/InlineGetDocumentTextToolConfiguration' @@ -18940,7 +18943,6 @@ components: - $ref: '#/components/schemas/InlineSubAgentToolConfiguration' - $ref: '#/components/schemas/InlineArtifactReadToolConfiguration' - $ref: '#/components/schemas/InlineArtifactGrepToolConfiguration' - - $ref: '#/components/schemas/InlineArtifactCreateToolConfiguration' - $ref: '#/components/schemas/InlineImageReadToolConfiguration' - $ref: '#/components/schemas/InlineDocumentConversionToolConfiguration' - $ref: '#/components/schemas/InlineGetDocumentTextToolConfiguration'