diff --git a/api/OpenAI.net8.0.cs b/api/OpenAI.net8.0.cs index a038e88c..48da2b82 100644 --- a/api/OpenAI.net8.0.cs +++ b/api/OpenAI.net8.0.cs @@ -3592,8 +3592,16 @@ public class GeneratedImage : IJsonModel, IPersistableModel, IJsonModel, IPersistableModel { + [Experimental("OPENAI001")] + public GeneratedImageBackground? Background { get; } public DateTimeOffset CreatedAt { get; } [Experimental("OPENAI001")] + public GeneratedImageFileFormat? OutputFileFormat { get; set; } + [Experimental("OPENAI001")] + public GeneratedImageQuality? Quality { get; } + [Experimental("OPENAI001")] + public GeneratedImageSize? Size { get; } + [Experimental("OPENAI001")] public ImageTokenUsage Usage { get; } [Experimental("OPENAI001")] protected virtual GeneratedImageCollection JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); @@ -3658,6 +3666,7 @@ public class GeneratedImageCollection : ObjectModel.ReadOnlyCollection, IPersistableModel< public GeneratedImageBackground? Background { get; set; } public string EndUserId { get; set; } [Experimental("OPENAI001")] + public ImageInputFidelity? InputFidelity { get; set; } + [Experimental("OPENAI001")] + public int? OutputCompressionFactor { get; set; } + [Experimental("OPENAI001")] + public GeneratedImageFileFormat? OutputFileFormat { get; set; } + [Experimental("OPENAI001")] public GeneratedImageQuality? Quality { get; set; } public GeneratedImageFormat? ResponseFormat { get; set; } public GeneratedImageSize? Size { get; set; } @@ -3803,9 +3818,25 @@ public class ImageGenerationOptions : IJsonModel, IPersi protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] + public readonly partial struct ImageInputFidelity : IEquatable { + public ImageInputFidelity(string value); + public static ImageInputFidelity High { get; } + public static ImageInputFidelity Low { get; } + public readonly bool Equals(ImageInputFidelity other); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly bool Equals(object obj); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly int GetHashCode(); + public static bool operator ==(ImageInputFidelity left, ImageInputFidelity right); + public static implicit operator ImageInputFidelity(string value); + public static implicit operator ImageInputFidelity?(string value); + public static bool operator !=(ImageInputFidelity left, ImageInputFidelity right); + public override readonly string ToString(); + } + [Experimental("OPENAI001")] public class ImageInputTokenUsageDetails : IJsonModel, IPersistableModel { - public int ImageTokenCount { get; } - public int TextTokenCount { get; } + public long ImageTokenCount { get; } + public long TextTokenCount { get; } protected virtual ImageInputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); protected virtual ImageInputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); @@ -3813,10 +3844,10 @@ public class ImageInputTokenUsageDetails : IJsonModel, IPersistableModel { - public int InputTokenCount { get; } + public long InputTokenCount { get; } public ImageInputTokenUsageDetails InputTokenDetails { get; } - public int OutputTokenCount { get; } - public int TotalTokenCount { get; } + public long OutputTokenCount { get; } + public long TotalTokenCount { get; } protected virtual ImageTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); protected virtual ImageTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); @@ -3838,9 +3869,13 @@ public class ImageVariationOptions : IJsonModel, IPersist public static class OpenAIImagesModelFactory { public static GeneratedImage GeneratedImage(BinaryData imageBytes = null, Uri imageUri = null, string revisedPrompt = null); [Experimental("OPENAI001")] - public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable items = null, ImageTokenUsage usage = null); + public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable items = null, GeneratedImageBackground? background = null, GeneratedImageFileFormat? outputFileFormat = null, GeneratedImageSize? size = null, GeneratedImageQuality? quality = null, ImageTokenUsage usage = null); [EditorBrowsable(EditorBrowsableState.Never)] public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt, IEnumerable items); + [Experimental("OPENAI001")] + public static ImageInputTokenUsageDetails ImageInputTokenUsageDetails(long textTokenCount = 0, long imageTokenCount = 0); + [Experimental("OPENAI001")] + public static ImageTokenUsage ImageTokenUsage(long inputTokenCount = 0, long outputTokenCount = 0, long totalTokenCount = 0, ImageInputTokenUsageDetails inputTokenDetails = null); } } namespace OpenAI.Models { diff --git a/api/OpenAI.netstandard2.0.cs b/api/OpenAI.netstandard2.0.cs index 7149b247..b14e3781 100644 --- a/api/OpenAI.netstandard2.0.cs +++ b/api/OpenAI.netstandard2.0.cs @@ -3116,7 +3116,11 @@ public class GeneratedImage : IJsonModel, IPersistableModel, IJsonModel, IPersistableModel { + public GeneratedImageBackground? Background { get; } public DateTimeOffset CreatedAt { get; } + public GeneratedImageFileFormat? OutputFileFormat { get; set; } + public GeneratedImageQuality? Quality { get; } + public GeneratedImageSize? Size { get; } public ImageTokenUsage Usage { get; } protected virtual GeneratedImageCollection JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); @@ -3173,6 +3177,7 @@ public class GeneratedImageCollection : ObjectModel.ReadOnlyCollection { public GeneratedImageQuality(string value); public static GeneratedImageQuality Auto { get; } + public static GeneratedImageQuality HD { get; } public static GeneratedImageQuality High { get; } public static GeneratedImageQuality Low { get; } public static GeneratedImageQuality Medium { get; } @@ -3271,6 +3276,9 @@ public class ImageClient { public class ImageEditOptions : IJsonModel, IPersistableModel { public GeneratedImageBackground? Background { get; set; } public string EndUserId { get; set; } + public ImageInputFidelity? InputFidelity { get; set; } + public int? OutputCompressionFactor { get; set; } + public GeneratedImageFileFormat? OutputFileFormat { get; set; } public GeneratedImageQuality? Quality { get; set; } public GeneratedImageFormat? ResponseFormat { get; set; } public GeneratedImageSize? Size { get; set; } @@ -3294,19 +3302,34 @@ public class ImageGenerationOptions : IJsonModel, IPersi protected virtual ImageGenerationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } + public readonly partial struct ImageInputFidelity : IEquatable { + public ImageInputFidelity(string value); + public static ImageInputFidelity High { get; } + public static ImageInputFidelity Low { get; } + public readonly bool Equals(ImageInputFidelity other); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly bool Equals(object obj); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly int GetHashCode(); + public static bool operator ==(ImageInputFidelity left, ImageInputFidelity right); + public static implicit operator ImageInputFidelity(string value); + public static implicit operator ImageInputFidelity?(string value); + public static bool operator !=(ImageInputFidelity left, ImageInputFidelity right); + public override readonly string ToString(); + } public class ImageInputTokenUsageDetails : IJsonModel, IPersistableModel { - public int ImageTokenCount { get; } - public int TextTokenCount { get; } + public long ImageTokenCount { get; } + public long TextTokenCount { get; } protected virtual ImageInputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); protected virtual ImageInputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } public class ImageTokenUsage : IJsonModel, IPersistableModel { - public int InputTokenCount { get; } + public long InputTokenCount { get; } public ImageInputTokenUsageDetails InputTokenDetails { get; } - public int OutputTokenCount { get; } - public int TotalTokenCount { get; } + public long OutputTokenCount { get; } + public long TotalTokenCount { get; } protected virtual ImageTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); protected virtual ImageTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); @@ -3323,9 +3346,11 @@ public class ImageVariationOptions : IJsonModel, IPersist } public static class OpenAIImagesModelFactory { public static GeneratedImage GeneratedImage(BinaryData imageBytes = null, Uri imageUri = null, string revisedPrompt = null); - public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable items = null, ImageTokenUsage usage = null); + public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable items = null, GeneratedImageBackground? background = null, GeneratedImageFileFormat? outputFileFormat = null, GeneratedImageSize? size = null, GeneratedImageQuality? quality = null, ImageTokenUsage usage = null); [EditorBrowsable(EditorBrowsableState.Never)] public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt, IEnumerable items); + public static ImageInputTokenUsageDetails ImageInputTokenUsageDetails(long textTokenCount = 0, long imageTokenCount = 0); + public static ImageTokenUsage ImageTokenUsage(long inputTokenCount = 0, long outputTokenCount = 0, long totalTokenCount = 0, ImageInputTokenUsageDetails inputTokenDetails = null); } } namespace OpenAI.Models { diff --git a/codegen/generator/src/OpenAILibraryGenerator.cs b/codegen/generator/src/OpenAILibraryGenerator.cs index 3942de6e..2620a8ca 100644 --- a/codegen/generator/src/OpenAILibraryGenerator.cs +++ b/codegen/generator/src/OpenAILibraryGenerator.cs @@ -17,6 +17,7 @@ protected override void Configure() base.Configure(); // This should be first, as it recomputes the type AddVisitor(new NonAbstractPublicTypesVisitor()); + AddVisitor(new NumericPropertiesVisitor()); AddVisitor(new ConstructorFixupVisitor()); AddVisitor(new KindRenameVisitor()); AddVisitor(new VisibilityVisitor()); @@ -33,6 +34,7 @@ protected override void Configure() AddVisitor(new ModelDirectoryVisitor()); AddVisitor(new PaginationVisitor()); AddVisitor(new MetadataQueryParamVisitor()); + AddVisitor(new ItemsPropertyVisitor()); } } } \ No newline at end of file diff --git a/codegen/generator/src/Visitors/ItemsPropertyVisitor.cs b/codegen/generator/src/Visitors/ItemsPropertyVisitor.cs new file mode 100644 index 00000000..9594a2ff --- /dev/null +++ b/codegen/generator/src/Visitors/ItemsPropertyVisitor.cs @@ -0,0 +1,40 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Providers; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// There are a few models that represent collections of other models. We have customized some of +/// these models to be classes derived from collection types (e.g., `ReadOnlyCollection`). +/// But because these collection types already have an `Items` property that is inherited by the +/// derived class, there is a conflict when a second `Items` property is generated from the schema. +/// The purpose of this visitor is simply to remove that duplicated `Items` property and let the +/// classes use the inherited property instead. +/// +public class ItemsPropertyVisitor : ScmLibraryVisitor +{ + // Classes that have been customized to derive from collection types, e.g., `ReadOnlyCollection`. + private static readonly HashSet _collectionTypes = new(StringComparer.OrdinalIgnoreCase) + { + "OpenAI.Embeddings.OpenAIEmbeddingCollection", + "OpenAI.Images.GeneratedImageCollection", + "OpenAI.Models.OpenAIModelCollection", + }; + + protected override TypeProvider? PostVisitType(TypeProvider typeProvider) + { + if (typeProvider is not null + && _collectionTypes.Contains($"{typeProvider.Type.Namespace}.{typeProvider.Name}")) + { + // Remove the "Items" property from collection types. + typeProvider.Update( + properties: typeProvider.Properties + .Where(p => !p.Name.Equals("Items", StringComparison.OrdinalIgnoreCase))); + } + + return typeProvider; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/NumericPropertiesVisitor.cs b/codegen/generator/src/Visitors/NumericPropertiesVisitor.cs new file mode 100644 index 00000000..912391fa --- /dev/null +++ b/codegen/generator/src/Visitors/NumericPropertiesVisitor.cs @@ -0,0 +1,41 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Input; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using System; +using System.Collections.Generic; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// We prefer to use `int` (Int32) for numeric properties unless there is a specific reason to +/// use `long` (Int64). Because using `long` is therefore the exception, this visitor converts all +/// `long` properties to `int` by default unless they are explicitly excluded. +/// +public class NumericPropertiesVisitor : ScmLibraryVisitor +{ + private static readonly HashSet _excludedProperties = new(StringComparer.OrdinalIgnoreCase) + { + "OpenAI.Chat.ChatCompletionOptions.Seed", + + "OpenAI.LegacyCompletions.InternalCreateCompletionRequest.Seed", + + "OpenAI.Images.ImageTokenUsage.InputTokenCount", + "OpenAI.Images.ImageTokenUsage.OutputTokenCount", + "OpenAI.Images.ImageTokenUsage.TotalTokenCount", + "OpenAI.Images.ImageInputTokenUsageDetails.ImageTokens", + "OpenAI.Images.ImageInputTokenUsageDetails.TextTokens", + }; + + protected override PropertyProvider? PreVisitProperty(InputProperty property, PropertyProvider? propertyProvider) + { + if (propertyProvider is not null + && propertyProvider.Type.Equals(typeof(long)) + && !_excludedProperties.Contains($"{propertyProvider.EnclosingType.Type.Namespace}.{propertyProvider.EnclosingType.Name}.{propertyProvider.Name}")) + { + propertyProvider.Update(type: new CSharpType(typeof(int), propertyProvider.Type.IsNullable)); + } + + return propertyProvider; + } +} \ No newline at end of file diff --git a/specification/base/typespec/embeddings/main.tsp b/specification/base/typespec/embeddings/main.tsp index 144c4aea..c2419d29 100644 --- a/specification/base/typespec/embeddings/main.tsp +++ b/specification/base/typespec/embeddings/main.tsp @@ -1 +1,2 @@ +import "./models.tsp"; import "./operations.tsp"; diff --git a/specification/base/typespec/embeddings/models.tsp b/specification/base/typespec/embeddings/models.tsp index e881b891..a59e8f53 100644 --- a/specification/base/typespec/embeddings/models.tsp +++ b/specification/base/typespec/embeddings/models.tsp @@ -1,18 +1,11 @@ -/* - * This file was automatically generated from an OpenAPI .yaml file. - * Edits made directly to this file will be lost. - */ - -using Http; +import "@typespec/openapi"; using TypeSpec.OpenAPI; - namespace OpenAI; - model CreateEmbeddingRequest { /** Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model (8192 tokens for all embedding models), cannot be an empty string, and any array must be 2048 dimensions or less. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens. In addition to the per-input token limit, all embedding models enforce a maximum of 300,000 tokens summed across all inputs in a single request. */ - input: string | string[] | int32[] | int32[][]; + input: string | string[] | integer[] | integer[][]; - /** ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them. */ + /** ID of the model to use. You can use the [List models](https://platform.openai.com/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](https://platform.openai.com/docs/models) for descriptions of them. */ @extension("x-oaiTypeLabel", "string") `model`: | string @@ -20,18 +13,14 @@ model CreateEmbeddingRequest { | "text-embedding-3-small" | "text-embedding-3-large"; - @doc(""" - The format to return the embeddings in. Can be either `float` or [`base64`](https://pypi.org/project/pybase64/). - """) + /** The format to return the embeddings in. Can be either `float` or [`base64`](https://pypi.org/project/pybase64/). */ encoding_format?: "float" | "base64" = "float"; - @doc(""" - The number of dimensions the resulting output embeddings should have. Only supported in `text-embedding-3` and later models. - """) + /** The number of dimensions the resulting output embeddings should have. Only supported in `text-embedding-3` and later models. */ @minValue(1) - dimensions?: int32; + dimensions?: integer; - /** A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids). */ + /** A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids). */ user?: string; } @@ -43,27 +32,32 @@ model CreateEmbeddingResponse { `model`: string; /** The object type, which is always "list". */ + @extension("x-stainless-const", true) object: "list"; /** The usage information for the request. */ usage: { - /** The number of tokens used by the prompt. */ - prompt_tokens: int32; - - /** The total number of tokens used by the request. */ - total_tokens: int32; + prompt_tokens: integer; + total_tokens: integer; }; } /** Represents an embedding vector returned by embedding endpoint. */ +@extension( + "x-oaiMeta", + #{ + name: "The embedding object", + example: "{\n \"object\": \"embedding\",\n \"embedding\": [\n 0.0023064255,\n -0.009327292,\n .... (1536 floats total for ada-002)\n -0.0028842222,\n ],\n \"index\": 0\n}\n", + } +) model Embedding { /** The index of the embedding in the list of embeddings. */ - index: int32; + index: integer; - // Tool customization: apply missing string union for embedding response values - /** The embedding vector, which is a list of floats. The length of vector depends on the model as listed in the [embedding guide](/docs/guides/embeddings). */ - embedding: float[] | string; + /** The embedding vector, which is a list of floats. The length of vector depends on the model as listed in the [embedding guide](https://platform.openai.com/docs/guides/embeddings). */ + embedding: float32[]; /** The object type, which is always "embedding". */ + @extension("x-stainless-const", true) object: "embedding"; } diff --git a/specification/base/typespec/embeddings/operations.tsp b/specification/base/typespec/embeddings/operations.tsp index b3495f10..e14d4b78 100644 --- a/specification/base/typespec/embeddings/operations.tsp +++ b/specification/base/typespec/embeddings/operations.tsp @@ -1,22 +1,35 @@ import "@typespec/http"; import "@typespec/openapi"; - -import "../common"; import "./models.tsp"; - using TypeSpec.Http; using TypeSpec.OpenAPI; - namespace OpenAI; - +/** Creates an embedding vector representing the input text. */ +@summary("Create embeddings") +@post @route("/embeddings") -interface Embeddings { - @post - @operationId("createEmbedding") - @tag("Embeddings") - @summary("Creates an embedding vector representing the input text.") - createEmbedding( - @header accept: "application/json", - @body requestBody: CreateEmbeddingRequest, - ): CreateEmbeddingResponse | ErrorResponse; -} +@extension( + "x-oaiMeta", + #{ + name: "Create embeddings", + group: "embeddings", + returns: "A list of [embedding](https://platform.openai.com/docs/api-reference/embeddings/object) objects.", + examples: #{ + response: "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"embedding\",\n \"embedding\": [\n 0.0023064255,\n -0.009327292,\n .... (1536 floats total for ada-002)\n -0.0028842222,\n ],\n \"index\": 0\n }\n ],\n \"model\": \"text-embedding-ada-002\",\n \"usage\": {\n \"prompt_tokens\": 8,\n \"total_tokens\": 8\n }\n}\n", + request: #{ + curl: "curl https://api.openai.com/v1/embeddings \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"input\": \"The food was delicious and the waiter...\",\n \"model\": \"text-embedding-ada-002\",\n \"encoding_format\": \"float\"\n }'\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\ncreate_embedding_response = client.embeddings.create(\n input=\"The quick brown fox jumped over the lazy dog\",\n model=\"text-embedding-3-small\",\n)\nprint(create_embedding_response.data)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\nconst createEmbeddingResponse = await client.embeddings.create({\n input: 'The quick brown fox jumped over the lazy dog',\n model: 'text-embedding-3-small',\n});\n\nconsole.log(createEmbeddingResponse.data);", + csharp: "using System;\n\nusing OpenAI.Embeddings;\n\nEmbeddingClient client = new(\n model: \"text-embedding-3-small\",\n apiKey: Environment.GetEnvironmentVariable(\"OPENAI_API_KEY\")\n);\n\nOpenAIEmbedding embedding = client.GenerateEmbedding(input: \"The quick brown fox jumped over the lazy dog\");\nReadOnlyMemory vector = embedding.ToFloats();\n\nfor (int i = 0; i < vector.Length; i++)\n{\n Console.WriteLine($\" [{i,4}] = {vector.Span[i]}\");\n}\n", + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n createEmbeddingResponse, err := client.Embeddings.New(context.TODO(), openai.EmbeddingNewParams{\n Input: openai.EmbeddingNewParamsInputUnion{\n OfString: openai.String(\"The quick brown fox jumped over the lazy dog\"),\n },\n Model: openai.EmbeddingModelTextEmbeddingAda002,\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", createEmbeddingResponse.Data)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.embeddings.CreateEmbeddingResponse;\nimport com.openai.models.embeddings.EmbeddingCreateParams;\nimport com.openai.models.embeddings.EmbeddingModel;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n EmbeddingCreateParams params = EmbeddingCreateParams.builder()\n .input(\"The quick brown fox jumped over the lazy dog\")\n .model(EmbeddingModel.TEXT_EMBEDDING_ADA_002)\n .build();\n CreateEmbeddingResponse createEmbeddingResponse = client.embeddings().create(params);\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\ncreate_embedding_response = openai.embeddings.create(\n input: \"The quick brown fox jumped over the lazy dog\",\n model: :\"text-embedding-ada-002\"\n)\n\nputs(create_embedding_response)", + }, + }, + } +) +@tag("Embeddings") +op createEmbedding( + @body + body: CreateEmbeddingRequest, +): CreateEmbeddingResponse; diff --git a/specification/base/typespec/images/custom.tsp b/specification/base/typespec/images/custom.tsp deleted file mode 100644 index 0921a9c8..00000000 --- a/specification/base/typespec/images/custom.tsp +++ /dev/null @@ -1,9 +0,0 @@ -import "../common"; - -using TypeSpec.OpenAPI; - -namespace OpenAI; - -@minValue(1) -@maxValue(10) -scalar OneToTenInt extends int32; diff --git a/specification/base/typespec/images/main.tsp b/specification/base/typespec/images/main.tsp index 144c4aea..67655d29 100644 --- a/specification/base/typespec/images/main.tsp +++ b/specification/base/typespec/images/main.tsp @@ -1 +1,2 @@ -import "./operations.tsp"; +import "./models.tsp"; +import "./operations.tsp"; \ No newline at end of file diff --git a/specification/base/typespec/images/models.tsp b/specification/base/typespec/images/models.tsp index edcb063e..fef40ab3 100644 --- a/specification/base/typespec/images/models.tsp +++ b/specification/base/typespec/images/models.tsp @@ -1,47 +1,136 @@ -/* - * This file was automatically generated from an OpenAPI .yaml file. - * Edits made directly to this file will be lost. - */ +import "@typespec/openapi"; +using TypeSpec.OpenAPI; +using TypeSpec.Http; +namespace OpenAI; +/**Control how much effort the model will exert to match the style and features, +especially facial features, of input images. This parameter is only supported +for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.*/ +#suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." +union ImageInputFidelity { + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + "high" | "low", + null, +} -import "./custom.tsp"; +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." +model CreateImageEditRequest { + /**The image(s) to edit. Must be a supported image file or an array of images. -using Http; -using TypeSpec.OpenAPI; + For `gpt-image-1`, each image should be a `png`, `webp`, or `jpg` file less + than 50MB. You can provide up to 16 images. -namespace OpenAI; + For `dall-e-2`, you can only provide one image, and it should be a square + `png` file less than 4MB.*/ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." + @extension("x-oaiMeta", #{ exampleFilePath: "otter.png" }) + image: HttpPart; + /** A text description of the desired image(s). The maximum length is 1000 characters for `dall-e-2`, and 32000 characters for `gpt-image-1`. */ + prompt: HttpPart; + + /** An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." + @extension("x-oaiMeta", #{ exampleFilePath: "mask.png" }) + mask?: HttpPart; + + /**Allows to set transparency for the background of the generated image(s). + This parameter is only supported for `gpt-image-1`. Must be one of + `transparent`, `opaque` or `auto` (default value). When `auto` is used, the + model will automatically determine the best background for the image. + + If `transparent`, the output format needs to support transparency, so it + should be set to either `png` (default value) or `webp`.*/ + background?: HttpPart<"transparent" | "opaque" | "auto" | null>; + + /** The model to use for image generation. Only `dall-e-2` and `gpt-image-1` are supported. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." + @extension("x-oaiTypeLabel", "string") + `model`?: HttpPart< + | string + | "dall-e-2" + | "gpt-image-1" + | "gpt-image-1-mini" + | null>; + + /** The number of images to generate. Must be between 1 and 10. */ + n?: HttpPart; + + /** The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, and one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`. */ + size?: HttpPart< + | "256x256" + | "512x512" + | "1024x1024" + | "1536x1024" + | "1024x1536" + | "auto" + | null>; + + /** The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter is only supported for `dall-e-2`, as `gpt-image-1` will always return base64-encoded images. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + response_format?: HttpPart<"url" | "b64_json" | null>; + + /**The format in which the generated images are returned. This parameter is + only supported for `gpt-image-1`. Must be one of `png`, `jpeg`, or `webp`. + The default value is `png`.*/ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + output_format?: HttpPart<"png" | "jpeg" | "webp" | null>; + + /**The compression level (0-100%) for the generated images. This parameter + is only supported for `gpt-image-1` with the `webp` or `jpeg` output + formats, and defaults to 100.*/ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + output_compression?: HttpPart; + + /** A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids). */ + user?: HttpPart; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + input_fidelity?: HttpPart; + + /**Edit the image in streaming mode. Defaults to `false`. See the + [Image generation guide](https://platform.openai.com/docs/guides/image-generation) for more information.*/ + stream?: HttpPart; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + partial_images?: HttpPart; + + /** The quality of the image that will be generated. `high`, `medium` and `low` are only supported for `gpt-image-1`. `dall-e-2` only supports `standard` quality. Defaults to `auto`. */ + quality?: HttpPart<"standard" | "low" | "medium" | "high" | "auto" | null>; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." model CreateImageRequest { - @doc(""" - A text description of the desired image(s). The maximum length is 32000 characters for `gpt-image-1`, 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`. - """) + /** A text description of the desired image(s). The maximum length is 32000 characters for `gpt-image-1`, 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`. */ prompt: string; - @doc(""" - The model to use for image generation. One of `dall-e-2`, `dall-e-3`, or `gpt-image-1`. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used. - """) + /** The model to use for image generation. One of `dall-e-2`, `dall-e-3`, or `gpt-image-1`. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." @extension("x-oaiTypeLabel", "string") `model`?: | string | "dall-e-2" | "dall-e-3" | "gpt-image-1" - | null = "dall-e-2"; + | "gpt-image-1-mini" + | null; - @doc(""" - The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported. - """) - @minValue(1) + /** The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." @maxValue(10) - n?: int32 | null = 1; - - @doc(""" - The quality of the image that will be generated. - - - `auto` (default value) will automatically select the best quality for the given model. - - `high`, `medium` and `low` are supported for `gpt-image-1`. - - `hd` and `standard` are supported for `dall-e-3`. - - `standard` is the only option for `dall-e-2`. - """) + @minValue(1) + n?: integer | null = 1; + + /**The quality of the image that will be generated. + + - `auto` (default value) will automatically select the best quality for the given model. + - `high`, `medium` and `low` are supported for `gpt-image-1`. + - `hd` and `standard` are supported for `dall-e-3`. + - `standard` is the only option for `dall-e-2`.*/ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." quality?: | "standard" | "hd" @@ -51,24 +140,37 @@ model CreateImageRequest { | "auto" | null = "auto"; - @doc(""" - The format in which generated images with `dall-e-2` and `dall-e-3` are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter isn't supported for `gpt-image-1` which will always return base64-encoded images. - """) + /** The format in which generated images with `dall-e-2` and `dall-e-3` are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter isn't supported for `gpt-image-1` which will always return base64-encoded images. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." response_format?: "url" | "b64_json" | null = "url"; - @doc(""" - The format in which the generated images are returned. This parameter is only supported for `gpt-image-1`. Must be one of `png`, `jpeg`, or `webp`. - """) + /** The format in which the generated images are returned. This parameter is only supported for `gpt-image-1`. Must be one of `png`, `jpeg`, or `webp`. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." output_format?: "png" | "jpeg" | "webp" | null = "png"; - @doc(""" - The compression level (0-100%) for the generated images. This parameter is only supported for `gpt-image-1` with the `webp` or `jpeg` output formats, and defaults to 100. - """) - output_compression?: int32 | null = 100; - - @doc(""" - The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`, and one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3`. - """) + /** The compression level (0-100%) for the generated images. This parameter is only supported for `gpt-image-1` with the `webp` or `jpeg` output formats, and defaults to 100. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + output_compression?: integer | null = 100; + + /**Generate the image in streaming mode. Defaults to `false`. See the + [Image generation guide](https://platform.openai.com/docs/guides/image-generation) for more information. + This parameter is only supported for `gpt-image-1`.*/ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + stream?: boolean | null; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + partial_images?: PartialImages; + + /** The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`, and one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3`. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." size?: | "auto" | "1024x1024" @@ -80,193 +182,425 @@ model CreateImageRequest { | "1024x1792" | null = "auto"; - @doc(""" - Control the content-moderation level for images generated by `gpt-image-1`. Must be either `low` for less restrictive filtering or `auto` (default value). - """) + /** Control the content-moderation level for images generated by `gpt-image-1`. Must be either `low` for less restrictive filtering or `auto` (default value). */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." moderation?: "low" | "auto" | null = "auto"; - @doc(""" - Allows to set transparency for the background of the generated image(s). - This parameter is only supported for `gpt-image-1`. Must be one of - `transparent`, `opaque` or `auto` (default value). When `auto` is used, the - model will automatically determine the best background for the image. - - If `transparent`, the output format needs to support transparency, so it - should be set to either `png` (default value) or `webp`. - """) + /**Allows to set transparency for the background of the generated image(s). + This parameter is only supported for `gpt-image-1`. Must be one of + `transparent`, `opaque` or `auto` (default value). When `auto` is used, the + model will automatically determine the best background for the image. + + If `transparent`, the output format needs to support transparency, so it + should be set to either `png` (default value) or `webp`.*/ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." background?: "transparent" | "opaque" | "auto" | null = "auto"; - @doc(""" - The style of the generated images. This parameter is only supported for `dall-e-3`. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images. - """) + /** The style of the generated images. This parameter is only supported for `dall-e-3`. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images. */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." style?: "vivid" | "natural" | null = "vivid"; - /** A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids). */ + /** A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids). */ user?: string; } -model CreateImageEditRequest { - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - The image(s) to edit. Must be a supported image file or an array of images. - - For `gpt-image-1`, each image should be a `png`, `webp`, or `jpg` file less - than 50MB. You can provide up to 16 images. - - For `dall-e-2`, you can only provide one image, and it should be a square - `png` file less than 4MB. - """) - image: HttpPart; - - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - A text description of the desired image(s). The maximum length is 1000 characters for `dall-e-2`, and 32000 characters for `gpt-image-1`. - """) - prompt: HttpPart; - - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`. - """) - mask?: HttpPart; +/**The number of partial images to generate. This parameter is used for +streaming responses that return partial images. Value must be between 0 and 3. +When set to 0, the response will be a single image sent in one streaming event. + +Note that the final image may be sent before the full number of partial images +are generated if the full image is generated more quickly.*/ +@maxValue(3) +@minValue(0) +union PartialImages { + integer, + null, +} - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - Allows to set transparency for the background of the generated image(s). - This parameter is only supported for `gpt-image-1`. Must be one of - `transparent`, `opaque` or `auto` (default value). When `auto` is used, the - model will automatically determine the best background for the image. - - If `transparent`, the output format needs to support transparency, so it - should be set to either `png` (default value) or `webp`. - """) - background?: HttpPart<"transparent" | "opaque" | "auto" | null>; +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." +model CreateImageVariationRequest { + /** The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." + @extension("x-oaiMeta", #{ exampleFilePath: "otter.png" }) + image: HttpPart; - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - The model to use for image generation. Only `dall-e-2` and `gpt-image-1` are supported. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used. - """) + /** The model to use for image generation. Only `dall-e-2` is supported at this time. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." @extension("x-oaiTypeLabel", "string") - `model`?: HttpPart; + `model`?: HttpPart; - // Tool customization: Use scenario-specific composed union and apply HttpPart for property in multipart request model /** The number of images to generate. Must be between 1 and 10. */ - n?: HttpPart; - - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, and one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`. - """) - size?: HttpPart< - | "256x256" - | "512x512" - | "1024x1024" - | "1536x1024" - | "1024x1536" - | "auto" - | null>; + n?: HttpPart; - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter is only supported for `dall-e-2`, as `gpt-image-1` will always return base64-encoded images. - """) + /** The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." response_format?: HttpPart<"url" | "b64_json" | null>; - // Tool customization: Apply HttpPart for property in multipart request model - /** A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids). */ + /** The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`. */ + size?: HttpPart<"256x256" | "512x512" | "1024x1024" | null>; + + /** A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids). */ user?: HttpPart; +} - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - The quality of the image that will be generated. `high`, `medium` and `low` are only supported for `gpt-image-1`. `dall-e-2` only supports `standard` quality. Defaults to `auto`. - """) - quality?: HttpPart<"standard" | "low" | "medium" | "high" | "auto" | null>; +/** Represents the content or the URL of an image generated by the OpenAI API. */ +model Image { + /** The base64-encoded JSON of the generated image. Default value for `gpt-image-1`, and only present if `response_format` is set to `b64_json` for `dall-e-2` and `dall-e-3`. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + @encode("base64", string) + b64_json?: bytes; + + /** When using `dall-e-2` or `dall-e-3`, the URL of the generated image if `response_format` is set to `url` (default value). Unsupported for `gpt-image-1`. */ + url?: string; + + /** For `dall-e-3` only, the revised prompt that was used to generate the image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + revised_prompt?: string; } -model CreateImageVariationRequest { - // Tool customization: Apply HttpPart for property in multipart request model - /** The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square. */ - image: HttpPart; +/** Emitted when image editing has completed and the final image is available. */ +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@extension( + "x-oaiMeta", + #{ + name: "image_edit.completed", + group: "images", + example: "{\n \"type\": \"image_edit.completed\",\n \"b64_json\": \"...\",\n \"created_at\": 1620000000,\n \"size\": \"1024x1024\",\n \"quality\": \"high\",\n \"background\": \"transparent\",\n \"output_format\": \"png\",\n \"usage\": {\n \"total_tokens\": 100,\n \"input_tokens\": 50,\n \"output_tokens\": 50,\n \"input_tokens_details\": {\n \"text_tokens\": 10,\n \"image_tokens\": 40\n }\n }\n}\n", + } +) +model ImageEditCompletedEvent extends ImageEditStreamEvent { + /** The type of the event. Always `image_edit.completed`. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." + @extension("x-stainless-const", true) + type: "image_edit.completed"; + + /** Base64-encoded final edited image data, suitable for rendering as an image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + b64_json: string; + + /** The Unix timestamp when the event was created. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + created_at: integer; + + /** The size of the edited image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + size: "1024x1024" | "1024x1536" | "1536x1024" | "auto"; + + /** The quality setting for the edited image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + quality: "low" | "medium" | "high" | "auto"; + + /** The background setting for the edited image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + background: "transparent" | "opaque" | "auto"; + + /** The output format for the edited image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + output_format: "png" | "webp" | "jpeg"; + + usage: ImagesUsage; +} - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - The model to use for image generation. Only `dall-e-2` is supported at this time. - """) - @extension("x-oaiTypeLabel", "string") - `model`?: HttpPart; +/** For `gpt-image-1` only, the token usage information for the image generation. */ +model ImagesUsage { + /** The total number of tokens (images and text) used for the image generation. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + total_tokens: integer; + + /** The number of tokens (images and text) in the input prompt. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + input_tokens: integer; + + /** The number of image tokens in the output image. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + output_tokens: integer; + + /** The input tokens detailed information for the image generation. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + input_tokens_details: ImagesUsageInputTokensDetails; +} - // Tool customization: Use scenario-specific composed union and apply HttpPart for property in multipart request model - /** The number of images to generate. Must be between 1 and 10. */ - n?: HttpPart; +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." +model ImagesUsageInputTokensDetails { + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + text_tokens: integer; + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + image_tokens: integer; +} - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. - """) - response_format?: HttpPart<"url" | "b64_json" | null>; +/** Emitted when a partial image is available during image editing streaming. */ +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@extension( + "x-oaiMeta", + #{ + name: "image_edit.partial_image", + group: "images", + example: "{\n \"type\": \"image_edit.partial_image\",\n \"b64_json\": \"...\",\n \"created_at\": 1620000000,\n \"size\": \"1024x1024\",\n \"quality\": \"high\",\n \"background\": \"transparent\",\n \"output_format\": \"png\",\n \"partial_image_index\": 0\n}\n", + } +) +model ImageEditPartialImageEvent extends ImageEditStreamEvent { + /** The type of the event. Always `image_edit.partial_image`. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." + @extension("x-stainless-const", true) + type: "image_edit.partial_image"; + + /** Base64-encoded partial image data, suitable for rendering as an image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + b64_json: string; + + /** The Unix timestamp when the event was created. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + created_at: integer; + + /** The size of the requested edited image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + size: "1024x1024" | "1024x1536" | "1536x1024" | "auto"; + + /** The quality setting for the requested edited image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + quality: "low" | "medium" | "high" | "auto"; + + /** The background setting for the requested edited image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + background: "transparent" | "opaque" | "auto"; + + /** The output format for the requested edited image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + output_format: "png" | "webp" | "jpeg"; + + /** 0-based index for the partial image (streaming). */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + partial_image_index: integer; +} - // Tool customization: Apply HttpPart for property in multipart request model - @doc(""" - The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`. - """) - size?: HttpPart<"256x256" | "512x512" | "1024x1024" | null>; +/** Emitted when image generation has completed and the final image is available. */ +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@extension( + "x-oaiMeta", + #{ + name: "image_generation.completed", + group: "images", + example: "{\n \"type\": \"image_generation.completed\",\n \"b64_json\": \"...\",\n \"created_at\": 1620000000,\n \"size\": \"1024x1024\",\n \"quality\": \"high\",\n \"background\": \"transparent\",\n \"output_format\": \"png\",\n \"usage\": {\n \"total_tokens\": 100,\n \"input_tokens\": 50,\n \"output_tokens\": 50,\n \"input_tokens_details\": {\n \"text_tokens\": 10,\n \"image_tokens\": 40\n }\n }\n}\n", + } +) +model ImageGenCompletedEvent extends ImageGenStreamEvent { + /** The type of the event. Always `image_generation.completed`. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." + @extension("x-stainless-const", true) + type: "image_generation.completed"; + + /** Base64-encoded image data, suitable for rendering as an image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + b64_json: string; + + /** The Unix timestamp when the event was created. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + created_at: integer; + + /** The size of the generated image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + size: "1024x1024" | "1024x1536" | "1536x1024" | "auto"; + + /** The quality setting for the generated image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + quality: "low" | "medium" | "high" | "auto"; + + /** The background setting for the generated image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + background: "transparent" | "opaque" | "auto"; + + /** The output format for the generated image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + output_format: "png" | "webp" | "jpeg"; + + usage: ImagesUsage; +} - // Tool customization: Apply HttpPart for property in multipart request model - /** A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids). */ - user?: HttpPart; +/** Emitted when a partial image is available during image generation streaming. */ +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@extension( + "x-oaiMeta", + #{ + name: "image_generation.partial_image", + group: "images", + example: "{\n \"type\": \"image_generation.partial_image\",\n \"b64_json\": \"...\",\n \"created_at\": 1620000000,\n \"size\": \"1024x1024\",\n \"quality\": \"high\",\n \"background\": \"transparent\",\n \"output_format\": \"png\",\n \"partial_image_index\": 0\n}\n", + } +) +model ImageGenPartialImageEvent extends ImageGenStreamEvent { + /** The type of the event. Always `image_generation.partial_image`. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." + @extension("x-stainless-const", true) + type: "image_generation.partial_image"; + + /** Base64-encoded partial image data, suitable for rendering as an image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + b64_json: string; + + /** The Unix timestamp when the event was created. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + created_at: integer; + + /** The size of the requested image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + size: "1024x1024" | "1024x1536" | "1536x1024" | "auto"; + + /** The quality setting for the requested image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + quality: "low" | "medium" | "high" | "auto"; + + /** The background setting for the requested image. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + background: "transparent" | "opaque" | "auto"; + + /** The output format for the requested image. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + output_format: "png" | "webp" | "jpeg"; + + /** 0-based index for the partial image (streaming). */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + partial_image_index: integer; } /** The response from the image generation endpoint. */ +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@summary("Image generation response") +@extension( + "x-oaiMeta", + #{ + name: "The image generation response", + group: "images", + example: "{\n \"created\": 1713833628,\n \"data\": [\n {\n \"b64_json\": \"...\"\n }\n ],\n \"background\": \"transparent\",\n \"output_format\": \"png\",\n \"size\": \"1024x1024\",\n \"quality\": \"high\",\n \"usage\": {\n \"total_tokens\": 100,\n \"input_tokens\": 50,\n \"output_tokens\": 50,\n \"input_tokens_details\": {\n \"text_tokens\": 10,\n \"image_tokens\": 40\n }\n }\n}\n", + } +) model ImagesResponse { - // Tool customization: 'created' and fields ending in '_at' are Unix encoded utcDateTime /** The Unix timestamp (in seconds) of when the image was created. */ - @encode("unixTimestamp", int32) + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + @encode("unixTimestamp", integer) created: utcDateTime; /** The list of generated images. */ data?: Image[]; - @doc(""" - For `gpt-image-1` only, the token usage information for the image generation. - """) - usage?: { - /** The total number of tokens (images and text) used for the image generation. */ - total_tokens: int32; + /** The background parameter used for the image generation. Either `transparent` or `opaque`. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + background?: "transparent" | "opaque"; - /** The number of tokens (images and text) in the input prompt. */ - input_tokens: int32; + /** The output format of the image generation. Either `png`, `webp`, or `jpeg`. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + output_format?: "png" | "webp" | "jpeg"; - /** The number of image tokens in the output image. */ - output_tokens: int32; + /** The size of the image generated. Either `1024x1024`, `1024x1536`, or `1536x1024`. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + size?: "1024x1024" | "1024x1536" | "1536x1024"; - /** The input tokens detailed information for the image generation. */ - input_tokens_details: { - /** The number of text tokens in the input prompt. */ - text_tokens: int32; + /** The quality of the image generated. Either `low`, `medium`, or `high`. */ + #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" "Auto-suppressed warnings non-applicable rules during import." + quality?: "low" | "medium" | "high"; - /** The number of image tokens in the input prompt. */ - image_tokens: int32; - }; - }; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + usage?: ImageGenUsage; } -/** Represents the content or the URL of an image generated by the OpenAI API. */ -model Image { - // Tool customization: base64 input uses an encoded bytes type - @doc(""" - The base64-encoded JSON of the generated image. Default value for `gpt-image-1`, and only present if `response_format` is set to `b64_json` for `dall-e-2` and `dall-e-3`. - """) - @encode("base64", string) - b64_json?: bytes; +/** For `gpt-image-1` only, the token usage information for the image generation. */ +@summary("Image generation usage") +model ImageGenUsage { + /** The number of tokens (images and text) in the input prompt. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + input_tokens: integer; + + /** The total number of tokens (images and text) used for the image generation. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + total_tokens: integer; + + /** The number of output tokens generated by the model. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + output_tokens: integer; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + input_tokens_details: ImageGenInputUsageDetails; +} + +/** The input tokens detailed information for the image generation. */ +@summary("Input usage details") +model ImageGenInputUsageDetails { + /** The number of text tokens in the input prompt. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + text_tokens: integer; + + /** The number of image tokens in the input prompt. */ + #suppress "@azure-tools/typespec-azure-core/no-generic-numeric" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-azure-core/casing-style" "Auto-suppressed warnings non-applicable rules during import." + image_tokens: integer; +} - // Tool customization: url uses the url type - @doc(""" - When using `dall-e-2` or `dall-e-3`, the URL of the generated image if `response_format` is set to `url` (default value). Unsupported for `gpt-image-1`. - """) - url?: url; +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." +model CreateImageEditStreamingResponse { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @header + contentType: "text/event-stream"; - @doc(""" - For `dall-e-3` only, the revised prompt that was used to generate the image. - """) - revised_prompt?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @body + body: ImageEditStreamEvent; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." +@discriminator("type") +model ImageEditStreamEvent { + type: ImageEditStreamEventType; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." +model CreateImageStreamingResponse { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @header + contentType: "text/event-stream"; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @body + body: ImageGenStreamEvent; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." +@discriminator("type") +model ImageGenStreamEvent { + type: ImageGenStreamEventType; } + +union ImageEditStreamEventType { + string, + "image_edit.partial_image", + "image_edit.completed", +} + +union ImageGenStreamEventType { + string, + "image_generation.partial_image", + "image_generation.completed", +} \ No newline at end of file diff --git a/specification/base/typespec/images/operations.tsp b/specification/base/typespec/images/operations.tsp index 4a73eea9..e9b35808 100644 --- a/specification/base/typespec/images/operations.tsp +++ b/specification/base/typespec/images/operations.tsp @@ -1,45 +1,143 @@ import "@typespec/http"; import "@typespec/openapi"; - -import "../common/models.tsp"; import "./models.tsp"; - using TypeSpec.Http; using TypeSpec.OpenAPI; - namespace OpenAI; +/** Creates an edited or extended image given one or more source images and a prompt. This endpoint only supports `gpt-image-1` and `dall-e-2`. */ +#suppress "@azure-tools/typespec-azure-core/byos" "Auto-suppressed warnings non-applicable rules during import." +#suppress "@azure-tools/typespec-azure-core/response-schema-problem" "Auto-suppressed warnings non-applicable rules during import." +#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Auto-suppressed warnings non-applicable rules during import." +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@summary("Create image edit") +@post +@route("/images/edits") +@extension( + "x-oaiMeta", + #{ + name: "Create image edit", + group: "images", + returns: "Returns an [image](https://platform.openai.com/docs/api-reference/images/object) object.", + examples: #[ + #{ + title: "Edit image", + request: #{ + curl: "curl -s -D >(grep -i x-request-id >&2) \\\n -o >(jq -r '.data[0].b64_json' | base64 --decode > gift-basket.png) \\\n -X POST \"https://api.openai.com/v1/images/edits\" \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -F \"model=gpt-image-1\" \\\n -F \"image[]=@body-lotion.png\" \\\n -F \"image[]=@bath-bomb.png\" \\\n -F \"image[]=@incense-kit.png\" \\\n -F \"image[]=@soap.png\" \\\n -F 'prompt=Create a lovely gift basket with these four items in it'\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\nimages_response = client.images.edit(\n image=b\"raw file contents\",\n prompt=\"A cute baby sea otter wearing a beret\",\n)\nprint(images_response)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\nconst imagesResponse = await client.images.edit({\n image: fs.createReadStream('path/to/file'),\n prompt: 'A cute baby sea otter wearing a beret',\n});\n\nconsole.log(imagesResponse);", + go: "package main\n\nimport (\n \"bytes\"\n \"context\"\n \"fmt\"\n \"io\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n imagesResponse, err := client.Images.Edit(context.TODO(), openai.ImageEditParams{\n Image: openai.ImageEditParamsImageUnion{\n OfFile: io.Reader(bytes.NewBuffer([]byte(\"some file contents\"))),\n },\n Prompt: \"A cute baby sea otter wearing a beret\",\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", imagesResponse)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.images.ImageEditParams;\nimport com.openai.models.images.ImagesResponse;\nimport java.io.ByteArrayInputStream;\nimport java.io.InputStream;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n ImageEditParams params = ImageEditParams.builder()\n .image(ByteArrayInputStream(\"some content\".getBytes()))\n .prompt(\"A cute baby sea otter wearing a beret\")\n .build();\n ImagesResponse imagesResponse = client.images().edit(params);\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\nimages_response = openai.images.edit(image: Pathname(__FILE__), prompt: \"A cute baby sea otter wearing a beret\")\n\nputs(images_response)", + }, + }, + #{ + title: "Streaming", + request: #{ + curl: "curl -s -N -X POST \"https://api.openai.com/v1/images/edits\" \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -F \"model=gpt-image-1\" \\\n -F \"image[]=@body-lotion.png\" \\\n -F \"image[]=@bath-bomb.png\" \\\n -F \"image[]=@incense-kit.png\" \\\n -F \"image[]=@soap.png\" \\\n -F 'prompt=Create a lovely gift basket with these four items in it' \\\n -F \"stream=true\"\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\nimages_response = client.images.edit(\n image=b\"raw file contents\",\n prompt=\"A cute baby sea otter wearing a beret\",\n)\nprint(images_response)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\nconst imagesResponse = await client.images.edit({\n image: fs.createReadStream('path/to/file'),\n prompt: 'A cute baby sea otter wearing a beret',\n});\n\nconsole.log(imagesResponse);", + go: "package main\n\nimport (\n \"bytes\"\n \"context\"\n \"fmt\"\n \"io\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n imagesResponse, err := client.Images.Edit(context.TODO(), openai.ImageEditParams{\n Image: openai.ImageEditParamsImageUnion{\n OfFile: io.Reader(bytes.NewBuffer([]byte(\"some file contents\"))),\n },\n Prompt: \"A cute baby sea otter wearing a beret\",\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", imagesResponse)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.images.ImageEditParams;\nimport com.openai.models.images.ImagesResponse;\nimport java.io.ByteArrayInputStream;\nimport java.io.InputStream;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n ImageEditParams params = ImageEditParams.builder()\n .image(ByteArrayInputStream(\"some content\".getBytes()))\n .prompt(\"A cute baby sea otter wearing a beret\")\n .build();\n ImagesResponse imagesResponse = client.images().edit(params);\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\nimages_response = openai.images.edit(image: Pathname(__FILE__), prompt: \"A cute baby sea otter wearing a beret\")\n\nputs(images_response)", + }, + response: "event: image_edit.partial_image\ndata: {\"type\":\"image_edit.partial_image\",\"b64_json\":\"...\",\"partial_image_index\":0}\n\nevent: image_edit.completed\ndata: {\"type\":\"image_edit.completed\",\"b64_json\":\"...\",\"usage\":{\"total_tokens\":100,\"input_tokens\":50,\"output_tokens\":50,\"input_tokens_details\":{\"text_tokens\":10,\"image_tokens\":40}}}\n", + } + ], + } +) +@tag("Images") +op createImageEdit( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @header + contentType: "multipart/form-data", + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @multipartBody + body: CreateImageEditRequest, +): ImagesResponse | CreateImageEditStreamingResponse; -@route("/images") -interface Images { - @route("generations") - @post - @operationId("createImage") - @tag("Images") - @summary("Creates an image given a prompt") - createImage( - @header accept: "application/json", - @body requestBody: CreateImageRequest, - ): ImagesResponse | ErrorResponse; +/** Creates an image given a prompt. [Learn more](https://platform.openai.com/docs/guides/images). */ +#suppress "@azure-tools/typespec-azure-core/response-schema-problem" "Auto-suppressed warnings non-applicable rules during import." +#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Auto-suppressed warnings non-applicable rules during import." +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@summary("Create image") +@post +@route("/images/generations") +@extension( + "x-oaiMeta", + #{ + name: "Create image", + group: "images", + returns: "Returns an [image](https://platform.openai.com/docs/api-reference/images/object) object.", + examples: #[ + #{ + title: "Generate image", + request: #{ + curl: "curl https://api.openai.com/v1/images/generations \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -d '{\n \"model\": \"gpt-image-1\",\n \"prompt\": \"A cute baby sea otter\",\n \"n\": 1,\n \"size\": \"1024x1024\"\n }'\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\nimages_response = client.images.generate(\n prompt=\"A cute baby sea otter\",\n)\nprint(images_response)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\nconst imagesResponse = await client.images.generate({ prompt: 'A cute baby sea otter' });\n\nconsole.log(imagesResponse);", + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n imagesResponse, err := client.Images.Generate(context.TODO(), openai.ImageGenerateParams{\n Prompt: \"A cute baby sea otter\",\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", imagesResponse)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.images.ImageGenerateParams;\nimport com.openai.models.images.ImagesResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n ImageGenerateParams params = ImageGenerateParams.builder()\n .prompt(\"A cute baby sea otter\")\n .build();\n ImagesResponse imagesResponse = client.images().generate(params);\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\nimages_response = openai.images.generate(prompt: \"A cute baby sea otter\")\n\nputs(images_response)", + }, + response: "{\n \"created\": 1713833628,\n \"data\": [\n {\n \"b64_json\": \"...\"\n }\n ],\n \"usage\": {\n \"total_tokens\": 100,\n \"input_tokens\": 50,\n \"output_tokens\": 50,\n \"input_tokens_details\": {\n \"text_tokens\": 10,\n \"image_tokens\": 40\n }\n }\n}\n", + }, + #{ + title: "Streaming", + request: #{ + curl: "curl https://api.openai.com/v1/images/generations \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -d '{\n \"model\": \"gpt-image-1\",\n \"prompt\": \"A cute baby sea otter\",\n \"n\": 1,\n \"size\": \"1024x1024\",\n \"stream\": true\n }' \\\n --no-buffer\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\nimages_response = client.images.generate(\n prompt=\"A cute baby sea otter\",\n)\nprint(images_response)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\nconst imagesResponse = await client.images.generate({ prompt: 'A cute baby sea otter' });\n\nconsole.log(imagesResponse);", + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n imagesResponse, err := client.Images.Generate(context.TODO(), openai.ImageGenerateParams{\n Prompt: \"A cute baby sea otter\",\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", imagesResponse)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.images.ImageGenerateParams;\nimport com.openai.models.images.ImagesResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n ImageGenerateParams params = ImageGenerateParams.builder()\n .prompt(\"A cute baby sea otter\")\n .build();\n ImagesResponse imagesResponse = client.images().generate(params);\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\nimages_response = openai.images.generate(prompt: \"A cute baby sea otter\")\n\nputs(images_response)", + }, + response: "event: image_generation.partial_image\ndata: {\"type\":\"image_generation.partial_image\",\"b64_json\":\"...\",\"partial_image_index\":0}\n\nevent: image_generation.completed\ndata: {\"type\":\"image_generation.completed\",\"b64_json\":\"...\",\"usage\":{\"total_tokens\":100,\"input_tokens\":50,\"output_tokens\":50,\"input_tokens_details\":{\"text_tokens\":10,\"image_tokens\":40}}}\n", + } + ], + } +) +@tag("Images") +op createImage( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @body + body: CreateImageRequest, +): ImagesResponse | CreateImageStreamingResponse; - @route("edits") - @post - @operationId("createImageEdit") - @tag("Images") - @summary("Creates an edited or extended image given an original image and a prompt.") - createImageEdit( - @header accept: "application/json", - @header contentType: "multipart/form-data", - @multipartBody requestBody: CreateImageEditRequest, - ): ImagesResponse | ErrorResponse; +/** Creates a variation of a given image. This endpoint only supports `dall-e-2`. */ +#suppress "@azure-tools/typespec-azure-core/byos" "Auto-suppressed warnings non-applicable rules during import." +#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Auto-suppressed warnings non-applicable rules during import." +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@summary("Create image variation") +@post +@route("/images/variations") +@extension( + "x-oaiMeta", + #{ + name: "Create image variation", + group: "images", + returns: "Returns a list of [image](https://platform.openai.com/docs/api-reference/images/object) objects.", + examples: #{ + response: "{\n \"created\": 1589478378,\n \"data\": [\n {\n \"url\": \"https://...\"\n },\n {\n \"url\": \"https://...\"\n }\n ]\n}\n", + request: #{ + curl: "curl https://api.openai.com/v1/images/variations \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -F image=\"@otter.png\" \\\n -F n=2 \\\n -F size=\"1024x1024\"\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\nimages_response = client.images.create_variation(\n image=b\"raw file contents\",\n)\nprint(images_response.created)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\nconst imagesResponse = await client.images.createVariation({ image: fs.createReadStream('otter.png') });\n\nconsole.log(imagesResponse.created);", + csharp: "using System;\n\nusing OpenAI.Images;\n\nImageClient client = new(\n model: \"dall-e-2\",\n apiKey: Environment.GetEnvironmentVariable(\"OPENAI_API_KEY\")\n);\n\nGeneratedImage image = client.GenerateImageVariation(imageFilePath: \"otter.png\");\n\nConsole.WriteLine(image.ImageUri);\n", + go: "package main\n\nimport (\n \"bytes\"\n \"context\"\n \"fmt\"\n \"io\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n imagesResponse, err := client.Images.NewVariation(context.TODO(), openai.ImageNewVariationParams{\n Image: io.Reader(bytes.NewBuffer([]byte(\"some file contents\"))),\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", imagesResponse.Created)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.images.ImageCreateVariationParams;\nimport com.openai.models.images.ImagesResponse;\nimport java.io.ByteArrayInputStream;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n ImageCreateVariationParams params = ImageCreateVariationParams.builder()\n .image(ByteArrayInputStream(\"some content\".getBytes()))\n .build();\n ImagesResponse imagesResponse = client.images().createVariation(params);\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\nimages_response = openai.images.create_variation(image: Pathname(__FILE__))\n\nputs(images_response)", + }, + }, + } +) +@tag("Images") +op createImageVariation( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @header + contentType: "multipart/form-data", - @route("variations") - @post - @operationId("createImageVariation") - @tag("Images") - @summary("Creates an edited or extended image given an original image and a prompt.") - createImageVariation( - @header accept: "application/json", - @header contentType: "multipart/form-data", - @multipartBody requestBody: CreateImageVariationRequest, - ): ImagesResponse | ErrorResponse; -} + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + @multipartBody + body: CreateImageVariationRequest, +): ImagesResponse; \ No newline at end of file diff --git a/specification/base/typespec/models/main.tsp b/specification/base/typespec/models/main.tsp index 144c4aea..c2419d29 100644 --- a/specification/base/typespec/models/main.tsp +++ b/specification/base/typespec/models/main.tsp @@ -1 +1,2 @@ +import "./models.tsp"; import "./operations.tsp"; diff --git a/specification/base/typespec/models/models.tsp b/specification/base/typespec/models/models.tsp index 73633bba..f8ad6a9d 100644 --- a/specification/base/typespec/models/models.tsp +++ b/specification/base/typespec/models/models.tsp @@ -1,37 +1,38 @@ -/* - * This file was automatically generated from an OpenAPI .yaml file. - * Edits made directly to this file will be lost. - */ - -using Http; +import "@typespec/openapi"; using TypeSpec.OpenAPI; - namespace OpenAI; - -model ListModelsResponse { - object: "list"; - data: Model[]; -} - model DeleteModelResponse { id: string; deleted: boolean; + object: string; +} - // Tool customization: add a clear enum enforcement of constrained 'object' label - object: "model"; +model ListModelsResponse { + @extension("x-stainless-const", true) + object: "list"; + + data: Model[]; } /** Describes an OpenAI model offering that can be used with the API. */ +@summary("Model") +@extension( + "x-oaiMeta", + #{ + name: "The model object", + example: "{\n \"id\": \"VAR_chat_model_id\",\n \"object\": \"model\",\n \"created\": 1686935002,\n \"owned_by\": \"openai\"\n}\n", + } +) model Model { /** The model identifier, which can be referenced in the API endpoints. */ id: string; - // Tool customization: 'created' and fields ending in '_at' are Unix encoded utcDateTime /** The Unix timestamp (in seconds) when the model was created. */ - @encode("unixTimestamp", int32) + @encode("unixTimestamp", integer) created: utcDateTime; /** The object type, which is always "model". */ + @extension("x-stainless-const", true) object: "model"; /** The organization that owns the model. */ diff --git a/specification/base/typespec/models/operations.tsp b/specification/base/typespec/models/operations.tsp index 056a8816..55e43637 100644 --- a/specification/base/typespec/models/operations.tsp +++ b/specification/base/typespec/models/operations.tsp @@ -1,53 +1,94 @@ import "@typespec/http"; import "@typespec/openapi"; - -import "../common"; import "./models.tsp"; - using TypeSpec.Http; using TypeSpec.OpenAPI; - namespace OpenAI; - +/** Lists the currently available models, and provides basic information about each one such as the owner and availability. */ +@summary("List models") +@get @route("/models") -interface Models { - @get - @operationId("listModels") - @tag("Models") - @summary(""" - Lists the currently available models, and provides basic information about each one such as the - owner and availability. - """) - listModels( - @header accept: "application/json", - ): ListModelsResponse | ErrorResponse; - - @route("{model}") - @get - @operationId("retrieveModel") - @tag("Models") - @summary(""" - Retrieves a model instance, providing basic information about the model such as the owner and - permissioning. - """) - retrieveModel( - @header accept: "application/json", - - /** The ID of the model to use for this request. */ - @path `model`: string, - ): Model | ErrorResponse; +@extension( + "x-oaiMeta", + #{ + name: "List models", + group: "models", + returns: "A list of [model](https://platform.openai.com/docs/api-reference/models/object) objects.", + examples: #{ + response: "{\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"model-id-0\",\n \"object\": \"model\",\n \"created\": 1686935002,\n \"owned_by\": \"organization-owner\"\n },\n {\n \"id\": \"model-id-1\",\n \"object\": \"model\",\n \"created\": 1686935002,\n \"owned_by\": \"organization-owner\",\n },\n {\n \"id\": \"model-id-2\",\n \"object\": \"model\",\n \"created\": 1686935002,\n \"owned_by\": \"openai\"\n },\n ],\n \"object\": \"list\"\n}\n", + request: #{ + curl: "curl https://api.openai.com/v1/models \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\"\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\npage = client.models.list()\npage = page.data[0]\nprint(page.id)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\n// Automatically fetches more pages as needed.\nfor await (const model of client.models.list()) {\n console.log(model.id);\n}", + csharp: "using System;\n\nusing OpenAI.Models;\n\nOpenAIModelClient client = new(\n apiKey: Environment.GetEnvironmentVariable(\"OPENAI_API_KEY\")\n);\n\nforeach (var model in client.GetModels().Value)\n{\n Console.WriteLine(model.Id);\n}\n", + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n page, err := client.Models.List(context.TODO())\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", page)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.models.ModelListPage;\nimport com.openai.models.models.ModelListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n ModelListPage page = client.models().list();\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\npage = openai.models.list\n\nputs(page)", + }, + }, + } +) +@tag("Models") +op listModels(): ListModelsResponse; - @route("{model}") - @delete - @operationId("deleteModel") - @tag("Models") - @summary(""" - Delete a fine-tuned model. You must have the Owner role in your organization to delete a model. - """) - deleteModel( - @header accept: "application/json", +/** Delete a fine-tuned model. You must have the Owner role in your organization to delete a model. */ +@summary("Delete a fine-tuned model") +@delete +@route("/models/{model}") +@extension( + "x-oaiMeta", + #{ + name: "Delete a fine-tuned model", + group: "models", + returns: "Deletion status.", + examples: #{ + response: "{\n \"id\": \"ft:gpt-4o-mini:acemeco:suffix:abc123\",\n \"object\": \"model\",\n \"deleted\": true\n}\n", + request: #{ + curl: "curl https://api.openai.com/v1/models/ft:gpt-4o-mini:acemeco:suffix:abc123 \\\n -X DELETE \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\"\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\nmodel_deleted = client.models.delete(\n \"ft:gpt-4o-mini:acemeco:suffix:abc123\",\n)\nprint(model_deleted.id)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\nconst modelDeleted = await client.models.delete('ft:gpt-4o-mini:acemeco:suffix:abc123');\n\nconsole.log(modelDeleted.id);", + csharp: "using System;\nusing System.ClientModel;\n\nusing OpenAI.Models;\n\nOpenAIModelClient client = new(\n apiKey: Environment.GetEnvironmentVariable(\"OPENAI_API_KEY\")\n);\n\nClientResult success = client.DeleteModel(\"ft:gpt-4o-mini:acemeco:suffix:abc123\");\nConsole.WriteLine(success);\n", + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n modelDeleted, err := client.Models.Delete(context.TODO(), \"ft:gpt-4o-mini:acemeco:suffix:abc123\")\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", modelDeleted.ID)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.models.ModelDeleteParams;\nimport com.openai.models.models.ModelDeleted;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n ModelDeleted modelDeleted = client.models().delete(\"ft:gpt-4o-mini:acemeco:suffix:abc123\");\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\nmodel_deleted = openai.models.delete(\"ft:gpt-4o-mini:acemeco:suffix:abc123\")\n\nputs(model_deleted)", + }, + }, + } +) +@tag("Models") +op deleteModel( + /** The model to delete */ + @path + `model`: string, +): DeleteModelResponse; - /** The model to delete */ - @path `model`: string, - ): DeleteModelResponse | ErrorResponse; -} +/** Retrieves a model instance, providing basic information about the model such as the owner and permissioning. */ +@summary("Retrieve model") +@get +@route("/models/{model}") +@extension( + "x-oaiMeta", + #{ + name: "Retrieve model", + group: "models", + returns: "The [model](https://platform.openai.com/docs/api-reference/models/object) object matching the specified ID.", + examples: #{ + response: "{\n \"id\": \"VAR_chat_model_id\",\n \"object\": \"model\",\n \"created\": 1686935002,\n \"owned_by\": \"openai\"\n}\n", + request: #{ + curl: "curl https://api.openai.com/v1/models/VAR_chat_model_id \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\"\n", + python: "from openai import OpenAI\n\nclient = OpenAI(\n api_key=\"My API Key\",\n)\nmodel = client.models.retrieve(\n \"gpt-4o-mini\",\n)\nprint(model.id)", + `node.js`: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: 'My API Key',\n});\n\nconst model = await client.models.retrieve('gpt-4o-mini');\n\nconsole.log(model.id);", + csharp: "using System;\nusing System.ClientModel;\n\nusing OpenAI.Models;\n\n OpenAIModelClient client = new(\n apiKey: Environment.GetEnvironmentVariable(\"OPENAI_API_KEY\")\n);\n\nClientResult model = client.GetModel(\"babbage-002\");\nConsole.WriteLine(model.Value.Id);\n", + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"),\n )\n model, err := client.Models.Get(context.TODO(), \"gpt-4o-mini\")\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", model.ID)\n}\n", + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.models.Model;\nimport com.openai.models.models.ModelRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n Model model = client.models().retrieve(\"gpt-4o-mini\");\n }\n}", + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(api_key: \"My API Key\")\n\nmodel = openai.models.retrieve(\"gpt-4o-mini\")\n\nputs(model)", + }, + }, + } +) +@tag("Models") +op retrieveModel( + /** The ID of the model to use for this request */ + @path + `model`: string, +): Model; diff --git a/specification/client/embeddings.client.tsp b/specification/client/embeddings.client.tsp index 807e00a7..4c2866dc 100644 --- a/specification/client/embeddings.client.tsp +++ b/specification/client/embeddings.client.tsp @@ -6,7 +6,11 @@ using OpenAI; using Azure.ClientGenerator.Core; using TypeSpec.HttpClient.CSharp; -@@clientName(Embeddings.createEmbedding, "GenerateEmbeddings"); +@@clientName(createEmbedding, "GenerateEmbeddings"); + +@@clientLocation(createEmbedding, "Embeddings"); + +@@clientName(CreateEmbeddingResponse.data, "Items"); // ------------ JsonPatch ------------ diff --git a/specification/client/images.client.tsp b/specification/client/images.client.tsp index aab4c254..4be8b789 100644 --- a/specification/client/images.client.tsp +++ b/specification/client/images.client.tsp @@ -4,6 +4,12 @@ import "@azure-tools/typespec-client-generator-core"; using OpenAI; using Azure.ClientGenerator.Core; -@@clientName(Images.createImage, "GenerateImages"); -@@clientName(Images.createImageEdit, "GenerateImageEdits"); -@@clientName(Images.createImageVariation, "GenerateImageVariations"); +@@clientName(createImage, "GenerateImages"); +@@clientName(createImageEdit, "GenerateImageEdits"); +@@clientName(createImageVariation, "GenerateImageVariations"); + +@@clientLocation(createImage, "Images"); +@@clientLocation(createImageEdit, "Images"); +@@clientLocation(createImageVariation, "Images"); + +@@clientName(ImagesResponse.data, "Items"); \ No newline at end of file diff --git a/specification/client/models.client.tsp b/specification/client/models.client.tsp new file mode 100644 index 00000000..fcba264b --- /dev/null +++ b/specification/client/models.client.tsp @@ -0,0 +1,14 @@ +import "../base/typespec/models/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@clientName(listModels, "GetModels"); +@@clientName(retrieveModel, "GetModel"); + +@@clientLocation(listModels, "Models"); +@@clientLocation(deleteModel, "Models"); +@@clientLocation(retrieveModel, "Models"); + +@@clientName(ListModelsResponse.data, "Items"); \ No newline at end of file diff --git a/specification/main.tsp b/specification/main.tsp index 1e0a2aff..11c2858a 100644 --- a/specification/main.tsp +++ b/specification/main.tsp @@ -10,6 +10,7 @@ import "./client/fine-tuning.client.tsp"; import "./client/graders.client.tsp"; import "./client/images.client.tsp"; import "./client/messages.client.tsp"; +import "./client/models.client.tsp"; import "./client/moderations.client.tsp"; import "./client/responses.client.tsp"; import "./client/runs.client.tsp"; diff --git a/src/Custom/Embeddings/EmbeddingGenerationOptions.cs b/src/Custom/Embeddings/EmbeddingGenerationOptions.cs index da57cd11..88f32946 100644 --- a/src/Custom/Embeddings/EmbeddingGenerationOptions.cs +++ b/src/Custom/Embeddings/EmbeddingGenerationOptions.cs @@ -3,6 +3,7 @@ namespace OpenAI.Embeddings; +// CUSTOM: Renamed. [CodeGenType("CreateEmbeddingRequest")] [CodeGenVisibility(nameof(EmbeddingGenerationOptions), CodeGenVisibility.Public)] [CodeGenSuppress(nameof(EmbeddingGenerationOptions), typeof(BinaryData), typeof(InternalCreateEmbeddingRequestModel))] diff --git a/src/Custom/Embeddings/EmbeddingTokenUsage.cs b/src/Custom/Embeddings/EmbeddingTokenUsage.cs index 388312e5..e31dad3b 100644 --- a/src/Custom/Embeddings/EmbeddingTokenUsage.cs +++ b/src/Custom/Embeddings/EmbeddingTokenUsage.cs @@ -1,5 +1,6 @@ namespace OpenAI.Embeddings; +// CUSTOM: Renamed. [CodeGenType("CreateEmbeddingResponseUsage")] public partial class EmbeddingTokenUsage { diff --git a/src/Custom/Embeddings/OpenAIEmbedding.cs b/src/Custom/Embeddings/OpenAIEmbedding.cs index 93ccbf58..c8edc7dd 100644 --- a/src/Custom/Embeddings/OpenAIEmbedding.cs +++ b/src/Custom/Embeddings/OpenAIEmbedding.cs @@ -3,78 +3,28 @@ using System.Buffers.Binary; using System.Buffers.Text; using System.ClientModel.Primitives; -using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text.Json; namespace OpenAI.Embeddings; -/// -/// Represents an embedding vector returned by embedding endpoint. -/// +// CUSTOM: Renamed. +/// Represents an embedding vector returned by embedding endpoint. [CodeGenType("Embedding")] [CodeGenSuppress("OpenAIEmbedding", typeof(int), typeof(BinaryData))] public partial class OpenAIEmbedding { + private ReadOnlyMemory _vector; + // CUSTOM: Made private. The value of the embedding is publicly exposed as ReadOnlyMemory instead of BinaryData. - /// - /// The embedding vector, which is a list of floats. The length of vector depends on the model as - /// listed in the [embedding guide](/docs/guides/embeddings). - /// - /// To assign an object to this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// - /// Supported types: - /// - /// - /// where T is of type - /// - /// - /// - /// - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// [CodeGenMember("Embedding")] private BinaryData EmbeddingProperty { get; } // CUSTOM: Made private. This property does not add value in the context of a strongly-typed class. - /// The object type, which is always "embedding". + [CodeGenMember("Object")] private string Object { get; } = "embedding"; // CUSTOM: Added logic to handle additional custom properties. - /// Initializes a new instance of . - /// The index of the embedding in the list of embeddings. - /// - /// The embedding vector, which is a list of floats. The length of vector depends on the model as - /// listed in the [embedding guide](/docs/guides/embeddings). - /// - /// The object type, which is always "embedding". - /// Keeps track of any properties unknown to the library. #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. internal OpenAIEmbedding(int index, BinaryData embeddingProperty, string @object, in JsonPatch patch) { @@ -89,17 +39,12 @@ internal OpenAIEmbedding(int index, BinaryData embeddingProperty, string @object #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. // CUSTOM: Entirely custom constructor used by the Model Factory. - /// Initializes a new instance of . - /// The index of the embedding in the list of embeddings. - /// The embedding vector, which is a list of floats. internal OpenAIEmbedding(int index, ReadOnlyMemory vector) { Index = index; _vector = vector; } - private ReadOnlyMemory _vector; - // CUSTOM: Added as a public, custom method. For slightly better performance, the embedding is always requested as a base64-encoded // string and then manually transformed into a more user-friendly ReadOnlyMemory. /// @@ -108,7 +53,6 @@ internal OpenAIEmbedding(int index, ReadOnlyMemory vector) /// A read-only memory segment of floats representing the embedding vector. public ReadOnlyMemory ToFloats() => _vector; - // CUSTOM: Implemented custom logic to transform from BinaryData to ReadOnlyMemory. private static ReadOnlyMemory ConvertToVectorOfFloats(BinaryData binaryData) { ReadOnlySpan bytes = binaryData.ToMemory().Span; diff --git a/src/Custom/Embeddings/OpenAIEmbeddingCollection.Serialization.cs b/src/Custom/Embeddings/OpenAIEmbeddingCollection.Serialization.cs deleted file mode 100644 index 64b9aece..00000000 --- a/src/Custom/Embeddings/OpenAIEmbeddingCollection.Serialization.cs +++ /dev/null @@ -1,98 +0,0 @@ -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text; -using System.Text.Json; - -namespace OpenAI.Embeddings; - -[CodeGenSuppress("global::System.ClientModel.Primitives.IJsonModel.Write", typeof(Utf8JsonWriter), typeof(ModelReaderWriterOptions))] -public partial class OpenAIEmbeddingCollection : IJsonModel -{ - // CUSTOM: - // - Serialized the Items property. - // - Recovered the deserialization of SerializedAdditionalRawData. See https://github.com/Azure/autorest.csharp/issues/4636. - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - => CustomSerializationHelpers.SerializeInstance(this, SerializeOpenAIEmbeddingCollection, writer, options); - - internal static void SerializeOpenAIEmbeddingCollection(OpenAIEmbeddingCollection instance, Utf8JsonWriter writer, ModelReaderWriterOptions options) - { -#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - if (instance.Patch.Contains("$"u8)) - { - writer.WriteRawValue(instance.Patch.GetJson("$"u8)); - return; - } -#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - - writer.WriteStartObject(); - writer.WritePropertyName("data"u8); - writer.WriteStartArray(); - foreach (var item in instance.Items) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); - writer.WritePropertyName("model"u8); - writer.WriteStringValue(instance.Model); - writer.WritePropertyName("object"u8); - writer.WriteStringValue(instance.Object.ToString()); - writer.WritePropertyName("usage"u8); - writer.WriteObjectValue(instance.Usage, options); -#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - instance.Patch.WriteTo(writer); -#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - writer.WriteEndObject(); - } - - // CUSTOM: Recovered the deserialization of SerializedAdditionalRawData. See https://github.com/Azure/autorest.csharp/issues/4636. - internal static OpenAIEmbeddingCollection DeserializeOpenAIEmbeddingCollection(JsonElement element, BinaryData data, ModelReaderWriterOptions options = null) - { - options ??= new ModelReaderWriterOptions("W"); - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - IReadOnlyList embedding = default; - string model = default; - string @object = default; - EmbeddingTokenUsage usage = default; -#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - JsonPatch patch = new JsonPatch(data is null ? ReadOnlyMemory.Empty : data.ToMemory()); -#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("data"u8)) - { - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(OpenAIEmbedding.DeserializeOpenAIEmbedding(item, item.GetUtf8Bytes(), options)); - } - embedding = array; - continue; - } - if (property.NameEquals("model"u8)) - { - model = property.Value.GetString(); - continue; - } - if (property.NameEquals("object"u8)) - { - @object = property.Value.GetString(); - continue; - } - if (property.NameEquals("usage"u8)) - { - usage = EmbeddingTokenUsage.DeserializeEmbeddingTokenUsage(property.Value, property.Value.GetUtf8Bytes(), options); - continue; - } - if (true) - { - patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(property.Name)], property.Value.GetUtf8Bytes()); - } - } - return new OpenAIEmbeddingCollection(embedding, model, @object, usage, patch); - } -} diff --git a/src/Custom/Embeddings/OpenAIEmbeddingCollection.cs b/src/Custom/Embeddings/OpenAIEmbeddingCollection.cs index ae7e4cfb..dc98994f 100644 --- a/src/Custom/Embeddings/OpenAIEmbeddingCollection.cs +++ b/src/Custom/Embeddings/OpenAIEmbeddingCollection.cs @@ -1,65 +1,33 @@ -using System; -using System.ClientModel; using System.ClientModel.Primitives; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Text.Json; namespace OpenAI.Embeddings; +/// A collection of embeddings. [CodeGenType("CreateEmbeddingResponse")] -[CodeGenSuppress("Data")] -[CodeGenSuppress(nameof(OpenAIEmbeddingCollection))] -[CodeGenSuppress(nameof(OpenAIEmbeddingCollection), typeof(string), typeof(EmbeddingTokenUsage))] -#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. -[CodeGenSuppress(nameof(OpenAIEmbeddingCollection), typeof(string), typeof(string), typeof(EmbeddingTokenUsage), typeof(JsonPatch))] -#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. +[CodeGenSuppress(nameof(OpenAIEmbeddingCollection), typeof(IEnumerable), typeof(string), typeof(EmbeddingTokenUsage))] public partial class OpenAIEmbeddingCollection : ReadOnlyCollection { // CUSTOM: Made private. This property does not add value in the context of a strongly-typed class. - /// The object type, which is always "list". [CodeGenMember("Object")] private string Object { get; } = "list"; - // CUSTOM: Set the inherited Items property via the base constructor in favor of the suppressed Data property. - /// Initializes a new instance of . - /// The list of embeddings generated by the model. - /// The name of the model used to generate the embedding. - /// The usage information for the request. - /// , or is null. - internal OpenAIEmbeddingCollection(IEnumerable data, string model, EmbeddingTokenUsage usage) - : base([.. data]) - { - Argument.AssertNotNull(data, nameof(data)); - Argument.AssertNotNull(model, nameof(model)); - Argument.AssertNotNull(usage, nameof(usage)); - - Model = model; - Usage = usage; - } - - // CUSTOM: Set the inherited Items property via the base constructor in favor of the suppressed Data property. - /// Initializes a new instance of . - /// The list of embeddings generated by the model. - /// The name of the model used to generate the embedding. - /// The object type, which is always "list". - /// The usage information for the request. - /// Keeps track of any properties unknown to the library. #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - internal OpenAIEmbeddingCollection(IReadOnlyList data, string model, string @object, EmbeddingTokenUsage usage, in JsonPatch patch) - : base([.. data]) + // CUSTOM: Set the inherited Items property via the base constructor. + internal OpenAIEmbeddingCollection(IList items, string model, string @object, EmbeddingTokenUsage usage, in JsonPatch patch) + : base(items ?? new ChangeTrackingList()) { Model = model; Object = @object; Usage = usage; _patch = patch; + _patch.SetPropagators(PropagateSet, PropagateGet); } -#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - // CUSTOM: Set the inherited Items property via the base constructor in favor of the suppressed Data property. - /// Initializes a new instance of for deserialization. - internal OpenAIEmbeddingCollection() - : base([]) + // CUSTOM: Call the base constructor. + internal OpenAIEmbeddingCollection() : this(null, null, null, null, default) { } } \ No newline at end of file diff --git a/src/Custom/Images/GeneratedImage.cs b/src/Custom/Images/GeneratedImage.cs index 086320a5..0ff6371a 100644 --- a/src/Custom/Images/GeneratedImage.cs +++ b/src/Custom/Images/GeneratedImage.cs @@ -2,37 +2,23 @@ namespace OpenAI.Images; -/// -/// Represents the result data for an image generation request. -/// +/// Represents the result data for an image generation request. [CodeGenType("Image")] public partial class GeneratedImage { - // CUSTOM: - // - Renamed. - // - Edited doc comment. + // CUSTOM: Renamed. /// - /// The binary image data received from the response, provided when - /// is set to . + /// The binary image data received from the response, provided when + /// is set to . /// - /// - /// This property is mutually exclusive with and will be null when the other - /// is present. - /// [CodeGenMember("B64Json")] public BinaryData ImageBytes { get; } - // CUSTOM: - // - Renamed. - // - Edited doc comment. + // CUSTOM: Renamed. /// - /// A temporary internet location for an image, provided by default or when - /// is set to . + /// A temporary internet location for an image, provided by default or when + /// is set to . /// - /// - /// This property is mutually exclusive with and will be null when the other - /// is present. - /// [CodeGenMember("Url")] public Uri ImageUri { get; } } diff --git a/src/Custom/Images/GeneratedImageBackground.cs b/src/Custom/Images/GeneratedImageBackground.cs index 2d96c7c1..16ee0796 100644 --- a/src/Custom/Images/GeneratedImageBackground.cs +++ b/src/Custom/Images/GeneratedImageBackground.cs @@ -1,11 +1,8 @@ -using System.Diagnostics.CodeAnalysis; - namespace OpenAI.Images; // CUSTOM: -// - Added Experimental attribute. // - Renamed. - +// - Changed to extensible enum. [CodeGenType("CreateImageRequestBackground")] public readonly partial struct GeneratedImageBackground { diff --git a/src/Custom/Images/GeneratedImageCollection.cs b/src/Custom/Images/GeneratedImageCollection.cs index 01fb52db..99271585 100644 --- a/src/Custom/Images/GeneratedImageCollection.cs +++ b/src/Custom/Images/GeneratedImageCollection.cs @@ -1,44 +1,61 @@ using System; -using System.ClientModel; -using System.ClientModel.Primitives; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Text.Json; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Images; -/// -/// Represents an image generation response payload that contains information for multiple generated images. -/// +/// A collection of generated images. [CodeGenType("ImagesResponse")] [CodeGenSuppress(nameof(GeneratedImageCollection), typeof(DateTimeOffset))] -[CodeGenVisibility(nameof(Data), CodeGenVisibility.Internal)] public partial class GeneratedImageCollection : ReadOnlyCollection { - // CUSTOM: Set the inherited Items property via the base constructor in favor of the intercepted Data property. - /// Initializes a new instance of . - /// - /// - /// - /// Keeps track of any properties unknown to the library. - internal GeneratedImageCollection(DateTimeOffset createdAt, IList data, ImageTokenUsage usage, IDictionary additionalBinaryDataProperties) - : base([.. data]) + // CUSTOM: Set the inherited Items property via the base constructor. + internal GeneratedImageCollection(DateTimeOffset createdAt, IList items, GeneratedImageBackground? background, GeneratedImageFileFormat? outputFileFormat, GeneratedImageSize? size, GeneratedImageQuality? quality, ImageTokenUsage usage, IDictionary additionalBinaryDataProperties) + : base(items ?? new ChangeTrackingList()) { - Usage = usage; CreatedAt = createdAt; - SerializedAdditionalRawData = additionalBinaryDataProperties; + Background = background; + OutputFileFormat = outputFileFormat; + Size = size; + Quality = quality; + Usage = usage; + _additionalBinaryDataProperties = additionalBinaryDataProperties; } - // CUSTOM: Set the inherited Items property via the base constructor in favor of the intercepted Data property. - /// Initializes a new instance of for deserialization. - internal GeneratedImageCollection() : base([]) + // CUSTOM: Call the base constructor. + internal GeneratedImageCollection() : this(default, null, default, default, default, default, null, null) { } // CUSTOM: Renamed. - /// - /// The timestamp at which the result images were generated. - /// + /// The timestamp at which the result images were generated. [CodeGenMember("Created")] public DateTimeOffset CreatedAt { get; } + + // CUSTOM: Changed property type. + /// Allows to set transparency for the background of the generated image(s). + [Experimental("OPENAI001")] + [CodeGenMember("Background")] + public GeneratedImageBackground? Background { get; } + + // CUSTOM: + // - Renamed. + // - Changed property type. + /// The format in which the generated images are returned. + [Experimental("OPENAI001")] + [CodeGenMember("OutputFormat")] + public GeneratedImageFileFormat? OutputFileFormat { get; set; } + + // CUSTOM: Changed property type. + /// The quality of the image that will be generated. + [Experimental("OPENAI001")] + [CodeGenMember("Quality")] + public GeneratedImageQuality? Quality { get; } + + // CUSTOM: Changed property type. + /// The size of the generated images. + [Experimental("OPENAI001")] + [CodeGenMember("Size")] + public GeneratedImageSize? Size { get; } } \ No newline at end of file diff --git a/src/Custom/Images/GeneratedImageFileFormat.cs b/src/Custom/Images/GeneratedImageFileFormat.cs index a478dc81..da69b25e 100644 --- a/src/Custom/Images/GeneratedImageFileFormat.cs +++ b/src/Custom/Images/GeneratedImageFileFormat.cs @@ -1,11 +1,8 @@ -using System.Diagnostics.CodeAnalysis; - namespace OpenAI.Images; // CUSTOM: -// - Added Experimental attribute. // - Renamed. - +// - Changed to extensible enum. [CodeGenType("CreateImageRequestOutputFormat")] public readonly partial struct GeneratedImageFileFormat { diff --git a/src/Custom/Images/GeneratedImageFormat.cs b/src/Custom/Images/GeneratedImageFormat.cs index 0a45c3ed..ad24b861 100644 --- a/src/Custom/Images/GeneratedImageFormat.cs +++ b/src/Custom/Images/GeneratedImageFormat.cs @@ -12,8 +12,8 @@ public readonly partial struct GeneratedImageFormat // CUSTOM: Renamed. /// - /// Returned as a URI pointing to a temporary internet location from where the image can be downlaoded. This URI is - /// only valid for 60 minutes after the image is generated. + /// Returned as a URI pointing to a temporary internet location from where the image can be downlaoded. This + /// URI is only valid for 60 minutes after the image is generated. /// [CodeGenMember("Url")] public static GeneratedImageFormat Uri { get; } = new GeneratedImageFormat(UrlValue); diff --git a/src/Custom/Images/GeneratedImageModerationLevel.cs b/src/Custom/Images/GeneratedImageModerationLevel.cs index 9c575dff..4eac3938 100644 --- a/src/Custom/Images/GeneratedImageModerationLevel.cs +++ b/src/Custom/Images/GeneratedImageModerationLevel.cs @@ -1,11 +1,6 @@ -using System.Diagnostics.CodeAnalysis; - namespace OpenAI.Images; -// CUSTOM: -// - Added Experimental attribute. -// - Renamed. - +// CUSTOM: Renamed. [CodeGenType("CreateImageRequestModeration")] public readonly partial struct GeneratedImageModerationLevel { diff --git a/src/Custom/Images/GeneratedImageQuality.cs b/src/Custom/Images/GeneratedImageQuality.cs index b68ef487..d25a932f 100644 --- a/src/Custom/Images/GeneratedImageQuality.cs +++ b/src/Custom/Images/GeneratedImageQuality.cs @@ -8,6 +8,7 @@ namespace OpenAI.Images; [CodeGenType("CreateImageRequestQuality")] public readonly partial struct GeneratedImageQuality { + // CUSTOM: Renamed. [CodeGenMember("Hd")] - public static GeneratedImageQuality High { get; } = new GeneratedImageQuality(HdValue); + public static GeneratedImageQuality HD { get; } = new GeneratedImageQuality(HdValue); } \ No newline at end of file diff --git a/src/Custom/Images/GeneratedImageSize.cs b/src/Custom/Images/GeneratedImageSize.cs index 6a956ab1..192d38c1 100644 --- a/src/Custom/Images/GeneratedImageSize.cs +++ b/src/Custom/Images/GeneratedImageSize.cs @@ -3,89 +3,67 @@ namespace OpenAI.Images; -// CUSTOM: Added custom struct in favor of the generated extensible enum. +// CUSTOM: +// - Renamed. +// - Suppressed the implicit operators that convert from string to GeneratedImageSize. /// The size of the image that will be generated. [CodeGenType("CreateImageRequestSize")] -[CodeGenSuppress("GeneratedImageSize", typeof(string))] -// CUSTOM: remove the implicit operator [CodeGenSuppress("", typeof(string))] -public readonly partial struct GeneratedImageSize : IEquatable +public readonly partial struct GeneratedImageSize { - /// Initializes a new instance of . - /// is null. + // CUSTOM: Made internal in favor of the constructor that takes numeric width and height. internal GeneratedImageSize(string value) { _value = value ?? throw new ArgumentNullException(nameof(value)); } - /// - /// Creates a new instance of . - /// - /// - /// Note: arbitrary dimensions are not supported and a given model will only support a set of predefined - /// sizes. If supported dimensions are not known, try using one of the static properties like . - /// - /// The desired width, in pixels, for an image. - /// The desired height, in pixels, for an image. + // CUSTOM: Added as a convenience. + /// Creates a new instance of . + /// The desired width for an image in pixels. + /// The desired height for an image in pixels. public GeneratedImageSize(int width, int height) { _value = $"{width}x{height}"; } - /// - /// A small, square image with 256 pixels of both width and height. - /// - /// Supported only for the older dall-e-2 model. - /// - /// + // CUSTOM: Renamed. + /// Width and height of 256 pixels. + /// Supported only by the dall-e-2 model. [CodeGenMember("_256x256")] public static readonly GeneratedImageSize W256xH256 = new(256, 256); - /// - /// A medium-small, square image with 512 pixels of both width and height. - /// - /// Supported only for the older dall-e-2 model. - /// - /// + // CUSTOM: Renamed. + /// Width and height of 512 pixels. + /// Supported only by the dall-e-2 model. [CodeGenMember("_512x512")] public static readonly GeneratedImageSize W512xH512 = new(512, 512); - /// - /// A square image with 1024 pixels of both width and height. - /// - /// Supported and default for both dall-e-2 and dall-e-3 models. - /// - /// + // CUSTOM: Renamed. + /// Width and height of 1024 pixels. [CodeGenMember("_1024x1024")] public static readonly GeneratedImageSize W1024xH1024 = new(1024, 1024); - /// - /// An extra tall image, 1024 pixels wide by 1792 pixels high. - /// - /// Supported only for the dall-e-3 model. - /// - /// - [CodeGenMember("_1792x1024")] - public static readonly GeneratedImageSize W1024xH1792 = new(1024, 1792); - - /// - /// An extra wide image, 1792 pixels wide by 1024 pixels high. - /// - /// Supported only for the dall-e-3 model. - /// - /// - [CodeGenMember("_1024x1792")] - public static readonly GeneratedImageSize W1792xH1024 = new(1792, 1024); - - // CUSTOM: - // - Added Experimental attribute. + // CUSTOM: Renamed. + /// Width of 1024 pixels and height of 1536 pixels. [Experimental("OPENAI001")] [CodeGenMember("_1024x1536")] public static readonly GeneratedImageSize W1024xH1536 = new(1024, 1536); - // CUSTOM: - // - Added Experimental attribute. + // CUSTOM: Renamed. + /// Width of 1536 pixels and height of 1024 pixels. [Experimental("OPENAI001")] [CodeGenMember("_1536x1024")] public static readonly GeneratedImageSize W1536xH1024 = new(1536, 1024); + + // CUSTOM: Renamed. + /// Width of 1024 pixels and height of 1792 pixels. + /// Supported only by the dall-e-3 model. + [CodeGenMember("_1792x1024")] + public static readonly GeneratedImageSize W1024xH1792 = new(1024, 1792); + + // CUSTOM: Renamed. + /// Width of 1792 pixels and height of 1024 pixels. + /// Supported only by the dall-e-3 model. + [CodeGenMember("_1024x1792")] + public static readonly GeneratedImageSize W1792xH1024 = new(1792, 1024); } \ No newline at end of file diff --git a/src/Custom/Images/ImageEditOptions.cs b/src/Custom/Images/ImageEditOptions.cs index 65a1cc77..1dbd26f0 100644 --- a/src/Custom/Images/ImageEditOptions.cs +++ b/src/Custom/Images/ImageEditOptions.cs @@ -4,91 +4,76 @@ namespace OpenAI.Images; -/// -/// Represents additional options available to control the behavior of an image generation operation. -/// +/// Represents additional options available to control the behavior of an image edit operation. [CodeGenType("CreateImageEditRequest")] [CodeGenVisibility(nameof(ImageEditOptions), CodeGenVisibility.Public)] [CodeGenSuppress(nameof(ImageEditOptions), typeof(BinaryData), typeof(string))] public partial class ImageEditOptions { // CUSTOM: Made internal. The model is specified by the client. - /// The model to use for image generation. Only `dall-e-2` is supported at this time. + [CodeGenMember("Model")] internal InternalCreateImageEditRequestModel? Model { get; set; } - // CUSTOM: - // - Made internal. This value comes from a parameter on the client method. - // - Added setter. - /// - /// The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not - /// provided, image must have transparency, which will be used as the mask. - /// - /// To assign a byte[] to this property use . - /// The byte[] will be serialized to a Base64 encoded string. - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromBytes(new byte[] { 1, 2, 3 }) - /// Creates a payload of "AQID". - /// - /// - /// - /// + // CUSTOM: Made internal. This value comes from a parameter on the client method. + [CodeGenMember("Image")] internal BinaryData Image { get; set; } - // CUSTOM: - // - Made internal. This value comes from a parameter on the client method. - // - Added setter. - /// A text description of the desired image(s). The maximum length is 1000 characters. - internal string Prompt { get; set; } - // CUSTOM: Made internal. This value comes from a parameter on the client method. - /// - /// An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where - /// `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions - /// as `image`. - /// - /// To assign a byte[] to this property use . - /// The byte[] will be serialized to a Base64 encoded string. - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromBytes(new byte[] { 1, 2, 3 }) - /// Creates a payload of "AQID". - /// - /// - /// - /// + [CodeGenMember("Mask")] internal BinaryData Mask { get; set; } // CUSTOM: Made internal. This value comes from a parameter on the client method. - /// The number of images to generate. Must be between 1 and 10. + [CodeGenMember("N")] internal long? N { get; set; } + // CUSTOM: Made internal. This value comes from a parameter on the client method. + [CodeGenMember("Prompt")] + internal string Prompt { get; set; } + + // CUSTOM: Temporarily made internal. This value should be exposed through a dedicated client method. + [CodeGenMember("Stream")] + internal bool? Stream { get; set; } + + // CUSTOM: Temporarily made internal. This value should be exposed once streaming is supported. + [CodeGenMember("PartialImages")] + internal int? PartialImages { get; set; } + // CUSTOM: Changed property type. + /// Allows to set transparency for the background of the generated image(s). [Experimental("OPENAI001")] [CodeGenMember("Background")] public GeneratedImageBackground? Background { get; set; } + // CUSTOM: Renamed. + /// The compression level (0-100%) for the generated images. + [Experimental("OPENAI001")] + [CodeGenMember("OutputCompression")] + public int? OutputCompressionFactor { get; set; } + + // CUSTOM: + // - Renamed. + // - Changed property type. + /// The format in which the generated images are returned. + [Experimental("OPENAI001")] + [CodeGenMember("OutputFormat")] + public GeneratedImageFileFormat? OutputFileFormat { get; set; } + // CUSTOM: Changed property type. + /// The quality of the image that will be generated. [Experimental("OPENAI001")] [CodeGenMember("Quality")] public GeneratedImageQuality? Quality { get; set; } // CUSTOM: Changed property type. - /// The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`. - [CodeGenMember("Size")] - public GeneratedImageSize? Size { get; set; } - - // CUSTOM: Changed property type. - /// The format in which the generated images are returned. Must be one of `url` or `b64_json`. + /// The format in which the generated images are returned. [CodeGenMember("ResponseFormat")] public GeneratedImageFormat? ResponseFormat { get; set; } + // CUSTOM: Changed property type. + /// The size of the generated images. + [CodeGenMember("Size")] + public GeneratedImageSize? Size { get; set; } + // CUSTOM: Renamed. /// /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. @@ -102,22 +87,62 @@ internal MultiPartFormDataBinaryContent ToMultipartContent(Stream image, string MultiPartFormDataBinaryContent content = new(); content.Add(image, "image", imageFilename); + content.Add(Prompt, "prompt"); - content.Add(Model.Value.ToString(), "model"); + + if (Background is not null) + { + content.Add(Background.Value.ToString(), "background"); + } + + if (EndUserId is not null) + { + content.Add(EndUserId, "user"); + } + + if (InputFidelity is not null) + { + content.Add(InputFidelity.Value.ToString(), "input_fidelity"); + } if (mask is not null) { content.Add(mask, "mask", maskFilename); } + if (Model is not null) + { + content.Add(Model.Value.ToString(), "model"); + } + if (N is not null) { content.Add(N.Value, "n"); } + if (OutputCompressionFactor is not null) + { + content.Add(OutputCompressionFactor.Value, "output_compression"); + } + + if (OutputFileFormat is not null) + { + content.Add(OutputFileFormat.Value.ToString(), "output_format"); + } + + if (PartialImages is not null) + { + content.Add(PartialImages.Value, "partial_images"); + } + + if (Quality is not null) + { + content.Add(Quality.Value.ToString(), "quality"); + } + if (ResponseFormat is not null) { - content.Add(ResponseFormat.ToString(), "response_format"); + content.Add(ResponseFormat.Value.ToString(), "response_format"); } if (Size is not null) @@ -125,9 +150,9 @@ internal MultiPartFormDataBinaryContent ToMultipartContent(Stream image, string content.Add(Size.ToString(), "size"); } - if (EndUserId is not null) + if (Stream is not null) { - content.Add(EndUserId, "user"); + content.Add(Stream.Value, "stream"); } return content; diff --git a/src/Custom/Images/ImageGenerationOptions.cs b/src/Custom/Images/ImageGenerationOptions.cs index bb7cfc6e..1884402f 100644 --- a/src/Custom/Images/ImageGenerationOptions.cs +++ b/src/Custom/Images/ImageGenerationOptions.cs @@ -3,68 +3,57 @@ namespace OpenAI.Images; -/// -/// Represents additional options available to control the behavior of an image generation operation. -/// +/// Represents additional options available to control the behavior of an image generation operation. [CodeGenType("CreateImageRequest")] [CodeGenVisibility(nameof(ImageGenerationOptions), CodeGenVisibility.Public)] [CodeGenSuppress(nameof(ImageGenerationOptions), typeof(string))] public partial class ImageGenerationOptions { // CUSTOM: Made internal. The model is specified by the client. - /// The model to use for image generation. + [CodeGenMember("Model")] internal InternalCreateImageRequestModel? Model { get; set; } - // CUSTOM: - // - Made internal. This value comes from a parameter on the client method. - // - Added setter. - /// - /// A text description of the desired image(s). The maximum length is 1000 characters for - /// `dall-e-2` and 4000 characters for `dall-e-3`. - /// - internal string Prompt { get; set; } - // CUSTOM: Made internal. This value comes from a parameter on the client method. - /// - /// The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is - /// supported. - /// + [CodeGenMember("N")] internal long? N { get; set; } + // CUSTOM: Made internal. This value comes from a parameter on the client method. + [CodeGenMember("Prompt")] + internal string Prompt { get; set; } + + // CUSTOM: Temporarily made internal. This value should be exposed through a dedicated client method. + [CodeGenMember("Stream")] + internal bool? Stream { get; set; } + + // CUSTOM: Temporarily made internal. This value should be exposed once streaming is supported. + [CodeGenMember("PartialImages")] + internal int? PartialImages { get; set; } + // CUSTOM: Renamed. - /// - /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. - /// Learn more. - /// - [CodeGenMember("User")] - public string EndUserId { get; set; } + /// Control the content-moderation level for the generated images. + [Experimental("OPENAI001")] + [CodeGenMember("Moderation")] + public GeneratedImageModerationLevel? ModerationLevel { get; set; } - // CUSTOM: - // - Added Experimental attribute. - // - Renamed. - /// - /// The compression level (0-100%) for the generated images. - /// + // CUSTOM: Renamed. + /// The compression level (0-100%) for the generated images. [Experimental("OPENAI001")] [CodeGenMember("OutputCompression")] public int? OutputCompressionFactor { get; set; } - // CUSTOM: - // - Added Experimental attribute. - // - Renamed. - /// - /// The format in which the generated images are returned. - /// + // CUSTOM: Renamed. + /// The format in which the generated images are returned. [Experimental("OPENAI001")] [CodeGenMember("OutputFormat")] public GeneratedImageFileFormat? OutputFileFormat { get; set; } - // CUSTOM: - // - Added Experimental attribute. - // - Renamed. - [Experimental("OPENAI001")] - [CodeGenMember("Moderation")] - public GeneratedImageModerationLevel? ModerationLevel { get; set; } + // CUSTOM: Renamed. + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. + /// Learn more. + /// + [CodeGenMember("User")] + public string EndUserId { get; set; } internal BinaryContent ToBinaryContent() => BinaryContent.Create(this, ModelSerializationExtensions.WireOptions); } \ No newline at end of file diff --git a/src/Custom/Images/ImageInputFidelity.cs b/src/Custom/Images/ImageInputFidelity.cs new file mode 100644 index 00000000..9c54ef81 --- /dev/null +++ b/src/Custom/Images/ImageInputFidelity.cs @@ -0,0 +1,9 @@ +namespace OpenAI.Images; + +// CUSTOM: +// - Renamed. +// - Changed to extensible enum. +[CodeGenType("CreateImageEditRequestInputFidelity")] +public readonly partial struct ImageInputFidelity +{ +} \ No newline at end of file diff --git a/src/Custom/Images/ImageInputTokenUsageDetails.cs b/src/Custom/Images/ImageInputTokenUsageDetails.cs index 8a33b6d9..6dbdc9f8 100644 --- a/src/Custom/Images/ImageInputTokenUsageDetails.cs +++ b/src/Custom/Images/ImageInputTokenUsageDetails.cs @@ -1,18 +1,15 @@ -using System.Diagnostics.CodeAnalysis; - namespace OpenAI.Images; // CUSTOM: -// - Added Experimental attribute. // - Renamed. -[CodeGenType("ImagesResponseUsageInputTokensDetails")] +[CodeGenType("ImageGenInputUsageDetails")] public partial class ImageInputTokenUsageDetails { // CUSTOM: Renamed. [CodeGenMember("TextTokens")] - public int TextTokenCount { get; } + public long TextTokenCount { get; } // CUSTOM: Renamed. [CodeGenMember("ImageTokens")] - public int ImageTokenCount { get; } + public long ImageTokenCount { get; } } \ No newline at end of file diff --git a/src/Custom/Images/ImageTokenUsage.cs b/src/Custom/Images/ImageTokenUsage.cs index 0867c8ec..87e3e5fc 100644 --- a/src/Custom/Images/ImageTokenUsage.cs +++ b/src/Custom/Images/ImageTokenUsage.cs @@ -1,24 +1,21 @@ -using System.Diagnostics.CodeAnalysis; - namespace OpenAI.Images; // CUSTOM: -// - Added Experimental attribute. // - Renamed. -[CodeGenType("ImagesResponseUsage")] +[CodeGenType("ImageGenUsage")] public partial class ImageTokenUsage { // CUSTOM: Renamed. [CodeGenMember("InputTokens")] - public int InputTokenCount { get; } + public long InputTokenCount { get; } // CUSTOM: Renamed. [CodeGenMember("OutputTokens")] - public int OutputTokenCount { get; } + public long OutputTokenCount { get; } // CUSTOM: Renamed. [CodeGenMember("TotalTokens")] - public int TotalTokenCount { get; } + public long TotalTokenCount { get; } // CUSTOM: Renamed. [CodeGenMember("InputTokensDetails")] diff --git a/src/Custom/Images/ImageVariationOptions.cs b/src/Custom/Images/ImageVariationOptions.cs index 0722fbda..c59263f4 100644 --- a/src/Custom/Images/ImageVariationOptions.cs +++ b/src/Custom/Images/ImageVariationOptions.cs @@ -3,54 +3,34 @@ namespace OpenAI.Images; -/// -/// Represents additional options available to control the behavior of an image generation operation. -/// +/// Represents additional options available to control the behavior of an image variation operation. [CodeGenType("CreateImageVariationRequest")] [CodeGenVisibility(nameof(ImageVariationOptions), CodeGenVisibility.Public)] [CodeGenSuppress(nameof(ImageVariationOptions), typeof(BinaryData))] public partial class ImageVariationOptions { // CUSTOM: Made internal. The model is specified by the client. - /// The model to use for image generation. Only `dall-e-2` is supported at this time. + [CodeGenMember("Model")] internal InternalCreateImageVariationRequestModel? Model { get; set; } - // CUSTOM: - // - Made internal. This value comes from a parameter on the client method. - // - Added setter. - /// - /// The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, - /// and square. - /// - /// To assign a byte[] to this property use . - /// The byte[] will be serialized to a Base64 encoded string. - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromBytes(new byte[] { 1, 2, 3 }) - /// Creates a payload of "AQID". - /// - /// - /// - /// + // CUSTOM: Made internal. This value comes from a parameter on the client method. + [CodeGenMember("Image")] internal BinaryData Image { get; set; } // CUSTOM: Made internal. This value comes from a parameter on the client method. - /// The number of images to generate. Must be between 1 and 10. + [CodeGenMember("N")] internal long? N { get; set; } // CUSTOM: Changed property type. - /// The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`. - [CodeGenMember("Size")] - public GeneratedImageSize? Size { get; set; } - - // CUSTOM: Changed property type. - /// The format in which the generated images are returned. Must be one of `url` or `b64_json`. + /// The format in which the generated images are returned. [CodeGenMember("ResponseFormat")] public GeneratedImageFormat? ResponseFormat { get; set; } + // CUSTOM: Changed property type. + /// The size of the generated images. + [CodeGenMember("Size")] + public GeneratedImageSize? Size { get; set; } + // CUSTOM: Renamed. /// /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. @@ -64,7 +44,16 @@ internal MultiPartFormDataBinaryContent ToMultipartContent(Stream image, string MultiPartFormDataBinaryContent content = new(); content.Add(image, "image", imageFilename); - content.Add(Model.Value.ToString(), "model"); + + if (EndUserId is not null) + { + content.Add(EndUserId, "user"); + } + + if (Model is not null) + { + content.Add(Model.Value.ToString(), "model"); + } if (N is not null) { @@ -73,17 +62,12 @@ internal MultiPartFormDataBinaryContent ToMultipartContent(Stream image, string if (ResponseFormat is not null) { - content.Add(ResponseFormat.ToString(), "response_format"); + content.Add(ResponseFormat.Value.ToString(), "response_format"); } if (Size is not null) { - content.Add(Size.ToString(), "size"); - } - - if (EndUserId is not null) - { - content.Add(EndUserId, "user"); + content.Add(Size.Value.ToString(), "size"); } return content; diff --git a/src/Custom/Images/Internal/GeneratorStubs.cs b/src/Custom/Images/Internal/GeneratorStubs.cs index 78dbcecc..78a10fae 100644 --- a/src/Custom/Images/Internal/GeneratorStubs.cs +++ b/src/Custom/Images/Internal/GeneratorStubs.cs @@ -2,28 +2,55 @@ namespace OpenAI.Images; // CUSTOM: Made internal. -[CodeGenType("CreateImageEditRequestModel")] -internal readonly partial struct InternalCreateImageEditRequestModel { } - -[CodeGenType("CreateImageEditRequestResponseFormat")] -internal readonly partial struct InternalCreateImageEditRequestResponseFormat { } - -[CodeGenType("CreateImageEditRequestSize")] -internal readonly partial struct InternalCreateImageEditRequestSize { } - -[CodeGenType("CreateImageRequestModel")] -internal readonly partial struct InternalCreateImageRequestModel { } - -[CodeGenType("CreateImageVariationRequestModel")] -internal readonly partial struct InternalCreateImageVariationRequestModel { } - -[CodeGenType("CreateImageVariationRequestResponseFormat")] -internal readonly partial struct InternalCreateImageVariationRequestResponseFormat { } - -[CodeGenType("CreateImageVariationRequestSize")] -internal readonly partial struct InternalCreateImageVariationRequestSize { } - -[CodeGenType("CreateImageEditRequestQuality")] -internal readonly partial struct InternalCreateImageEditRequestQuality { } - -[CodeGenType("CreateImageEditRequestBackground")] internal readonly partial struct InternalCreateImageEditRequestBackground {} \ No newline at end of file +[CodeGenType("ImagesResponseBackground")] internal readonly partial struct InternalImagesResponseBackground { } +[CodeGenType("ImagesResponseOutputFormat")] internal readonly partial struct InternalImagesResponseOutputFormat { } +[CodeGenType("ImagesResponseQuality")] internal readonly partial struct InternalImagesResponseQuality { } +[CodeGenType("ImagesResponseSize")] internal readonly partial struct InternalImagesResponseSize { } + +// Image generation. +[CodeGenType("CreateImageRequestModel")] internal readonly partial struct InternalCreateImageRequestModel { } + +// Image edit generation. +[CodeGenType("CreateImageEditRequestBackground")] internal readonly partial struct InternalCreateImageEditRequestBackground { } +[CodeGenType("CreateImageEditRequestModel")] internal readonly partial struct InternalCreateImageEditRequestModel { } +[CodeGenType("CreateImageEditRequestOutputFormat")] internal readonly partial struct InternalCreateImageEditRequestOutputFormat { } +[CodeGenType("CreateImageEditRequestQuality")] internal readonly partial struct InternalCreateImageEditRequestQuality { } +[CodeGenType("CreateImageEditRequestResponseFormat")] internal readonly partial struct InternalCreateImageEditRequestResponseFormat { } +[CodeGenType("CreateImageEditRequestSize")] internal readonly partial struct InternalCreateImageEditRequestSize { } + +// Image variation generation. +[CodeGenType("CreateImageVariationRequestModel")] internal readonly partial struct InternalCreateImageVariationRequestModel { } +[CodeGenType("CreateImageVariationRequestResponseFormat")] internal readonly partial struct InternalCreateImageVariationRequestResponseFormat { } +[CodeGenType("CreateImageVariationRequestSize")] internal readonly partial struct InternalCreateImageVariationRequestSize { } + +// Streaming image generation. +[CodeGenType("ImageGenStreamEventType")] internal readonly partial struct InternalImageGenStreamEventType { } +[CodeGenType("ImageGenStreamEvent")] internal partial class InternalImageGenStreamEvent { } +[CodeGenType("ImageGenPartialImageEvent")] internal partial class InternalImageGenPartialImageEvent { } +[CodeGenType("ImageGenCompletedEvent")] internal partial class InternalImageGenCompletedEvent { } +[CodeGenType("UnknownImageGenStreamEvent")] internal partial class InternalUnknownImageGenStreamEvent { } +[CodeGenType("ImageGenPartialImageEventBackground")] internal readonly partial struct InternalImageGenPartialImageEventBackground { } +[CodeGenType("ImageGenPartialImageEventOutputFormat")] internal readonly partial struct InternalImageGenPartialImageEventOutputFormat { } +[CodeGenType("ImageGenPartialImageEventQuality")] internal readonly partial struct InternalImageGenPartialImageEventQuality { } +[CodeGenType("ImageGenPartialImageEventSize")] internal readonly partial struct InternalImageGenPartialImageEventSize { } +[CodeGenType("ImageGenCompletedEventBackground")] internal readonly partial struct InternalImageGenCompletedEventBackground { } +[CodeGenType("ImageGenCompletedEventOutputFormat")] internal readonly partial struct InternalImageGenCompletedEventOutputFormat { } +[CodeGenType("ImageGenCompletedEventQuality")] internal readonly partial struct InternalImageGenCompletedEventQuality { } +[CodeGenType("ImageGenCompletedEventSize")] internal readonly partial struct InternalImageGenCompletedEventSize { } +[CodeGenType("ImagesUsage")] internal partial class InternalImagesUsage { } +[CodeGenType("ImagesUsageInputTokensDetails")] internal partial class InternalImagesUsageInputTokensDetails { } + +// Streaming image edit generation. +[CodeGenType("ImageEditStreamEventType")] internal readonly partial struct InternalImageEditStreamEventType { } +[CodeGenType("ImageEditStreamEvent")] internal partial class InternalImageEditStreamEvent { } +[CodeGenType("ImageEditPartialImageEvent")] internal partial class InternalImageEditPartialImageEvent { } +[CodeGenType("ImageEditCompletedEvent")] internal partial class InternalImageEditCompletedEvent { } +[CodeGenType("UnknownImageEditStreamEvent")] internal partial class InternalUnknownImageEditStreamEvent { } +[CodeGenType("ImageEditPartialImageEventBackground")] internal readonly partial struct InternalImageEditPartialImageEventBackground { } +[CodeGenType("ImageEditPartialImageEventOutputFormat")] internal readonly partial struct InternalImageEditPartialImageEventOutputFormat { } +[CodeGenType("ImageEditPartialImageEventQuality")] internal readonly partial struct InternalImageEditPartialImageEventQuality { } +[CodeGenType("ImageEditPartialImageEventSize")] internal readonly partial struct InternalImageEditPartialImageEventSize { } +[CodeGenType("ImageEditCompletedEventBackground")] internal readonly partial struct InternalImageEditCompletedEventBackground { } +[CodeGenType("ImageEditCompletedEventOutputFormat")] internal readonly partial struct InternalImageEditCompletedEventOutputFormat { } +[CodeGenType("ImageEditCompletedEventQuality")] internal readonly partial struct InternalImageEditCompletedEventQuality { } +[CodeGenType("ImageEditCompletedEventSize")] internal readonly partial struct InternalImageEditCompletedEventSize { } \ No newline at end of file diff --git a/src/Custom/Images/OpenAIImagesModelFactory.cs b/src/Custom/Images/OpenAIImagesModelFactory.cs index 30a7b2a7..decc71fc 100644 --- a/src/Custom/Images/OpenAIImagesModelFactory.cs +++ b/src/Custom/Images/OpenAIImagesModelFactory.cs @@ -24,19 +24,54 @@ public static GeneratedImage GeneratedImage(BinaryData imageBytes = null, Uri im /// A new instance for mocking. [EditorBrowsable(EditorBrowsableState.Never)] public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt, IEnumerable items) - => GeneratedImageCollection(createdAt, items, usage: default); + => GeneratedImageCollection( + createdAt: createdAt, + items: items, + background: default, + outputFileFormat: default, + size: default, + quality: default, + usage: null); /// Initializes a new instance of . /// A new instance for mocking. . [Experimental("OPENAI001")] - public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable items = null, ImageTokenUsage usage = default) + public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable items = null, GeneratedImageBackground? background = default, GeneratedImageFileFormat? outputFileFormat = default, GeneratedImageSize? size = default, GeneratedImageQuality? quality = default, ImageTokenUsage usage = null) { items ??= new List(); return new GeneratedImageCollection( - data: items.ToList(), - usage: usage, createdAt: createdAt, + items: items.ToList(), + background: background, + outputFileFormat: outputFileFormat, + size: size, + quality: quality, + usage: usage, + additionalBinaryDataProperties: null); + } + + /// Initializes a new instance of . + /// A new instance for mocking. . + [Experimental("OPENAI001")] + public static ImageInputTokenUsageDetails ImageInputTokenUsageDetails(long textTokenCount = default, long imageTokenCount = default) + { + return new ImageInputTokenUsageDetails( + textTokenCount: textTokenCount, + imageTokenCount: imageTokenCount, + additionalBinaryDataProperties: null); + } + + /// Initializes a new instance of . + /// A new instance for mocking. . + [Experimental("OPENAI001")] + public static ImageTokenUsage ImageTokenUsage(long inputTokenCount = default, long outputTokenCount = default, long totalTokenCount = default, ImageInputTokenUsageDetails inputTokenDetails = default) + { + return new ImageTokenUsage( + inputTokenCount: inputTokenCount, + outputTokenCount: outputTokenCount, + totalTokenCount: totalTokenCount, + inputTokenDetails: inputTokenDetails, additionalBinaryDataProperties: null); } } diff --git a/src/Custom/Models/Internal/GeneratorStubs.cs b/src/Custom/Models/Internal/GeneratorStubs.cs index 0c1ab3a8..04bed10b 100644 --- a/src/Custom/Models/Internal/GeneratorStubs.cs +++ b/src/Custom/Models/Internal/GeneratorStubs.cs @@ -1,6 +1,7 @@ - namespace OpenAI.Models; +// CUSTOM: Made internal. + [CodeGenType("DeleteModelResponseObject")] internal readonly partial struct InternalDeleteModelResponseObject { } diff --git a/src/Custom/Models/ModelDeletionResult.cs b/src/Custom/Models/ModelDeletionResult.cs index 0e43cb5c..ecd1a066 100644 --- a/src/Custom/Models/ModelDeletionResult.cs +++ b/src/Custom/Models/ModelDeletionResult.cs @@ -1,18 +1,16 @@ -using System.ClientModel; -using System.ClientModel.Primitives; -using System.Text.Json; - -namespace OpenAI.Models; +namespace OpenAI.Models; +// CUSTOM: Renamed. +/// The result of the model deletion. [CodeGenType("DeleteModelResponse")] public partial class ModelDeletionResult { + // CUSTOM: Made private. This property does not add value in the context of a strongly-typed class. + [CodeGenMember("Object")] + private string Object { get; } = "model"; + // CUSTOM: Renamed. + /// The ID of the model. [CodeGenMember("Id")] public string ModelId { get; } - - // CUSTOM: Made internal. - /// The object type, which is always `model`. - [CodeGenMember("Object")] - internal string Object { get; } = "model"; -} +} \ No newline at end of file diff --git a/src/Custom/Models/OpenAIModel.cs b/src/Custom/Models/OpenAIModel.cs index a5741f9e..89732d00 100644 --- a/src/Custom/Models/OpenAIModel.cs +++ b/src/Custom/Models/OpenAIModel.cs @@ -1,18 +1,14 @@ using System; -using System.ClientModel; -using System.ClientModel.Primitives; -using System.Text.Json; namespace OpenAI.Models; -/// -/// Represents information about a single available model entry. -/// +// CUSTOM: Renamed. +/// Represents information about a single available model entry. [CodeGenType("Model")] public partial class OpenAIModel { // CUSTOM: Made private. This property does not add value in the context of a strongly-typed class. - /// The object type, which is always "model". + [CodeGenMember("Object")] private string Object { get; } = "model"; // CUSTOM: Renamed. diff --git a/src/Custom/Models/OpenAIModelClient.Protocol.cs b/src/Custom/Models/OpenAIModelClient.Protocol.cs deleted file mode 100644 index d5705c51..00000000 --- a/src/Custom/Models/OpenAIModelClient.Protocol.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; -using System.ClientModel; -using System.ClientModel.Primitives; -using System.ComponentModel; -using System.Threading.Tasks; - -namespace OpenAI.Models; - -[CodeGenSuppress("ListModelsAsync", typeof(RequestOptions))] -[CodeGenSuppress("ListModels", typeof(RequestOptions))] -[CodeGenSuppress("RetrieveModelAsync", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("RetrieveModel", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("DeleteModelAsync", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("DeleteModel", typeof(string), typeof(RequestOptions))] -public partial class OpenAIModelClient -{ - /// - /// [Protocol Method] Lists the currently available models, and provides basic information about each one such as the - /// owner and availability. - /// - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual async Task GetModelsAsync(RequestOptions options) - { - using PipelineMessage message = CreateGetModelsRequest(options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Lists the currently available models, and provides basic information about each one such as the - /// owner and availability. - /// - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual ClientResult GetModels(RequestOptions options) - { - using PipelineMessage message = CreateGetModelsRequest(options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Retrieves a model instance, providing basic information about the model such as the owner and - /// permissioning. - /// - /// The ID of the model to use for this request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual async Task GetModelAsync(string model, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(model, nameof(model)); - - using PipelineMessage message = CreateRetrieveModelRequest(model, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Retrieves a model instance, providing basic information about the model such as the owner and - /// permissioning. - /// - /// The ID of the model to use for this request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual ClientResult GetModel(string model, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(model, nameof(model)); - - using PipelineMessage message = CreateRetrieveModelRequest(model, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Delete a fine-tuned model. You must have the Owner role in your organization to delete a model. - /// - /// The model to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual async Task DeleteModelAsync(string model, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(model, nameof(model)); - - using PipelineMessage message = CreateDeleteModelRequest(model, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Delete a fine-tuned model. You must have the Owner role in your organization to delete a model. - /// - /// The model to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual ClientResult DeleteModel(string model, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(model, nameof(model)); - - using PipelineMessage message = CreateDeleteModelRequest(model, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } -} diff --git a/src/Custom/Models/OpenAIModelClient.cs b/src/Custom/Models/OpenAIModelClient.cs index 33e9a42b..7e85da45 100644 --- a/src/Custom/Models/OpenAIModelClient.cs +++ b/src/Custom/Models/OpenAIModelClient.cs @@ -14,10 +14,10 @@ namespace OpenAI.Models; /// The service client for OpenAI model operations. [CodeGenType("Models")] [CodeGenSuppress("OpenAIModelClient", typeof(ClientPipeline), typeof(Uri))] -[CodeGenSuppress("ListModelsAsync", typeof(CancellationToken))] -[CodeGenSuppress("ListModels", typeof(CancellationToken))] -[CodeGenSuppress("RetrieveModelAsync", typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("RetrieveModel", typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("GetModelsAsync", typeof(CancellationToken))] +[CodeGenSuppress("GetModels", typeof(CancellationToken))] +[CodeGenSuppress("GetModelAsync", typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("GetModel", typeof(string), typeof(CancellationToken))] public partial class OpenAIModelClient { diff --git a/src/Custom/Models/OpenAIModelCollection.Serialization.cs b/src/Custom/Models/OpenAIModelCollection.Serialization.cs deleted file mode 100644 index ac4a8275..00000000 --- a/src/Custom/Models/OpenAIModelCollection.Serialization.cs +++ /dev/null @@ -1,74 +0,0 @@ -using OpenAI.Models; -using System; -using System.ClientModel; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Reflection; -using System.Text.Json; - -namespace OpenAI.Models; - -[CodeGenSuppress("global::System.ClientModel.Primitives.IJsonModel.Write", typeof(Utf8JsonWriter), typeof(ModelReaderWriterOptions))] -public partial class OpenAIModelCollection : IJsonModel -{ - // CUSTOM: - // - Serialized the Items property. - // - Recovered the serialization of SerializedAdditionalRawData. See https://github.com/Azure/autorest.csharp/issues/4636. - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - => CustomSerializationHelpers.SerializeInstance(this, SerializeOpenAIModelCollection, writer, options); - - internal static void SerializeOpenAIModelCollection(OpenAIModelCollection instance, Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - writer.WritePropertyName("object"u8); - writer.WriteStringValue(instance.Object.ToString()); - writer.WritePropertyName("data"u8); - writer.WriteStartArray(); - foreach (var item in instance.Items) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); - writer.WriteSerializedAdditionalRawData(instance.SerializedAdditionalRawData, options); - writer.WriteEndObject(); - } - - // CUSTOM: Recovered the deserialization of SerializedAdditionalRawData. See https://github.com/Azure/autorest.csharp/issues/4636. - internal static OpenAIModelCollection DeserializeOpenAIModelCollection(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string @object = default; - IReadOnlyList data = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("object"u8)) - { - @object = property.Value.GetString(); - continue; - } - if (property.NameEquals("data"u8)) - { - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(OpenAIModel.DeserializeOpenAIModel(item, options)); - } - data = array; - continue; - } - if (true) - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new OpenAIModelCollection(@object, data, serializedAdditionalRawData); - } -} \ No newline at end of file diff --git a/src/Custom/Models/OpenAIModelCollection.cs b/src/Custom/Models/OpenAIModelCollection.cs index 34085ab6..da3fd641 100644 --- a/src/Custom/Models/OpenAIModelCollection.cs +++ b/src/Custom/Models/OpenAIModelCollection.cs @@ -1,49 +1,28 @@ using System; -using System.ClientModel; -using System.ClientModel.Primitives; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Reflection; -using System.Text.Json; namespace OpenAI.Models; -/// -/// Represents a collection of entries for available models. -/// +/// A collection of models. [CodeGenType("ListModelsResponse")] -[CodeGenSuppress("Data")] -[CodeGenSuppress(nameof(OpenAIModelCollection))] -[CodeGenSuppress(nameof(OpenAIModelCollection), typeof(string), typeof(IDictionary))] +[CodeGenSuppress(nameof(OpenAIModelCollection), typeof(IEnumerable))] public partial class OpenAIModelCollection : ReadOnlyCollection { // CUSTOM: Made private. This property does not add value in the context of a strongly-typed class. - /// Gets the object. + [CodeGenMember("Object")] private string Object { get; } = "list"; - /// Initializes a new instance of . - /// - /// is null. - internal OpenAIModelCollection(IEnumerable data) - : base([.. data]) - { - Argument.AssertNotNull(data, nameof(data)); - } - - /// Initializes a new instance of . - /// - /// - /// Keeps track of any properties unknown to the library. - internal OpenAIModelCollection(string @object, IReadOnlyList data, IDictionary serializedAdditionalRawData) - : base([.. data]) + // CUSTOM: Set the inherited Items property via the base constructor. + internal OpenAIModelCollection(string @object, IList items, IDictionary additionalBinaryDataProperties) + : base(items ?? new ChangeTrackingList()) { Object = @object; - SerializedAdditionalRawData = serializedAdditionalRawData; + _additionalBinaryDataProperties = additionalBinaryDataProperties; } - /// Initializes a new instance of for deserialization. - internal OpenAIModelCollection() - : base([]) + // CUSTOM: Call the base constructor. + internal OpenAIModelCollection() : this(null, null, null) { } } diff --git a/src/Custom/Models/OpenAIModelsModelFactory.cs b/src/Custom/Models/OpenAIModelsModelFactory.cs index 0fc1800b..9868653f 100644 --- a/src/Custom/Models/OpenAIModelsModelFactory.cs +++ b/src/Custom/Models/OpenAIModelsModelFactory.cs @@ -39,6 +39,6 @@ public static OpenAIModelCollection OpenAIModelCollection(IEnumerable _pipelineMessageClassifier200 = PipelineMessageClassifier.Create(stackalloc ushort[] { 200 }); - internal virtual PipelineMessage CreateGenerateImagesRequest(BinaryContent content, RequestOptions options) + internal virtual PipelineMessage CreateGenerateImageEditsRequest(BinaryContent content, string contentType, RequestOptions options) { ClientUriBuilder uri = new ClientUriBuilder(); uri.Reset(_endpoint); - uri.AppendPath("/images/generations", false); + uri.AppendPath("/images/edits", false); PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "POST", PipelineMessageClassifier200); PipelineRequest request = message.Request; - request.Headers.Set("Accept", "application/json"); - request.Headers.Set("Content-Type", "application/json"); + request.Headers.Set("Content-Type", contentType); + request.Headers.Set("Accept", "application/json, text/event-stream"); request.Content = content; message.Apply(options); return message; } - internal virtual PipelineMessage CreateGenerateImageEditsRequest(BinaryContent content, string contentType, RequestOptions options) + internal virtual PipelineMessage CreateGenerateImagesRequest(BinaryContent content, RequestOptions options) { ClientUriBuilder uri = new ClientUriBuilder(); uri.Reset(_endpoint); - uri.AppendPath("/images/edits", false); + uri.AppendPath("/images/generations", false); PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "POST", PipelineMessageClassifier200); PipelineRequest request = message.Request; - request.Headers.Set("Accept", "application/json"); - request.Headers.Set("Content-Type", contentType); + request.Headers.Set("Content-Type", "application/json"); + request.Headers.Set("Accept", "application/json, text/event-stream"); request.Content = content; message.Apply(options); return message; @@ -49,8 +49,8 @@ internal virtual PipelineMessage CreateGenerateImageVariationsRequest(BinaryCont uri.AppendPath("/images/variations", false); PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "POST", PipelineMessageClassifier200); PipelineRequest request = message.Request; - request.Headers.Set("Accept", "application/json"); request.Headers.Set("Content-Type", contentType); + request.Headers.Set("Accept", "application/json"); request.Content = content; message.Apply(options); return message; diff --git a/src/Generated/ImageClient.cs b/src/Generated/ImageClient.cs index 45d4a9fd..52691a14 100644 --- a/src/Generated/ImageClient.cs +++ b/src/Generated/ImageClient.cs @@ -20,35 +20,35 @@ protected ImageClient() public ClientPipeline Pipeline { get; } - public virtual ClientResult GenerateImages(BinaryContent content, RequestOptions options = null) + public virtual ClientResult GenerateImageEdits(BinaryContent content, string contentType, RequestOptions options = null) { Argument.AssertNotNull(content, nameof(content)); - using PipelineMessage message = CreateGenerateImagesRequest(content, options); + using PipelineMessage message = CreateGenerateImageEditsRequest(content, contentType, options); return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); } - public virtual async Task GenerateImagesAsync(BinaryContent content, RequestOptions options = null) + public virtual async Task GenerateImageEditsAsync(BinaryContent content, string contentType, RequestOptions options = null) { Argument.AssertNotNull(content, nameof(content)); - using PipelineMessage message = CreateGenerateImagesRequest(content, options); + using PipelineMessage message = CreateGenerateImageEditsRequest(content, contentType, options); return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); } - public virtual ClientResult GenerateImageEdits(BinaryContent content, string contentType, RequestOptions options = null) + public virtual ClientResult GenerateImages(BinaryContent content, RequestOptions options = null) { Argument.AssertNotNull(content, nameof(content)); - using PipelineMessage message = CreateGenerateImageEditsRequest(content, contentType, options); + using PipelineMessage message = CreateGenerateImagesRequest(content, options); return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); } - public virtual async Task GenerateImageEditsAsync(BinaryContent content, string contentType, RequestOptions options = null) + public virtual async Task GenerateImagesAsync(BinaryContent content, RequestOptions options = null) { Argument.AssertNotNull(content, nameof(content)); - using PipelineMessage message = CreateGenerateImageEditsRequest(content, contentType, options); + using PipelineMessage message = CreateGenerateImagesRequest(content, options); return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); } diff --git a/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs b/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs index 98065193..53d02326 100644 --- a/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs +++ b/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs @@ -5,8 +5,10 @@ using System; using System.ClientModel; using System.ClientModel.Primitives; +using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; +using System.Text; using System.Text.Json; using OpenAI; @@ -14,6 +16,21 @@ namespace OpenAI.Embeddings { public partial class OpenAIEmbeddingCollection : ReadOnlyCollection, IJsonModel { + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (Patch.Contains("$"u8)) + { + writer.WriteRawValue(Patch.GetJson("$"u8)); + return; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { @@ -23,6 +40,29 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(OpenAIEmbeddingCollection)} does not support writing '{format}' format."); } #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (Patch.Contains("$.data"u8)) + { + if (!Patch.IsRemoved("$.data"u8)) + { + writer.WritePropertyName("data"u8); + writer.WriteRawValue(Patch.GetJson("$.data"u8)); + } + } + else + { + writer.WritePropertyName("data"u8); + writer.WriteStartArray(); + for (int i = 0; i < Items.Count; i++) + { + if (Items[i].Patch.IsRemoved("$"u8)) + { + continue; + } + writer.WriteObjectValue(Items[i], options); + } + Patch.WriteTo(writer, "$.data"u8); + writer.WriteEndArray(); + } if (!Patch.Contains("$.model"u8)) { writer.WritePropertyName("model"u8); @@ -57,6 +97,51 @@ protected virtual OpenAIEmbeddingCollection JsonModelCreateCore(ref Utf8JsonRead return DeserializeOpenAIEmbeddingCollection(document.RootElement, null, options); } + internal static OpenAIEmbeddingCollection DeserializeOpenAIEmbeddingCollection(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + IList items = default; + string model = default; + string @object = default; + EmbeddingTokenUsage usage = default; +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + JsonPatch patch = new JsonPatch(data is null ? ReadOnlyMemory.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("data"u8)) + { + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(OpenAIEmbedding.DeserializeOpenAIEmbedding(item, item.GetUtf8Bytes(), options)); + } + items = array; + continue; + } + if (prop.NameEquals("model"u8)) + { + model = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("usage"u8)) + { + usage = EmbeddingTokenUsage.DeserializeEmbeddingTokenUsage(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new OpenAIEmbeddingCollection(items, model, @object, usage, patch); + } + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); [Experimental("OPENAI001")] @@ -111,6 +196,16 @@ private bool PropagateGet(ReadOnlySpan jsonPath, out JsonPatch.EncodedValu { return Usage.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("usage"u8.Length)], out value); } + if (local.StartsWith("data"u8)) + { + int propertyLength = "data"u8.Length; + ReadOnlySpan currentSlice = local.Slice(propertyLength); + if (!currentSlice.TryGetIndex(out int index, out int bytesConsumed)) + { + return false; + } + return Items[index].Patch.TryGetEncodedValue([.. "$"u8, .. currentSlice.Slice(bytesConsumed)], out value); + } return false; } #pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. @@ -125,6 +220,17 @@ private bool PropagateSet(ReadOnlySpan jsonPath, JsonPatch.EncodedValue va Usage.Patch.Set([.. "$"u8, .. local.Slice("usage"u8.Length)], value); return true; } + if (local.StartsWith("data"u8)) + { + int propertyLength = "data"u8.Length; + ReadOnlySpan currentSlice = local.Slice(propertyLength); + if (!currentSlice.TryGetIndex(out int index, out int bytesConsumed)) + { + return false; + } + Items[index].Patch.Set([.. "$"u8, .. currentSlice.Slice(bytesConsumed)], value); + return true; + } return false; } #pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. diff --git a/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs b/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs index 31702c7a..9b553880 100644 --- a/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs +++ b/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs @@ -35,16 +35,36 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("created"u8); writer.WriteNumberValue(CreatedAt, "U"); } - if (Optional.IsCollectionDefined(Data) && _additionalBinaryDataProperties?.ContainsKey("data") != true) + if (Optional.IsCollectionDefined(Items) && _additionalBinaryDataProperties?.ContainsKey("data") != true) { writer.WritePropertyName("data"u8); writer.WriteStartArray(); - foreach (GeneratedImage item in Data) + foreach (GeneratedImage item in Items) { writer.WriteObjectValue(item, options); } writer.WriteEndArray(); } + if (Optional.IsDefined(Background) && _additionalBinaryDataProperties?.ContainsKey("background") != true) + { + writer.WritePropertyName("background"u8); + writer.WriteStringValue(Background.Value.ToString()); + } + if (Optional.IsDefined(OutputFileFormat) && _additionalBinaryDataProperties?.ContainsKey("output_format") != true) + { + writer.WritePropertyName("output_format"u8); + writer.WriteStringValue(OutputFileFormat.Value.ToString()); + } + if (Optional.IsDefined(Size) && _additionalBinaryDataProperties?.ContainsKey("size") != true) + { + writer.WritePropertyName("size"u8); + writer.WriteStringValue(Size.Value.ToString()); + } + if (Optional.IsDefined(Quality) && _additionalBinaryDataProperties?.ContainsKey("quality") != true) + { + writer.WritePropertyName("quality"u8); + writer.WriteStringValue(Quality.Value.ToString()); + } if (Optional.IsDefined(Usage) && _additionalBinaryDataProperties?.ContainsKey("usage") != true) { writer.WritePropertyName("usage"u8); @@ -93,7 +113,11 @@ internal static GeneratedImageCollection DeserializeGeneratedImageCollection(Jso return null; } DateTimeOffset createdAt = default; - IList data = default; + IList items = default; + GeneratedImageBackground? background = default; + GeneratedImageFileFormat? outputFileFormat = default; + GeneratedImageSize? size = default; + GeneratedImageQuality? quality = default; ImageTokenUsage usage = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) @@ -114,7 +138,43 @@ internal static GeneratedImageCollection DeserializeGeneratedImageCollection(Jso { array.Add(GeneratedImage.DeserializeGeneratedImage(item, options)); } - data = array; + items = array; + continue; + } + if (prop.NameEquals("background"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + background = new GeneratedImageBackground(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("output_format"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + outputFileFormat = new GeneratedImageFileFormat(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("size"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + size = new GeneratedImageSize(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("quality"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + quality = new GeneratedImageQuality(prop.Value.GetString()); continue; } if (prop.NameEquals("usage"u8)) @@ -129,7 +189,15 @@ internal static GeneratedImageCollection DeserializeGeneratedImageCollection(Jso // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new GeneratedImageCollection(createdAt, data ?? new ChangeTrackingList(), usage, additionalBinaryDataProperties); + return new GeneratedImageCollection( + createdAt, + items ?? new ChangeTrackingList(), + background, + outputFileFormat, + size, + quality, + usage, + additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Images/GeneratedImageCollection.cs b/src/Generated/Models/Images/GeneratedImageCollection.cs index dc27cef8..ecb8592f 100644 --- a/src/Generated/Models/Images/GeneratedImageCollection.cs +++ b/src/Generated/Models/Images/GeneratedImageCollection.cs @@ -13,8 +13,6 @@ public partial class GeneratedImageCollection : ReadOnlyCollection _additionalBinaryDataProperties; - internal IList Data { get; } - [Experimental("OPENAI001")] public ImageTokenUsage Usage { get; } diff --git a/src/Generated/Models/Images/GeneratedImageQuality.cs b/src/Generated/Models/Images/GeneratedImageQuality.cs index 9f45c4a5..7334ded4 100644 --- a/src/Generated/Models/Images/GeneratedImageQuality.cs +++ b/src/Generated/Models/Images/GeneratedImageQuality.cs @@ -34,6 +34,8 @@ public GeneratedImageQuality(string value) [Experimental("OPENAI001")] public static GeneratedImageQuality Medium { get; } = new GeneratedImageQuality(MediumValue); + public static GeneratedImageQuality High { get; } = new GeneratedImageQuality(HighValue); + [Experimental("OPENAI001")] public static GeneratedImageQuality Auto { get; } = new GeneratedImageQuality(AutoValue); diff --git a/src/Generated/Models/Images/ImageEditOptions.Serialization.cs b/src/Generated/Models/Images/ImageEditOptions.Serialization.cs index 6d122e30..4c0a5e66 100644 --- a/src/Generated/Models/Images/ImageEditOptions.Serialization.cs +++ b/src/Generated/Models/Images/ImageEditOptions.Serialization.cs @@ -79,11 +79,36 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("response_format"u8); writer.WriteStringValue(ResponseFormat.Value.ToString()); } + if (Optional.IsDefined(OutputFileFormat) && _additionalBinaryDataProperties?.ContainsKey("output_format") != true) + { + writer.WritePropertyName("output_format"u8); + writer.WriteStringValue(OutputFileFormat.Value.ToString()); + } + if (Optional.IsDefined(OutputCompressionFactor) && _additionalBinaryDataProperties?.ContainsKey("output_compression") != true) + { + writer.WritePropertyName("output_compression"u8); + writer.WriteNumberValue(OutputCompressionFactor.Value); + } if (Optional.IsDefined(EndUserId) && _additionalBinaryDataProperties?.ContainsKey("user") != true) { writer.WritePropertyName("user"u8); writer.WriteStringValue(EndUserId); } + if (Optional.IsDefined(InputFidelity) && _additionalBinaryDataProperties?.ContainsKey("input_fidelity") != true) + { + writer.WritePropertyName("input_fidelity"u8); + writer.WriteStringValue(InputFidelity.Value.ToString()); + } + if (Optional.IsDefined(Stream) && _additionalBinaryDataProperties?.ContainsKey("stream") != true) + { + writer.WritePropertyName("stream"u8); + writer.WriteBooleanValue(Stream.Value); + } + if (Optional.IsDefined(PartialImages) && _additionalBinaryDataProperties?.ContainsKey("partial_images") != true) + { + writer.WritePropertyName("partial_images"u8); + writer.WriteNumberValue(PartialImages.Value); + } if (Optional.IsDefined(Quality) && _additionalBinaryDataProperties?.ContainsKey("quality") != true) { writer.WritePropertyName("quality"u8); @@ -139,7 +164,12 @@ internal static ImageEditOptions DeserializeImageEditOptions(JsonElement element long? n = default; GeneratedImageSize? size = default; GeneratedImageFormat? responseFormat = default; + GeneratedImageFileFormat? outputFileFormat = default; + int? outputCompressionFactor = default; string endUserId = default; + ImageInputFidelity? inputFidelity = default; + bool? stream = default; + int? partialImages = default; GeneratedImageQuality? quality = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) @@ -213,11 +243,61 @@ internal static ImageEditOptions DeserializeImageEditOptions(JsonElement element responseFormat = new GeneratedImageFormat(prop.Value.GetString()); continue; } + if (prop.NameEquals("output_format"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + outputFileFormat = null; + continue; + } + outputFileFormat = new GeneratedImageFileFormat(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("output_compression"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + outputCompressionFactor = null; + continue; + } + outputCompressionFactor = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("user"u8)) { endUserId = prop.Value.GetString(); continue; } + if (prop.NameEquals("input_fidelity"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + inputFidelity = null; + continue; + } + inputFidelity = new ImageInputFidelity(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("stream"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + stream = null; + continue; + } + stream = prop.Value.GetBoolean(); + continue; + } + if (prop.NameEquals("partial_images"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + partialImages = null; + continue; + } + partialImages = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("quality"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -240,7 +320,12 @@ internal static ImageEditOptions DeserializeImageEditOptions(JsonElement element n, size, responseFormat, + outputFileFormat, + outputCompressionFactor, endUserId, + inputFidelity, + stream, + partialImages, quality, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Images/ImageEditOptions.cs b/src/Generated/Models/Images/ImageEditOptions.cs index 9e0dae51..0424549a 100644 --- a/src/Generated/Models/Images/ImageEditOptions.cs +++ b/src/Generated/Models/Images/ImageEditOptions.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Images { @@ -11,7 +12,7 @@ public partial class ImageEditOptions { private protected IDictionary _additionalBinaryDataProperties; - internal ImageEditOptions(BinaryData image, string prompt, BinaryData mask, GeneratedImageBackground? background, InternalCreateImageEditRequestModel? model, long? n, GeneratedImageSize? size, GeneratedImageFormat? responseFormat, string endUserId, GeneratedImageQuality? quality, IDictionary additionalBinaryDataProperties) + internal ImageEditOptions(BinaryData image, string prompt, BinaryData mask, GeneratedImageBackground? background, InternalCreateImageEditRequestModel? model, long? n, GeneratedImageSize? size, GeneratedImageFormat? responseFormat, GeneratedImageFileFormat? outputFileFormat, int? outputCompressionFactor, string endUserId, ImageInputFidelity? inputFidelity, bool? stream, int? partialImages, GeneratedImageQuality? quality, IDictionary additionalBinaryDataProperties) { Image = image; Prompt = prompt; @@ -21,11 +22,19 @@ internal ImageEditOptions(BinaryData image, string prompt, BinaryData mask, Gene N = n; Size = size; ResponseFormat = responseFormat; + OutputFileFormat = outputFileFormat; + OutputCompressionFactor = outputCompressionFactor; EndUserId = endUserId; + InputFidelity = inputFidelity; + Stream = stream; + PartialImages = partialImages; Quality = quality; _additionalBinaryDataProperties = additionalBinaryDataProperties; } + [Experimental("OPENAI001")] + public ImageInputFidelity? InputFidelity { get; set; } + internal IDictionary SerializedAdditionalRawData { get => _additionalBinaryDataProperties; diff --git a/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs b/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs index 4fb48a69..502296d1 100644 --- a/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs +++ b/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs @@ -67,6 +67,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("output_compression"u8); writer.WriteNumberValue(OutputCompressionFactor.Value); } + if (Optional.IsDefined(Stream) && _additionalBinaryDataProperties?.ContainsKey("stream") != true) + { + writer.WritePropertyName("stream"u8); + writer.WriteBooleanValue(Stream.Value); + } + if (Optional.IsDefined(PartialImages) && _additionalBinaryDataProperties?.ContainsKey("partial_images") != true) + { + writer.WritePropertyName("partial_images"u8); + writer.WriteNumberValue(PartialImages.Value); + } if (Optional.IsDefined(Size) && _additionalBinaryDataProperties?.ContainsKey("size") != true) { writer.WritePropertyName("size"u8); @@ -141,6 +151,8 @@ internal static ImageGenerationOptions DeserializeImageGenerationOptions(JsonEle GeneratedImageFormat? responseFormat = default; GeneratedImageFileFormat? outputFileFormat = default; int? outputCompressionFactor = default; + bool? stream = default; + int? partialImages = default; GeneratedImageSize? size = default; GeneratedImageModerationLevel? moderationLevel = default; GeneratedImageBackground? background = default; @@ -214,6 +226,26 @@ internal static ImageGenerationOptions DeserializeImageGenerationOptions(JsonEle outputCompressionFactor = prop.Value.GetInt32(); continue; } + if (prop.NameEquals("stream"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + stream = null; + continue; + } + stream = prop.Value.GetBoolean(); + continue; + } + if (prop.NameEquals("partial_images"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + partialImages = null; + continue; + } + partialImages = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("size"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -270,6 +302,8 @@ internal static ImageGenerationOptions DeserializeImageGenerationOptions(JsonEle responseFormat, outputFileFormat, outputCompressionFactor, + stream, + partialImages, size, moderationLevel, background, diff --git a/src/Generated/Models/Images/ImageGenerationOptions.cs b/src/Generated/Models/Images/ImageGenerationOptions.cs index 087d57b5..6b19d7da 100644 --- a/src/Generated/Models/Images/ImageGenerationOptions.cs +++ b/src/Generated/Models/Images/ImageGenerationOptions.cs @@ -12,7 +12,7 @@ public partial class ImageGenerationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal ImageGenerationOptions(string prompt, InternalCreateImageRequestModel? model, long? n, GeneratedImageQuality? quality, GeneratedImageFormat? responseFormat, GeneratedImageFileFormat? outputFileFormat, int? outputCompressionFactor, GeneratedImageSize? size, GeneratedImageModerationLevel? moderationLevel, GeneratedImageBackground? background, GeneratedImageStyle? style, string endUserId, IDictionary additionalBinaryDataProperties) + internal ImageGenerationOptions(string prompt, InternalCreateImageRequestModel? model, long? n, GeneratedImageQuality? quality, GeneratedImageFormat? responseFormat, GeneratedImageFileFormat? outputFileFormat, int? outputCompressionFactor, bool? stream, int? partialImages, GeneratedImageSize? size, GeneratedImageModerationLevel? moderationLevel, GeneratedImageBackground? background, GeneratedImageStyle? style, string endUserId, IDictionary additionalBinaryDataProperties) { Prompt = prompt; Model = model; @@ -21,6 +21,8 @@ internal ImageGenerationOptions(string prompt, InternalCreateImageRequestModel? ResponseFormat = responseFormat; OutputFileFormat = outputFileFormat; OutputCompressionFactor = outputCompressionFactor; + Stream = stream; + PartialImages = partialImages; Size = size; ModerationLevel = moderationLevel; Background = background; diff --git a/src/Generated/Models/Images/ImageInputFidelity.cs b/src/Generated/Models/Images/ImageInputFidelity.cs new file mode 100644 index 00000000..2d194cab --- /dev/null +++ b/src/Generated/Models/Images/ImageInputFidelity.cs @@ -0,0 +1,48 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using OpenAI; + +namespace OpenAI.Images +{ + [Experimental("OPENAI001")] + public readonly partial struct ImageInputFidelity : IEquatable + { + private readonly string _value; + private const string HighValue = "high"; + private const string LowValue = "low"; + + public ImageInputFidelity(string value) + { + Argument.AssertNotNull(value, nameof(value)); + + _value = value; + } + + public static ImageInputFidelity High { get; } = new ImageInputFidelity(HighValue); + + public static ImageInputFidelity Low { get; } = new ImageInputFidelity(LowValue); + + public static bool operator ==(ImageInputFidelity left, ImageInputFidelity right) => left.Equals(right); + + public static bool operator !=(ImageInputFidelity left, ImageInputFidelity right) => !left.Equals(right); + + public static implicit operator ImageInputFidelity(string value) => new ImageInputFidelity(value); + + public static implicit operator ImageInputFidelity?(string value) => value == null ? null : new ImageInputFidelity(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is ImageInputFidelity other && Equals(other); + + public bool Equals(ImageInputFidelity other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs index 44a8c1dc..24ec5b37 100644 --- a/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs +++ b/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs @@ -81,19 +81,19 @@ internal static ImageInputTokenUsageDetails DeserializeImageInputTokenUsageDetai { return null; } - int textTokenCount = default; - int imageTokenCount = default; + long textTokenCount = default; + long imageTokenCount = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("text_tokens"u8)) { - textTokenCount = prop.Value.GetInt32(); + textTokenCount = prop.Value.GetInt64(); continue; } if (prop.NameEquals("image_tokens"u8)) { - imageTokenCount = prop.Value.GetInt32(); + imageTokenCount = prop.Value.GetInt64(); continue; } // Plugin customization: remove options.Format != "W" check diff --git a/src/Generated/Models/Images/ImageInputTokenUsageDetails.cs b/src/Generated/Models/Images/ImageInputTokenUsageDetails.cs index 106cb5e7..c7440347 100644 --- a/src/Generated/Models/Images/ImageInputTokenUsageDetails.cs +++ b/src/Generated/Models/Images/ImageInputTokenUsageDetails.cs @@ -13,13 +13,13 @@ public partial class ImageInputTokenUsageDetails { private protected IDictionary _additionalBinaryDataProperties; - internal ImageInputTokenUsageDetails(int textTokenCount, int imageTokenCount) + internal ImageInputTokenUsageDetails(long textTokenCount, long imageTokenCount) { TextTokenCount = textTokenCount; ImageTokenCount = imageTokenCount; } - internal ImageInputTokenUsageDetails(int textTokenCount, int imageTokenCount, IDictionary additionalBinaryDataProperties) + internal ImageInputTokenUsageDetails(long textTokenCount, long imageTokenCount, IDictionary additionalBinaryDataProperties) { TextTokenCount = textTokenCount; ImageTokenCount = imageTokenCount; diff --git a/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs b/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs index b5764404..266acf95 100644 --- a/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs +++ b/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs @@ -30,16 +30,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ImageTokenUsage)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) - { - writer.WritePropertyName("total_tokens"u8); - writer.WriteNumberValue(TotalTokenCount); - } if (_additionalBinaryDataProperties?.ContainsKey("input_tokens") != true) { writer.WritePropertyName("input_tokens"u8); writer.WriteNumberValue(InputTokenCount); } + if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) + { + writer.WritePropertyName("total_tokens"u8); + writer.WriteNumberValue(TotalTokenCount); + } if (_additionalBinaryDataProperties?.ContainsKey("output_tokens") != true) { writer.WritePropertyName("output_tokens"u8); @@ -91,26 +91,26 @@ internal static ImageTokenUsage DeserializeImageTokenUsage(JsonElement element, { return null; } - int totalTokenCount = default; - int inputTokenCount = default; - int outputTokenCount = default; + long inputTokenCount = default; + long totalTokenCount = default; + long outputTokenCount = default; ImageInputTokenUsageDetails inputTokenDetails = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("total_tokens"u8)) + if (prop.NameEquals("input_tokens"u8)) { - totalTokenCount = prop.Value.GetInt32(); + inputTokenCount = prop.Value.GetInt64(); continue; } - if (prop.NameEquals("input_tokens"u8)) + if (prop.NameEquals("total_tokens"u8)) { - inputTokenCount = prop.Value.GetInt32(); + totalTokenCount = prop.Value.GetInt64(); continue; } if (prop.NameEquals("output_tokens"u8)) { - outputTokenCount = prop.Value.GetInt32(); + outputTokenCount = prop.Value.GetInt64(); continue; } if (prop.NameEquals("input_tokens_details"u8)) @@ -121,7 +121,7 @@ internal static ImageTokenUsage DeserializeImageTokenUsage(JsonElement element, // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ImageTokenUsage(totalTokenCount, inputTokenCount, outputTokenCount, inputTokenDetails, additionalBinaryDataProperties); + return new ImageTokenUsage(inputTokenCount, totalTokenCount, outputTokenCount, inputTokenDetails, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Images/ImageTokenUsage.cs b/src/Generated/Models/Images/ImageTokenUsage.cs index 9efc8e72..37f87a88 100644 --- a/src/Generated/Models/Images/ImageTokenUsage.cs +++ b/src/Generated/Models/Images/ImageTokenUsage.cs @@ -13,18 +13,18 @@ public partial class ImageTokenUsage { private protected IDictionary _additionalBinaryDataProperties; - internal ImageTokenUsage(int totalTokenCount, int inputTokenCount, int outputTokenCount, ImageInputTokenUsageDetails inputTokenDetails) + internal ImageTokenUsage(long inputTokenCount, long totalTokenCount, long outputTokenCount, ImageInputTokenUsageDetails inputTokenDetails) { - TotalTokenCount = totalTokenCount; InputTokenCount = inputTokenCount; + TotalTokenCount = totalTokenCount; OutputTokenCount = outputTokenCount; InputTokenDetails = inputTokenDetails; } - internal ImageTokenUsage(int totalTokenCount, int inputTokenCount, int outputTokenCount, ImageInputTokenUsageDetails inputTokenDetails, IDictionary additionalBinaryDataProperties) + internal ImageTokenUsage(long inputTokenCount, long totalTokenCount, long outputTokenCount, ImageInputTokenUsageDetails inputTokenDetails, IDictionary additionalBinaryDataProperties) { - TotalTokenCount = totalTokenCount; InputTokenCount = inputTokenCount; + TotalTokenCount = totalTokenCount; OutputTokenCount = outputTokenCount; InputTokenDetails = inputTokenDetails; _additionalBinaryDataProperties = additionalBinaryDataProperties; diff --git a/src/Generated/Models/Images/InternalCreateImageEditRequestModel.cs b/src/Generated/Models/Images/InternalCreateImageEditRequestModel.cs index e81d2fdd..58c412fe 100644 --- a/src/Generated/Models/Images/InternalCreateImageEditRequestModel.cs +++ b/src/Generated/Models/Images/InternalCreateImageEditRequestModel.cs @@ -12,6 +12,7 @@ namespace OpenAI.Images private readonly string _value; private const string DallE2Value = "dall-e-2"; private const string GptImage1Value = "gpt-image-1"; + private const string GptImage1MiniValue = "gpt-image-1-mini"; public InternalCreateImageEditRequestModel(string value) { @@ -22,6 +23,8 @@ public InternalCreateImageEditRequestModel(string value) internal static InternalCreateImageEditRequestModel GptImage1 { get; } = new InternalCreateImageEditRequestModel(GptImage1Value); + internal static InternalCreateImageEditRequestModel GptImage1Mini { get; } = new InternalCreateImageEditRequestModel(GptImage1MiniValue); + public static bool operator ==(InternalCreateImageEditRequestModel left, InternalCreateImageEditRequestModel right) => left.Equals(right); public static bool operator !=(InternalCreateImageEditRequestModel left, InternalCreateImageEditRequestModel right) => !left.Equals(right); diff --git a/src/Generated/Models/Images/InternalCreateImageEditRequestOutputFormat.cs b/src/Generated/Models/Images/InternalCreateImageEditRequestOutputFormat.cs new file mode 100644 index 00000000..01fe255a --- /dev/null +++ b/src/Generated/Models/Images/InternalCreateImageEditRequestOutputFormat.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalCreateImageEditRequestOutputFormat : IEquatable + { + private readonly string _value; + private const string PngValue = "png"; + private const string JpegValue = "jpeg"; + private const string WebpValue = "webp"; + + public InternalCreateImageEditRequestOutputFormat(string value) + { + _value = value; + } + + internal static InternalCreateImageEditRequestOutputFormat Png { get; } = new InternalCreateImageEditRequestOutputFormat(PngValue); + + internal static InternalCreateImageEditRequestOutputFormat Jpeg { get; } = new InternalCreateImageEditRequestOutputFormat(JpegValue); + + internal static InternalCreateImageEditRequestOutputFormat Webp { get; } = new InternalCreateImageEditRequestOutputFormat(WebpValue); + + public static bool operator ==(InternalCreateImageEditRequestOutputFormat left, InternalCreateImageEditRequestOutputFormat right) => left.Equals(right); + + public static bool operator !=(InternalCreateImageEditRequestOutputFormat left, InternalCreateImageEditRequestOutputFormat right) => !left.Equals(right); + + public static implicit operator InternalCreateImageEditRequestOutputFormat(string value) => new InternalCreateImageEditRequestOutputFormat(value); + + public static implicit operator InternalCreateImageEditRequestOutputFormat?(string value) => value == null ? null : new InternalCreateImageEditRequestOutputFormat(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalCreateImageEditRequestOutputFormat other && Equals(other); + + public bool Equals(InternalCreateImageEditRequestOutputFormat other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalCreateImageRequestModel.cs b/src/Generated/Models/Images/InternalCreateImageRequestModel.cs index 4c831712..4f66bdb3 100644 --- a/src/Generated/Models/Images/InternalCreateImageRequestModel.cs +++ b/src/Generated/Models/Images/InternalCreateImageRequestModel.cs @@ -13,6 +13,7 @@ namespace OpenAI.Images private const string DallE2Value = "dall-e-2"; private const string DallE3Value = "dall-e-3"; private const string GptImage1Value = "gpt-image-1"; + private const string GptImage1MiniValue = "gpt-image-1-mini"; public InternalCreateImageRequestModel(string value) { @@ -25,6 +26,8 @@ public InternalCreateImageRequestModel(string value) internal static InternalCreateImageRequestModel GptImage1 { get; } = new InternalCreateImageRequestModel(GptImage1Value); + internal static InternalCreateImageRequestModel GptImage1Mini { get; } = new InternalCreateImageRequestModel(GptImage1MiniValue); + public static bool operator ==(InternalCreateImageRequestModel left, InternalCreateImageRequestModel right) => left.Equals(right); public static bool operator !=(InternalCreateImageRequestModel left, InternalCreateImageRequestModel right) => !left.Equals(right); diff --git a/src/Generated/Models/Images/InternalImageEditCompletedEvent.Serialization.cs b/src/Generated/Models/Images/InternalImageEditCompletedEvent.Serialization.cs new file mode 100644 index 00000000..2a384117 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditCompletedEvent.Serialization.cs @@ -0,0 +1,189 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + internal partial class InternalImageEditCompletedEvent : InternalImageEditStreamEvent, IJsonModel + { + internal InternalImageEditCompletedEvent() : this(InternalImageEditStreamEventType.ImageEditCompleted, null, null, default, default, default, default, default, null) + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageEditCompletedEvent)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); + if (_additionalBinaryDataProperties?.ContainsKey("b64_json") != true) + { + writer.WritePropertyName("b64_json"u8); + writer.WriteStringValue(B64Json); + } + if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) + { + writer.WritePropertyName("created_at"u8); + writer.WriteNumberValue(CreatedAt); + } + if (_additionalBinaryDataProperties?.ContainsKey("size") != true) + { + writer.WritePropertyName("size"u8); + writer.WriteStringValue(Size.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("quality") != true) + { + writer.WritePropertyName("quality"u8); + writer.WriteStringValue(Quality.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("background") != true) + { + writer.WritePropertyName("background"u8); + writer.WriteStringValue(Background.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("output_format") != true) + { + writer.WritePropertyName("output_format"u8); + writer.WriteStringValue(OutputFormat.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("usage") != true) + { + writer.WritePropertyName("usage"u8); + writer.WriteObjectValue(Usage, options); + } + } + + InternalImageEditCompletedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalImageEditCompletedEvent)JsonModelCreateCore(ref reader, options); + + protected override InternalImageEditStreamEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageEditCompletedEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImageEditCompletedEvent(document.RootElement, options); + } + + internal static InternalImageEditCompletedEvent DeserializeInternalImageEditCompletedEvent(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalImageEditStreamEventType kind = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + string b64Json = default; + int createdAt = default; + InternalImageEditCompletedEventSize size = default; + InternalImageEditCompletedEventQuality quality = default; + InternalImageEditCompletedEventBackground background = default; + InternalImageEditCompletedEventOutputFormat outputFormat = default; + InternalImagesUsage usage = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalImageEditStreamEventType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("b64_json"u8)) + { + b64Json = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("created_at"u8)) + { + createdAt = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("size"u8)) + { + size = new InternalImageEditCompletedEventSize(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("quality"u8)) + { + quality = new InternalImageEditCompletedEventQuality(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("background"u8)) + { + background = new InternalImageEditCompletedEventBackground(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("output_format"u8)) + { + outputFormat = new InternalImageEditCompletedEventOutputFormat(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("usage"u8)) + { + usage = InternalImagesUsage.DeserializeInternalImagesUsage(prop.Value, options); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalImageEditCompletedEvent( + kind, + additionalBinaryDataProperties, + b64Json, + createdAt, + size, + quality, + background, + outputFormat, + usage); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImageEditCompletedEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalImageEditCompletedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalImageEditCompletedEvent)PersistableModelCreateCore(data, options); + + protected override InternalImageEditStreamEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImageEditCompletedEvent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImageEditCompletedEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditCompletedEvent.cs b/src/Generated/Models/Images/InternalImageEditCompletedEvent.cs new file mode 100644 index 00000000..f9de2273 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditCompletedEvent.cs @@ -0,0 +1,48 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal partial class InternalImageEditCompletedEvent : InternalImageEditStreamEvent + { + internal InternalImageEditCompletedEvent(string b64Json, int createdAt, InternalImageEditCompletedEventSize size, InternalImageEditCompletedEventQuality quality, InternalImageEditCompletedEventBackground background, InternalImageEditCompletedEventOutputFormat outputFormat, InternalImagesUsage usage) : base(InternalImageEditStreamEventType.ImageEditCompleted) + { + B64Json = b64Json; + CreatedAt = createdAt; + Size = size; + Quality = quality; + Background = background; + OutputFormat = outputFormat; + Usage = usage; + } + + internal InternalImageEditCompletedEvent(InternalImageEditStreamEventType kind, IDictionary additionalBinaryDataProperties, string b64Json, int createdAt, InternalImageEditCompletedEventSize size, InternalImageEditCompletedEventQuality quality, InternalImageEditCompletedEventBackground background, InternalImageEditCompletedEventOutputFormat outputFormat, InternalImagesUsage usage) : base(kind, additionalBinaryDataProperties) + { + B64Json = b64Json; + CreatedAt = createdAt; + Size = size; + Quality = quality; + Background = background; + OutputFormat = outputFormat; + Usage = usage; + } + + public string B64Json { get; } + + public int CreatedAt { get; } + + internal InternalImageEditCompletedEventSize Size { get; } + + internal InternalImageEditCompletedEventQuality Quality { get; } + + internal InternalImageEditCompletedEventBackground Background { get; } + + internal InternalImageEditCompletedEventOutputFormat OutputFormat { get; } + + internal InternalImagesUsage Usage { get; } + } +} diff --git a/src/Generated/Models/Images/InternalImageEditCompletedEventBackground.cs b/src/Generated/Models/Images/InternalImageEditCompletedEventBackground.cs new file mode 100644 index 00000000..15d38dca --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditCompletedEventBackground.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditCompletedEventBackground : IEquatable + { + private readonly string _value; + private const string TransparentValue = "transparent"; + private const string OpaqueValue = "opaque"; + private const string AutoValue = "auto"; + + public InternalImageEditCompletedEventBackground(string value) + { + _value = value; + } + + internal static InternalImageEditCompletedEventBackground Transparent { get; } = new InternalImageEditCompletedEventBackground(TransparentValue); + + internal static InternalImageEditCompletedEventBackground Opaque { get; } = new InternalImageEditCompletedEventBackground(OpaqueValue); + + internal static InternalImageEditCompletedEventBackground Auto { get; } = new InternalImageEditCompletedEventBackground(AutoValue); + + public static bool operator ==(InternalImageEditCompletedEventBackground left, InternalImageEditCompletedEventBackground right) => left.Equals(right); + + public static bool operator !=(InternalImageEditCompletedEventBackground left, InternalImageEditCompletedEventBackground right) => !left.Equals(right); + + public static implicit operator InternalImageEditCompletedEventBackground(string value) => new InternalImageEditCompletedEventBackground(value); + + public static implicit operator InternalImageEditCompletedEventBackground?(string value) => value == null ? null : new InternalImageEditCompletedEventBackground(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditCompletedEventBackground other && Equals(other); + + public bool Equals(InternalImageEditCompletedEventBackground other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditCompletedEventOutputFormat.cs b/src/Generated/Models/Images/InternalImageEditCompletedEventOutputFormat.cs new file mode 100644 index 00000000..73adf412 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditCompletedEventOutputFormat.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditCompletedEventOutputFormat : IEquatable + { + private readonly string _value; + private const string PngValue = "png"; + private const string WebpValue = "webp"; + private const string JpegValue = "jpeg"; + + public InternalImageEditCompletedEventOutputFormat(string value) + { + _value = value; + } + + internal static InternalImageEditCompletedEventOutputFormat Png { get; } = new InternalImageEditCompletedEventOutputFormat(PngValue); + + internal static InternalImageEditCompletedEventOutputFormat Webp { get; } = new InternalImageEditCompletedEventOutputFormat(WebpValue); + + internal static InternalImageEditCompletedEventOutputFormat Jpeg { get; } = new InternalImageEditCompletedEventOutputFormat(JpegValue); + + public static bool operator ==(InternalImageEditCompletedEventOutputFormat left, InternalImageEditCompletedEventOutputFormat right) => left.Equals(right); + + public static bool operator !=(InternalImageEditCompletedEventOutputFormat left, InternalImageEditCompletedEventOutputFormat right) => !left.Equals(right); + + public static implicit operator InternalImageEditCompletedEventOutputFormat(string value) => new InternalImageEditCompletedEventOutputFormat(value); + + public static implicit operator InternalImageEditCompletedEventOutputFormat?(string value) => value == null ? null : new InternalImageEditCompletedEventOutputFormat(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditCompletedEventOutputFormat other && Equals(other); + + public bool Equals(InternalImageEditCompletedEventOutputFormat other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditCompletedEventQuality.cs b/src/Generated/Models/Images/InternalImageEditCompletedEventQuality.cs new file mode 100644 index 00000000..82b9e843 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditCompletedEventQuality.cs @@ -0,0 +1,49 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditCompletedEventQuality : IEquatable + { + private readonly string _value; + private const string LowValue = "low"; + private const string MediumValue = "medium"; + private const string HighValue = "high"; + private const string AutoValue = "auto"; + + public InternalImageEditCompletedEventQuality(string value) + { + _value = value; + } + + internal static InternalImageEditCompletedEventQuality Low { get; } = new InternalImageEditCompletedEventQuality(LowValue); + + internal static InternalImageEditCompletedEventQuality Medium { get; } = new InternalImageEditCompletedEventQuality(MediumValue); + + internal static InternalImageEditCompletedEventQuality High { get; } = new InternalImageEditCompletedEventQuality(HighValue); + + internal static InternalImageEditCompletedEventQuality Auto { get; } = new InternalImageEditCompletedEventQuality(AutoValue); + + public static bool operator ==(InternalImageEditCompletedEventQuality left, InternalImageEditCompletedEventQuality right) => left.Equals(right); + + public static bool operator !=(InternalImageEditCompletedEventQuality left, InternalImageEditCompletedEventQuality right) => !left.Equals(right); + + public static implicit operator InternalImageEditCompletedEventQuality(string value) => new InternalImageEditCompletedEventQuality(value); + + public static implicit operator InternalImageEditCompletedEventQuality?(string value) => value == null ? null : new InternalImageEditCompletedEventQuality(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditCompletedEventQuality other && Equals(other); + + public bool Equals(InternalImageEditCompletedEventQuality other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditCompletedEventSize.cs b/src/Generated/Models/Images/InternalImageEditCompletedEventSize.cs new file mode 100644 index 00000000..4ce3e2d5 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditCompletedEventSize.cs @@ -0,0 +1,49 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditCompletedEventSize : IEquatable + { + private readonly string _value; + private const string _1024x1024Value = "1024x1024"; + private const string _1024x1536Value = "1024x1536"; + private const string _1536x1024Value = "1536x1024"; + private const string AutoValue = "auto"; + + public InternalImageEditCompletedEventSize(string value) + { + _value = value; + } + + internal static InternalImageEditCompletedEventSize _1024x1024 { get; } = new InternalImageEditCompletedEventSize(_1024x1024Value); + + internal static InternalImageEditCompletedEventSize _1024x1536 { get; } = new InternalImageEditCompletedEventSize(_1024x1536Value); + + internal static InternalImageEditCompletedEventSize _1536x1024 { get; } = new InternalImageEditCompletedEventSize(_1536x1024Value); + + internal static InternalImageEditCompletedEventSize Auto { get; } = new InternalImageEditCompletedEventSize(AutoValue); + + public static bool operator ==(InternalImageEditCompletedEventSize left, InternalImageEditCompletedEventSize right) => left.Equals(right); + + public static bool operator !=(InternalImageEditCompletedEventSize left, InternalImageEditCompletedEventSize right) => !left.Equals(right); + + public static implicit operator InternalImageEditCompletedEventSize(string value) => new InternalImageEditCompletedEventSize(value); + + public static implicit operator InternalImageEditCompletedEventSize?(string value) => value == null ? null : new InternalImageEditCompletedEventSize(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditCompletedEventSize other && Equals(other); + + public bool Equals(InternalImageEditCompletedEventSize other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditPartialImageEvent.Serialization.cs b/src/Generated/Models/Images/InternalImageEditPartialImageEvent.Serialization.cs new file mode 100644 index 00000000..6e265b64 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditPartialImageEvent.Serialization.cs @@ -0,0 +1,189 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + internal partial class InternalImageEditPartialImageEvent : InternalImageEditStreamEvent, IJsonModel + { + internal InternalImageEditPartialImageEvent() : this(InternalImageEditStreamEventType.ImageEditPartialImage, null, null, default, default, default, default, default, default) + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageEditPartialImageEvent)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); + if (_additionalBinaryDataProperties?.ContainsKey("b64_json") != true) + { + writer.WritePropertyName("b64_json"u8); + writer.WriteStringValue(B64Json); + } + if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) + { + writer.WritePropertyName("created_at"u8); + writer.WriteNumberValue(CreatedAt); + } + if (_additionalBinaryDataProperties?.ContainsKey("size") != true) + { + writer.WritePropertyName("size"u8); + writer.WriteStringValue(Size.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("quality") != true) + { + writer.WritePropertyName("quality"u8); + writer.WriteStringValue(Quality.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("background") != true) + { + writer.WritePropertyName("background"u8); + writer.WriteStringValue(Background.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("output_format") != true) + { + writer.WritePropertyName("output_format"u8); + writer.WriteStringValue(OutputFormat.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("partial_image_index") != true) + { + writer.WritePropertyName("partial_image_index"u8); + writer.WriteNumberValue(PartialImageIndex); + } + } + + InternalImageEditPartialImageEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalImageEditPartialImageEvent)JsonModelCreateCore(ref reader, options); + + protected override InternalImageEditStreamEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageEditPartialImageEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImageEditPartialImageEvent(document.RootElement, options); + } + + internal static InternalImageEditPartialImageEvent DeserializeInternalImageEditPartialImageEvent(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalImageEditStreamEventType kind = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + string b64Json = default; + int createdAt = default; + InternalImageEditPartialImageEventSize size = default; + InternalImageEditPartialImageEventQuality quality = default; + InternalImageEditPartialImageEventBackground background = default; + InternalImageEditPartialImageEventOutputFormat outputFormat = default; + int partialImageIndex = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalImageEditStreamEventType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("b64_json"u8)) + { + b64Json = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("created_at"u8)) + { + createdAt = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("size"u8)) + { + size = new InternalImageEditPartialImageEventSize(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("quality"u8)) + { + quality = new InternalImageEditPartialImageEventQuality(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("background"u8)) + { + background = new InternalImageEditPartialImageEventBackground(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("output_format"u8)) + { + outputFormat = new InternalImageEditPartialImageEventOutputFormat(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("partial_image_index"u8)) + { + partialImageIndex = prop.Value.GetInt32(); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalImageEditPartialImageEvent( + kind, + additionalBinaryDataProperties, + b64Json, + createdAt, + size, + quality, + background, + outputFormat, + partialImageIndex); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImageEditPartialImageEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalImageEditPartialImageEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalImageEditPartialImageEvent)PersistableModelCreateCore(data, options); + + protected override InternalImageEditStreamEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImageEditPartialImageEvent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImageEditPartialImageEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditPartialImageEvent.cs b/src/Generated/Models/Images/InternalImageEditPartialImageEvent.cs new file mode 100644 index 00000000..e7d231e2 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditPartialImageEvent.cs @@ -0,0 +1,48 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal partial class InternalImageEditPartialImageEvent : InternalImageEditStreamEvent + { + internal InternalImageEditPartialImageEvent(string b64Json, int createdAt, InternalImageEditPartialImageEventSize size, InternalImageEditPartialImageEventQuality quality, InternalImageEditPartialImageEventBackground background, InternalImageEditPartialImageEventOutputFormat outputFormat, int partialImageIndex) : base(InternalImageEditStreamEventType.ImageEditPartialImage) + { + B64Json = b64Json; + CreatedAt = createdAt; + Size = size; + Quality = quality; + Background = background; + OutputFormat = outputFormat; + PartialImageIndex = partialImageIndex; + } + + internal InternalImageEditPartialImageEvent(InternalImageEditStreamEventType kind, IDictionary additionalBinaryDataProperties, string b64Json, int createdAt, InternalImageEditPartialImageEventSize size, InternalImageEditPartialImageEventQuality quality, InternalImageEditPartialImageEventBackground background, InternalImageEditPartialImageEventOutputFormat outputFormat, int partialImageIndex) : base(kind, additionalBinaryDataProperties) + { + B64Json = b64Json; + CreatedAt = createdAt; + Size = size; + Quality = quality; + Background = background; + OutputFormat = outputFormat; + PartialImageIndex = partialImageIndex; + } + + public string B64Json { get; } + + public int CreatedAt { get; } + + internal InternalImageEditPartialImageEventSize Size { get; } + + internal InternalImageEditPartialImageEventQuality Quality { get; } + + internal InternalImageEditPartialImageEventBackground Background { get; } + + internal InternalImageEditPartialImageEventOutputFormat OutputFormat { get; } + + public int PartialImageIndex { get; } + } +} diff --git a/src/Generated/Models/Images/InternalImageEditPartialImageEventBackground.cs b/src/Generated/Models/Images/InternalImageEditPartialImageEventBackground.cs new file mode 100644 index 00000000..4f40e5e4 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditPartialImageEventBackground.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditPartialImageEventBackground : IEquatable + { + private readonly string _value; + private const string TransparentValue = "transparent"; + private const string OpaqueValue = "opaque"; + private const string AutoValue = "auto"; + + public InternalImageEditPartialImageEventBackground(string value) + { + _value = value; + } + + internal static InternalImageEditPartialImageEventBackground Transparent { get; } = new InternalImageEditPartialImageEventBackground(TransparentValue); + + internal static InternalImageEditPartialImageEventBackground Opaque { get; } = new InternalImageEditPartialImageEventBackground(OpaqueValue); + + internal static InternalImageEditPartialImageEventBackground Auto { get; } = new InternalImageEditPartialImageEventBackground(AutoValue); + + public static bool operator ==(InternalImageEditPartialImageEventBackground left, InternalImageEditPartialImageEventBackground right) => left.Equals(right); + + public static bool operator !=(InternalImageEditPartialImageEventBackground left, InternalImageEditPartialImageEventBackground right) => !left.Equals(right); + + public static implicit operator InternalImageEditPartialImageEventBackground(string value) => new InternalImageEditPartialImageEventBackground(value); + + public static implicit operator InternalImageEditPartialImageEventBackground?(string value) => value == null ? null : new InternalImageEditPartialImageEventBackground(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditPartialImageEventBackground other && Equals(other); + + public bool Equals(InternalImageEditPartialImageEventBackground other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditPartialImageEventOutputFormat.cs b/src/Generated/Models/Images/InternalImageEditPartialImageEventOutputFormat.cs new file mode 100644 index 00000000..03a6d57c --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditPartialImageEventOutputFormat.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditPartialImageEventOutputFormat : IEquatable + { + private readonly string _value; + private const string PngValue = "png"; + private const string WebpValue = "webp"; + private const string JpegValue = "jpeg"; + + public InternalImageEditPartialImageEventOutputFormat(string value) + { + _value = value; + } + + internal static InternalImageEditPartialImageEventOutputFormat Png { get; } = new InternalImageEditPartialImageEventOutputFormat(PngValue); + + internal static InternalImageEditPartialImageEventOutputFormat Webp { get; } = new InternalImageEditPartialImageEventOutputFormat(WebpValue); + + internal static InternalImageEditPartialImageEventOutputFormat Jpeg { get; } = new InternalImageEditPartialImageEventOutputFormat(JpegValue); + + public static bool operator ==(InternalImageEditPartialImageEventOutputFormat left, InternalImageEditPartialImageEventOutputFormat right) => left.Equals(right); + + public static bool operator !=(InternalImageEditPartialImageEventOutputFormat left, InternalImageEditPartialImageEventOutputFormat right) => !left.Equals(right); + + public static implicit operator InternalImageEditPartialImageEventOutputFormat(string value) => new InternalImageEditPartialImageEventOutputFormat(value); + + public static implicit operator InternalImageEditPartialImageEventOutputFormat?(string value) => value == null ? null : new InternalImageEditPartialImageEventOutputFormat(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditPartialImageEventOutputFormat other && Equals(other); + + public bool Equals(InternalImageEditPartialImageEventOutputFormat other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditPartialImageEventQuality.cs b/src/Generated/Models/Images/InternalImageEditPartialImageEventQuality.cs new file mode 100644 index 00000000..d4a8cf2a --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditPartialImageEventQuality.cs @@ -0,0 +1,49 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditPartialImageEventQuality : IEquatable + { + private readonly string _value; + private const string LowValue = "low"; + private const string MediumValue = "medium"; + private const string HighValue = "high"; + private const string AutoValue = "auto"; + + public InternalImageEditPartialImageEventQuality(string value) + { + _value = value; + } + + internal static InternalImageEditPartialImageEventQuality Low { get; } = new InternalImageEditPartialImageEventQuality(LowValue); + + internal static InternalImageEditPartialImageEventQuality Medium { get; } = new InternalImageEditPartialImageEventQuality(MediumValue); + + internal static InternalImageEditPartialImageEventQuality High { get; } = new InternalImageEditPartialImageEventQuality(HighValue); + + internal static InternalImageEditPartialImageEventQuality Auto { get; } = new InternalImageEditPartialImageEventQuality(AutoValue); + + public static bool operator ==(InternalImageEditPartialImageEventQuality left, InternalImageEditPartialImageEventQuality right) => left.Equals(right); + + public static bool operator !=(InternalImageEditPartialImageEventQuality left, InternalImageEditPartialImageEventQuality right) => !left.Equals(right); + + public static implicit operator InternalImageEditPartialImageEventQuality(string value) => new InternalImageEditPartialImageEventQuality(value); + + public static implicit operator InternalImageEditPartialImageEventQuality?(string value) => value == null ? null : new InternalImageEditPartialImageEventQuality(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditPartialImageEventQuality other && Equals(other); + + public bool Equals(InternalImageEditPartialImageEventQuality other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditPartialImageEventSize.cs b/src/Generated/Models/Images/InternalImageEditPartialImageEventSize.cs new file mode 100644 index 00000000..493357b3 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditPartialImageEventSize.cs @@ -0,0 +1,49 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditPartialImageEventSize : IEquatable + { + private readonly string _value; + private const string _1024x1024Value = "1024x1024"; + private const string _1024x1536Value = "1024x1536"; + private const string _1536x1024Value = "1536x1024"; + private const string AutoValue = "auto"; + + public InternalImageEditPartialImageEventSize(string value) + { + _value = value; + } + + internal static InternalImageEditPartialImageEventSize _1024x1024 { get; } = new InternalImageEditPartialImageEventSize(_1024x1024Value); + + internal static InternalImageEditPartialImageEventSize _1024x1536 { get; } = new InternalImageEditPartialImageEventSize(_1024x1536Value); + + internal static InternalImageEditPartialImageEventSize _1536x1024 { get; } = new InternalImageEditPartialImageEventSize(_1536x1024Value); + + internal static InternalImageEditPartialImageEventSize Auto { get; } = new InternalImageEditPartialImageEventSize(AutoValue); + + public static bool operator ==(InternalImageEditPartialImageEventSize left, InternalImageEditPartialImageEventSize right) => left.Equals(right); + + public static bool operator !=(InternalImageEditPartialImageEventSize left, InternalImageEditPartialImageEventSize right) => !left.Equals(right); + + public static implicit operator InternalImageEditPartialImageEventSize(string value) => new InternalImageEditPartialImageEventSize(value); + + public static implicit operator InternalImageEditPartialImageEventSize?(string value) => value == null ? null : new InternalImageEditPartialImageEventSize(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditPartialImageEventSize other && Equals(other); + + public bool Equals(InternalImageEditPartialImageEventSize other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageEditStreamEvent.Serialization.cs b/src/Generated/Models/Images/InternalImageEditStreamEvent.Serialization.cs new file mode 100644 index 00000000..21b725ce --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditStreamEvent.Serialization.cs @@ -0,0 +1,133 @@ +// + +#nullable disable + +using System; +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + [PersistableModelProxy(typeof(InternalUnknownImageEditStreamEvent))] + internal abstract partial class InternalImageEditStreamEvent : IJsonModel + { + internal InternalImageEditStreamEvent() + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageEditStreamEvent)} does not support writing '{format}' format."); + } + if (_additionalBinaryDataProperties?.ContainsKey("type") != true) + { + writer.WritePropertyName("type"u8); + writer.WriteStringValue(Kind.ToString()); + } + // Plugin customization: remove options.Format != "W" check + if (_additionalBinaryDataProperties != null) + { + foreach (var item in _additionalBinaryDataProperties) + { + if (ModelSerializationExtensions.IsSentinelValue(item.Value)) + { + continue; + } + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + InternalImageEditStreamEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalImageEditStreamEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageEditStreamEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImageEditStreamEvent(document.RootElement, options); + } + + internal static InternalImageEditStreamEvent DeserializeInternalImageEditStreamEvent(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + if (element.TryGetProperty("type"u8, out JsonElement discriminator)) + { + switch (discriminator.GetString()) + { + case "image_edit.completed": + return InternalImageEditCompletedEvent.DeserializeInternalImageEditCompletedEvent(element, options); + case "image_edit.partial_image": + return InternalImageEditPartialImageEvent.DeserializeInternalImageEditPartialImageEvent(element, options); + } + } + return InternalUnknownImageEditStreamEvent.DeserializeInternalUnknownImageEditStreamEvent(element, options); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImageEditStreamEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalImageEditStreamEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalImageEditStreamEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImageEditStreamEvent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImageEditStreamEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + + public static explicit operator InternalImageEditStreamEvent(ClientResult result) + { + PipelineResponse response = result.GetRawResponse(); + using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeInternalImageEditStreamEvent(document.RootElement, ModelSerializationExtensions.WireOptions); + } + } +} diff --git a/src/Generated/Models/Images/InternalImageEditStreamEvent.cs b/src/Generated/Models/Images/InternalImageEditStreamEvent.cs new file mode 100644 index 00000000..51b00049 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditStreamEvent.cs @@ -0,0 +1,33 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal abstract partial class InternalImageEditStreamEvent + { + private protected IDictionary _additionalBinaryDataProperties; + + private protected InternalImageEditStreamEvent(InternalImageEditStreamEventType kind) + { + Kind = kind; + } + + internal InternalImageEditStreamEvent(InternalImageEditStreamEventType kind, IDictionary additionalBinaryDataProperties) + { + Kind = kind; + _additionalBinaryDataProperties = additionalBinaryDataProperties; + } + + internal InternalImageEditStreamEventType Kind { get; set; } + + internal IDictionary SerializedAdditionalRawData + { + get => _additionalBinaryDataProperties; + set => _additionalBinaryDataProperties = value; + } + } +} diff --git a/src/Generated/Models/Images/InternalImageEditStreamEventType.cs b/src/Generated/Models/Images/InternalImageEditStreamEventType.cs new file mode 100644 index 00000000..bb9837bc --- /dev/null +++ b/src/Generated/Models/Images/InternalImageEditStreamEventType.cs @@ -0,0 +1,43 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageEditStreamEventType : IEquatable + { + private readonly string _value; + private const string ImageEditPartialImageValue = "image_edit.partial_image"; + private const string ImageEditCompletedValue = "image_edit.completed"; + + public InternalImageEditStreamEventType(string value) + { + _value = value; + } + + internal static InternalImageEditStreamEventType ImageEditPartialImage { get; } = new InternalImageEditStreamEventType(ImageEditPartialImageValue); + + internal static InternalImageEditStreamEventType ImageEditCompleted { get; } = new InternalImageEditStreamEventType(ImageEditCompletedValue); + + public static bool operator ==(InternalImageEditStreamEventType left, InternalImageEditStreamEventType right) => left.Equals(right); + + public static bool operator !=(InternalImageEditStreamEventType left, InternalImageEditStreamEventType right) => !left.Equals(right); + + public static implicit operator InternalImageEditStreamEventType(string value) => new InternalImageEditStreamEventType(value); + + public static implicit operator InternalImageEditStreamEventType?(string value) => value == null ? null : new InternalImageEditStreamEventType(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageEditStreamEventType other && Equals(other); + + public bool Equals(InternalImageEditStreamEventType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenCompletedEvent.Serialization.cs b/src/Generated/Models/Images/InternalImageGenCompletedEvent.Serialization.cs new file mode 100644 index 00000000..f88b3fb5 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenCompletedEvent.Serialization.cs @@ -0,0 +1,189 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + internal partial class InternalImageGenCompletedEvent : InternalImageGenStreamEvent, IJsonModel + { + internal InternalImageGenCompletedEvent() : this(InternalImageGenStreamEventType.ImageGenerationCompleted, null, null, default, default, default, default, default, null) + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageGenCompletedEvent)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); + if (_additionalBinaryDataProperties?.ContainsKey("b64_json") != true) + { + writer.WritePropertyName("b64_json"u8); + writer.WriteStringValue(B64Json); + } + if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) + { + writer.WritePropertyName("created_at"u8); + writer.WriteNumberValue(CreatedAt); + } + if (_additionalBinaryDataProperties?.ContainsKey("size") != true) + { + writer.WritePropertyName("size"u8); + writer.WriteStringValue(Size.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("quality") != true) + { + writer.WritePropertyName("quality"u8); + writer.WriteStringValue(Quality.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("background") != true) + { + writer.WritePropertyName("background"u8); + writer.WriteStringValue(Background.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("output_format") != true) + { + writer.WritePropertyName("output_format"u8); + writer.WriteStringValue(OutputFormat.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("usage") != true) + { + writer.WritePropertyName("usage"u8); + writer.WriteObjectValue(Usage, options); + } + } + + InternalImageGenCompletedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalImageGenCompletedEvent)JsonModelCreateCore(ref reader, options); + + protected override InternalImageGenStreamEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageGenCompletedEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImageGenCompletedEvent(document.RootElement, options); + } + + internal static InternalImageGenCompletedEvent DeserializeInternalImageGenCompletedEvent(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalImageGenStreamEventType kind = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + string b64Json = default; + int createdAt = default; + InternalImageGenCompletedEventSize size = default; + InternalImageGenCompletedEventQuality quality = default; + InternalImageGenCompletedEventBackground background = default; + InternalImageGenCompletedEventOutputFormat outputFormat = default; + InternalImagesUsage usage = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalImageGenStreamEventType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("b64_json"u8)) + { + b64Json = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("created_at"u8)) + { + createdAt = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("size"u8)) + { + size = new InternalImageGenCompletedEventSize(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("quality"u8)) + { + quality = new InternalImageGenCompletedEventQuality(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("background"u8)) + { + background = new InternalImageGenCompletedEventBackground(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("output_format"u8)) + { + outputFormat = new InternalImageGenCompletedEventOutputFormat(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("usage"u8)) + { + usage = InternalImagesUsage.DeserializeInternalImagesUsage(prop.Value, options); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalImageGenCompletedEvent( + kind, + additionalBinaryDataProperties, + b64Json, + createdAt, + size, + quality, + background, + outputFormat, + usage); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImageGenCompletedEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalImageGenCompletedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalImageGenCompletedEvent)PersistableModelCreateCore(data, options); + + protected override InternalImageGenStreamEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImageGenCompletedEvent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImageGenCompletedEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenCompletedEvent.cs b/src/Generated/Models/Images/InternalImageGenCompletedEvent.cs new file mode 100644 index 00000000..b4fc003b --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenCompletedEvent.cs @@ -0,0 +1,48 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal partial class InternalImageGenCompletedEvent : InternalImageGenStreamEvent + { + internal InternalImageGenCompletedEvent(string b64Json, int createdAt, InternalImageGenCompletedEventSize size, InternalImageGenCompletedEventQuality quality, InternalImageGenCompletedEventBackground background, InternalImageGenCompletedEventOutputFormat outputFormat, InternalImagesUsage usage) : base(InternalImageGenStreamEventType.ImageGenerationCompleted) + { + B64Json = b64Json; + CreatedAt = createdAt; + Size = size; + Quality = quality; + Background = background; + OutputFormat = outputFormat; + Usage = usage; + } + + internal InternalImageGenCompletedEvent(InternalImageGenStreamEventType kind, IDictionary additionalBinaryDataProperties, string b64Json, int createdAt, InternalImageGenCompletedEventSize size, InternalImageGenCompletedEventQuality quality, InternalImageGenCompletedEventBackground background, InternalImageGenCompletedEventOutputFormat outputFormat, InternalImagesUsage usage) : base(kind, additionalBinaryDataProperties) + { + B64Json = b64Json; + CreatedAt = createdAt; + Size = size; + Quality = quality; + Background = background; + OutputFormat = outputFormat; + Usage = usage; + } + + public string B64Json { get; } + + public int CreatedAt { get; } + + internal InternalImageGenCompletedEventSize Size { get; } + + internal InternalImageGenCompletedEventQuality Quality { get; } + + internal InternalImageGenCompletedEventBackground Background { get; } + + internal InternalImageGenCompletedEventOutputFormat OutputFormat { get; } + + internal InternalImagesUsage Usage { get; } + } +} diff --git a/src/Generated/Models/Images/InternalImageGenCompletedEventBackground.cs b/src/Generated/Models/Images/InternalImageGenCompletedEventBackground.cs new file mode 100644 index 00000000..3096c8f1 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenCompletedEventBackground.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenCompletedEventBackground : IEquatable + { + private readonly string _value; + private const string TransparentValue = "transparent"; + private const string OpaqueValue = "opaque"; + private const string AutoValue = "auto"; + + public InternalImageGenCompletedEventBackground(string value) + { + _value = value; + } + + internal static InternalImageGenCompletedEventBackground Transparent { get; } = new InternalImageGenCompletedEventBackground(TransparentValue); + + internal static InternalImageGenCompletedEventBackground Opaque { get; } = new InternalImageGenCompletedEventBackground(OpaqueValue); + + internal static InternalImageGenCompletedEventBackground Auto { get; } = new InternalImageGenCompletedEventBackground(AutoValue); + + public static bool operator ==(InternalImageGenCompletedEventBackground left, InternalImageGenCompletedEventBackground right) => left.Equals(right); + + public static bool operator !=(InternalImageGenCompletedEventBackground left, InternalImageGenCompletedEventBackground right) => !left.Equals(right); + + public static implicit operator InternalImageGenCompletedEventBackground(string value) => new InternalImageGenCompletedEventBackground(value); + + public static implicit operator InternalImageGenCompletedEventBackground?(string value) => value == null ? null : new InternalImageGenCompletedEventBackground(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenCompletedEventBackground other && Equals(other); + + public bool Equals(InternalImageGenCompletedEventBackground other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenCompletedEventOutputFormat.cs b/src/Generated/Models/Images/InternalImageGenCompletedEventOutputFormat.cs new file mode 100644 index 00000000..0ecbfaba --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenCompletedEventOutputFormat.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenCompletedEventOutputFormat : IEquatable + { + private readonly string _value; + private const string PngValue = "png"; + private const string WebpValue = "webp"; + private const string JpegValue = "jpeg"; + + public InternalImageGenCompletedEventOutputFormat(string value) + { + _value = value; + } + + internal static InternalImageGenCompletedEventOutputFormat Png { get; } = new InternalImageGenCompletedEventOutputFormat(PngValue); + + internal static InternalImageGenCompletedEventOutputFormat Webp { get; } = new InternalImageGenCompletedEventOutputFormat(WebpValue); + + internal static InternalImageGenCompletedEventOutputFormat Jpeg { get; } = new InternalImageGenCompletedEventOutputFormat(JpegValue); + + public static bool operator ==(InternalImageGenCompletedEventOutputFormat left, InternalImageGenCompletedEventOutputFormat right) => left.Equals(right); + + public static bool operator !=(InternalImageGenCompletedEventOutputFormat left, InternalImageGenCompletedEventOutputFormat right) => !left.Equals(right); + + public static implicit operator InternalImageGenCompletedEventOutputFormat(string value) => new InternalImageGenCompletedEventOutputFormat(value); + + public static implicit operator InternalImageGenCompletedEventOutputFormat?(string value) => value == null ? null : new InternalImageGenCompletedEventOutputFormat(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenCompletedEventOutputFormat other && Equals(other); + + public bool Equals(InternalImageGenCompletedEventOutputFormat other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenCompletedEventQuality.cs b/src/Generated/Models/Images/InternalImageGenCompletedEventQuality.cs new file mode 100644 index 00000000..289fe13a --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenCompletedEventQuality.cs @@ -0,0 +1,49 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenCompletedEventQuality : IEquatable + { + private readonly string _value; + private const string LowValue = "low"; + private const string MediumValue = "medium"; + private const string HighValue = "high"; + private const string AutoValue = "auto"; + + public InternalImageGenCompletedEventQuality(string value) + { + _value = value; + } + + internal static InternalImageGenCompletedEventQuality Low { get; } = new InternalImageGenCompletedEventQuality(LowValue); + + internal static InternalImageGenCompletedEventQuality Medium { get; } = new InternalImageGenCompletedEventQuality(MediumValue); + + internal static InternalImageGenCompletedEventQuality High { get; } = new InternalImageGenCompletedEventQuality(HighValue); + + internal static InternalImageGenCompletedEventQuality Auto { get; } = new InternalImageGenCompletedEventQuality(AutoValue); + + public static bool operator ==(InternalImageGenCompletedEventQuality left, InternalImageGenCompletedEventQuality right) => left.Equals(right); + + public static bool operator !=(InternalImageGenCompletedEventQuality left, InternalImageGenCompletedEventQuality right) => !left.Equals(right); + + public static implicit operator InternalImageGenCompletedEventQuality(string value) => new InternalImageGenCompletedEventQuality(value); + + public static implicit operator InternalImageGenCompletedEventQuality?(string value) => value == null ? null : new InternalImageGenCompletedEventQuality(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenCompletedEventQuality other && Equals(other); + + public bool Equals(InternalImageGenCompletedEventQuality other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenCompletedEventSize.cs b/src/Generated/Models/Images/InternalImageGenCompletedEventSize.cs new file mode 100644 index 00000000..78a43c61 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenCompletedEventSize.cs @@ -0,0 +1,49 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenCompletedEventSize : IEquatable + { + private readonly string _value; + private const string _1024x1024Value = "1024x1024"; + private const string _1024x1536Value = "1024x1536"; + private const string _1536x1024Value = "1536x1024"; + private const string AutoValue = "auto"; + + public InternalImageGenCompletedEventSize(string value) + { + _value = value; + } + + internal static InternalImageGenCompletedEventSize _1024x1024 { get; } = new InternalImageGenCompletedEventSize(_1024x1024Value); + + internal static InternalImageGenCompletedEventSize _1024x1536 { get; } = new InternalImageGenCompletedEventSize(_1024x1536Value); + + internal static InternalImageGenCompletedEventSize _1536x1024 { get; } = new InternalImageGenCompletedEventSize(_1536x1024Value); + + internal static InternalImageGenCompletedEventSize Auto { get; } = new InternalImageGenCompletedEventSize(AutoValue); + + public static bool operator ==(InternalImageGenCompletedEventSize left, InternalImageGenCompletedEventSize right) => left.Equals(right); + + public static bool operator !=(InternalImageGenCompletedEventSize left, InternalImageGenCompletedEventSize right) => !left.Equals(right); + + public static implicit operator InternalImageGenCompletedEventSize(string value) => new InternalImageGenCompletedEventSize(value); + + public static implicit operator InternalImageGenCompletedEventSize?(string value) => value == null ? null : new InternalImageGenCompletedEventSize(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenCompletedEventSize other && Equals(other); + + public bool Equals(InternalImageGenCompletedEventSize other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenPartialImageEvent.Serialization.cs b/src/Generated/Models/Images/InternalImageGenPartialImageEvent.Serialization.cs new file mode 100644 index 00000000..2351067c --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenPartialImageEvent.Serialization.cs @@ -0,0 +1,189 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + internal partial class InternalImageGenPartialImageEvent : InternalImageGenStreamEvent, IJsonModel + { + internal InternalImageGenPartialImageEvent() : this(InternalImageGenStreamEventType.ImageGenerationPartialImage, null, null, default, default, default, default, default, default) + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageGenPartialImageEvent)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); + if (_additionalBinaryDataProperties?.ContainsKey("b64_json") != true) + { + writer.WritePropertyName("b64_json"u8); + writer.WriteStringValue(B64Json); + } + if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) + { + writer.WritePropertyName("created_at"u8); + writer.WriteNumberValue(CreatedAt); + } + if (_additionalBinaryDataProperties?.ContainsKey("size") != true) + { + writer.WritePropertyName("size"u8); + writer.WriteStringValue(Size.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("quality") != true) + { + writer.WritePropertyName("quality"u8); + writer.WriteStringValue(Quality.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("background") != true) + { + writer.WritePropertyName("background"u8); + writer.WriteStringValue(Background.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("output_format") != true) + { + writer.WritePropertyName("output_format"u8); + writer.WriteStringValue(OutputFormat.ToString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("partial_image_index") != true) + { + writer.WritePropertyName("partial_image_index"u8); + writer.WriteNumberValue(PartialImageIndex); + } + } + + InternalImageGenPartialImageEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalImageGenPartialImageEvent)JsonModelCreateCore(ref reader, options); + + protected override InternalImageGenStreamEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageGenPartialImageEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImageGenPartialImageEvent(document.RootElement, options); + } + + internal static InternalImageGenPartialImageEvent DeserializeInternalImageGenPartialImageEvent(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalImageGenStreamEventType kind = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + string b64Json = default; + int createdAt = default; + InternalImageGenPartialImageEventSize size = default; + InternalImageGenPartialImageEventQuality quality = default; + InternalImageGenPartialImageEventBackground background = default; + InternalImageGenPartialImageEventOutputFormat outputFormat = default; + int partialImageIndex = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalImageGenStreamEventType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("b64_json"u8)) + { + b64Json = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("created_at"u8)) + { + createdAt = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("size"u8)) + { + size = new InternalImageGenPartialImageEventSize(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("quality"u8)) + { + quality = new InternalImageGenPartialImageEventQuality(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("background"u8)) + { + background = new InternalImageGenPartialImageEventBackground(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("output_format"u8)) + { + outputFormat = new InternalImageGenPartialImageEventOutputFormat(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("partial_image_index"u8)) + { + partialImageIndex = prop.Value.GetInt32(); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalImageGenPartialImageEvent( + kind, + additionalBinaryDataProperties, + b64Json, + createdAt, + size, + quality, + background, + outputFormat, + partialImageIndex); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImageGenPartialImageEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalImageGenPartialImageEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalImageGenPartialImageEvent)PersistableModelCreateCore(data, options); + + protected override InternalImageGenStreamEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImageGenPartialImageEvent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImageGenPartialImageEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenPartialImageEvent.cs b/src/Generated/Models/Images/InternalImageGenPartialImageEvent.cs new file mode 100644 index 00000000..f677ae43 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenPartialImageEvent.cs @@ -0,0 +1,48 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal partial class InternalImageGenPartialImageEvent : InternalImageGenStreamEvent + { + internal InternalImageGenPartialImageEvent(string b64Json, int createdAt, InternalImageGenPartialImageEventSize size, InternalImageGenPartialImageEventQuality quality, InternalImageGenPartialImageEventBackground background, InternalImageGenPartialImageEventOutputFormat outputFormat, int partialImageIndex) : base(InternalImageGenStreamEventType.ImageGenerationPartialImage) + { + B64Json = b64Json; + CreatedAt = createdAt; + Size = size; + Quality = quality; + Background = background; + OutputFormat = outputFormat; + PartialImageIndex = partialImageIndex; + } + + internal InternalImageGenPartialImageEvent(InternalImageGenStreamEventType kind, IDictionary additionalBinaryDataProperties, string b64Json, int createdAt, InternalImageGenPartialImageEventSize size, InternalImageGenPartialImageEventQuality quality, InternalImageGenPartialImageEventBackground background, InternalImageGenPartialImageEventOutputFormat outputFormat, int partialImageIndex) : base(kind, additionalBinaryDataProperties) + { + B64Json = b64Json; + CreatedAt = createdAt; + Size = size; + Quality = quality; + Background = background; + OutputFormat = outputFormat; + PartialImageIndex = partialImageIndex; + } + + public string B64Json { get; } + + public int CreatedAt { get; } + + internal InternalImageGenPartialImageEventSize Size { get; } + + internal InternalImageGenPartialImageEventQuality Quality { get; } + + internal InternalImageGenPartialImageEventBackground Background { get; } + + internal InternalImageGenPartialImageEventOutputFormat OutputFormat { get; } + + public int PartialImageIndex { get; } + } +} diff --git a/src/Generated/Models/Images/InternalImageGenPartialImageEventBackground.cs b/src/Generated/Models/Images/InternalImageGenPartialImageEventBackground.cs new file mode 100644 index 00000000..e7b1f171 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenPartialImageEventBackground.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenPartialImageEventBackground : IEquatable + { + private readonly string _value; + private const string TransparentValue = "transparent"; + private const string OpaqueValue = "opaque"; + private const string AutoValue = "auto"; + + public InternalImageGenPartialImageEventBackground(string value) + { + _value = value; + } + + internal static InternalImageGenPartialImageEventBackground Transparent { get; } = new InternalImageGenPartialImageEventBackground(TransparentValue); + + internal static InternalImageGenPartialImageEventBackground Opaque { get; } = new InternalImageGenPartialImageEventBackground(OpaqueValue); + + internal static InternalImageGenPartialImageEventBackground Auto { get; } = new InternalImageGenPartialImageEventBackground(AutoValue); + + public static bool operator ==(InternalImageGenPartialImageEventBackground left, InternalImageGenPartialImageEventBackground right) => left.Equals(right); + + public static bool operator !=(InternalImageGenPartialImageEventBackground left, InternalImageGenPartialImageEventBackground right) => !left.Equals(right); + + public static implicit operator InternalImageGenPartialImageEventBackground(string value) => new InternalImageGenPartialImageEventBackground(value); + + public static implicit operator InternalImageGenPartialImageEventBackground?(string value) => value == null ? null : new InternalImageGenPartialImageEventBackground(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenPartialImageEventBackground other && Equals(other); + + public bool Equals(InternalImageGenPartialImageEventBackground other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenPartialImageEventOutputFormat.cs b/src/Generated/Models/Images/InternalImageGenPartialImageEventOutputFormat.cs new file mode 100644 index 00000000..7da5f462 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenPartialImageEventOutputFormat.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenPartialImageEventOutputFormat : IEquatable + { + private readonly string _value; + private const string PngValue = "png"; + private const string WebpValue = "webp"; + private const string JpegValue = "jpeg"; + + public InternalImageGenPartialImageEventOutputFormat(string value) + { + _value = value; + } + + internal static InternalImageGenPartialImageEventOutputFormat Png { get; } = new InternalImageGenPartialImageEventOutputFormat(PngValue); + + internal static InternalImageGenPartialImageEventOutputFormat Webp { get; } = new InternalImageGenPartialImageEventOutputFormat(WebpValue); + + internal static InternalImageGenPartialImageEventOutputFormat Jpeg { get; } = new InternalImageGenPartialImageEventOutputFormat(JpegValue); + + public static bool operator ==(InternalImageGenPartialImageEventOutputFormat left, InternalImageGenPartialImageEventOutputFormat right) => left.Equals(right); + + public static bool operator !=(InternalImageGenPartialImageEventOutputFormat left, InternalImageGenPartialImageEventOutputFormat right) => !left.Equals(right); + + public static implicit operator InternalImageGenPartialImageEventOutputFormat(string value) => new InternalImageGenPartialImageEventOutputFormat(value); + + public static implicit operator InternalImageGenPartialImageEventOutputFormat?(string value) => value == null ? null : new InternalImageGenPartialImageEventOutputFormat(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenPartialImageEventOutputFormat other && Equals(other); + + public bool Equals(InternalImageGenPartialImageEventOutputFormat other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenPartialImageEventQuality.cs b/src/Generated/Models/Images/InternalImageGenPartialImageEventQuality.cs new file mode 100644 index 00000000..a8859f64 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenPartialImageEventQuality.cs @@ -0,0 +1,49 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenPartialImageEventQuality : IEquatable + { + private readonly string _value; + private const string LowValue = "low"; + private const string MediumValue = "medium"; + private const string HighValue = "high"; + private const string AutoValue = "auto"; + + public InternalImageGenPartialImageEventQuality(string value) + { + _value = value; + } + + internal static InternalImageGenPartialImageEventQuality Low { get; } = new InternalImageGenPartialImageEventQuality(LowValue); + + internal static InternalImageGenPartialImageEventQuality Medium { get; } = new InternalImageGenPartialImageEventQuality(MediumValue); + + internal static InternalImageGenPartialImageEventQuality High { get; } = new InternalImageGenPartialImageEventQuality(HighValue); + + internal static InternalImageGenPartialImageEventQuality Auto { get; } = new InternalImageGenPartialImageEventQuality(AutoValue); + + public static bool operator ==(InternalImageGenPartialImageEventQuality left, InternalImageGenPartialImageEventQuality right) => left.Equals(right); + + public static bool operator !=(InternalImageGenPartialImageEventQuality left, InternalImageGenPartialImageEventQuality right) => !left.Equals(right); + + public static implicit operator InternalImageGenPartialImageEventQuality(string value) => new InternalImageGenPartialImageEventQuality(value); + + public static implicit operator InternalImageGenPartialImageEventQuality?(string value) => value == null ? null : new InternalImageGenPartialImageEventQuality(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenPartialImageEventQuality other && Equals(other); + + public bool Equals(InternalImageGenPartialImageEventQuality other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenPartialImageEventSize.cs b/src/Generated/Models/Images/InternalImageGenPartialImageEventSize.cs new file mode 100644 index 00000000..620f39d5 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenPartialImageEventSize.cs @@ -0,0 +1,49 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenPartialImageEventSize : IEquatable + { + private readonly string _value; + private const string _1024x1024Value = "1024x1024"; + private const string _1024x1536Value = "1024x1536"; + private const string _1536x1024Value = "1536x1024"; + private const string AutoValue = "auto"; + + public InternalImageGenPartialImageEventSize(string value) + { + _value = value; + } + + internal static InternalImageGenPartialImageEventSize _1024x1024 { get; } = new InternalImageGenPartialImageEventSize(_1024x1024Value); + + internal static InternalImageGenPartialImageEventSize _1024x1536 { get; } = new InternalImageGenPartialImageEventSize(_1024x1536Value); + + internal static InternalImageGenPartialImageEventSize _1536x1024 { get; } = new InternalImageGenPartialImageEventSize(_1536x1024Value); + + internal static InternalImageGenPartialImageEventSize Auto { get; } = new InternalImageGenPartialImageEventSize(AutoValue); + + public static bool operator ==(InternalImageGenPartialImageEventSize left, InternalImageGenPartialImageEventSize right) => left.Equals(right); + + public static bool operator !=(InternalImageGenPartialImageEventSize left, InternalImageGenPartialImageEventSize right) => !left.Equals(right); + + public static implicit operator InternalImageGenPartialImageEventSize(string value) => new InternalImageGenPartialImageEventSize(value); + + public static implicit operator InternalImageGenPartialImageEventSize?(string value) => value == null ? null : new InternalImageGenPartialImageEventSize(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenPartialImageEventSize other && Equals(other); + + public bool Equals(InternalImageGenPartialImageEventSize other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImageGenStreamEvent.Serialization.cs b/src/Generated/Models/Images/InternalImageGenStreamEvent.Serialization.cs new file mode 100644 index 00000000..f4ee3340 --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenStreamEvent.Serialization.cs @@ -0,0 +1,133 @@ +// + +#nullable disable + +using System; +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + [PersistableModelProxy(typeof(InternalUnknownImageGenStreamEvent))] + internal abstract partial class InternalImageGenStreamEvent : IJsonModel + { + internal InternalImageGenStreamEvent() + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageGenStreamEvent)} does not support writing '{format}' format."); + } + if (_additionalBinaryDataProperties?.ContainsKey("type") != true) + { + writer.WritePropertyName("type"u8); + writer.WriteStringValue(Kind.ToString()); + } + // Plugin customization: remove options.Format != "W" check + if (_additionalBinaryDataProperties != null) + { + foreach (var item in _additionalBinaryDataProperties) + { + if (ModelSerializationExtensions.IsSentinelValue(item.Value)) + { + continue; + } + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + InternalImageGenStreamEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalImageGenStreamEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageGenStreamEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImageGenStreamEvent(document.RootElement, options); + } + + internal static InternalImageGenStreamEvent DeserializeInternalImageGenStreamEvent(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + if (element.TryGetProperty("type"u8, out JsonElement discriminator)) + { + switch (discriminator.GetString()) + { + case "image_generation.completed": + return InternalImageGenCompletedEvent.DeserializeInternalImageGenCompletedEvent(element, options); + case "image_generation.partial_image": + return InternalImageGenPartialImageEvent.DeserializeInternalImageGenPartialImageEvent(element, options); + } + } + return InternalUnknownImageGenStreamEvent.DeserializeInternalUnknownImageGenStreamEvent(element, options); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImageGenStreamEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalImageGenStreamEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalImageGenStreamEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImageGenStreamEvent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImageGenStreamEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + + public static explicit operator InternalImageGenStreamEvent(ClientResult result) + { + PipelineResponse response = result.GetRawResponse(); + using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeInternalImageGenStreamEvent(document.RootElement, ModelSerializationExtensions.WireOptions); + } + } +} diff --git a/src/Generated/Models/Images/InternalImageGenStreamEvent.cs b/src/Generated/Models/Images/InternalImageGenStreamEvent.cs new file mode 100644 index 00000000..4713717b --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenStreamEvent.cs @@ -0,0 +1,33 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal abstract partial class InternalImageGenStreamEvent + { + private protected IDictionary _additionalBinaryDataProperties; + + private protected InternalImageGenStreamEvent(InternalImageGenStreamEventType kind) + { + Kind = kind; + } + + internal InternalImageGenStreamEvent(InternalImageGenStreamEventType kind, IDictionary additionalBinaryDataProperties) + { + Kind = kind; + _additionalBinaryDataProperties = additionalBinaryDataProperties; + } + + internal InternalImageGenStreamEventType Kind { get; set; } + + internal IDictionary SerializedAdditionalRawData + { + get => _additionalBinaryDataProperties; + set => _additionalBinaryDataProperties = value; + } + } +} diff --git a/src/Generated/Models/Images/InternalImageGenStreamEventType.cs b/src/Generated/Models/Images/InternalImageGenStreamEventType.cs new file mode 100644 index 00000000..0978189a --- /dev/null +++ b/src/Generated/Models/Images/InternalImageGenStreamEventType.cs @@ -0,0 +1,43 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImageGenStreamEventType : IEquatable + { + private readonly string _value; + private const string ImageGenerationPartialImageValue = "image_generation.partial_image"; + private const string ImageGenerationCompletedValue = "image_generation.completed"; + + public InternalImageGenStreamEventType(string value) + { + _value = value; + } + + internal static InternalImageGenStreamEventType ImageGenerationPartialImage { get; } = new InternalImageGenStreamEventType(ImageGenerationPartialImageValue); + + internal static InternalImageGenStreamEventType ImageGenerationCompleted { get; } = new InternalImageGenStreamEventType(ImageGenerationCompletedValue); + + public static bool operator ==(InternalImageGenStreamEventType left, InternalImageGenStreamEventType right) => left.Equals(right); + + public static bool operator !=(InternalImageGenStreamEventType left, InternalImageGenStreamEventType right) => !left.Equals(right); + + public static implicit operator InternalImageGenStreamEventType(string value) => new InternalImageGenStreamEventType(value); + + public static implicit operator InternalImageGenStreamEventType?(string value) => value == null ? null : new InternalImageGenStreamEventType(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImageGenStreamEventType other && Equals(other); + + public bool Equals(InternalImageGenStreamEventType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImagesResponseBackground.cs b/src/Generated/Models/Images/InternalImagesResponseBackground.cs new file mode 100644 index 00000000..604f0094 --- /dev/null +++ b/src/Generated/Models/Images/InternalImagesResponseBackground.cs @@ -0,0 +1,43 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImagesResponseBackground : IEquatable + { + private readonly string _value; + private const string TransparentValue = "transparent"; + private const string OpaqueValue = "opaque"; + + public InternalImagesResponseBackground(string value) + { + _value = value; + } + + internal static InternalImagesResponseBackground Transparent { get; } = new InternalImagesResponseBackground(TransparentValue); + + internal static InternalImagesResponseBackground Opaque { get; } = new InternalImagesResponseBackground(OpaqueValue); + + public static bool operator ==(InternalImagesResponseBackground left, InternalImagesResponseBackground right) => left.Equals(right); + + public static bool operator !=(InternalImagesResponseBackground left, InternalImagesResponseBackground right) => !left.Equals(right); + + public static implicit operator InternalImagesResponseBackground(string value) => new InternalImagesResponseBackground(value); + + public static implicit operator InternalImagesResponseBackground?(string value) => value == null ? null : new InternalImagesResponseBackground(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImagesResponseBackground other && Equals(other); + + public bool Equals(InternalImagesResponseBackground other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImagesResponseOutputFormat.cs b/src/Generated/Models/Images/InternalImagesResponseOutputFormat.cs new file mode 100644 index 00000000..12616e65 --- /dev/null +++ b/src/Generated/Models/Images/InternalImagesResponseOutputFormat.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImagesResponseOutputFormat : IEquatable + { + private readonly string _value; + private const string PngValue = "png"; + private const string WebpValue = "webp"; + private const string JpegValue = "jpeg"; + + public InternalImagesResponseOutputFormat(string value) + { + _value = value; + } + + internal static InternalImagesResponseOutputFormat Png { get; } = new InternalImagesResponseOutputFormat(PngValue); + + internal static InternalImagesResponseOutputFormat Webp { get; } = new InternalImagesResponseOutputFormat(WebpValue); + + internal static InternalImagesResponseOutputFormat Jpeg { get; } = new InternalImagesResponseOutputFormat(JpegValue); + + public static bool operator ==(InternalImagesResponseOutputFormat left, InternalImagesResponseOutputFormat right) => left.Equals(right); + + public static bool operator !=(InternalImagesResponseOutputFormat left, InternalImagesResponseOutputFormat right) => !left.Equals(right); + + public static implicit operator InternalImagesResponseOutputFormat(string value) => new InternalImagesResponseOutputFormat(value); + + public static implicit operator InternalImagesResponseOutputFormat?(string value) => value == null ? null : new InternalImagesResponseOutputFormat(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImagesResponseOutputFormat other && Equals(other); + + public bool Equals(InternalImagesResponseOutputFormat other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImagesResponseQuality.cs b/src/Generated/Models/Images/InternalImagesResponseQuality.cs new file mode 100644 index 00000000..7bc40a89 --- /dev/null +++ b/src/Generated/Models/Images/InternalImagesResponseQuality.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImagesResponseQuality : IEquatable + { + private readonly string _value; + private const string LowValue = "low"; + private const string MediumValue = "medium"; + private const string HighValue = "high"; + + public InternalImagesResponseQuality(string value) + { + _value = value; + } + + internal static InternalImagesResponseQuality Low { get; } = new InternalImagesResponseQuality(LowValue); + + internal static InternalImagesResponseQuality Medium { get; } = new InternalImagesResponseQuality(MediumValue); + + internal static InternalImagesResponseQuality High { get; } = new InternalImagesResponseQuality(HighValue); + + public static bool operator ==(InternalImagesResponseQuality left, InternalImagesResponseQuality right) => left.Equals(right); + + public static bool operator !=(InternalImagesResponseQuality left, InternalImagesResponseQuality right) => !left.Equals(right); + + public static implicit operator InternalImagesResponseQuality(string value) => new InternalImagesResponseQuality(value); + + public static implicit operator InternalImagesResponseQuality?(string value) => value == null ? null : new InternalImagesResponseQuality(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImagesResponseQuality other && Equals(other); + + public bool Equals(InternalImagesResponseQuality other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImagesResponseSize.cs b/src/Generated/Models/Images/InternalImagesResponseSize.cs new file mode 100644 index 00000000..9fa9b9b0 --- /dev/null +++ b/src/Generated/Models/Images/InternalImagesResponseSize.cs @@ -0,0 +1,46 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Images +{ + internal readonly partial struct InternalImagesResponseSize : IEquatable + { + private readonly string _value; + private const string _1024x1024Value = "1024x1024"; + private const string _1024x1536Value = "1024x1536"; + private const string _1536x1024Value = "1536x1024"; + + public InternalImagesResponseSize(string value) + { + _value = value; + } + + internal static InternalImagesResponseSize _1024x1024 { get; } = new InternalImagesResponseSize(_1024x1024Value); + + internal static InternalImagesResponseSize _1024x1536 { get; } = new InternalImagesResponseSize(_1024x1536Value); + + internal static InternalImagesResponseSize _1536x1024 { get; } = new InternalImagesResponseSize(_1536x1024Value); + + public static bool operator ==(InternalImagesResponseSize left, InternalImagesResponseSize right) => left.Equals(right); + + public static bool operator !=(InternalImagesResponseSize left, InternalImagesResponseSize right) => !left.Equals(right); + + public static implicit operator InternalImagesResponseSize(string value) => new InternalImagesResponseSize(value); + + public static implicit operator InternalImagesResponseSize?(string value) => value == null ? null : new InternalImagesResponseSize(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalImagesResponseSize other && Equals(other); + + public bool Equals(InternalImagesResponseSize other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Images/InternalImagesUsage.Serialization.cs b/src/Generated/Models/Images/InternalImagesUsage.Serialization.cs new file mode 100644 index 00000000..e18aac20 --- /dev/null +++ b/src/Generated/Models/Images/InternalImagesUsage.Serialization.cs @@ -0,0 +1,160 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + internal partial class InternalImagesUsage : IJsonModel + { + internal InternalImagesUsage() + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImagesUsage)} does not support writing '{format}' format."); + } + if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) + { + writer.WritePropertyName("total_tokens"u8); + writer.WriteNumberValue(TotalTokens); + } + if (_additionalBinaryDataProperties?.ContainsKey("input_tokens") != true) + { + writer.WritePropertyName("input_tokens"u8); + writer.WriteNumberValue(InputTokens); + } + if (_additionalBinaryDataProperties?.ContainsKey("output_tokens") != true) + { + writer.WritePropertyName("output_tokens"u8); + writer.WriteNumberValue(OutputTokens); + } + if (_additionalBinaryDataProperties?.ContainsKey("input_tokens_details") != true) + { + writer.WritePropertyName("input_tokens_details"u8); + writer.WriteObjectValue(InputTokensDetails, options); + } + // Plugin customization: remove options.Format != "W" check + if (_additionalBinaryDataProperties != null) + { + foreach (var item in _additionalBinaryDataProperties) + { + if (ModelSerializationExtensions.IsSentinelValue(item.Value)) + { + continue; + } + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + InternalImagesUsage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalImagesUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImagesUsage)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImagesUsage(document.RootElement, options); + } + + internal static InternalImagesUsage DeserializeInternalImagesUsage(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + int totalTokens = default; + int inputTokens = default; + int outputTokens = default; + InternalImagesUsageInputTokensDetails inputTokensDetails = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("total_tokens"u8)) + { + totalTokens = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("input_tokens"u8)) + { + inputTokens = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("output_tokens"u8)) + { + outputTokens = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("input_tokens_details"u8)) + { + inputTokensDetails = InternalImagesUsageInputTokensDetails.DeserializeInternalImagesUsageInputTokensDetails(prop.Value, options); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalImagesUsage(totalTokens, inputTokens, outputTokens, inputTokensDetails, additionalBinaryDataProperties); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImagesUsage)} does not support writing '{options.Format}' format."); + } + } + + InternalImagesUsage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalImagesUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImagesUsage(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImagesUsage)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Images/InternalImagesUsage.cs b/src/Generated/Models/Images/InternalImagesUsage.cs new file mode 100644 index 00000000..d2f4e9a6 --- /dev/null +++ b/src/Generated/Models/Images/InternalImagesUsage.cs @@ -0,0 +1,45 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal partial class InternalImagesUsage + { + private protected IDictionary _additionalBinaryDataProperties; + + internal InternalImagesUsage(int totalTokens, int inputTokens, int outputTokens, InternalImagesUsageInputTokensDetails inputTokensDetails) + { + TotalTokens = totalTokens; + InputTokens = inputTokens; + OutputTokens = outputTokens; + InputTokensDetails = inputTokensDetails; + } + + internal InternalImagesUsage(int totalTokens, int inputTokens, int outputTokens, InternalImagesUsageInputTokensDetails inputTokensDetails, IDictionary additionalBinaryDataProperties) + { + TotalTokens = totalTokens; + InputTokens = inputTokens; + OutputTokens = outputTokens; + InputTokensDetails = inputTokensDetails; + _additionalBinaryDataProperties = additionalBinaryDataProperties; + } + + public int TotalTokens { get; } + + public int InputTokens { get; } + + public int OutputTokens { get; } + + internal InternalImagesUsageInputTokensDetails InputTokensDetails { get; } + + internal IDictionary SerializedAdditionalRawData + { + get => _additionalBinaryDataProperties; + set => _additionalBinaryDataProperties = value; + } + } +} diff --git a/src/Generated/Models/Images/InternalImagesUsageInputTokensDetails.Serialization.cs b/src/Generated/Models/Images/InternalImagesUsageInputTokensDetails.Serialization.cs new file mode 100644 index 00000000..5064792a --- /dev/null +++ b/src/Generated/Models/Images/InternalImagesUsageInputTokensDetails.Serialization.cs @@ -0,0 +1,138 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + internal partial class InternalImagesUsageInputTokensDetails : IJsonModel + { + internal InternalImagesUsageInputTokensDetails() + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImagesUsageInputTokensDetails)} does not support writing '{format}' format."); + } + if (_additionalBinaryDataProperties?.ContainsKey("text_tokens") != true) + { + writer.WritePropertyName("text_tokens"u8); + writer.WriteNumberValue(TextTokens); + } + if (_additionalBinaryDataProperties?.ContainsKey("image_tokens") != true) + { + writer.WritePropertyName("image_tokens"u8); + writer.WriteNumberValue(ImageTokens); + } + // Plugin customization: remove options.Format != "W" check + if (_additionalBinaryDataProperties != null) + { + foreach (var item in _additionalBinaryDataProperties) + { + if (ModelSerializationExtensions.IsSentinelValue(item.Value)) + { + continue; + } + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + InternalImagesUsageInputTokensDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalImagesUsageInputTokensDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImagesUsageInputTokensDetails)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImagesUsageInputTokensDetails(document.RootElement, options); + } + + internal static InternalImagesUsageInputTokensDetails DeserializeInternalImagesUsageInputTokensDetails(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + int textTokens = default; + int imageTokens = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("text_tokens"u8)) + { + textTokens = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("image_tokens"u8)) + { + imageTokens = prop.Value.GetInt32(); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalImagesUsageInputTokensDetails(textTokens, imageTokens, additionalBinaryDataProperties); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImagesUsageInputTokensDetails)} does not support writing '{options.Format}' format."); + } + } + + InternalImagesUsageInputTokensDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalImagesUsageInputTokensDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImagesUsageInputTokensDetails(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImagesUsageInputTokensDetails)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Images/InternalImagesUsageInputTokensDetails.cs b/src/Generated/Models/Images/InternalImagesUsageInputTokensDetails.cs new file mode 100644 index 00000000..7ca75441 --- /dev/null +++ b/src/Generated/Models/Images/InternalImagesUsageInputTokensDetails.cs @@ -0,0 +1,37 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal partial class InternalImagesUsageInputTokensDetails + { + private protected IDictionary _additionalBinaryDataProperties; + + internal InternalImagesUsageInputTokensDetails(int textTokens, int imageTokens) + { + TextTokens = textTokens; + ImageTokens = imageTokens; + } + + internal InternalImagesUsageInputTokensDetails(int textTokens, int imageTokens, IDictionary additionalBinaryDataProperties) + { + TextTokens = textTokens; + ImageTokens = imageTokens; + _additionalBinaryDataProperties = additionalBinaryDataProperties; + } + + public int TextTokens { get; } + + public int ImageTokens { get; } + + internal IDictionary SerializedAdditionalRawData + { + get => _additionalBinaryDataProperties; + set => _additionalBinaryDataProperties = value; + } + } +} diff --git a/src/Generated/Models/Images/InternalUnknownImageEditStreamEvent.Serialization.cs b/src/Generated/Models/Images/InternalUnknownImageEditStreamEvent.Serialization.cs new file mode 100644 index 00000000..45228f20 --- /dev/null +++ b/src/Generated/Models/Images/InternalUnknownImageEditStreamEvent.Serialization.cs @@ -0,0 +1,103 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + internal partial class InternalUnknownImageEditStreamEvent : InternalImageEditStreamEvent, IJsonModel + { + internal InternalUnknownImageEditStreamEvent() : this(default, null) + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageEditStreamEvent)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); + } + + InternalImageEditStreamEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected override InternalImageEditStreamEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageEditStreamEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImageEditStreamEvent(document.RootElement, options); + } + + internal static InternalUnknownImageEditStreamEvent DeserializeInternalUnknownImageEditStreamEvent(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalImageEditStreamEventType kind = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalImageEditStreamEventType(prop.Value.GetString()); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalUnknownImageEditStreamEvent(kind, additionalBinaryDataProperties); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImageEditStreamEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalImageEditStreamEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected override InternalImageEditStreamEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImageEditStreamEvent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImageEditStreamEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Images/InternalUnknownImageEditStreamEvent.cs b/src/Generated/Models/Images/InternalUnknownImageEditStreamEvent.cs new file mode 100644 index 00000000..7d851204 --- /dev/null +++ b/src/Generated/Models/Images/InternalUnknownImageEditStreamEvent.cs @@ -0,0 +1,16 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal partial class InternalUnknownImageEditStreamEvent : InternalImageEditStreamEvent + { + internal InternalUnknownImageEditStreamEvent(InternalImageEditStreamEventType kind, IDictionary additionalBinaryDataProperties) : base(kind != default ? kind : "unknown", additionalBinaryDataProperties) + { + } + } +} diff --git a/src/Generated/Models/Images/InternalUnknownImageGenStreamEvent.Serialization.cs b/src/Generated/Models/Images/InternalUnknownImageGenStreamEvent.Serialization.cs new file mode 100644 index 00000000..326e7bcc --- /dev/null +++ b/src/Generated/Models/Images/InternalUnknownImageGenStreamEvent.Serialization.cs @@ -0,0 +1,103 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Images +{ + internal partial class InternalUnknownImageGenStreamEvent : InternalImageGenStreamEvent, IJsonModel + { + internal InternalUnknownImageGenStreamEvent() : this(default, null) + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageGenStreamEvent)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); + } + + InternalImageGenStreamEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected override InternalImageGenStreamEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalImageGenStreamEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalImageGenStreamEvent(document.RootElement, options); + } + + internal static InternalUnknownImageGenStreamEvent DeserializeInternalUnknownImageGenStreamEvent(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalImageGenStreamEventType kind = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalImageGenStreamEventType(prop.Value.GetString()); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalUnknownImageGenStreamEvent(kind, additionalBinaryDataProperties); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalImageGenStreamEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalImageGenStreamEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected override InternalImageGenStreamEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalImageGenStreamEvent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InternalImageGenStreamEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Images/InternalUnknownImageGenStreamEvent.cs b/src/Generated/Models/Images/InternalUnknownImageGenStreamEvent.cs new file mode 100644 index 00000000..01e27146 --- /dev/null +++ b/src/Generated/Models/Images/InternalUnknownImageGenStreamEvent.cs @@ -0,0 +1,16 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace OpenAI.Images +{ + internal partial class InternalUnknownImageGenStreamEvent : InternalImageGenStreamEvent + { + internal InternalUnknownImageGenStreamEvent(InternalImageGenStreamEventType kind, IDictionary additionalBinaryDataProperties) : base(kind != default ? kind : "unknown", additionalBinaryDataProperties) + { + } + } +} diff --git a/src/Generated/Models/Models/ModelDeletionResult.cs b/src/Generated/Models/Models/ModelDeletionResult.cs index c46233e4..8f865472 100644 --- a/src/Generated/Models/Models/ModelDeletionResult.cs +++ b/src/Generated/Models/Models/ModelDeletionResult.cs @@ -11,10 +11,11 @@ public partial class ModelDeletionResult { private protected IDictionary _additionalBinaryDataProperties; - internal ModelDeletionResult(string modelId, bool deleted) + internal ModelDeletionResult(string modelId, bool deleted, string @object) { ModelId = modelId; Deleted = deleted; + Object = @object; } internal ModelDeletionResult(string modelId, bool deleted, string @object, IDictionary additionalBinaryDataProperties) diff --git a/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs b/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs index e0e6e7b0..c67c4047 100644 --- a/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs +++ b/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs @@ -5,6 +5,7 @@ using System; using System.ClientModel; using System.ClientModel.Primitives; +using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Text.Json; @@ -14,6 +15,13 @@ namespace OpenAI.Models { public partial class OpenAIModelCollection : ReadOnlyCollection, IJsonModel { + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { @@ -27,6 +35,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("object"u8); writer.WriteStringValue(Object); } + if (_additionalBinaryDataProperties?.ContainsKey("data") != true) + { + writer.WritePropertyName("data"u8); + writer.WriteStartArray(); + foreach (OpenAIModel item in Items) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -63,6 +81,38 @@ protected virtual OpenAIModelCollection JsonModelCreateCore(ref Utf8JsonReader r return DeserializeOpenAIModelCollection(document.RootElement, options); } + internal static OpenAIModelCollection DeserializeOpenAIModelCollection(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string @object = default; + IList items = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("data"u8)) + { + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(OpenAIModel.DeserializeOpenAIModel(item, options)); + } + items = array; + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new OpenAIModelCollection(@object, items, additionalBinaryDataProperties); + } + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); [Experimental("OPENAI001")] diff --git a/src/Generated/Models/OpenAIContext.cs b/src/Generated/Models/OpenAIContext.cs index 1ff5421e..d3bdddda 100644 --- a/src/Generated/Models/OpenAIContext.cs +++ b/src/Generated/Models/OpenAIContext.cs @@ -347,7 +347,15 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalFunctionDefinition))] [ModelReaderWriterBuildable(typeof(InternalFunctionToolCallItemParam))] [ModelReaderWriterBuildable(typeof(InternalFunctionToolCallOutputItemParam))] + [ModelReaderWriterBuildable(typeof(InternalImageEditCompletedEvent))] + [ModelReaderWriterBuildable(typeof(InternalImageEditPartialImageEvent))] + [ModelReaderWriterBuildable(typeof(InternalImageEditStreamEvent))] + [ModelReaderWriterBuildable(typeof(InternalImageGenCompletedEvent))] + [ModelReaderWriterBuildable(typeof(InternalImageGenPartialImageEvent))] + [ModelReaderWriterBuildable(typeof(InternalImageGenStreamEvent))] [ModelReaderWriterBuildable(typeof(InternalImageGenToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalImagesUsage))] + [ModelReaderWriterBuildable(typeof(InternalImagesUsageInputTokensDetails))] [ModelReaderWriterBuildable(typeof(InternalImplicitUserMessage))] [ModelReaderWriterBuildable(typeof(InternalItemContentInputAudio))] [ModelReaderWriterBuildable(typeof(InternalItemContentInputFile))] @@ -591,6 +599,8 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalUnknownEvalItemContent))] [ModelReaderWriterBuildable(typeof(InternalUnknownEvalRunDataContentSource))] [ModelReaderWriterBuildable(typeof(InternalUnknownEvalRunDataSourceParams))] + [ModelReaderWriterBuildable(typeof(InternalUnknownImageEditStreamEvent))] + [ModelReaderWriterBuildable(typeof(InternalUnknownImageGenStreamEvent))] [ModelReaderWriterBuildable(typeof(InternalUnknownItemContent))] [ModelReaderWriterBuildable(typeof(InternalUnknownItemParam))] [ModelReaderWriterBuildable(typeof(InternalUnknownItemResource))] diff --git a/src/Generated/OpenAIModelClient.RestClient.cs b/src/Generated/OpenAIModelClient.RestClient.cs index 338b7096..48a46c77 100644 --- a/src/Generated/OpenAIModelClient.RestClient.cs +++ b/src/Generated/OpenAIModelClient.RestClient.cs @@ -25,26 +25,26 @@ internal virtual PipelineMessage CreateGetModelsRequest(RequestOptions options) return message; } - internal virtual PipelineMessage CreateRetrieveModelRequest(string model, RequestOptions options) + internal virtual PipelineMessage CreateDeleteModelRequest(string model, RequestOptions options) { ClientUriBuilder uri = new ClientUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/models/", false); uri.AppendPath(model, true); - PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200); + PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "DELETE", PipelineMessageClassifier200); PipelineRequest request = message.Request; request.Headers.Set("Accept", "application/json"); message.Apply(options); return message; } - internal virtual PipelineMessage CreateDeleteModelRequest(string model, RequestOptions options) + internal virtual PipelineMessage CreateGetModelRequest(string model, RequestOptions options) { ClientUriBuilder uri = new ClientUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/models/", false); uri.AppendPath(model, true); - PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "DELETE", PipelineMessageClassifier200); + PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200); PipelineRequest request = message.Request; request.Headers.Set("Accept", "application/json"); message.Apply(options); diff --git a/src/Generated/OpenAIModelClient.cs b/src/Generated/OpenAIModelClient.cs index 2fa603b0..f8e40699 100644 --- a/src/Generated/OpenAIModelClient.cs +++ b/src/Generated/OpenAIModelClient.cs @@ -3,7 +3,10 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Models { @@ -16,5 +19,49 @@ protected OpenAIModelClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult GetModels(RequestOptions options) + { + using PipelineMessage message = CreateGetModelsRequest(options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GetModelsAsync(RequestOptions options) + { + using PipelineMessage message = CreateGetModelsRequest(options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult DeleteModel(string model, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(model, nameof(model)); + + using PipelineMessage message = CreateDeleteModelRequest(model, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task DeleteModelAsync(string model, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(model, nameof(model)); + + using PipelineMessage message = CreateDeleteModelRequest(model, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult GetModel(string model, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(model, nameof(model)); + + using PipelineMessage message = CreateGetModelRequest(model, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GetModelAsync(string model, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(model, nameof(model)); + + using PipelineMessage message = CreateGetModelRequest(model, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/OpenAIModelFactory.cs b/src/Generated/OpenAIModelFactory.cs index b488bc03..e7ca5427 100644 --- a/src/Generated/OpenAIModelFactory.cs +++ b/src/Generated/OpenAIModelFactory.cs @@ -358,23 +358,6 @@ public static DeleteContainerFileResponse DeleteContainerFileResponse(string id return new DeleteContainerFileResponse(id, "container.file.deleted", true, additionalBinaryDataProperties: null); } - public static OpenAIEmbeddingCollection OpenAIEmbeddingCollection(IEnumerable data = default, string model = default, string @object = default, EmbeddingTokenUsage usage = default) - { - data ??= new ChangeTrackingList(); - - return new OpenAIEmbeddingCollection(data.ToList(), model, @object, usage, default); - } - - public static OpenAIEmbedding OpenAIEmbedding(int index = default, BinaryData embeddingProperty = default, string @object = default) - { - return new OpenAIEmbedding(index, embeddingProperty, @object, default); - } - - public static EmbeddingTokenUsage EmbeddingTokenUsage(int inputTokenCount = default, int totalTokenCount = default) - { - return new EmbeddingTokenUsage(inputTokenCount, totalTokenCount, default); - } - public static OpenAIFileCollection OpenAIFileCollection(IEnumerable data = default, string @object = default, string firstId = default, string lastId = default, bool hasMore = default) { data ??= new ChangeTrackingList(); @@ -723,74 +706,6 @@ public static ResponseDeletionResult ResponseDeletionResult(string id = default) return new ResponseDeletionResult(id, "response.deleted", true, default); } - public static ImageGenerationOptions ImageGenerationOptions(string prompt = default, InternalCreateImageRequestModel? model = default, long? n = default, GeneratedImageQuality? quality = default, GeneratedImageFormat? responseFormat = default, GeneratedImageFileFormat? outputFileFormat = default, int? outputCompressionFactor = default, GeneratedImageSize? size = default, GeneratedImageModerationLevel? moderationLevel = default, GeneratedImageBackground? background = default, GeneratedImageStyle? style = default, string endUserId = default) - { - return new ImageGenerationOptions( - prompt, - model, - n, - quality, - responseFormat, - outputFileFormat, - outputCompressionFactor, - size, - moderationLevel, - background, - style, - endUserId, - additionalBinaryDataProperties: null); - } - - public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable data = default, ImageTokenUsage usage = default) - { - data ??= new ChangeTrackingList(); - - return new GeneratedImageCollection(createdAt, data.ToList(), usage, additionalBinaryDataProperties: null); - } - - public static GeneratedImage GeneratedImage(BinaryData imageBytes = default, Uri imageUri = default, string revisedPrompt = default) - { - return new GeneratedImage(imageBytes, imageUri, revisedPrompt, additionalBinaryDataProperties: null); - } - - public static ImageTokenUsage ImageTokenUsage(int totalTokenCount = default, int inputTokenCount = default, int outputTokenCount = default, ImageInputTokenUsageDetails inputTokenDetails = default) - { - return new ImageTokenUsage(totalTokenCount, inputTokenCount, outputTokenCount, inputTokenDetails, additionalBinaryDataProperties: null); - } - - public static ImageInputTokenUsageDetails ImageInputTokenUsageDetails(int textTokenCount = default, int imageTokenCount = default) - { - return new ImageInputTokenUsageDetails(textTokenCount, imageTokenCount, additionalBinaryDataProperties: null); - } - - public static ImageEditOptions ImageEditOptions(BinaryData image = default, string prompt = default, BinaryData mask = default, GeneratedImageBackground? background = default, InternalCreateImageEditRequestModel? model = default, long? n = default, GeneratedImageSize? size = default, GeneratedImageFormat? responseFormat = default, string endUserId = default, GeneratedImageQuality? quality = default) - { - return new ImageEditOptions( - image, - prompt, - mask, - background, - model, - n, - size, - responseFormat, - endUserId, - quality, - additionalBinaryDataProperties: null); - } - - public static ImageVariationOptions ImageVariationOptions(BinaryData image = default, InternalCreateImageVariationRequestModel? model = default, long? n = default, GeneratedImageFormat? responseFormat = default, GeneratedImageSize? size = default, string endUserId = default) - { - return new ImageVariationOptions( - image, - model, - n, - responseFormat, - size, - endUserId, - additionalBinaryDataProperties: null); - } - public static MessageCreationOptions MessageCreationOptions(Assistants.MessageRole role = default, IEnumerable content = default, IEnumerable attachments = default, IDictionary metadata = default) { content ??= new ChangeTrackingList(); @@ -1098,23 +1013,6 @@ public static FileFromStoreRemovalResult FileFromStoreRemovalResult(string fileI return new FileFromStoreRemovalResult(fileId, removed, "vector_store.file.deleted", additionalBinaryDataProperties: null); } - public static OpenAIModelCollection OpenAIModelCollection(string @object = default, IEnumerable data = default) - { - data ??= new ChangeTrackingList(); - - return new OpenAIModelCollection(@object, data.ToList(), serializedAdditionalRawData: null); - } - - public static OpenAIModel OpenAIModel(string id = default, DateTimeOffset createdAt = default, string ownedBy = default) - { - return new OpenAIModel(id, createdAt, "model", ownedBy, additionalBinaryDataProperties: null); - } - - public static ModelDeletionResult ModelDeletionResult(string modelId = default, bool deleted = default) - { - return new ModelDeletionResult(modelId, deleted, "model", additionalBinaryDataProperties: null); - } - public static InputTranscriptionOptions InputTranscriptionOptions(InputTranscriptionModel? model = default, string language = default, string prompt = default) { return new InputTranscriptionOptions(model, language, prompt, additionalBinaryDataProperties: null); @@ -1262,6 +1160,123 @@ public static ItemRetrievedUpdate ItemRetrievedUpdate(string eventId = default, return new ItemRetrievedUpdate(RealtimeUpdateKind.ItemRetrieved, eventId, additionalBinaryDataProperties: null, item); } + public static OpenAIEmbeddingCollection OpenAIEmbeddingCollection(IEnumerable items = default, string model = default, string @object = default, EmbeddingTokenUsage usage = default) + { + items ??= new ChangeTrackingList(); + + return new OpenAIEmbeddingCollection(items.ToList(), model, @object, usage, default); + } + + public static OpenAIEmbedding OpenAIEmbedding(int index = default, BinaryData embeddingProperty = default, string @object = default) + { + return new OpenAIEmbedding(index, embeddingProperty, @object, default); + } + + public static EmbeddingTokenUsage EmbeddingTokenUsage(int inputTokenCount = default, int totalTokenCount = default) + { + return new EmbeddingTokenUsage(inputTokenCount, totalTokenCount, default); + } + + public static ImageEditOptions ImageEditOptions(BinaryData image = default, string prompt = default, BinaryData mask = default, GeneratedImageBackground? background = default, InternalCreateImageEditRequestModel? model = default, long? n = default, GeneratedImageSize? size = default, GeneratedImageFormat? responseFormat = default, GeneratedImageFileFormat? outputFileFormat = default, int? outputCompressionFactor = default, string endUserId = default, ImageInputFidelity? inputFidelity = default, bool? stream = default, int? partialImages = default, GeneratedImageQuality? quality = default) + { + return new ImageEditOptions( + image, + prompt, + mask, + background, + model, + n, + size, + responseFormat, + outputFileFormat, + outputCompressionFactor, + endUserId, + inputFidelity, + stream, + partialImages, + quality, + additionalBinaryDataProperties: null); + } + + public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable items = default, GeneratedImageBackground? background = default, GeneratedImageFileFormat? outputFileFormat = default, GeneratedImageSize? size = default, GeneratedImageQuality? quality = default, ImageTokenUsage usage = default) + { + items ??= new ChangeTrackingList(); + + return new GeneratedImageCollection( + createdAt, + items.ToList(), + background, + outputFileFormat, + size, + quality, + usage, + additionalBinaryDataProperties: null); + } + + public static GeneratedImage GeneratedImage(BinaryData imageBytes = default, Uri imageUri = default, string revisedPrompt = default) + { + return new GeneratedImage(imageBytes, imageUri, revisedPrompt, additionalBinaryDataProperties: null); + } + + public static ImageTokenUsage ImageTokenUsage(long inputTokenCount = default, long totalTokenCount = default, long outputTokenCount = default, ImageInputTokenUsageDetails inputTokenDetails = default) + { + return new ImageTokenUsage(inputTokenCount, totalTokenCount, outputTokenCount, inputTokenDetails, additionalBinaryDataProperties: null); + } + + public static ImageInputTokenUsageDetails ImageInputTokenUsageDetails(long textTokenCount = default, long imageTokenCount = default) + { + return new ImageInputTokenUsageDetails(textTokenCount, imageTokenCount, additionalBinaryDataProperties: null); + } + + public static ImageGenerationOptions ImageGenerationOptions(string prompt = default, InternalCreateImageRequestModel? model = default, long? n = default, GeneratedImageQuality? quality = default, GeneratedImageFormat? responseFormat = default, GeneratedImageFileFormat? outputFileFormat = default, int? outputCompressionFactor = default, bool? stream = default, int? partialImages = default, GeneratedImageSize? size = default, GeneratedImageModerationLevel? moderationLevel = default, GeneratedImageBackground? background = default, GeneratedImageStyle? style = default, string endUserId = default) + { + return new ImageGenerationOptions( + prompt, + model, + n, + quality, + responseFormat, + outputFileFormat, + outputCompressionFactor, + stream, + partialImages, + size, + moderationLevel, + background, + style, + endUserId, + additionalBinaryDataProperties: null); + } + + public static ImageVariationOptions ImageVariationOptions(BinaryData image = default, InternalCreateImageVariationRequestModel? model = default, long? n = default, GeneratedImageFormat? responseFormat = default, GeneratedImageSize? size = default, string endUserId = default) + { + return new ImageVariationOptions( + image, + model, + n, + responseFormat, + size, + endUserId, + additionalBinaryDataProperties: null); + } + + public static OpenAIModelCollection OpenAIModelCollection(string @object = default, IEnumerable items = default) + { + items ??= new ChangeTrackingList(); + + return new OpenAIModelCollection(@object, items.ToList(), additionalBinaryDataProperties: null); + } + + public static OpenAIModel OpenAIModel(string id = default, DateTimeOffset createdAt = default, string ownedBy = default) + { + return new OpenAIModel(id, createdAt, "model", ownedBy, additionalBinaryDataProperties: null); + } + + public static ModelDeletionResult ModelDeletionResult(string modelId = default, bool deleted = default, string @object = default) + { + return new ModelDeletionResult(modelId, deleted, @object, additionalBinaryDataProperties: null); + } + public static ChatFunctionChoice ChatFunctionChoice() { return new ChatFunctionChoice(default); diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromPathCanParseServiceError.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromPathCanParseServiceError.json index 537469d9..ec7077b7 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromPathCanParseServiceError.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromPathCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848675", "Content-Type": "multipart/form-data; boundary=\"mzZcBizsYaGiCCCq9seS6SJBw=q2HnLOIvwuyFtqcBC2hOKRItHbEL2LeUN7qdMhYVmh3l\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromPathCanParseServiceErrorAsync.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromPathCanParseServiceErrorAsync.json index 93a7e7cd..3e9a22af 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromPathCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromPathCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848675", "Content-Type": "multipart/form-data; boundary=\"I4NnjD4eG8eLIicZJHIwoZ=AFGY_uggLKZlaqwlalFf=pmx4kzdEz90C267N0zXYWhi4kI\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromStreamCanParseServiceError.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromStreamCanParseServiceError.json index 4bdb9c42..2ade78db 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromStreamCanParseServiceError.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromStreamCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848657", "Content-Type": "multipart/form-data; boundary=\"stTkSBXow=dr=INah8gDDfr4VAl23ibO4goHVKfL5j_7_OLeFOsP1wwuTG0PnrAMDiLlUH\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromStreamCanParseServiceErrorAsync.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromStreamCanParseServiceErrorAsync.json index e75c7fb8..3732f741 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromStreamCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditFromStreamCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848657", "Content-Type": "multipart/form-data; boundary=\"H6KYO0J0J8ZzoGuTLJn7J4JsGqCjL=SV3pc4mzV3Rk6kXBZPvc=Ac3C1udTGI0soxYujxX\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingFilePath).json index d1e9b83e..d5552ced 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849025", "Content-Type": "multipart/form-data; boundary=\"jwkOQ5PYDWDq4viEwxjdhg3nIqGdftwD3fzmAW0nWWkLdnz5DrMkQWtTz7tsvCKDkx1DBv\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingFilePath)Async.json index 29a50aac..4982cef1 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849025", "Content-Type": "multipart/form-data; boundary=\"MT_iVwClM9ZFNiCricf=t=N3keM9OJSAdfsm_nu9tNKctQi8=SQGr=PRqdizOhwIONkuN2\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingStream).json index 74f75f95..de416d6b 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849007", "Content-Type": "multipart/form-data; boundary=\"33JNe_XYXm55j4GgGDeo9sbQFgUEw7jpVFye2DhLkQIV5KwocjXS5imxNkaFXw6MMmcrIC\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingStream)Async.json index f64a9b1b..82671ab8 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithBytesResponseWorks(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849007", "Content-Type": "multipart/form-data; boundary=\"uvOzQH0qMnHlAbxZ3p9Suk6ujo_3FsRspGQe0qDAg0VooxEVmZIw7TOvliLxVgE61iuRKH\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromPathCanParseServiceError.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromPathCanParseServiceError.json index e8967138..e25ce779 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromPathCanParseServiceError.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromPathCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011582", "Content-Type": "multipart/form-data; boundary=\"A2S4hWNcZxEP4n40rSB0CVGcVFsTtUs8tqI6YJXePopS3pf66XNl5i7d7VYKgTpaH_UncN\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromPathCanParseServiceErrorAsync.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromPathCanParseServiceErrorAsync.json index 6e4db7bb..aaa6ce33 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromPathCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromPathCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011582", "Content-Type": "multipart/form-data; boundary=\"uQa77QsxNB__8p57fhiuuqrt2B5VzdaQkVVg_HH1MjXxc_Tits0gbv5Qwo68rfjP9G_Svv\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromStreamCanParseServiceError.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromStreamCanParseServiceError.json index 9a497e2d..2af352e9 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromStreamCanParseServiceError.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromStreamCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011546", "Content-Type": "multipart/form-data; boundary=\"W2LG3jEhUrHgPRLlvv5S9jLeZjQhz3GtE9jObukjMVEM=Jmqcsxd7nAbwdTGB29n=vidZ0\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromStreamCanParseServiceErrorAsync.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromStreamCanParseServiceErrorAsync.json index 04d0c077..0f66fc0c 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromStreamCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileFromStreamCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011546", "Content-Type": "multipart/form-data; boundary=\"qCQr1_hVUUwBKyskR8=lMpYt6xNsrR1cYL6xhgyqrQoFIJLi0rkuCIcoLW8ZVzuMUmfPW=\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingFilePath).json index 31652865..0415ccc7 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011932", "Content-Type": "multipart/form-data; boundary=\"HUfDc8g60cTeGaPcHdwXAdZ1za8FiqRFaF5B_M1p3yTQsizirAzU9JlDuMX7GtVXl2lmt1\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingFilePath)Async.json index d0720467..3230961b 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011932", "Content-Type": "multipart/form-data; boundary=\"nJgtVYV4oDC8mIMCeeh6Lx06PAYHUj1Zt4up4Y1dJGQXUO4NepW1tyvkG=kOMRDbs5kBMq\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingStream).json index 5edf1409..5a6e15ca 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011896", "Content-Type": "multipart/form-data; boundary=\"iwE4HHdwFg5g8w_l2fQp7IsyYVH3hkQk2sL_dFlGwR0zlW6yaI8sARvU9T6L_Ox4WhdUUw\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingStream)Async.json index a6f201f7..6396ca7e 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWithBytesResponseWorks(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011896", "Content-Type": "multipart/form-data; boundary=\"7P1vNBbaxLDLfBa9=lndcleVeGBAANwKJJr6OzZ8kmaQ1fPJtNc82Hrk4RYbotH6D5eRiL\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingFilePath).json index 4a2dd1cb..daf34e0e 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011927", "Content-Type": "multipart/form-data; boundary=\"UWWTYfNXUqz4HZDCGKtxkwUffXr4PzO1yXqeXTf9jRyB7SEn4sgesmNoVSzpezG_3HKA=q\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingFilePath)Async.json index 8b3b03fb..5ecc78ad 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011927", "Content-Type": "multipart/form-data; boundary=\"2fREKe5mQySnEqcOcypO59357rUL0JXB4PW=34mavggUjklNAsAPpZjqhi2A8_8heSNJ_t\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingStream).json index 708ba99f..3e017094 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011891", "Content-Type": "multipart/form-data; boundary=\"FIeUT_1A8dFoc6cuH=N5N4shlADrc7z2iPwydJh0bLvVmKCFzuqoaJ1j84Z=eCEk3CftFC\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingStream)Async.json index c539bddc..bcdde58f 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWithMaskFileWorks(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011891", "Content-Type": "multipart/form-data; boundary=\"mS1WzobYH2mEr0mrBzpwXe0WVRsx3vfLITUWmRekIHB0mF7uKEzFovAzWw1aA8HvGjPoFm\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingFilePath).json index 1a1f39a7..cc278be7 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849020", "Content-Type": "multipart/form-data; boundary=\"HK5K7P3qg=6qZyQbB1BKxRaIjoMJwlKIu3HCaAddCO40EPzIWcSnjSLvvMwPLfBE371UGK\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingFilePath)Async.json index 07d4ca9e..2a330b23 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849020", "Content-Type": "multipart/form-data; boundary=\"NmXYKjExU6bTy46dUdCYsR7UjMkz4eksFA_gugPrd_FKwIl8cYsbHxvT=t6FO143sl4CB2\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingStream).json index d501ebd3..b4bc41f6 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849002", "Content-Type": "multipart/form-data; boundary=\"VJPEzvVsMvZaLiL1rBTZ1jUsN_dQ7AamQQxjIvj_X91V2fHkeZgJ4K=O=M2RMTZllh3tli\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingStream)Async.json index 78ca9a20..93afe5d3 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateImageEditWorks(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849002", "Content-Type": "multipart/form-data; boundary=\"ZTFc4bjrVoGqNiMbg5lVlKrZH=Che4fa7TwWOHXJXpeRTxPVtVVf9bMwkrwqNpysPXj7oe\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromPathCanParseServiceError.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromPathCanParseServiceError.json index 26d89c24..90131baf 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromPathCanParseServiceError.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromPathCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848835", "Content-Type": "multipart/form-data; boundary=\"Hr2jSqVrR1jnGt9KmL5NdmLo2iTwUninBjnOTQBMKdTYieVy6db8XfTMf8nsMiqsS5s6Bx\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromPathCanParseServiceErrorAsync.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromPathCanParseServiceErrorAsync.json index e0e6edf5..8ea21c6d 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromPathCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromPathCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848835", "Content-Type": "multipart/form-data; boundary=\"ZscA1SNa_yfUTMyRhtFfEgZ53rQCYt=EcXQct=7BFhgzAEwzpLSNoWFOG0pKQjJ0A1qd=c\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromStreamCanParseServiceError.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromStreamCanParseServiceError.json index 2a37944a..337e2cba 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromStreamCanParseServiceError.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsFromStreamCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848817", "Content-Type": "multipart/form-data; boundary=\"SBV9=gxSM022VatDOT8C_pX4jUBgk__Y9fkuC5vl6CZA_b_Dy9ZW8qzk2nPQ8AFdmlszVM\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingFilePath).json index 1d92006c..19003603 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849185", "Content-Type": "multipart/form-data; boundary=\"1HsqUWORi99nN0mrsBHweyNoHMpe4=i86aKnAKF_=iCdPMbW9q0TQ3IRrRQQhSdZq4G7mQ\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingFilePath)Async.json index 0bc412df..55f18bac 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849185", "Content-Type": "multipart/form-data; boundary=\"K4=JtWou40Lsd9Pow3LSyECpW2QDQ4xntkDZ=GfjgogeY59qpKeF6c_nsCTZR8OmH5DHP=\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingStream).json index 98f752b0..aecaa489 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849167", "Content-Type": "multipart/form-data; boundary=\"9_YjNPqQ=yHE37t0jFwGOVRNJpgCVn2n5b2yS6a1kDI2JcCvkNf4TlFqeagqB_MIO71udN\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingStream)Async.json index 8bd890d6..8368f47a 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithBytesResponseWorks(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849167", "Content-Type": "multipart/form-data; boundary=\"D=VfJ2=Vtiz5t8feX5sFWkKNXImH87LzPcXLn3hzAzCcc7Ja6O2d1S1m4wza1Wp8moNBXg\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromPathCanParseServiceError.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromPathCanParseServiceError.json index 63039b24..d4696804 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromPathCanParseServiceError.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromPathCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011742", "Content-Type": "multipart/form-data; boundary=\"iaBbIyKs9uRiW_5IvoyeJUM=z17vTFXRREc_IAJQXavpvintfPAcq5oltlc7ku=Aq3d2bq\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromPathCanParseServiceErrorAsync.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromPathCanParseServiceErrorAsync.json index 89d0f4af..89ac3023 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromPathCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromPathCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011742", "Content-Type": "multipart/form-data; boundary=\"edqF58OcXalZD_cUhwMIBpsMtTrd8P3LVKxgcorLwFrDmI9392FEzEj46TldsOto61520C\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromStreamCanParseServiceError.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromStreamCanParseServiceError.json index cb333e2d..c91fb1f2 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromStreamCanParseServiceError.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromStreamCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011706", "Content-Type": "multipart/form-data; boundary=\"ML4Tny4nEdts4j08_QOSRp6ly3LSjnQfJErA8wIdQ=xeX45nvVH9JQrgL151EXK=3wlChO\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromStreamCanParseServiceErrorAsync.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromStreamCanParseServiceErrorAsync.json index 899dfed0..1cd73c6f 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromStreamCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileFromStreamCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4011706", "Content-Type": "multipart/form-data; boundary=\"pQm6zKu6rNtno9=EJlNAzhllJPwjUD695UrOWgEe4xKY0Xz5q9S5CLBb7KjRfltw6SsDLX\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingFilePath).json index 1f9a9ddc..83a916ae 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4012092", "Content-Type": "multipart/form-data; boundary=\"F8gXAxiStRjHvHxGJT2aMlHpBL6P_fAY87a7Dy2ZqTxAloYqct84AC6gam2yqT4yI2wuFN\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingFilePath)Async.json index cb9045cb..fd5e97d9 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4012092", "Content-Type": "multipart/form-data; boundary=\"EHpElv2Qdv_7qk98pst3W6LqXoTpyrPqpjvwfBfqZpzXZaWU8SRusZQWMwnyl2VNL0C6q7\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingStream).json index 6150100e..a2e36cc7 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4012056", "Content-Type": "multipart/form-data; boundary=\"Cm2V4zBaYFZ7fAKAgAzxbdmPJewW82K1xwDEKjTMlVmgvPLlmzV3dUQPQHqM=Rjfax2T2p\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingStream)Async.json index eacafa60..9d2785be 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWithBytesResponseWorks(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4012056", "Content-Type": "multipart/form-data; boundary=\"w0wNeivLXT=NJXK6QEZPM=h6H_onaeQYsBma5L3J38ZyQKHDoM=8hu4nssOWeco=i9sfAL\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingFilePath).json index 0bd6c850..451bb7b5 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4012087", "Content-Type": "multipart/form-data; boundary=\"gqKIM2JrZoSd0Uw7eG_8XsldAqe5SukJ_1tDbnq6fwHZK6GEOq_T3nZ4mdAqqNy0BaPjQ=\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingFilePath)Async.json index fd89bbbd..fcefa258 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4012087", "Content-Type": "multipart/form-data; boundary=\"8yXk0E1Zb12MKLuyfD8Xgtd=jKAZsHND=hGRSfM4cZMDYp2a4_bx3IFdFoiz1j5oKM6Nn8\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingStream).json index b2cdd42a..4b44bf0c 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4012051", "Content-Type": "multipart/form-data; boundary=\"WYa8=t5=UNBmtvloHCPjHn4C0hksSTv4Bi7CzGEtz=lB=tov8RJ4T=YqHgYfIfjMUk01Zf\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingStream)Async.json index 5caeadca..9b00eba3 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWithMaskFileWorks(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "4012051", "Content-Type": "multipart/form-data; boundary=\"KhEYkDHzDT2gjbFXZBeWlBRY=RXe4Jj2=THVh4nIlAYipUtdzAfqzhS06VUxxvP6vX3rxG\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingFilePath).json index e400fb2d..24d68a4e 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849180", "Content-Type": "multipart/form-data; boundary=\"5G3V6Oxv2znWV3iz1KSck8=LjHY_tLu3prBFw2n9HGbj_n7DaTewJ7RAItlkCp5hAA7gd_\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingFilePath)Async.json index a92d281c..193e5976 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849180", "Content-Type": "multipart/form-data; boundary=\"rXKIJF4fCwUXs8OHN9l_NdaxIx1ZlN6NJf6iywGx61tefdecWfB_uCiBV=10awkHhrp3fQ\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingStream).json index 562b901f..ab56985c 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849162", "Content-Type": "multipart/form-data; boundary=\"bntcW_MK=FCC5zOU00hNqSODlQTq6L1yObXEN6p8_8DCV=uB92PUi9lMJXMcvinX25UjqM\"", diff --git a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingStream)Async.json index 0ff60903..499bc741 100644 --- a/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GenerateMultipleImageEditsWorks(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "849162", "Content-Type": "multipart/form-data; boundary=\"3b7VZ=tA_4I3fSOK1qBaCmQj6DtQENPy3RpxTD5=Uv0PA=rKOnlNLV4F7oVneE7snVM74s\"", diff --git a/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingFilePath).json b/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingFilePath).json index b84fc07a..0b77c49e 100644 --- a/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingFilePath).json +++ b/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingFilePath).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848849", "Content-Type": "multipart/form-data; boundary=\"XRrcoBrJipZ4R4XI_1DJbgWPUgqeReYF59AflJeVRAzUNIpWiD5CVsJdmZkajDGPX0dPjx\"", diff --git a/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingFilePath)Async.json b/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingFilePath)Async.json index 21e853d7..0fa94a1b 100644 --- a/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingFilePath)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingFilePath)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848849", "Content-Type": "multipart/form-data; boundary=\"E5KSrZkPLddofWLODCCXkCntYGQVzKuhGjHIXJf22wVZl2Aupgg1D1Re7fYrAcmvG_D6eB\"", diff --git a/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingStream).json b/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingStream).json index 1772e8d4..d57daa84 100644 --- a/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingStream).json +++ b/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingStream).json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848831", "Content-Type": "multipart/form-data; boundary=\"27W2O0vTQ0kRr2ixU7atX4UatZzE4vrui5wM0_LG06bU4BOCnBYXlxX4HKlEmYK4SSw=Ze\"", diff --git a/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingStream)Async.json b/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingStream)Async.json index eb2541ab..034f160e 100644 --- a/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingStream)Async.json +++ b/tests/SessionRecords/ImageEditsTests/GptImage1Works(UsingStream)Async.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/edits", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "848831", "Content-Type": "multipart/form-data; boundary=\"eKxf7_gJd0Q=p4dMYuO1tCj32nds8PhmLrHvfzEJz4lMwYCLhvFLevjkTdI8hi7s10vxoZ\"", diff --git a/tests/SessionRecords/ImagesTests/BasicGenerationWorks.json b/tests/SessionRecords/ImagesTests/BasicGenerationWorks.json index ffd8ea64..2b9e538a 100644 --- a/tests/SessionRecords/ImagesTests/BasicGenerationWorks.json +++ b/tests/SessionRecords/ImagesTests/BasicGenerationWorks.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "54", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/BasicGenerationWorksAsync.json b/tests/SessionRecords/ImagesTests/BasicGenerationWorksAsync.json index 7ab1c6e1..5cc43b4b 100644 --- a/tests/SessionRecords/ImagesTests/BasicGenerationWorksAsync.json +++ b/tests/SessionRecords/ImagesTests/BasicGenerationWorksAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "54", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerateImageCanParseServiceError.json b/tests/SessionRecords/ImagesTests/GenerateImageCanParseServiceError.json index c4d1a0a2..2ec61725 100644 --- a/tests/SessionRecords/ImagesTests/GenerateImageCanParseServiceError.json +++ b/tests/SessionRecords/ImagesTests/GenerateImageCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerateImageCanParseServiceErrorAsync.json b/tests/SessionRecords/ImagesTests/GenerateImageCanParseServiceErrorAsync.json index 9da44d88..10d48fe4 100644 --- a/tests/SessionRecords/ImagesTests/GenerateImageCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImagesTests/GenerateImageCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerateImagesCanParseServiceError.json b/tests/SessionRecords/ImagesTests/GenerateImagesCanParseServiceError.json index 51cb11ce..64740312 100644 --- a/tests/SessionRecords/ImagesTests/GenerateImagesCanParseServiceError.json +++ b/tests/SessionRecords/ImagesTests/GenerateImagesCanParseServiceError.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "63", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerateImagesCanParseServiceErrorAsync.json b/tests/SessionRecords/ImagesTests/GenerateImagesCanParseServiceErrorAsync.json index 6607204f..c497b986 100644 --- a/tests/SessionRecords/ImagesTests/GenerateImagesCanParseServiceErrorAsync.json +++ b/tests/SessionRecords/ImagesTests/GenerateImagesCanParseServiceErrorAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "63", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWithBytesResponseWorks.json b/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWithBytesResponseWorks.json index 296824ec..8955fbf0 100644 --- a/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWithBytesResponseWorks.json +++ b/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWithBytesResponseWorks.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "63", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWithBytesResponseWorksAsync.json b/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWithBytesResponseWorksAsync.json index b3fb5e56..7f785f49 100644 --- a/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWithBytesResponseWorksAsync.json +++ b/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWithBytesResponseWorksAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "63", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWorks.json b/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWorks.json index a3df415d..bddf1bb6 100644 --- a/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWorks.json +++ b/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWorks.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "101", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWorksAsync.json b/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWorksAsync.json index d685ad59..e2c2dbf6 100644 --- a/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWorksAsync.json +++ b/tests/SessionRecords/ImagesTests/GenerationOfMultipleImagesWorksAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "101", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerationWithBytesResponseWorks.json b/tests/SessionRecords/ImagesTests/GenerationWithBytesResponseWorks.json index 47e225a4..b9676804 100644 --- a/tests/SessionRecords/ImagesTests/GenerationWithBytesResponseWorks.json +++ b/tests/SessionRecords/ImagesTests/GenerationWithBytesResponseWorks.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "83", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerationWithBytesResponseWorksAsync.json b/tests/SessionRecords/ImagesTests/GenerationWithBytesResponseWorksAsync.json index 9d12e6ee..d08d77ec 100644 --- a/tests/SessionRecords/ImagesTests/GenerationWithBytesResponseWorksAsync.json +++ b/tests/SessionRecords/ImagesTests/GenerationWithBytesResponseWorksAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "83", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerationWithOptionsWorks.json b/tests/SessionRecords/ImagesTests/GenerationWithOptionsWorks.json index cb8427d1..f99aaf21 100644 --- a/tests/SessionRecords/ImagesTests/GenerationWithOptionsWorks.json +++ b/tests/SessionRecords/ImagesTests/GenerationWithOptionsWorks.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "93", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GenerationWithOptionsWorksAsync.json b/tests/SessionRecords/ImagesTests/GenerationWithOptionsWorksAsync.json index 5fd584aa..71a144d3 100644 --- a/tests/SessionRecords/ImagesTests/GenerationWithOptionsWorksAsync.json +++ b/tests/SessionRecords/ImagesTests/GenerationWithOptionsWorksAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "93", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GptImage1Works.json b/tests/SessionRecords/ImagesTests/GptImage1Works.json index 9a7a8997..be985acc 100644 --- a/tests/SessionRecords/ImagesTests/GptImage1Works.json +++ b/tests/SessionRecords/ImagesTests/GptImage1Works.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "175", "Content-Type": "application/json", diff --git a/tests/SessionRecords/ImagesTests/GptImage1WorksAsync.json b/tests/SessionRecords/ImagesTests/GptImage1WorksAsync.json index 0472e91d..95b85437 100644 --- a/tests/SessionRecords/ImagesTests/GptImage1WorksAsync.json +++ b/tests/SessionRecords/ImagesTests/GptImage1WorksAsync.json @@ -4,7 +4,7 @@ "RequestUri": "https://api.openai.com/v1/images/generations", "RequestMethod": "POST", "RequestHeaders": { - "Accept": "application/json", + "Accept": "application/json, text/event-stream", "Authorization": "Sanitized", "Content-Length": "175", "Content-Type": "application/json", diff --git a/tspCodeModel.json b/tspCodeModel.json index 00a97ecb..1a120d05 100644 --- a/tspCodeModel.json +++ b/tspCodeModel.json @@ -3335,8 +3335,8 @@ { "$id": "274", "kind": "enum", - "name": "CreateEmbeddingRequestModel", - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.model.anonymous", + "name": "OpenAIFilePurpose", + "crossLanguageDefinitionId": "OpenAI.OpenAIFile.purpose.anonymous", "valueType": { "$id": "275", "kind": "string", @@ -3348,8 +3348,8 @@ { "$id": "276", "kind": "enumvalue", - "name": "text-embedding-ada-002", - "value": "text-embedding-ada-002", + "name": "assistants", + "value": "assistants", "valueType": { "$ref": "275" }, @@ -3361,8 +3361,8 @@ { "$id": "277", "kind": "enumvalue", - "name": "text-embedding-3-small", - "value": "text-embedding-3-small", + "name": "assistants_output", + "value": "assistants_output", "valueType": { "$ref": "275" }, @@ -3374,196 +3374,91 @@ { "$id": "278", "kind": "enumvalue", - "name": "text-embedding-3-large", - "value": "text-embedding-3-large", - "valueType": { - "$ref": "275" - }, - "enumType": { - "$ref": "274" - }, - "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "279", - "kind": "enum", - "name": "CreateEmbeddingRequestEncodingFormat", - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.encoding_format.anonymous", - "valueType": { - "$id": "280", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "281", - "kind": "enumvalue", - "name": "float", - "value": "float", - "valueType": { - "$ref": "280" - }, - "enumType": { - "$ref": "279" - }, - "decorators": [] - }, - { - "$id": "282", - "kind": "enumvalue", - "name": "base64", - "value": "base64", - "valueType": { - "$ref": "280" - }, - "enumType": { - "$ref": "279" - }, - "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "283", - "kind": "enum", - "name": "OpenAIFilePurpose", - "crossLanguageDefinitionId": "OpenAI.OpenAIFile.purpose.anonymous", - "valueType": { - "$id": "284", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "285", - "kind": "enumvalue", - "name": "assistants", - "value": "assistants", - "valueType": { - "$ref": "284" - }, - "enumType": { - "$ref": "283" - }, - "decorators": [] - }, - { - "$id": "286", - "kind": "enumvalue", - "name": "assistants_output", - "value": "assistants_output", - "valueType": { - "$ref": "284" - }, - "enumType": { - "$ref": "283" - }, - "decorators": [] - }, - { - "$id": "287", - "kind": "enumvalue", "name": "batch", "value": "batch", "valueType": { - "$ref": "284" + "$ref": "275" }, "enumType": { - "$ref": "283" + "$ref": "274" }, "decorators": [] }, { - "$id": "288", + "$id": "279", "kind": "enumvalue", "name": "batch_output", "value": "batch_output", "valueType": { - "$ref": "284" + "$ref": "275" }, "enumType": { - "$ref": "283" + "$ref": "274" }, "decorators": [] }, { - "$id": "289", + "$id": "280", "kind": "enumvalue", "name": "fine-tune", "value": "fine-tune", "valueType": { - "$ref": "284" + "$ref": "275" }, "enumType": { - "$ref": "283" + "$ref": "274" }, "decorators": [] }, { - "$id": "290", + "$id": "281", "kind": "enumvalue", "name": "fine-tune-results", "value": "fine-tune-results", "valueType": { - "$ref": "284" + "$ref": "275" }, "enumType": { - "$ref": "283" + "$ref": "274" }, "decorators": [] }, { - "$id": "291", + "$id": "282", "kind": "enumvalue", "name": "vision", "value": "vision", "valueType": { - "$ref": "284" + "$ref": "275" }, "enumType": { - "$ref": "283" + "$ref": "274" }, "decorators": [] }, { - "$id": "292", + "$id": "283", "kind": "enumvalue", "name": "user_data", "value": "user_data", "valueType": { - "$ref": "284" + "$ref": "275" }, "enumType": { - "$ref": "283" + "$ref": "274" }, "decorators": [] }, { - "$id": "293", + "$id": "284", "kind": "enumvalue", "name": "evals", "value": "evals", "valueType": { - "$ref": "284" + "$ref": "275" }, "enumType": { - "$ref": "283" + "$ref": "274" }, "decorators": [] } @@ -3575,12 +3470,12 @@ "decorators": [] }, { - "$id": "294", + "$id": "285", "kind": "enum", "name": "OpenAIFileStatus", "crossLanguageDefinitionId": "OpenAI.OpenAIFile.status.anonymous", "valueType": { - "$id": "295", + "$id": "286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3588,41 +3483,41 @@ }, "values": [ { - "$id": "296", + "$id": "287", "kind": "enumvalue", "name": "uploaded", "value": "uploaded", "valueType": { - "$ref": "295" + "$ref": "286" }, "enumType": { - "$ref": "294" + "$ref": "285" }, "decorators": [] }, { - "$id": "297", + "$id": "288", "kind": "enumvalue", "name": "processed", "value": "processed", "valueType": { - "$ref": "295" + "$ref": "286" }, "enumType": { - "$ref": "294" + "$ref": "285" }, "decorators": [] }, { - "$id": "298", + "$id": "289", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "295" + "$ref": "286" }, "enumType": { - "$ref": "294" + "$ref": "285" }, "decorators": [] } @@ -3634,12 +3529,12 @@ "decorators": [] }, { - "$id": "299", + "$id": "290", "kind": "enum", "name": "CreateFileRequestPurpose", "crossLanguageDefinitionId": "OpenAI.CreateFileRequest.purpose.anonymous", "valueType": { - "$id": "300", + "$id": "291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3647,80 +3542,80 @@ }, "values": [ { - "$id": "301", + "$id": "292", "kind": "enumvalue", "name": "assistants", "value": "assistants", "valueType": { - "$ref": "300" + "$ref": "291" }, "enumType": { - "$ref": "299" + "$ref": "290" }, "decorators": [] }, { - "$id": "302", + "$id": "293", "kind": "enumvalue", "name": "batch", "value": "batch", "valueType": { - "$ref": "300" + "$ref": "291" }, "enumType": { - "$ref": "299" + "$ref": "290" }, "decorators": [] }, { - "$id": "303", + "$id": "294", "kind": "enumvalue", "name": "fine-tune", "value": "fine-tune", "valueType": { - "$ref": "300" + "$ref": "291" }, "enumType": { - "$ref": "299" + "$ref": "290" }, "decorators": [] }, { - "$id": "304", + "$id": "295", "kind": "enumvalue", "name": "vision", "value": "vision", "valueType": { - "$ref": "300" + "$ref": "291" }, "enumType": { - "$ref": "299" + "$ref": "290" }, "decorators": [] }, { - "$id": "305", + "$id": "296", "kind": "enumvalue", "name": "user_data", "value": "user_data", "valueType": { - "$ref": "300" + "$ref": "291" }, "enumType": { - "$ref": "299" + "$ref": "290" }, "decorators": [] }, { - "$id": "306", + "$id": "297", "kind": "enumvalue", "name": "evals", "value": "evals", "valueType": { - "$ref": "300" + "$ref": "291" }, "enumType": { - "$ref": "299" + "$ref": "290" }, "decorators": [] } @@ -3732,12 +3627,12 @@ "decorators": [] }, { - "$id": "307", + "$id": "298", "kind": "enum", "name": "CreateFineTuningJobRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequest.model.anonymous", "valueType": { - "$id": "308", + "$id": "299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3745,54 +3640,54 @@ }, "values": [ { - "$id": "309", + "$id": "300", "kind": "enumvalue", "name": "babbage-002", "value": "babbage-002", "valueType": { - "$ref": "308" + "$ref": "299" }, "enumType": { - "$ref": "307" + "$ref": "298" }, "decorators": [] }, { - "$id": "310", + "$id": "301", "kind": "enumvalue", "name": "davinci-002", "value": "davinci-002", "valueType": { - "$ref": "308" + "$ref": "299" }, "enumType": { - "$ref": "307" + "$ref": "298" }, "decorators": [] }, { - "$id": "311", + "$id": "302", "kind": "enumvalue", "name": "gpt-3.5-turbo", "value": "gpt-3.5-turbo", "valueType": { - "$ref": "308" + "$ref": "299" }, "enumType": { - "$ref": "307" + "$ref": "298" }, "decorators": [] }, { - "$id": "312", + "$id": "303", "kind": "enumvalue", "name": "gpt-4o-mini", "value": "gpt-4o-mini", "valueType": { - "$ref": "308" + "$ref": "299" }, "enumType": { - "$ref": "307" + "$ref": "298" }, "decorators": [] } @@ -3804,12 +3699,12 @@ "decorators": [] }, { - "$id": "313", + "$id": "304", "kind": "enum", "name": "CreateFineTuningJobRequestIntegrationType", "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestIntegration.type.anonymous", "valueType": { - "$id": "314", + "$id": "305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3817,15 +3712,15 @@ }, "values": [ { - "$id": "315", + "$id": "306", "kind": "enumvalue", "name": "wandb", "value": "wandb", "valueType": { - "$ref": "314" + "$ref": "305" }, "enumType": { - "$ref": "313" + "$ref": "304" }, "decorators": [] } @@ -3837,12 +3732,12 @@ "decorators": [] }, { - "$id": "316", + "$id": "307", "kind": "enum", "name": "FineTuneMethodType", "crossLanguageDefinitionId": "OpenAI.FineTuneMethod.type.anonymous", "valueType": { - "$id": "317", + "$id": "308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3850,41 +3745,41 @@ }, "values": [ { - "$id": "318", + "$id": "309", "kind": "enumvalue", "name": "supervised", "value": "supervised", "valueType": { - "$ref": "317" + "$ref": "308" }, "enumType": { - "$ref": "316" + "$ref": "307" }, "decorators": [] }, { - "$id": "319", + "$id": "310", "kind": "enumvalue", "name": "dpo", "value": "dpo", "valueType": { - "$ref": "317" + "$ref": "308" }, "enumType": { - "$ref": "316" + "$ref": "307" }, "decorators": [] }, { - "$id": "320", + "$id": "311", "kind": "enumvalue", "name": "reinforcement", "value": "reinforcement", "valueType": { - "$ref": "317" + "$ref": "308" }, "enumType": { - "$ref": "316" + "$ref": "307" }, "decorators": [] } @@ -3896,12 +3791,12 @@ "decorators": [] }, { - "$id": "321", + "$id": "312", "kind": "enum", "name": "GraderStringCheckOperation", "crossLanguageDefinitionId": "OpenAI.GraderStringCheck.operation.anonymous", "valueType": { - "$id": "322", + "$id": "313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3909,54 +3804,54 @@ }, "values": [ { - "$id": "323", + "$id": "314", "kind": "enumvalue", "name": "eq", "value": "eq", "valueType": { - "$ref": "322" + "$ref": "313" }, "enumType": { - "$ref": "321" + "$ref": "312" }, "decorators": [] }, { - "$id": "324", + "$id": "315", "kind": "enumvalue", "name": "ne", "value": "ne", "valueType": { - "$ref": "322" + "$ref": "313" }, "enumType": { - "$ref": "321" + "$ref": "312" }, "decorators": [] }, { - "$id": "325", + "$id": "316", "kind": "enumvalue", "name": "like", "value": "like", "valueType": { - "$ref": "322" + "$ref": "313" }, "enumType": { - "$ref": "321" + "$ref": "312" }, "decorators": [] }, { - "$id": "326", + "$id": "317", "kind": "enumvalue", "name": "ilike", "value": "ilike", "valueType": { - "$ref": "322" + "$ref": "313" }, "enumType": { - "$ref": "321" + "$ref": "312" }, "decorators": [] } @@ -3968,12 +3863,12 @@ "decorators": [] }, { - "$id": "327", + "$id": "318", "kind": "enum", "name": "GraderType", "crossLanguageDefinitionId": "OpenAI.GraderType", "valueType": { - "$id": "328", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3981,80 +3876,80 @@ }, "values": [ { - "$id": "329", + "$id": "320", "kind": "enumvalue", "name": "string_check", "value": "string_check", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "327" + "$ref": "318" }, "decorators": [] }, { - "$id": "330", + "$id": "321", "kind": "enumvalue", "name": "text_similarity", "value": "text_similarity", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "327" + "$ref": "318" }, "decorators": [] }, { - "$id": "331", + "$id": "322", "kind": "enumvalue", "name": "score_model", "value": "score_model", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "327" + "$ref": "318" }, "decorators": [] }, { - "$id": "332", + "$id": "323", "kind": "enumvalue", "name": "label_model", "value": "label_model", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "327" + "$ref": "318" }, "decorators": [] }, { - "$id": "333", + "$id": "324", "kind": "enumvalue", "name": "python", "value": "python", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "327" + "$ref": "318" }, "decorators": [] }, { - "$id": "334", + "$id": "325", "kind": "enumvalue", "name": "multi", "value": "multi", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "327" + "$ref": "318" }, "decorators": [] } @@ -4066,12 +3961,12 @@ "decorators": [] }, { - "$id": "335", + "$id": "326", "kind": "enum", "name": "GraderTextSimilarityEvaluationMetric", "crossLanguageDefinitionId": "OpenAI.GraderTextSimilarity.evaluation_metric.anonymous", "valueType": { - "$id": "336", + "$id": "327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4079,132 +3974,132 @@ }, "values": [ { - "$id": "337", + "$id": "328", "kind": "enumvalue", "name": "fuzzy_match", "value": "fuzzy_match", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "338", + "$id": "329", "kind": "enumvalue", "name": "bleu", "value": "bleu", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "339", + "$id": "330", "kind": "enumvalue", "name": "gleu", "value": "gleu", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "340", + "$id": "331", "kind": "enumvalue", "name": "meteor", "value": "meteor", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "341", + "$id": "332", "kind": "enumvalue", "name": "rouge_1", "value": "rouge_1", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "342", + "$id": "333", "kind": "enumvalue", "name": "rouge_2", "value": "rouge_2", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "343", + "$id": "334", "kind": "enumvalue", "name": "rouge_3", "value": "rouge_3", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "344", + "$id": "335", "kind": "enumvalue", "name": "rouge_4", "value": "rouge_4", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "345", + "$id": "336", "kind": "enumvalue", "name": "rouge_5", "value": "rouge_5", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] }, { - "$id": "346", + "$id": "337", "kind": "enumvalue", "name": "rouge_l", "value": "rouge_l", "valueType": { - "$ref": "336" + "$ref": "327" }, "enumType": { - "$ref": "335" + "$ref": "326" }, "decorators": [] } @@ -4216,12 +4111,12 @@ "decorators": [] }, { - "$id": "347", + "$id": "338", "kind": "enum", "name": "EvalItemRole", "crossLanguageDefinitionId": "OpenAI.EvalItem.role.anonymous", "valueType": { - "$id": "348", + "$id": "339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4229,54 +4124,54 @@ }, "values": [ { - "$id": "349", + "$id": "340", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "348" + "$ref": "339" }, "enumType": { - "$ref": "347" + "$ref": "338" }, "decorators": [] }, { - "$id": "350", + "$id": "341", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "348" + "$ref": "339" }, "enumType": { - "$ref": "347" + "$ref": "338" }, "decorators": [] }, { - "$id": "351", + "$id": "342", "kind": "enumvalue", "name": "system", "value": "system", "valueType": { - "$ref": "348" + "$ref": "339" }, "enumType": { - "$ref": "347" + "$ref": "338" }, "decorators": [] }, { - "$id": "352", + "$id": "343", "kind": "enumvalue", "name": "developer", "value": "developer", "valueType": { - "$ref": "348" + "$ref": "339" }, "enumType": { - "$ref": "347" + "$ref": "338" }, "decorators": [] } @@ -4288,12 +4183,12 @@ "decorators": [] }, { - "$id": "353", + "$id": "344", "kind": "enum", "name": "EvalItemContentType", "crossLanguageDefinitionId": "OpenAI.EvalItemContentType", "valueType": { - "$id": "354", + "$id": "345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4301,28 +4196,28 @@ }, "values": [ { - "$id": "355", + "$id": "346", "kind": "enumvalue", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "354" + "$ref": "345" }, "enumType": { - "$ref": "353" + "$ref": "344" }, "decorators": [] }, { - "$id": "356", + "$id": "347", "kind": "enumvalue", "name": "output_text", "value": "output_text", "valueType": { - "$ref": "354" + "$ref": "345" }, "enumType": { - "$ref": "353" + "$ref": "344" }, "decorators": [] } @@ -4334,12 +4229,12 @@ "decorators": [] }, { - "$id": "357", + "$id": "348", "kind": "enum", "name": "EvalItemType", "crossLanguageDefinitionId": "", "valueType": { - "$id": "358", + "$id": "349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4347,12 +4242,12 @@ }, "values": [ { - "$id": "359", + "$id": "350", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$id": "360", + "$id": "351", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -4360,7 +4255,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "357" + "$ref": "348" }, "decorators": [] } @@ -4372,12 +4267,12 @@ "decorators": [] }, { - "$id": "361", + "$id": "352", "kind": "enum", "name": "FineTuneReinforcementHyperparametersReasoningEffort", "crossLanguageDefinitionId": "OpenAI.FineTuneReinforcementHyperparameters.reasoning_effort.anonymous", "valueType": { - "$id": "362", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4385,54 +4280,54 @@ }, "values": [ { - "$id": "363", + "$id": "354", "kind": "enumvalue", "name": "default", "value": "default", "valueType": { - "$ref": "362" + "$ref": "353" }, "enumType": { - "$ref": "361" + "$ref": "352" }, "decorators": [] }, { - "$id": "364", + "$id": "355", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "362" + "$ref": "353" }, "enumType": { - "$ref": "361" + "$ref": "352" }, "decorators": [] }, { - "$id": "365", + "$id": "356", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "362" + "$ref": "353" }, "enumType": { - "$ref": "361" + "$ref": "352" }, "decorators": [] }, { - "$id": "366", + "$id": "357", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "362" + "$ref": "353" }, "enumType": { - "$ref": "361" + "$ref": "352" }, "decorators": [] } @@ -4444,12 +4339,12 @@ "decorators": [] }, { - "$id": "367", + "$id": "358", "kind": "enum", "name": "FineTuningJobStatus", "crossLanguageDefinitionId": "OpenAI.FineTuningJob.status.anonymous", "valueType": { - "$id": "368", + "$id": "359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4457,80 +4352,80 @@ }, "values": [ { - "$id": "369", + "$id": "360", "kind": "enumvalue", "name": "validating_files", "value": "validating_files", "valueType": { - "$ref": "368" + "$ref": "359" }, "enumType": { - "$ref": "367" + "$ref": "358" }, "decorators": [] }, { - "$id": "370", + "$id": "361", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "368" + "$ref": "359" }, "enumType": { - "$ref": "367" + "$ref": "358" }, "decorators": [] }, { - "$id": "371", + "$id": "362", "kind": "enumvalue", "name": "running", "value": "running", "valueType": { - "$ref": "368" + "$ref": "359" }, "enumType": { - "$ref": "367" + "$ref": "358" }, "decorators": [] }, { - "$id": "372", + "$id": "363", "kind": "enumvalue", "name": "succeeded", "value": "succeeded", "valueType": { - "$ref": "368" + "$ref": "359" }, "enumType": { - "$ref": "367" + "$ref": "358" }, "decorators": [] }, { - "$id": "373", + "$id": "364", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "368" + "$ref": "359" }, "enumType": { - "$ref": "367" + "$ref": "358" }, "decorators": [] }, { - "$id": "374", + "$id": "365", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "368" + "$ref": "359" }, "enumType": { - "$ref": "367" + "$ref": "358" }, "decorators": [] } @@ -4542,12 +4437,12 @@ "decorators": [] }, { - "$id": "375", + "$id": "366", "kind": "enum", "name": "FineTuningIntegrationType", "crossLanguageDefinitionId": "OpenAI.FineTuningIntegration.type.anonymous", "valueType": { - "$id": "376", + "$id": "367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4555,15 +4450,15 @@ }, "values": [ { - "$id": "377", + "$id": "368", "kind": "enumvalue", "name": "wandb", "value": "wandb", "valueType": { - "$ref": "376" + "$ref": "367" }, "enumType": { - "$ref": "375" + "$ref": "366" }, "decorators": [] } @@ -4575,12 +4470,12 @@ "decorators": [] }, { - "$id": "378", + "$id": "369", "kind": "enum", "name": "FineTuningJobEventLevel", "crossLanguageDefinitionId": "OpenAI.FineTuningJobEvent.level.anonymous", "valueType": { - "$id": "379", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4588,41 +4483,41 @@ }, "values": [ { - "$id": "380", + "$id": "371", "kind": "enumvalue", "name": "info", "value": "info", "valueType": { - "$ref": "379" + "$ref": "370" }, "enumType": { - "$ref": "378" + "$ref": "369" }, "decorators": [] }, { - "$id": "381", + "$id": "372", "kind": "enumvalue", "name": "warn", "value": "warn", "valueType": { - "$ref": "379" + "$ref": "370" }, "enumType": { - "$ref": "378" + "$ref": "369" }, "decorators": [] }, { - "$id": "382", + "$id": "373", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "379" + "$ref": "370" }, "enumType": { - "$ref": "378" + "$ref": "369" }, "decorators": [] } @@ -4634,12 +4529,12 @@ "decorators": [] }, { - "$id": "383", + "$id": "374", "kind": "enum", "name": "FineTuningJobEventType", "crossLanguageDefinitionId": "OpenAI.FineTuningJobEvent.type.anonymous", "valueType": { - "$id": "384", + "$id": "375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4647,28 +4542,28 @@ }, "values": [ { - "$id": "385", + "$id": "376", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$ref": "384" + "$ref": "375" }, "enumType": { - "$ref": "383" + "$ref": "374" }, "decorators": [] }, { - "$id": "386", + "$id": "377", "kind": "enumvalue", "name": "metrics", "value": "metrics", "valueType": { - "$ref": "384" + "$ref": "375" }, "enumType": { - "$ref": "383" + "$ref": "374" }, "decorators": [] } @@ -4680,12 +4575,12 @@ "decorators": [] }, { - "$id": "387", + "$id": "378", "kind": "enum", "name": "EvalDataSourceConfigType", "crossLanguageDefinitionId": "OpenAI.EvalDataSourceConfigType", "valueType": { - "$id": "388", + "$id": "379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4693,41 +4588,41 @@ }, "values": [ { - "$id": "389", + "$id": "380", "kind": "enumvalue", "name": "custom", "value": "custom", "valueType": { - "$ref": "388" + "$ref": "379" }, "enumType": { - "$ref": "387" + "$ref": "378" }, "decorators": [] }, { - "$id": "390", + "$id": "381", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "388" + "$ref": "379" }, "enumType": { - "$ref": "387" + "$ref": "378" }, "decorators": [] }, { - "$id": "391", + "$id": "382", "kind": "enumvalue", "name": "stored_completions", "value": "stored_completions", "valueType": { - "$ref": "388" + "$ref": "379" }, "enumType": { - "$ref": "387" + "$ref": "378" }, "decorators": [] } @@ -4739,12 +4634,12 @@ "decorators": [] }, { - "$id": "392", + "$id": "383", "kind": "enum", "name": "EvalRunDataSourceType", "crossLanguageDefinitionId": "OpenAI.EvalRunDataSourceType", "valueType": { - "$id": "393", + "$id": "384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4752,41 +4647,41 @@ }, "values": [ { - "$id": "394", + "$id": "385", "kind": "enumvalue", "name": "jsonl", "value": "jsonl", "valueType": { - "$ref": "393" + "$ref": "384" }, "enumType": { - "$ref": "392" + "$ref": "383" }, "decorators": [] }, { - "$id": "395", + "$id": "386", "kind": "enumvalue", "name": "completions", "value": "completions", "valueType": { - "$ref": "393" + "$ref": "384" }, "enumType": { - "$ref": "392" + "$ref": "383" }, "decorators": [] }, { - "$id": "396", + "$id": "387", "kind": "enumvalue", "name": "responses", "value": "responses", "valueType": { - "$ref": "393" + "$ref": "384" }, "enumType": { - "$ref": "392" + "$ref": "383" }, "decorators": [] } @@ -4798,12 +4693,12 @@ "decorators": [] }, { - "$id": "397", + "$id": "388", "kind": "enum", "name": "EvalRunDataContentSourceType", "crossLanguageDefinitionId": "OpenAI.EvalRunDataContentSourceType", "valueType": { - "$id": "398", + "$id": "389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4811,54 +4706,54 @@ }, "values": [ { - "$id": "399", + "$id": "390", "kind": "enumvalue", "name": "file_id", "value": "file_id", "valueType": { - "$ref": "398" + "$ref": "389" }, "enumType": { - "$ref": "397" + "$ref": "388" }, "decorators": [] }, { - "$id": "400", + "$id": "391", "kind": "enumvalue", "name": "file_content", "value": "file_content", "valueType": { - "$ref": "398" + "$ref": "389" }, "enumType": { - "$ref": "397" + "$ref": "388" }, "decorators": [] }, { - "$id": "401", + "$id": "392", "kind": "enumvalue", "name": "stored_completions", "value": "stored_completions", "valueType": { - "$ref": "398" + "$ref": "389" }, "enumType": { - "$ref": "397" + "$ref": "388" }, "decorators": [] }, { - "$id": "402", + "$id": "393", "kind": "enumvalue", "name": "responses", "value": "responses", "valueType": { - "$ref": "398" + "$ref": "389" }, "enumType": { - "$ref": "397" + "$ref": "388" }, "decorators": [] } @@ -4870,12 +4765,12 @@ "decorators": [] }, { - "$id": "403", + "$id": "394", "kind": "enum", "name": "ResponseTextFormatConfigurationType", "crossLanguageDefinitionId": "OpenAI.ResponseTextFormatConfigurationType", "valueType": { - "$id": "404", + "$id": "395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4883,41 +4778,41 @@ }, "values": [ { - "$id": "405", + "$id": "396", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "404" + "$ref": "395" }, "enumType": { - "$ref": "403" + "$ref": "394" }, "decorators": [] }, { - "$id": "406", + "$id": "397", "kind": "enumvalue", "name": "json_schema", "value": "json_schema", "valueType": { - "$ref": "404" + "$ref": "395" }, "enumType": { - "$ref": "403" + "$ref": "394" }, "decorators": [] }, { - "$id": "407", + "$id": "398", "kind": "enumvalue", "name": "json_object", "value": "json_object", "valueType": { - "$ref": "404" + "$ref": "395" }, "enumType": { - "$ref": "403" + "$ref": "394" }, "decorators": [] } @@ -4930,12 +4825,12 @@ "decorators": [] }, { - "$id": "408", + "$id": "399", "kind": "enum", "name": "ToolType", "crossLanguageDefinitionId": "OpenAI.ToolType", "valueType": { - "$id": "409", + "$id": "400", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4943,119 +4838,119 @@ }, "values": [ { - "$id": "410", + "$id": "401", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] }, { - "$id": "411", + "$id": "402", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] }, { - "$id": "412", + "$id": "403", "kind": "enumvalue", "name": "computer_use_preview", "value": "computer_use_preview", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] }, { - "$id": "413", + "$id": "404", "kind": "enumvalue", "name": "web_search", "value": "web_search", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] }, { - "$id": "414", + "$id": "405", "kind": "enumvalue", "name": "web_search_preview", "value": "web_search_preview", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] }, { - "$id": "415", + "$id": "406", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] }, { - "$id": "416", + "$id": "407", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] }, { - "$id": "417", + "$id": "408", "kind": "enumvalue", "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] }, { - "$id": "418", + "$id": "409", "kind": "enumvalue", "name": "local_shell", "value": "local_shell", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "408" + "$ref": "399" }, "decorators": [] } @@ -5068,12 +4963,12 @@ "decorators": [] }, { - "$id": "419", + "$id": "410", "kind": "enum", "name": "RankingOptionsRanker", "crossLanguageDefinitionId": "OpenAI.RankingOptions.ranker.anonymous", "valueType": { - "$id": "420", + "$id": "411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5081,28 +4976,28 @@ }, "values": [ { - "$id": "421", + "$id": "412", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "420" + "$ref": "411" }, "enumType": { - "$ref": "419" + "$ref": "410" }, "decorators": [] }, { - "$id": "422", + "$id": "413", "kind": "enumvalue", "name": "default-2024-11-15", "value": "default-2024-11-15", "valueType": { - "$ref": "420" + "$ref": "411" }, "enumType": { - "$ref": "419" + "$ref": "410" }, "decorators": [] } @@ -5114,12 +5009,12 @@ "decorators": [] }, { - "$id": "423", + "$id": "414", "kind": "enum", "name": "ComparisonFilterType", "crossLanguageDefinitionId": "OpenAI.ComparisonFilter.type.anonymous", "valueType": { - "$id": "424", + "$id": "415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5127,80 +5022,80 @@ }, "values": [ { - "$id": "425", + "$id": "416", "kind": "enumvalue", "name": "eq", "value": "eq", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "423" + "$ref": "414" }, "decorators": [] }, { - "$id": "426", + "$id": "417", "kind": "enumvalue", "name": "ne", "value": "ne", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "423" + "$ref": "414" }, "decorators": [] }, { - "$id": "427", + "$id": "418", "kind": "enumvalue", "name": "gt", "value": "gt", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "423" + "$ref": "414" }, "decorators": [] }, { - "$id": "428", + "$id": "419", "kind": "enumvalue", "name": "gte", "value": "gte", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "423" + "$ref": "414" }, "decorators": [] }, { - "$id": "429", + "$id": "420", "kind": "enumvalue", "name": "lt", "value": "lt", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "423" + "$ref": "414" }, "decorators": [] }, { - "$id": "430", + "$id": "421", "kind": "enumvalue", "name": "lte", "value": "lte", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "423" + "$ref": "414" }, "decorators": [] } @@ -5212,12 +5107,12 @@ "decorators": [] }, { - "$id": "431", + "$id": "422", "kind": "enum", "name": "CompoundFilterType", "crossLanguageDefinitionId": "OpenAI.CompoundFilter.type.anonymous", "valueType": { - "$id": "432", + "$id": "423", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5225,28 +5120,28 @@ }, "values": [ { - "$id": "433", + "$id": "424", "kind": "enumvalue", "name": "and", "value": "and", "valueType": { - "$ref": "432" + "$ref": "423" }, "enumType": { - "$ref": "431" + "$ref": "422" }, "decorators": [] }, { - "$id": "434", + "$id": "425", "kind": "enumvalue", "name": "or", "value": "or", "valueType": { - "$ref": "432" + "$ref": "423" }, "enumType": { - "$ref": "431" + "$ref": "422" }, "decorators": [] } @@ -5258,12 +5153,12 @@ "decorators": [] }, { - "$id": "435", + "$id": "426", "kind": "enum", "name": "ComputerUsePreviewToolEnvironment", "crossLanguageDefinitionId": "OpenAI.ComputerUsePreviewTool.environment.anonymous", "valueType": { - "$id": "436", + "$id": "427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5271,67 +5166,67 @@ }, "values": [ { - "$id": "437", + "$id": "428", "kind": "enumvalue", "name": "windows", "value": "windows", "valueType": { - "$ref": "436" + "$ref": "427" }, "enumType": { - "$ref": "435" + "$ref": "426" }, "decorators": [] }, { - "$id": "438", + "$id": "429", "kind": "enumvalue", "name": "mac", "value": "mac", "valueType": { - "$ref": "436" + "$ref": "427" }, "enumType": { - "$ref": "435" + "$ref": "426" }, "decorators": [] }, { - "$id": "439", + "$id": "430", "kind": "enumvalue", "name": "linux", "value": "linux", "valueType": { - "$ref": "436" + "$ref": "427" }, "enumType": { - "$ref": "435" + "$ref": "426" }, "decorators": [] }, { - "$id": "440", + "$id": "431", "kind": "enumvalue", "name": "ubuntu", "value": "ubuntu", "valueType": { - "$ref": "436" + "$ref": "427" }, "enumType": { - "$ref": "435" + "$ref": "426" }, "decorators": [] }, { - "$id": "441", + "$id": "432", "kind": "enumvalue", "name": "browser", "value": "browser", "valueType": { - "$ref": "436" + "$ref": "427" }, "enumType": { - "$ref": "435" + "$ref": "426" }, "decorators": [] } @@ -5343,12 +5238,12 @@ "decorators": [] }, { - "$id": "442", + "$id": "433", "kind": "enum", "name": "LocationType", "crossLanguageDefinitionId": "OpenAI.LocationType", "valueType": { - "$id": "443", + "$id": "434", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5356,15 +5251,15 @@ }, "values": [ { - "$id": "444", + "$id": "435", "kind": "enumvalue", "name": "approximate", "value": "approximate", "valueType": { - "$ref": "443" + "$ref": "434" }, "enumType": { - "$ref": "442" + "$ref": "433" }, "decorators": [] } @@ -5376,12 +5271,12 @@ "decorators": [] }, { - "$id": "445", + "$id": "436", "kind": "enum", "name": "SearchContextSize", "crossLanguageDefinitionId": "OpenAI.SearchContextSize", "valueType": { - "$id": "446", + "$id": "437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5389,41 +5284,41 @@ }, "values": [ { - "$id": "447", + "$id": "438", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "446" + "$ref": "437" }, "enumType": { - "$ref": "445" + "$ref": "436" }, "decorators": [] }, { - "$id": "448", + "$id": "439", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "446" + "$ref": "437" }, "enumType": { - "$ref": "445" + "$ref": "436" }, "decorators": [] }, { - "$id": "449", + "$id": "440", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "446" + "$ref": "437" }, "enumType": { - "$ref": "445" + "$ref": "436" }, "decorators": [] } @@ -5435,12 +5330,12 @@ "decorators": [] }, { - "$id": "450", + "$id": "441", "kind": "enum", "name": "CodeInterpreterContainerConfigurationType", "crossLanguageDefinitionId": "OpenAI.CodeInterpreterContainerConfigurationType", "valueType": { - "$id": "451", + "$id": "442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5448,15 +5343,15 @@ }, "values": [ { - "$id": "452", + "$id": "443", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "451" + "$ref": "442" }, "enumType": { - "$ref": "450" + "$ref": "441" }, "decorators": [] } @@ -5473,12 +5368,12 @@ ] }, { - "$id": "453", + "$id": "444", "kind": "enum", "name": "ImageGenToolModel", "crossLanguageDefinitionId": "", "valueType": { - "$id": "454", + "$id": "445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5486,12 +5381,12 @@ }, "values": [ { - "$id": "455", + "$id": "446", "kind": "enumvalue", "name": "gpt-image-1", "value": "gpt-image-1", "valueType": { - "$id": "456", + "$id": "447", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -5499,7 +5394,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "453" + "$ref": "444" }, "decorators": [] } @@ -5511,12 +5406,12 @@ "decorators": [] }, { - "$id": "457", + "$id": "448", "kind": "enum", "name": "ImageGenToolQuality", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.quality.anonymous", "valueType": { - "$id": "458", + "$id": "449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5524,54 +5419,54 @@ }, "values": [ { - "$id": "459", + "$id": "450", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "458" + "$ref": "449" }, "enumType": { - "$ref": "457" + "$ref": "448" }, "decorators": [] }, { - "$id": "460", + "$id": "451", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "458" + "$ref": "449" }, "enumType": { - "$ref": "457" + "$ref": "448" }, "decorators": [] }, { - "$id": "461", + "$id": "452", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "458" + "$ref": "449" }, "enumType": { - "$ref": "457" + "$ref": "448" }, "decorators": [] }, { - "$id": "462", + "$id": "453", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "458" + "$ref": "449" }, "enumType": { - "$ref": "457" + "$ref": "448" }, "decorators": [] } @@ -5583,12 +5478,12 @@ "decorators": [] }, { - "$id": "463", + "$id": "454", "kind": "enum", "name": "ImageGenToolSize", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.size.anonymous", "valueType": { - "$id": "464", + "$id": "455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5596,54 +5491,54 @@ }, "values": [ { - "$id": "465", + "$id": "456", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "464" + "$ref": "455" }, "enumType": { - "$ref": "463" + "$ref": "454" }, "decorators": [] }, { - "$id": "466", + "$id": "457", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "464" + "$ref": "455" }, "enumType": { - "$ref": "463" + "$ref": "454" }, "decorators": [] }, { - "$id": "467", + "$id": "458", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "464" + "$ref": "455" }, "enumType": { - "$ref": "463" + "$ref": "454" }, "decorators": [] }, { - "$id": "468", + "$id": "459", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "464" + "$ref": "455" }, "enumType": { - "$ref": "463" + "$ref": "454" }, "decorators": [] } @@ -5655,12 +5550,12 @@ "decorators": [] }, { - "$id": "469", + "$id": "460", "kind": "enum", "name": "ImageGenToolOutputFormat", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.output_format.anonymous", "valueType": { - "$id": "470", + "$id": "461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5668,41 +5563,41 @@ }, "values": [ { - "$id": "471", + "$id": "462", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "470" + "$ref": "461" }, "enumType": { - "$ref": "469" + "$ref": "460" }, "decorators": [] }, { - "$id": "472", + "$id": "463", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "470" + "$ref": "461" }, "enumType": { - "$ref": "469" + "$ref": "460" }, "decorators": [] }, { - "$id": "473", + "$id": "464", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "470" + "$ref": "461" }, "enumType": { - "$ref": "469" + "$ref": "460" }, "decorators": [] } @@ -5714,12 +5609,12 @@ "decorators": [] }, { - "$id": "474", + "$id": "465", "kind": "enum", "name": "ImageGenToolModeration", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.moderation.anonymous", "valueType": { - "$id": "475", + "$id": "466", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5727,28 +5622,28 @@ }, "values": [ { - "$id": "476", + "$id": "467", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "475" + "$ref": "466" }, "enumType": { - "$ref": "474" + "$ref": "465" }, "decorators": [] }, { - "$id": "477", + "$id": "468", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "475" + "$ref": "466" }, "enumType": { - "$ref": "474" + "$ref": "465" }, "decorators": [] } @@ -5760,12 +5655,12 @@ "decorators": [] }, { - "$id": "478", + "$id": "469", "kind": "enum", "name": "ImageGenToolBackground", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.background.anonymous", "valueType": { - "$id": "479", + "$id": "470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5773,41 +5668,41 @@ }, "values": [ { - "$id": "480", + "$id": "471", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "479" + "$ref": "470" }, "enumType": { - "$ref": "478" + "$ref": "469" }, "decorators": [] }, { - "$id": "481", + "$id": "472", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "479" + "$ref": "470" }, "enumType": { - "$ref": "478" + "$ref": "469" }, "decorators": [] }, { - "$id": "482", + "$id": "473", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "479" + "$ref": "470" }, "enumType": { - "$ref": "478" + "$ref": "469" }, "decorators": [] } @@ -5819,12 +5714,12 @@ "decorators": [] }, { - "$id": "483", + "$id": "474", "kind": "enum", "name": "ImageGenToolInputFidelity", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.input_fidelity.anonymous", "valueType": { - "$id": "484", + "$id": "475", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5832,28 +5727,28 @@ }, "values": [ { - "$id": "485", + "$id": "476", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "484" + "$ref": "475" }, "enumType": { - "$ref": "483" + "$ref": "474" }, "decorators": [] }, { - "$id": "486", + "$id": "477", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "484" + "$ref": "475" }, "enumType": { - "$ref": "483" + "$ref": "474" }, "decorators": [] } @@ -5865,12 +5760,12 @@ "decorators": [] }, { - "$id": "487", + "$id": "478", "kind": "enum", "name": "MCPToolConnectorId", "crossLanguageDefinitionId": "OpenAI.MCPTool.connector_id.anonymous", "valueType": { - "$id": "488", + "$id": "479", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5878,106 +5773,106 @@ }, "values": [ { - "$id": "489", + "$id": "480", "kind": "enumvalue", "name": "connector_dropbox", "value": "connector_dropbox", "valueType": { - "$ref": "488" + "$ref": "479" }, "enumType": { - "$ref": "487" + "$ref": "478" }, "decorators": [] }, { - "$id": "490", + "$id": "481", "kind": "enumvalue", "name": "connector_gmail", "value": "connector_gmail", "valueType": { - "$ref": "488" + "$ref": "479" }, "enumType": { - "$ref": "487" + "$ref": "478" }, "decorators": [] }, { - "$id": "491", + "$id": "482", "kind": "enumvalue", "name": "connector_googlecalendar", "value": "connector_googlecalendar", "valueType": { - "$ref": "488" + "$ref": "479" }, "enumType": { - "$ref": "487" + "$ref": "478" }, "decorators": [] }, { - "$id": "492", + "$id": "483", "kind": "enumvalue", "name": "connector_googledrive", "value": "connector_googledrive", "valueType": { - "$ref": "488" + "$ref": "479" }, "enumType": { - "$ref": "487" + "$ref": "478" }, "decorators": [] }, { - "$id": "493", + "$id": "484", "kind": "enumvalue", "name": "connector_microsoftteams", "value": "connector_microsoftteams", "valueType": { - "$ref": "488" + "$ref": "479" }, "enumType": { - "$ref": "487" + "$ref": "478" }, "decorators": [] }, { - "$id": "494", + "$id": "485", "kind": "enumvalue", "name": "connector_outlookcalendar", "value": "connector_outlookcalendar", "valueType": { - "$ref": "488" + "$ref": "479" }, "enumType": { - "$ref": "487" + "$ref": "478" }, "decorators": [] }, { - "$id": "495", + "$id": "486", "kind": "enumvalue", "name": "connector_outlookemail", "value": "connector_outlookemail", "valueType": { - "$ref": "488" + "$ref": "479" }, "enumType": { - "$ref": "487" + "$ref": "478" }, "decorators": [] }, { - "$id": "496", + "$id": "487", "kind": "enumvalue", "name": "connector_sharepoint", "value": "connector_sharepoint", "valueType": { - "$ref": "488" + "$ref": "479" }, "enumType": { - "$ref": "487" + "$ref": "478" }, "decorators": [] } @@ -5989,12 +5884,12 @@ "decorators": [] }, { - "$id": "497", + "$id": "488", "kind": "enum", "name": "DotNetResponseServiceTier", "crossLanguageDefinitionId": "OpenAI.DotNetResponseServiceTier", "valueType": { - "$id": "498", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6002,54 +5897,54 @@ }, "values": [ { - "$id": "499", + "$id": "490", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "498" + "$ref": "489" }, "enumType": { - "$ref": "497" + "$ref": "488" }, "decorators": [] }, { - "$id": "500", + "$id": "491", "kind": "enumvalue", "name": "default", "value": "default", "valueType": { - "$ref": "498" + "$ref": "489" }, "enumType": { - "$ref": "497" + "$ref": "488" }, "decorators": [] }, { - "$id": "501", + "$id": "492", "kind": "enumvalue", "name": "flex", "value": "flex", "valueType": { - "$ref": "498" + "$ref": "489" }, "enumType": { - "$ref": "497" + "$ref": "488" }, "decorators": [] }, { - "$id": "502", + "$id": "493", "kind": "enumvalue", "name": "scale", "value": "scale", "valueType": { - "$ref": "498" + "$ref": "489" }, "enumType": { - "$ref": "497" + "$ref": "488" }, "decorators": [] } @@ -6066,12 +5961,12 @@ ] }, { - "$id": "503", + "$id": "494", "kind": "enum", "name": "ModelIdsResponses", "crossLanguageDefinitionId": "OpenAI.ModelIdsResponses", "valueType": { - "$id": "504", + "$id": "495", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6079,795 +5974,795 @@ }, "values": [ { - "$id": "505", + "$id": "496", "kind": "enumvalue", "name": "gpt-4.1", "value": "gpt-4.1", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "506", + "$id": "497", "kind": "enumvalue", "name": "gpt-4.1-mini", "value": "gpt-4.1-mini", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "507", + "$id": "498", "kind": "enumvalue", "name": "gpt-4.1-nano", "value": "gpt-4.1-nano", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "508", + "$id": "499", "kind": "enumvalue", "name": "gpt-4.1-2025-04-14", "value": "gpt-4.1-2025-04-14", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "509", + "$id": "500", "kind": "enumvalue", "name": "gpt-4.1-mini-2025-04-14", "value": "gpt-4.1-mini-2025-04-14", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "510", + "$id": "501", "kind": "enumvalue", "name": "gpt-4.1-nano-2025-04-14", "value": "gpt-4.1-nano-2025-04-14", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "511", + "$id": "502", "kind": "enumvalue", "name": "o4-mini", "value": "o4-mini", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "512", + "$id": "503", "kind": "enumvalue", "name": "o4-mini-2025-04-16", "value": "o4-mini-2025-04-16", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "513", + "$id": "504", "kind": "enumvalue", "name": "o3", "value": "o3", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "514", + "$id": "505", "kind": "enumvalue", "name": "o3-2025-04-16", "value": "o3-2025-04-16", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "515", + "$id": "506", "kind": "enumvalue", "name": "o3-mini", "value": "o3-mini", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "516", + "$id": "507", "kind": "enumvalue", "name": "o3-mini-2025-01-31", "value": "o3-mini-2025-01-31", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "517", + "$id": "508", "kind": "enumvalue", "name": "o1", "value": "o1", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "518", + "$id": "509", "kind": "enumvalue", "name": "o1-2024-12-17", "value": "o1-2024-12-17", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "519", + "$id": "510", "kind": "enumvalue", "name": "o1-preview", "value": "o1-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "520", + "$id": "511", "kind": "enumvalue", "name": "o1-preview-2024-09-12", "value": "o1-preview-2024-09-12", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "521", + "$id": "512", "kind": "enumvalue", "name": "o1-mini", "value": "o1-mini", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "522", + "$id": "513", "kind": "enumvalue", "name": "o1-mini-2024-09-12", "value": "o1-mini-2024-09-12", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "523", + "$id": "514", "kind": "enumvalue", "name": "gpt-4o", "value": "gpt-4o", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "524", + "$id": "515", "kind": "enumvalue", "name": "gpt-4o-2024-11-20", "value": "gpt-4o-2024-11-20", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "525", + "$id": "516", "kind": "enumvalue", "name": "gpt-4o-2024-08-06", "value": "gpt-4o-2024-08-06", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "526", + "$id": "517", "kind": "enumvalue", "name": "gpt-4o-2024-05-13", "value": "gpt-4o-2024-05-13", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "527", + "$id": "518", "kind": "enumvalue", "name": "gpt-4o-audio-preview", "value": "gpt-4o-audio-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "528", + "$id": "519", "kind": "enumvalue", "name": "gpt-4o-audio-preview-2024-10-01", "value": "gpt-4o-audio-preview-2024-10-01", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "529", + "$id": "520", "kind": "enumvalue", "name": "gpt-4o-audio-preview-2024-12-17", "value": "gpt-4o-audio-preview-2024-12-17", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "530", + "$id": "521", "kind": "enumvalue", "name": "gpt-4o-audio-preview-2025-06-03", "value": "gpt-4o-audio-preview-2025-06-03", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "531", + "$id": "522", "kind": "enumvalue", "name": "gpt-4o-mini-audio-preview", "value": "gpt-4o-mini-audio-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "532", + "$id": "523", "kind": "enumvalue", "name": "gpt-4o-mini-audio-preview-2024-12-17", "value": "gpt-4o-mini-audio-preview-2024-12-17", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "533", + "$id": "524", "kind": "enumvalue", "name": "gpt-4o-search-preview", "value": "gpt-4o-search-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "534", + "$id": "525", "kind": "enumvalue", "name": "gpt-4o-mini-search-preview", "value": "gpt-4o-mini-search-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "535", + "$id": "526", "kind": "enumvalue", "name": "gpt-4o-search-preview-2025-03-11", "value": "gpt-4o-search-preview-2025-03-11", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "536", + "$id": "527", "kind": "enumvalue", "name": "gpt-4o-mini-search-preview-2025-03-11", "value": "gpt-4o-mini-search-preview-2025-03-11", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "537", + "$id": "528", "kind": "enumvalue", "name": "chatgpt-4o-latest", "value": "chatgpt-4o-latest", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "538", + "$id": "529", "kind": "enumvalue", "name": "codex-mini-latest", "value": "codex-mini-latest", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "539", + "$id": "530", "kind": "enumvalue", "name": "gpt-4o-mini", "value": "gpt-4o-mini", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "540", + "$id": "531", "kind": "enumvalue", "name": "gpt-4o-mini-2024-07-18", "value": "gpt-4o-mini-2024-07-18", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "541", + "$id": "532", "kind": "enumvalue", "name": "gpt-4-turbo", "value": "gpt-4-turbo", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "542", + "$id": "533", "kind": "enumvalue", "name": "gpt-4-turbo-2024-04-09", "value": "gpt-4-turbo-2024-04-09", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "543", + "$id": "534", "kind": "enumvalue", "name": "gpt-4-0125-preview", "value": "gpt-4-0125-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "544", + "$id": "535", "kind": "enumvalue", "name": "gpt-4-turbo-preview", "value": "gpt-4-turbo-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "545", + "$id": "536", "kind": "enumvalue", "name": "gpt-4-1106-preview", "value": "gpt-4-1106-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "546", + "$id": "537", "kind": "enumvalue", "name": "gpt-4-vision-preview", "value": "gpt-4-vision-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "547", + "$id": "538", "kind": "enumvalue", "name": "gpt-4", "value": "gpt-4", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "548", + "$id": "539", "kind": "enumvalue", "name": "gpt-4-0314", "value": "gpt-4-0314", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "549", + "$id": "540", "kind": "enumvalue", "name": "gpt-4-0613", "value": "gpt-4-0613", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "550", + "$id": "541", "kind": "enumvalue", "name": "gpt-4-32k", "value": "gpt-4-32k", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "551", + "$id": "542", "kind": "enumvalue", "name": "gpt-4-32k-0314", "value": "gpt-4-32k-0314", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "552", + "$id": "543", "kind": "enumvalue", "name": "gpt-4-32k-0613", "value": "gpt-4-32k-0613", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "553", + "$id": "544", "kind": "enumvalue", "name": "gpt-3.5-turbo", "value": "gpt-3.5-turbo", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "554", + "$id": "545", "kind": "enumvalue", "name": "gpt-3.5-turbo-16k", "value": "gpt-3.5-turbo-16k", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "555", + "$id": "546", "kind": "enumvalue", "name": "gpt-3.5-turbo-0301", "value": "gpt-3.5-turbo-0301", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "556", + "$id": "547", "kind": "enumvalue", "name": "gpt-3.5-turbo-0613", "value": "gpt-3.5-turbo-0613", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "557", + "$id": "548", "kind": "enumvalue", "name": "gpt-3.5-turbo-1106", "value": "gpt-3.5-turbo-1106", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "558", + "$id": "549", "kind": "enumvalue", "name": "gpt-3.5-turbo-0125", "value": "gpt-3.5-turbo-0125", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "559", + "$id": "550", "kind": "enumvalue", "name": "gpt-3.5-turbo-16k-0613", "value": "gpt-3.5-turbo-16k-0613", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "560", + "$id": "551", "kind": "enumvalue", "name": "o1-pro", "value": "o1-pro", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "561", + "$id": "552", "kind": "enumvalue", "name": "o1-pro-2025-03-19", "value": "o1-pro-2025-03-19", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "562", + "$id": "553", "kind": "enumvalue", "name": "o3-pro", "value": "o3-pro", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "563", + "$id": "554", "kind": "enumvalue", "name": "o3-pro-2025-06-10", "value": "o3-pro-2025-06-10", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "564", + "$id": "555", "kind": "enumvalue", "name": "computer-use-preview", "value": "computer-use-preview", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] }, { - "$id": "565", + "$id": "556", "kind": "enumvalue", "name": "computer-use-preview-2025-03-11", "value": "computer-use-preview-2025-03-11", "valueType": { - "$ref": "504" + "$ref": "495" }, "enumType": { - "$ref": "503" + "$ref": "494" }, "decorators": [] } @@ -6879,12 +6774,12 @@ "decorators": [] }, { - "$id": "566", + "$id": "557", "kind": "enum", "name": "ReasoningSummary", "crossLanguageDefinitionId": "OpenAI.Reasoning.summary.anonymous", "valueType": { - "$id": "567", + "$id": "558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6892,41 +6787,41 @@ }, "values": [ { - "$id": "568", + "$id": "559", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "567" + "$ref": "558" }, "enumType": { - "$ref": "566" + "$ref": "557" }, "decorators": [] }, { - "$id": "569", + "$id": "560", "kind": "enumvalue", "name": "concise", "value": "concise", "valueType": { - "$ref": "567" + "$ref": "558" }, "enumType": { - "$ref": "566" + "$ref": "557" }, "decorators": [] }, { - "$id": "570", + "$id": "561", "kind": "enumvalue", "name": "detailed", "value": "detailed", "valueType": { - "$ref": "567" + "$ref": "558" }, "enumType": { - "$ref": "566" + "$ref": "557" }, "decorators": [] } @@ -6938,12 +6833,12 @@ "decorators": [] }, { - "$id": "571", + "$id": "562", "kind": "enum", "name": "ReasoningGenerateSummary", "crossLanguageDefinitionId": "OpenAI.Reasoning.generate_summary.anonymous", "valueType": { - "$id": "572", + "$id": "563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6951,41 +6846,41 @@ }, "values": [ { - "$id": "573", + "$id": "564", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "572" + "$ref": "563" }, "enumType": { - "$ref": "571" + "$ref": "562" }, "decorators": [] }, { - "$id": "574", + "$id": "565", "kind": "enumvalue", "name": "concise", "value": "concise", "valueType": { - "$ref": "572" + "$ref": "563" }, "enumType": { - "$ref": "571" + "$ref": "562" }, "decorators": [] }, { - "$id": "575", + "$id": "566", "kind": "enumvalue", "name": "detailed", "value": "detailed", "valueType": { - "$ref": "572" + "$ref": "563" }, "enumType": { - "$ref": "571" + "$ref": "562" }, "decorators": [] } @@ -6997,12 +6892,12 @@ "decorators": [] }, { - "$id": "576", + "$id": "567", "kind": "enum", "name": "ToolChoiceOptions", "crossLanguageDefinitionId": "OpenAI.ToolChoiceOptions", "valueType": { - "$id": "577", + "$id": "568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7010,41 +6905,41 @@ }, "values": [ { - "$id": "578", + "$id": "569", "kind": "enumvalue", "name": "none", "value": "none", "valueType": { - "$ref": "577" + "$ref": "568" }, "enumType": { - "$ref": "576" + "$ref": "567" }, "decorators": [] }, { - "$id": "579", + "$id": "570", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "577" + "$ref": "568" }, "enumType": { - "$ref": "576" + "$ref": "567" }, "decorators": [] }, { - "$id": "580", + "$id": "571", "kind": "enumvalue", "name": "required", "value": "required", "valueType": { - "$ref": "577" + "$ref": "568" }, "enumType": { - "$ref": "576" + "$ref": "567" }, "decorators": [] } @@ -7057,12 +6952,12 @@ "decorators": [] }, { - "$id": "581", + "$id": "572", "kind": "enum", "name": "ToolChoiceObjectType", "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectType", "valueType": { - "$id": "582", + "$id": "573", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7070,93 +6965,93 @@ }, "values": [ { - "$id": "583", + "$id": "574", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "581" + "$ref": "572" }, "decorators": [] }, { - "$id": "584", + "$id": "575", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "581" + "$ref": "572" }, "decorators": [] }, { - "$id": "585", + "$id": "576", "kind": "enumvalue", "name": "computer", "value": "computer_use_preview", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "581" + "$ref": "572" }, "decorators": [] }, { - "$id": "586", + "$id": "577", "kind": "enumvalue", "name": "web_search", "value": "web_search_preview", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "581" + "$ref": "572" }, "decorators": [] }, { - "$id": "587", + "$id": "578", "kind": "enumvalue", "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "581" + "$ref": "572" }, "decorators": [] }, { - "$id": "588", + "$id": "579", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "581" + "$ref": "572" }, "decorators": [] }, { - "$id": "589", + "$id": "580", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "581" + "$ref": "572" }, "decorators": [] } @@ -7169,12 +7064,12 @@ "decorators": [] }, { - "$id": "590", + "$id": "581", "kind": "enum", "name": "CreateResponseTruncation", "crossLanguageDefinitionId": "OpenAI.CreateResponse.truncation.anonymous", "valueType": { - "$id": "591", + "$id": "582", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7182,28 +7077,28 @@ }, "values": [ { - "$id": "592", + "$id": "583", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "591" + "$ref": "582" }, "enumType": { - "$ref": "590" + "$ref": "581" }, "decorators": [] }, { - "$id": "593", + "$id": "584", "kind": "enumvalue", "name": "disabled", "value": "disabled", "valueType": { - "$ref": "591" + "$ref": "582" }, "enumType": { - "$ref": "590" + "$ref": "581" }, "decorators": [] } @@ -7215,12 +7110,12 @@ "decorators": [] }, { - "$id": "594", + "$id": "585", "kind": "enum", "name": "ItemContentType", "crossLanguageDefinitionId": "OpenAI.ItemContentType", "valueType": { - "$id": "595", + "$id": "586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7228,93 +7123,93 @@ }, "values": [ { - "$id": "596", + "$id": "587", "kind": "enumvalue", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "594" + "$ref": "585" }, "decorators": [] }, { - "$id": "597", + "$id": "588", "kind": "enumvalue", "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "594" + "$ref": "585" }, "decorators": [] }, { - "$id": "598", + "$id": "589", "kind": "enumvalue", "name": "input_image", "value": "input_image", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "594" + "$ref": "585" }, "decorators": [] }, { - "$id": "599", + "$id": "590", "kind": "enumvalue", "name": "input_file", "value": "input_file", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "594" + "$ref": "585" }, "decorators": [] }, { - "$id": "600", + "$id": "591", "kind": "enumvalue", "name": "output_text", "value": "output_text", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "594" + "$ref": "585" }, "decorators": [] }, { - "$id": "601", + "$id": "592", "kind": "enumvalue", "name": "output_audio", "value": "output_audio", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "594" + "$ref": "585" }, "decorators": [] }, { - "$id": "602", + "$id": "593", "kind": "enumvalue", "name": "refusal", "value": "refusal", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "594" + "$ref": "585" }, "decorators": [] } @@ -7327,12 +7222,12 @@ "decorators": [] }, { - "$id": "603", + "$id": "594", "kind": "enum", "name": "ItemContentInputAudioFormat", "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.format.anonymous", "valueType": { - "$id": "604", + "$id": "595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7340,28 +7235,28 @@ }, "values": [ { - "$id": "605", + "$id": "596", "kind": "enumvalue", "name": "mp3", "value": "mp3", "valueType": { - "$ref": "604" + "$ref": "595" }, "enumType": { - "$ref": "603" + "$ref": "594" }, "decorators": [] }, { - "$id": "606", + "$id": "597", "kind": "enumvalue", "name": "wav", "value": "wav", "valueType": { - "$ref": "604" + "$ref": "595" }, "enumType": { - "$ref": "603" + "$ref": "594" }, "decorators": [] } @@ -7373,12 +7268,12 @@ "decorators": [] }, { - "$id": "607", + "$id": "598", "kind": "enum", "name": "ItemContentInputImageDetail", "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.detail.anonymous", "valueType": { - "$id": "608", + "$id": "599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7386,41 +7281,41 @@ }, "values": [ { - "$id": "609", + "$id": "600", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "608" + "$ref": "599" }, "enumType": { - "$ref": "607" + "$ref": "598" }, "decorators": [] }, { - "$id": "610", + "$id": "601", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "608" + "$ref": "599" }, "enumType": { - "$ref": "607" + "$ref": "598" }, "decorators": [] }, { - "$id": "611", + "$id": "602", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "608" + "$ref": "599" }, "enumType": { - "$ref": "607" + "$ref": "598" }, "decorators": [] } @@ -7432,12 +7327,12 @@ "decorators": [] }, { - "$id": "612", + "$id": "603", "kind": "enum", "name": "AnnotationType", "crossLanguageDefinitionId": "OpenAI.AnnotationType", "valueType": { - "$id": "613", + "$id": "604", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7445,54 +7340,54 @@ }, "values": [ { - "$id": "614", + "$id": "605", "kind": "enumvalue", "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "613" + "$ref": "604" }, "enumType": { - "$ref": "612" + "$ref": "603" }, "decorators": [] }, { - "$id": "615", + "$id": "606", "kind": "enumvalue", "name": "url_citation", "value": "url_citation", "valueType": { - "$ref": "613" + "$ref": "604" }, "enumType": { - "$ref": "612" + "$ref": "603" }, "decorators": [] }, { - "$id": "616", + "$id": "607", "kind": "enumvalue", "name": "file_path", "value": "file_path", "valueType": { - "$ref": "613" + "$ref": "604" }, "enumType": { - "$ref": "612" + "$ref": "603" }, "decorators": [] }, { - "$id": "617", + "$id": "608", "kind": "enumvalue", "name": "container_file_citation", "value": "container_file_citation", "valueType": { - "$ref": "613" + "$ref": "604" }, "enumType": { - "$ref": "612" + "$ref": "603" }, "decorators": [] } @@ -7504,12 +7399,12 @@ "decorators": [] }, { - "$id": "618", + "$id": "609", "kind": "enum", "name": "ItemType", "crossLanguageDefinitionId": "OpenAI.ItemType", "valueType": { - "$id": "619", + "$id": "610", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7517,223 +7412,223 @@ }, "values": [ { - "$id": "620", + "$id": "611", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "621", + "$id": "612", "kind": "enumvalue", "name": "file_search_call", "value": "file_search_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "622", + "$id": "613", "kind": "enumvalue", "name": "function_call", "value": "function_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "623", + "$id": "614", "kind": "enumvalue", "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "624", + "$id": "615", "kind": "enumvalue", "name": "computer_call", "value": "computer_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "625", + "$id": "616", "kind": "enumvalue", "name": "computer_call_output", "value": "computer_call_output", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "626", + "$id": "617", "kind": "enumvalue", "name": "web_search_call", "value": "web_search_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "627", + "$id": "618", "kind": "enumvalue", "name": "reasoning", "value": "reasoning", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "628", + "$id": "619", "kind": "enumvalue", "name": "item_reference", "value": "item_reference", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "629", + "$id": "620", "kind": "enumvalue", "name": "image_generation_call", "value": "image_generation_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "630", + "$id": "621", "kind": "enumvalue", "name": "code_interpreter_call", "value": "code_interpreter_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "631", + "$id": "622", "kind": "enumvalue", "name": "local_shell_call", "value": "local_shell_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "632", + "$id": "623", "kind": "enumvalue", "name": "local_shell_call_output", "value": "local_shell_call_output", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "633", + "$id": "624", "kind": "enumvalue", "name": "mcp_list_tools", "value": "mcp_list_tools", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "634", + "$id": "625", "kind": "enumvalue", "name": "mcp_approval_request", "value": "mcp_approval_request", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "635", + "$id": "626", "kind": "enumvalue", "name": "mcp_approval_response", "value": "mcp_approval_response", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] }, { - "$id": "636", + "$id": "627", "kind": "enumvalue", "name": "mcp_call", "value": "mcp_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "618" + "$ref": "609" }, "decorators": [] } @@ -7745,12 +7640,12 @@ "decorators": [] }, { - "$id": "637", + "$id": "628", "kind": "enum", "name": "ResponsesMessageRole", "crossLanguageDefinitionId": "OpenAI.ResponsesMessageRole", "valueType": { - "$id": "638", + "$id": "629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7758,54 +7653,54 @@ }, "values": [ { - "$id": "639", + "$id": "630", "kind": "enumvalue", "name": "system", "value": "system", "valueType": { - "$ref": "638" + "$ref": "629" }, "enumType": { - "$ref": "637" + "$ref": "628" }, "decorators": [] }, { - "$id": "640", + "$id": "631", "kind": "enumvalue", "name": "developer", "value": "developer", "valueType": { - "$ref": "638" + "$ref": "629" }, "enumType": { - "$ref": "637" + "$ref": "628" }, "decorators": [] }, { - "$id": "641", + "$id": "632", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "638" + "$ref": "629" }, "enumType": { - "$ref": "637" + "$ref": "628" }, "decorators": [] }, { - "$id": "642", + "$id": "633", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "638" + "$ref": "629" }, "enumType": { - "$ref": "637" + "$ref": "628" }, "decorators": [] } @@ -7818,12 +7713,12 @@ "decorators": [] }, { - "$id": "643", + "$id": "634", "kind": "enum", "name": "ComputerActionType", "crossLanguageDefinitionId": "OpenAI.ComputerActionType", "valueType": { - "$id": "644", + "$id": "635", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7831,119 +7726,119 @@ }, "values": [ { - "$id": "645", + "$id": "636", "kind": "enumvalue", "name": "screenshot", "value": "screenshot", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] }, { - "$id": "646", + "$id": "637", "kind": "enumvalue", "name": "click", "value": "click", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] }, { - "$id": "647", + "$id": "638", "kind": "enumvalue", "name": "double_click", "value": "double_click", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] }, { - "$id": "648", + "$id": "639", "kind": "enumvalue", "name": "scroll", "value": "scroll", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] }, { - "$id": "649", + "$id": "640", "kind": "enumvalue", "name": "type", "value": "type", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] }, { - "$id": "650", + "$id": "641", "kind": "enumvalue", "name": "wait", "value": "wait", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] }, { - "$id": "651", + "$id": "642", "kind": "enumvalue", "name": "keypress", "value": "keypress", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] }, { - "$id": "652", + "$id": "643", "kind": "enumvalue", "name": "drag", "value": "drag", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] }, { - "$id": "653", + "$id": "644", "kind": "enumvalue", "name": "move", "value": "move", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "643" + "$ref": "634" }, "decorators": [] } @@ -7955,12 +7850,12 @@ "decorators": [] }, { - "$id": "654", + "$id": "645", "kind": "enum", "name": "ComputerActionClickButton", "crossLanguageDefinitionId": "OpenAI.ComputerActionClick.button.anonymous", "valueType": { - "$id": "655", + "$id": "646", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7968,67 +7863,67 @@ }, "values": [ { - "$id": "656", + "$id": "647", "kind": "enumvalue", "name": "left", "value": "left", "valueType": { - "$ref": "655" + "$ref": "646" }, "enumType": { - "$ref": "654" + "$ref": "645" }, "decorators": [] }, { - "$id": "657", + "$id": "648", "kind": "enumvalue", "name": "right", "value": "right", "valueType": { - "$ref": "655" + "$ref": "646" }, "enumType": { - "$ref": "654" + "$ref": "645" }, "decorators": [] }, { - "$id": "658", + "$id": "649", "kind": "enumvalue", "name": "wheel", "value": "wheel", "valueType": { - "$ref": "655" + "$ref": "646" }, "enumType": { - "$ref": "654" + "$ref": "645" }, "decorators": [] }, { - "$id": "659", + "$id": "650", "kind": "enumvalue", "name": "back", "value": "back", "valueType": { - "$ref": "655" + "$ref": "646" }, "enumType": { - "$ref": "654" + "$ref": "645" }, "decorators": [] }, { - "$id": "660", + "$id": "651", "kind": "enumvalue", "name": "forward", "value": "forward", "valueType": { - "$ref": "655" + "$ref": "646" }, "enumType": { - "$ref": "654" + "$ref": "645" }, "decorators": [] } @@ -8040,12 +7935,12 @@ "decorators": [] }, { - "$id": "661", + "$id": "652", "kind": "enum", "name": "ComputerToolCallOutputItemOutputType", "crossLanguageDefinitionId": "OpenAI.ComputerToolCallOutputItemOutputType", "valueType": { - "$id": "662", + "$id": "653", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8053,15 +7948,15 @@ }, "values": [ { - "$id": "663", + "$id": "654", "kind": "enumvalue", "name": "screenshot", "value": "computer_screenshot", "valueType": { - "$ref": "662" + "$ref": "653" }, "enumType": { - "$ref": "661" + "$ref": "652" }, "decorators": [] } @@ -8074,12 +7969,12 @@ "decorators": [] }, { - "$id": "664", + "$id": "655", "kind": "enum", "name": "ReasoningItemSummaryPartType", "crossLanguageDefinitionId": "OpenAI.ReasoningItemSummaryPartType", "valueType": { - "$id": "665", + "$id": "656", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8087,15 +7982,15 @@ }, "values": [ { - "$id": "666", + "$id": "657", "kind": "enumvalue", "name": "summary_text", "value": "summary_text", "valueType": { - "$ref": "665" + "$ref": "656" }, "enumType": { - "$ref": "664" + "$ref": "655" }, "decorators": [] } @@ -8112,12 +8007,12 @@ ] }, { - "$id": "667", + "$id": "658", "kind": "enum", "name": "CodeInterpreterToolOutputType", "crossLanguageDefinitionId": "OpenAI.CodeInterpreterToolOutputType", "valueType": { - "$id": "668", + "$id": "659", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8125,28 +8020,28 @@ }, "values": [ { - "$id": "669", + "$id": "660", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "668" + "$ref": "659" }, "enumType": { - "$ref": "667" + "$ref": "658" }, "decorators": [] }, { - "$id": "670", + "$id": "661", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "668" + "$ref": "659" }, "enumType": { - "$ref": "667" + "$ref": "658" }, "decorators": [] } @@ -8163,12 +8058,12 @@ ] }, { - "$id": "671", + "$id": "662", "kind": "enum", "name": "Includable", "crossLanguageDefinitionId": "OpenAI.Includable", "valueType": { - "$id": "672", + "$id": "663", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8176,67 +8071,67 @@ }, "values": [ { - "$id": "673", + "$id": "664", "kind": "enumvalue", "name": "file_search_call.results", "value": "file_search_call.results", "valueType": { - "$ref": "672" + "$ref": "663" }, "enumType": { - "$ref": "671" + "$ref": "662" }, "decorators": [] }, { - "$id": "674", + "$id": "665", "kind": "enumvalue", "name": "message.input_image.image_url", "value": "message.input_image.image_url", "valueType": { - "$ref": "672" + "$ref": "663" }, "enumType": { - "$ref": "671" + "$ref": "662" }, "decorators": [] }, { - "$id": "675", + "$id": "666", "kind": "enumvalue", "name": "computer_call_output.output.image_url", "value": "computer_call_output.output.image_url", "valueType": { - "$ref": "672" + "$ref": "663" }, "enumType": { - "$ref": "671" + "$ref": "662" }, "decorators": [] }, { - "$id": "676", + "$id": "667", "kind": "enumvalue", "name": "reasoning.encrypted_content", "value": "reasoning.encrypted_content", "valueType": { - "$ref": "672" + "$ref": "663" }, "enumType": { - "$ref": "671" + "$ref": "662" }, "decorators": [] }, { - "$id": "677", + "$id": "668", "kind": "enumvalue", "name": "code_interpreter_call.outputs", "value": "code_interpreter_call.outputs", "valueType": { - "$ref": "672" + "$ref": "663" }, "enumType": { - "$ref": "671" + "$ref": "662" }, "decorators": [] } @@ -8249,12 +8144,12 @@ "decorators": [] }, { - "$id": "678", + "$id": "669", "kind": "enum", "name": "ResponseStatus", "crossLanguageDefinitionId": "OpenAI.Response.status.anonymous", "valueType": { - "$id": "679", + "$id": "670", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8262,80 +8157,80 @@ }, "values": [ { - "$id": "680", + "$id": "671", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "679" + "$ref": "670" }, "enumType": { - "$ref": "678" + "$ref": "669" }, "decorators": [] }, { - "$id": "681", + "$id": "672", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "679" + "$ref": "670" }, "enumType": { - "$ref": "678" + "$ref": "669" }, "decorators": [] }, { - "$id": "682", + "$id": "673", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "679" + "$ref": "670" }, "enumType": { - "$ref": "678" + "$ref": "669" }, "decorators": [] }, { - "$id": "683", + "$id": "674", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "679" + "$ref": "670" }, "enumType": { - "$ref": "678" + "$ref": "669" }, "decorators": [] }, { - "$id": "684", + "$id": "675", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "679" + "$ref": "670" }, "enumType": { - "$ref": "678" + "$ref": "669" }, "decorators": [] }, { - "$id": "685", + "$id": "676", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "679" + "$ref": "670" }, "enumType": { - "$ref": "678" + "$ref": "669" }, "decorators": [] } @@ -8347,12 +8242,12 @@ "decorators": [] }, { - "$id": "686", + "$id": "677", "kind": "enum", "name": "ResponseErrorCode", "crossLanguageDefinitionId": "OpenAI.ResponseErrorCode", "valueType": { - "$id": "687", + "$id": "678", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8360,236 +8255,236 @@ }, "values": [ { - "$id": "688", + "$id": "679", "kind": "enumvalue", "name": "server_error", "value": "server_error", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "689", + "$id": "680", "kind": "enumvalue", "name": "rate_limit_exceeded", "value": "rate_limit_exceeded", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "690", + "$id": "681", "kind": "enumvalue", "name": "invalid_prompt", "value": "invalid_prompt", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "691", + "$id": "682", "kind": "enumvalue", "name": "vector_store_timeout", "value": "vector_store_timeout", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "692", + "$id": "683", "kind": "enumvalue", "name": "invalid_image", "value": "invalid_image", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "693", + "$id": "684", "kind": "enumvalue", "name": "invalid_image_format", "value": "invalid_image_format", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "694", + "$id": "685", "kind": "enumvalue", "name": "invalid_base64_image", "value": "invalid_base64_image", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "695", + "$id": "686", "kind": "enumvalue", "name": "invalid_image_url", "value": "invalid_image_url", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "696", + "$id": "687", "kind": "enumvalue", "name": "image_too_large", "value": "image_too_large", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "697", + "$id": "688", "kind": "enumvalue", "name": "image_too_small", "value": "image_too_small", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "698", + "$id": "689", "kind": "enumvalue", "name": "image_parse_error", "value": "image_parse_error", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "699", + "$id": "690", "kind": "enumvalue", "name": "image_content_policy_violation", "value": "image_content_policy_violation", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "700", + "$id": "691", "kind": "enumvalue", "name": "invalid_image_mode", "value": "invalid_image_mode", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "701", + "$id": "692", "kind": "enumvalue", "name": "image_file_too_large", "value": "image_file_too_large", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "702", + "$id": "693", "kind": "enumvalue", "name": "unsupported_image_media_type", "value": "unsupported_image_media_type", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "703", + "$id": "694", "kind": "enumvalue", "name": "empty_image_file", "value": "empty_image_file", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "704", + "$id": "695", "kind": "enumvalue", "name": "failed_to_download_image", "value": "failed_to_download_image", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] }, { - "$id": "705", + "$id": "696", "kind": "enumvalue", "name": "image_file_not_found", "value": "image_file_not_found", "valueType": { - "$ref": "687" + "$ref": "678" }, "enumType": { - "$ref": "686" + "$ref": "677" }, "decorators": [] } @@ -8602,12 +8497,12 @@ "decorators": [] }, { - "$id": "706", + "$id": "697", "kind": "enum", "name": "ResponseIncompleteDetailsReason", "crossLanguageDefinitionId": "OpenAI.Response.incomplete_details.reason.anonymous", "valueType": { - "$id": "707", + "$id": "698", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8615,28 +8510,28 @@ }, "values": [ { - "$id": "708", + "$id": "699", "kind": "enumvalue", "name": "max_output_tokens", "value": "max_output_tokens", "valueType": { - "$ref": "707" + "$ref": "698" }, "enumType": { - "$ref": "706" + "$ref": "697" }, "decorators": [] }, { - "$id": "709", + "$id": "700", "kind": "enumvalue", "name": "content_filter", "value": "content_filter", "valueType": { - "$ref": "707" + "$ref": "698" }, "enumType": { - "$ref": "706" + "$ref": "697" }, "decorators": [] } @@ -8648,12 +8543,12 @@ "decorators": [] }, { - "$id": "710", + "$id": "701", "kind": "enum", "name": "ResponsesMessageItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ResponsesMessageItemResource.status.anonymous", "valueType": { - "$id": "711", + "$id": "702", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8661,41 +8556,41 @@ }, "values": [ { - "$id": "712", + "$id": "703", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "711" + "$ref": "702" }, "enumType": { - "$ref": "710" + "$ref": "701" }, "decorators": [] }, { - "$id": "713", + "$id": "704", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "711" + "$ref": "702" }, "enumType": { - "$ref": "710" + "$ref": "701" }, "decorators": [] }, { - "$id": "714", + "$id": "705", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "711" + "$ref": "702" }, "enumType": { - "$ref": "710" + "$ref": "701" }, "decorators": [] } @@ -8707,12 +8602,12 @@ "decorators": [] }, { - "$id": "715", + "$id": "706", "kind": "enum", "name": "ComputerToolCallOutputItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ComputerToolCallOutputItemResource.status.anonymous", "valueType": { - "$id": "716", + "$id": "707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8720,41 +8615,41 @@ }, "values": [ { - "$id": "717", + "$id": "708", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "716" + "$ref": "707" }, "enumType": { - "$ref": "715" + "$ref": "706" }, "decorators": [] }, { - "$id": "718", + "$id": "709", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "716" + "$ref": "707" }, "enumType": { - "$ref": "715" + "$ref": "706" }, "decorators": [] }, { - "$id": "719", + "$id": "710", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "716" + "$ref": "707" }, "enumType": { - "$ref": "715" + "$ref": "706" }, "decorators": [] } @@ -8766,12 +8661,12 @@ "decorators": [] }, { - "$id": "720", + "$id": "711", "kind": "enum", "name": "FunctionToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.FunctionToolCallItemResource.status.anonymous", "valueType": { - "$id": "721", + "$id": "712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8779,41 +8674,41 @@ }, "values": [ { - "$id": "722", + "$id": "713", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "721" + "$ref": "712" }, "enumType": { - "$ref": "720" + "$ref": "711" }, "decorators": [] }, { - "$id": "723", + "$id": "714", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "721" + "$ref": "712" }, "enumType": { - "$ref": "720" + "$ref": "711" }, "decorators": [] }, { - "$id": "724", + "$id": "715", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "721" + "$ref": "712" }, "enumType": { - "$ref": "720" + "$ref": "711" }, "decorators": [] } @@ -8825,12 +8720,12 @@ "decorators": [] }, { - "$id": "725", + "$id": "716", "kind": "enum", "name": "FunctionToolCallOutputItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.FunctionToolCallOutputItemResource.status.anonymous", "valueType": { - "$id": "726", + "$id": "717", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8838,41 +8733,41 @@ }, "values": [ { - "$id": "727", + "$id": "718", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "726" + "$ref": "717" }, "enumType": { - "$ref": "725" + "$ref": "716" }, "decorators": [] }, { - "$id": "728", + "$id": "719", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "726" + "$ref": "717" }, "enumType": { - "$ref": "725" + "$ref": "716" }, "decorators": [] }, { - "$id": "729", + "$id": "720", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "726" + "$ref": "717" }, "enumType": { - "$ref": "725" + "$ref": "716" }, "decorators": [] } @@ -8884,12 +8779,12 @@ "decorators": [] }, { - "$id": "730", + "$id": "721", "kind": "enum", "name": "FileSearchToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.FileSearchToolCallItemResource.status.anonymous", "valueType": { - "$id": "731", + "$id": "722", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8897,67 +8792,67 @@ }, "values": [ { - "$id": "732", + "$id": "723", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "731" + "$ref": "722" }, "enumType": { - "$ref": "730" + "$ref": "721" }, "decorators": [] }, { - "$id": "733", + "$id": "724", "kind": "enumvalue", "name": "searching", "value": "searching", "valueType": { - "$ref": "731" + "$ref": "722" }, "enumType": { - "$ref": "730" + "$ref": "721" }, "decorators": [] }, { - "$id": "734", + "$id": "725", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "731" + "$ref": "722" }, "enumType": { - "$ref": "730" + "$ref": "721" }, "decorators": [] }, { - "$id": "735", + "$id": "726", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "731" + "$ref": "722" }, "enumType": { - "$ref": "730" + "$ref": "721" }, "decorators": [] }, { - "$id": "736", + "$id": "727", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "731" + "$ref": "722" }, "enumType": { - "$ref": "730" + "$ref": "721" }, "decorators": [] } @@ -8969,12 +8864,12 @@ "decorators": [] }, { - "$id": "737", + "$id": "728", "kind": "enum", "name": "ComputerToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ComputerToolCallItemResource.status.anonymous", "valueType": { - "$id": "738", + "$id": "729", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8982,41 +8877,41 @@ }, "values": [ { - "$id": "739", + "$id": "730", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "738" + "$ref": "729" }, "enumType": { - "$ref": "737" + "$ref": "728" }, "decorators": [] }, { - "$id": "740", + "$id": "731", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "738" + "$ref": "729" }, "enumType": { - "$ref": "737" + "$ref": "728" }, "decorators": [] }, { - "$id": "741", + "$id": "732", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "738" + "$ref": "729" }, "enumType": { - "$ref": "737" + "$ref": "728" }, "decorators": [] } @@ -9028,12 +8923,12 @@ "decorators": [] }, { - "$id": "742", + "$id": "733", "kind": "enum", "name": "WebSearchToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.WebSearchToolCallItemResource.status.anonymous", "valueType": { - "$id": "743", + "$id": "734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9041,54 +8936,54 @@ }, "values": [ { - "$id": "744", + "$id": "735", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "743" + "$ref": "734" }, "enumType": { - "$ref": "742" + "$ref": "733" }, "decorators": [] }, { - "$id": "745", + "$id": "736", "kind": "enumvalue", "name": "searching", "value": "searching", "valueType": { - "$ref": "743" + "$ref": "734" }, "enumType": { - "$ref": "742" + "$ref": "733" }, "decorators": [] }, { - "$id": "746", + "$id": "737", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "743" + "$ref": "734" }, "enumType": { - "$ref": "742" + "$ref": "733" }, "decorators": [] }, { - "$id": "747", + "$id": "738", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "743" + "$ref": "734" }, "enumType": { - "$ref": "742" + "$ref": "733" }, "decorators": [] } @@ -9100,12 +8995,12 @@ "decorators": [] }, { - "$id": "748", + "$id": "739", "kind": "enum", "name": "ReasoningItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ReasoningItemResource.status.anonymous", "valueType": { - "$id": "749", + "$id": "740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9113,41 +9008,41 @@ }, "values": [ { - "$id": "750", + "$id": "741", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "749" + "$ref": "740" }, "enumType": { - "$ref": "748" + "$ref": "739" }, "decorators": [] }, { - "$id": "751", + "$id": "742", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "749" + "$ref": "740" }, "enumType": { - "$ref": "748" + "$ref": "739" }, "decorators": [] }, { - "$id": "752", + "$id": "743", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "749" + "$ref": "740" }, "enumType": { - "$ref": "748" + "$ref": "739" }, "decorators": [] } @@ -9159,12 +9054,12 @@ "decorators": [] }, { - "$id": "753", + "$id": "744", "kind": "enum", "name": "ImageGenToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ImageGenToolCallItemResource.status.anonymous", "valueType": { - "$id": "754", + "$id": "745", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9172,54 +9067,54 @@ }, "values": [ { - "$id": "755", + "$id": "746", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "754" + "$ref": "745" }, "enumType": { - "$ref": "753" + "$ref": "744" }, "decorators": [] }, { - "$id": "756", + "$id": "747", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "754" + "$ref": "745" }, "enumType": { - "$ref": "753" + "$ref": "744" }, "decorators": [] }, { - "$id": "757", + "$id": "748", "kind": "enumvalue", "name": "generating", "value": "generating", "valueType": { - "$ref": "754" + "$ref": "745" }, "enumType": { - "$ref": "753" + "$ref": "744" }, "decorators": [] }, { - "$id": "758", + "$id": "749", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "754" + "$ref": "745" }, "enumType": { - "$ref": "753" + "$ref": "744" }, "decorators": [] } @@ -9231,12 +9126,12 @@ "decorators": [] }, { - "$id": "759", + "$id": "750", "kind": "enum", "name": "CodeInterpreterToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.CodeInterpreterToolCallItemResource.status.anonymous", "valueType": { - "$id": "760", + "$id": "751", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9244,41 +9139,41 @@ }, "values": [ { - "$id": "761", + "$id": "752", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "760" + "$ref": "751" }, "enumType": { - "$ref": "759" + "$ref": "750" }, "decorators": [] }, { - "$id": "762", + "$id": "753", "kind": "enumvalue", "name": "interpreting", "value": "interpreting", "valueType": { - "$ref": "760" + "$ref": "751" }, "enumType": { - "$ref": "759" + "$ref": "750" }, "decorators": [] }, { - "$id": "763", + "$id": "754", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "760" + "$ref": "751" }, "enumType": { - "$ref": "759" + "$ref": "750" }, "decorators": [] } @@ -9290,12 +9185,12 @@ "decorators": [] }, { - "$id": "764", + "$id": "755", "kind": "enum", "name": "LocalShellToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallItemResource.status.anonymous", "valueType": { - "$id": "765", + "$id": "756", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9303,41 +9198,41 @@ }, "values": [ { - "$id": "766", + "$id": "757", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "765" + "$ref": "756" }, "enumType": { - "$ref": "764" + "$ref": "755" }, "decorators": [] }, { - "$id": "767", + "$id": "758", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "765" + "$ref": "756" }, "enumType": { - "$ref": "764" + "$ref": "755" }, "decorators": [] }, { - "$id": "768", + "$id": "759", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "765" + "$ref": "756" }, "enumType": { - "$ref": "764" + "$ref": "755" }, "decorators": [] } @@ -9349,12 +9244,12 @@ "decorators": [] }, { - "$id": "769", + "$id": "760", "kind": "enum", "name": "LocalShellToolCallOutputItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemResource.status.anonymous", "valueType": { - "$id": "770", + "$id": "761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9362,41 +9257,41 @@ }, "values": [ { - "$id": "771", + "$id": "762", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "770" + "$ref": "761" }, "enumType": { - "$ref": "769" + "$ref": "760" }, "decorators": [] }, { - "$id": "772", + "$id": "763", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "770" + "$ref": "761" }, "enumType": { - "$ref": "769" + "$ref": "760" }, "decorators": [] }, { - "$id": "773", + "$id": "764", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "770" + "$ref": "761" }, "enumType": { - "$ref": "769" + "$ref": "760" }, "decorators": [] } @@ -9408,12 +9303,12 @@ "decorators": [] }, { - "$id": "774", + "$id": "765", "kind": "enum", "name": "ResponseStreamEventType", "crossLanguageDefinitionId": "OpenAI.ResponseStreamEventType", "valueType": { - "$id": "775", + "$id": "766", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9421,717 +9316,717 @@ }, "values": [ { - "$id": "776", + "$id": "767", "kind": "enumvalue", "name": "response_audio_delta", "value": "response.audio.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "777", + "$id": "768", "kind": "enumvalue", "name": "response_audio_done", "value": "response.audio.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "778", + "$id": "769", "kind": "enumvalue", "name": "response_audio_transcript_delta", "value": "response.audio_transcript.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "779", + "$id": "770", "kind": "enumvalue", "name": "response_audio_transcript_done", "value": "response.audio_transcript.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "780", + "$id": "771", "kind": "enumvalue", "name": "response_code_interpreter_call_code_delta", "value": "response.code_interpreter_call_code.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "781", + "$id": "772", "kind": "enumvalue", "name": "response_code_interpreter_call_code_done", "value": "response.code_interpreter_call_code.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "782", + "$id": "773", "kind": "enumvalue", "name": "response_code_interpreter_call_completed", "value": "response.code_interpreter_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "783", + "$id": "774", "kind": "enumvalue", "name": "response_code_interpreter_call_in_progress", "value": "response.code_interpreter_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "784", + "$id": "775", "kind": "enumvalue", "name": "response_code_interpreter_call_interpreting", "value": "response.code_interpreter_call.interpreting", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "785", + "$id": "776", "kind": "enumvalue", "name": "response_completed", "value": "response.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "786", + "$id": "777", "kind": "enumvalue", "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "787", + "$id": "778", "kind": "enumvalue", "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "788", + "$id": "779", "kind": "enumvalue", "name": "response_created", "value": "response.created", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "789", + "$id": "780", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "790", + "$id": "781", "kind": "enumvalue", "name": "response_file_search_call_completed", "value": "response.file_search_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "791", + "$id": "782", "kind": "enumvalue", "name": "response_file_search_call_in_progress", "value": "response.file_search_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "792", + "$id": "783", "kind": "enumvalue", "name": "response_file_search_call_searching", "value": "response.file_search_call.searching", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "793", + "$id": "784", "kind": "enumvalue", "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "794", + "$id": "785", "kind": "enumvalue", "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "795", + "$id": "786", "kind": "enumvalue", "name": "response_in_progress", "value": "response.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "796", + "$id": "787", "kind": "enumvalue", "name": "response_failed", "value": "response.failed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "797", + "$id": "788", "kind": "enumvalue", "name": "response_incomplete", "value": "response.incomplete", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "798", + "$id": "789", "kind": "enumvalue", "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "799", + "$id": "790", "kind": "enumvalue", "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "800", + "$id": "791", "kind": "enumvalue", "name": "response_refusal_delta", "value": "response.refusal.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "801", + "$id": "792", "kind": "enumvalue", "name": "response_refusal_done", "value": "response.refusal.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "802", + "$id": "793", "kind": "enumvalue", "name": "response_output_text_annotation_added", "value": "response.output_text.annotation.added", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "803", + "$id": "794", "kind": "enumvalue", "name": "response_output_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "804", + "$id": "795", "kind": "enumvalue", "name": "response_output_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "805", + "$id": "796", "kind": "enumvalue", "name": "response_reasoning_summary_part_added", "value": "response.reasoning_summary_part.added", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "806", + "$id": "797", "kind": "enumvalue", "name": "response_reasoning_summary_part_done", "value": "response.reasoning_summary_part.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "807", + "$id": "798", "kind": "enumvalue", "name": "response_reasoning_summary_text_delta", "value": "response.reasoning_summary_text.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "808", + "$id": "799", "kind": "enumvalue", "name": "response_reasoning_summary_text_done", "value": "response.reasoning_summary_text.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "809", + "$id": "800", "kind": "enumvalue", "name": "response_web_search_call_completed", "value": "response.web_search_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "810", + "$id": "801", "kind": "enumvalue", "name": "response_web_search_call_in_progress", "value": "response.web_search_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "811", + "$id": "802", "kind": "enumvalue", "name": "response_web_search_call_searching", "value": "response.web_search_call.searching", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "812", + "$id": "803", "kind": "enumvalue", "name": "response_image_generation_call_completed", "value": "response.image_generation_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "813", + "$id": "804", "kind": "enumvalue", "name": "response_image_generation_call_generating", "value": "response.image_generation_call.generating", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "814", + "$id": "805", "kind": "enumvalue", "name": "response_image_generation_call_in_progress", "value": "response.image_generation_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "815", + "$id": "806", "kind": "enumvalue", "name": "response_image_generation_call_partial_image", "value": "response.image_generation_call.partial_image", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "816", + "$id": "807", "kind": "enumvalue", "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "817", + "$id": "808", "kind": "enumvalue", "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "818", + "$id": "809", "kind": "enumvalue", "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "819", + "$id": "810", "kind": "enumvalue", "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "820", + "$id": "811", "kind": "enumvalue", "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "821", + "$id": "812", "kind": "enumvalue", "name": "response_mcp_list_tools_completed", "value": "response.mcp_list_tools.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "822", + "$id": "813", "kind": "enumvalue", "name": "response_mcp_list_tools_failed", "value": "response.mcp_list_tools.failed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "823", + "$id": "814", "kind": "enumvalue", "name": "response_mcp_list_tools_in_progress", "value": "response.mcp_list_tools.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "824", + "$id": "815", "kind": "enumvalue", "name": "response_queued", "value": "response.queued", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "825", + "$id": "816", "kind": "enumvalue", "name": "response_reasoning_delta", "value": "response.reasoning.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "826", + "$id": "817", "kind": "enumvalue", "name": "response_reasoning_done", "value": "response.reasoning.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "827", + "$id": "818", "kind": "enumvalue", "name": "response_reasoning_summary_delta", "value": "response.reasoning_summary.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "828", + "$id": "819", "kind": "enumvalue", "name": "response_reasoning_summary_done", "value": "response.reasoning_summary.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "829", + "$id": "820", "kind": "enumvalue", "name": "response_reasoning_text_delta", "value": "response.reasoning_text.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] }, { - "$id": "830", + "$id": "821", "kind": "enumvalue", "name": "response_reasoning_text_done", "value": "response.reasoning_text.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "774" + "$ref": "765" }, "decorators": [] } @@ -10143,12 +10038,12 @@ "decorators": [] }, { - "$id": "831", + "$id": "822", "kind": "enum", - "name": "CreateImageRequestModel", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.model.anonymous", + "name": "CreateMessageRequestRole", + "crossLanguageDefinitionId": "OpenAI.CreateMessageRequest.role.anonymous", "valueType": { - "$id": "832", + "$id": "823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10156,58 +10051,45 @@ }, "values": [ { - "$id": "833", - "kind": "enumvalue", - "name": "dall-e-2", - "value": "dall-e-2", - "valueType": { - "$ref": "832" - }, - "enumType": { - "$ref": "831" - }, - "decorators": [] - }, - { - "$id": "834", + "$id": "824", "kind": "enumvalue", - "name": "dall-e-3", - "value": "dall-e-3", + "name": "user", + "value": "user", "valueType": { - "$ref": "832" + "$ref": "823" }, "enumType": { - "$ref": "831" + "$ref": "822" }, "decorators": [] }, { - "$id": "835", + "$id": "825", "kind": "enumvalue", - "name": "gpt-image-1", - "value": "gpt-image-1", + "name": "assistant", + "value": "assistant", "valueType": { - "$ref": "832" + "$ref": "823" }, "enumType": { - "$ref": "831" + "$ref": "822" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, "usage": "Input,Json", "decorators": [] }, { - "$id": "836", + "$id": "826", "kind": "enum", - "name": "CreateImageRequestQuality", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.quality.anonymous", + "name": "MessageContentType", + "crossLanguageDefinitionId": "OpenAI.MessageContentType", "valueType": { - "$id": "837", + "$id": "827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10215,80 +10097,117 @@ }, "values": [ { - "$id": "838", + "$id": "828", "kind": "enumvalue", - "name": "standard", - "value": "standard", + "name": "text", + "value": "text", "valueType": { - "$ref": "837" + "$ref": "827" }, "enumType": { - "$ref": "836" + "$ref": "826" }, + "doc": "The content is a text message.", "decorators": [] }, { - "$id": "839", + "$id": "829", "kind": "enumvalue", - "name": "hd", - "value": "hd", + "name": "image_file", + "value": "image_file", "valueType": { - "$ref": "837" + "$ref": "827" }, "enumType": { - "$ref": "836" + "$ref": "826" }, + "doc": "The content is an image file.", "decorators": [] }, { - "$id": "840", + "$id": "830", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "image_url", + "value": "image_url", "valueType": { - "$ref": "837" + "$ref": "827" }, "enumType": { - "$ref": "836" + "$ref": "826" }, + "doc": "The content is an image URL.", "decorators": [] }, { - "$id": "841", + "$id": "831", "kind": "enumvalue", - "name": "medium", - "value": "medium", + "name": "refusal", + "value": "refusal", "valueType": { - "$ref": "837" + "$ref": "827" + }, + "enumType": { + "$ref": "826" + }, + "doc": "The content is a refusal message.", + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "832", + "kind": "enum", + "name": "MessageContentImageFileObjectImageFileDetail", + "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.detail.anonymous", + "valueType": { + "$id": "833", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "834", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "833" }, "enumType": { - "$ref": "836" + "$ref": "832" }, "decorators": [] }, { - "$id": "842", + "$id": "835", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "low", + "value": "low", "valueType": { - "$ref": "837" + "$ref": "833" }, "enumType": { - "$ref": "836" + "$ref": "832" }, "decorators": [] }, { - "$id": "843", + "$id": "836", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "high", + "value": "high", "valueType": { - "$ref": "837" + "$ref": "833" }, "enumType": { - "$ref": "836" + "$ref": "832" }, "decorators": [] } @@ -10296,16 +10215,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "844", + "$id": "837", "kind": "enum", - "name": "CreateImageRequestResponseFormat", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.response_format.anonymous", + "name": "MessageContentTextAnnotationType", + "crossLanguageDefinitionId": "OpenAI.MessageContentTextAnnotationType", "valueType": { - "$id": "845", + "$id": "838", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10313,45 +10232,45 @@ }, "values": [ { - "$id": "846", + "$id": "839", "kind": "enumvalue", - "name": "url", - "value": "url", + "name": "file_citation", + "value": "file_citation", "valueType": { - "$ref": "845" + "$ref": "838" }, "enumType": { - "$ref": "844" + "$ref": "837" }, "decorators": [] }, { - "$id": "847", + "$id": "840", "kind": "enumvalue", - "name": "b64_json", - "value": "b64_json", + "name": "file_path", + "value": "file_path", "valueType": { - "$ref": "845" + "$ref": "838" }, "enumType": { - "$ref": "844" + "$ref": "837" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Input,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "848", + "$id": "841", "kind": "enum", - "name": "CreateImageRequestOutputFormat", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.output_format.anonymous", + "name": "MessageContentImageUrlObjectImageUrlDetail", + "crossLanguageDefinitionId": "OpenAI.MessageContentImageUrlObject.image_url.detail.anonymous", "valueType": { - "$id": "849", + "$id": "842", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10359,41 +10278,41 @@ }, "values": [ { - "$id": "850", + "$id": "843", "kind": "enumvalue", - "name": "png", - "value": "png", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "849" + "$ref": "842" }, "enumType": { - "$ref": "848" + "$ref": "841" }, "decorators": [] }, { - "$id": "851", + "$id": "844", "kind": "enumvalue", - "name": "jpeg", - "value": "jpeg", + "name": "low", + "value": "low", "valueType": { - "$ref": "849" + "$ref": "842" }, "enumType": { - "$ref": "848" + "$ref": "841" }, "decorators": [] }, { - "$id": "852", + "$id": "845", "kind": "enumvalue", - "name": "webp", - "value": "webp", + "name": "high", + "value": "high", "valueType": { - "$ref": "849" + "$ref": "842" }, "enumType": { - "$ref": "848" + "$ref": "841" }, "decorators": [] } @@ -10401,16 +10320,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "853", + "$id": "846", "kind": "enum", - "name": "CreateImageRequestSize", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.size.anonymous", + "name": "MessageObjectStatus", + "crossLanguageDefinitionId": "OpenAI.MessageObject.status.anonymous", "valueType": { - "$id": "854", + "$id": "847", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10418,106 +10337,126 @@ }, "values": [ { - "$id": "855", + "$id": "848", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "in_progress", + "value": "in_progress", "valueType": { - "$ref": "854" + "$ref": "847" }, "enumType": { - "$ref": "853" + "$ref": "846" }, "decorators": [] }, { - "$id": "856", + "$id": "849", "kind": "enumvalue", - "name": "1024x1024", - "value": "1024x1024", + "name": "incomplete", + "value": "incomplete", "valueType": { - "$ref": "854" + "$ref": "847" }, "enumType": { - "$ref": "853" + "$ref": "846" }, "decorators": [] }, { - "$id": "857", + "$id": "850", "kind": "enumvalue", - "name": "1536x1024", - "value": "1536x1024", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "854" + "$ref": "847" }, "enumType": { - "$ref": "853" + "$ref": "846" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "851", + "kind": "enum", + "name": "MessageObjectIncompleteDetailsReason", + "crossLanguageDefinitionId": "OpenAI.MessageObject.incomplete_details.reason.anonymous", + "valueType": { + "$id": "852", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "858", + "$id": "853", "kind": "enumvalue", - "name": "1024x1536", - "value": "1024x1536", + "name": "content_filter", + "value": "content_filter", "valueType": { - "$ref": "854" + "$ref": "852" }, "enumType": { - "$ref": "853" + "$ref": "851" }, "decorators": [] }, { - "$id": "859", + "$id": "854", "kind": "enumvalue", - "name": "256x256", - "value": "256x256", + "name": "max_tokens", + "value": "max_tokens", "valueType": { - "$ref": "854" + "$ref": "852" }, "enumType": { - "$ref": "853" + "$ref": "851" }, "decorators": [] }, { - "$id": "860", + "$id": "855", "kind": "enumvalue", - "name": "512x512", - "value": "512x512", + "name": "run_cancelled", + "value": "run_cancelled", "valueType": { - "$ref": "854" + "$ref": "852" }, "enumType": { - "$ref": "853" + "$ref": "851" }, "decorators": [] }, { - "$id": "861", + "$id": "856", "kind": "enumvalue", - "name": "1792x1024", - "value": "1792x1024", + "name": "run_expired", + "value": "run_expired", "valueType": { - "$ref": "854" + "$ref": "852" }, "enumType": { - "$ref": "853" + "$ref": "851" }, "decorators": [] }, { - "$id": "862", + "$id": "857", "kind": "enumvalue", - "name": "1024x1792", - "value": "1024x1792", + "name": "run_failed", + "value": "run_failed", "valueType": { - "$ref": "854" + "$ref": "852" }, "enumType": { - "$ref": "853" + "$ref": "851" }, "decorators": [] } @@ -10525,16 +10464,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "863", + "$id": "858", "kind": "enum", - "name": "CreateImageRequestModeration", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.moderation.anonymous", + "name": "MessageObjectRole", + "crossLanguageDefinitionId": "OpenAI.MessageObject.role.anonymous", "valueType": { - "$id": "864", + "$id": "859", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10542,28 +10481,28 @@ }, "values": [ { - "$id": "865", + "$id": "860", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "user", + "value": "user", "valueType": { - "$ref": "864" + "$ref": "859" }, "enumType": { - "$ref": "863" + "$ref": "858" }, "decorators": [] }, { - "$id": "866", + "$id": "861", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "assistant", + "value": "assistant", "valueType": { - "$ref": "864" + "$ref": "859" }, "enumType": { - "$ref": "863" + "$ref": "858" }, "decorators": [] } @@ -10571,16 +10510,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "867", + "$id": "862", "kind": "enum", - "name": "CreateImageRequestBackground", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.background.anonymous", + "name": "CreateModerationRequestModel", + "crossLanguageDefinitionId": "OpenAI.CreateModerationRequest.model.anonymous", "valueType": { - "$id": "868", + "$id": "863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10588,438 +10527,507 @@ }, "values": [ { - "$id": "869", + "$id": "864", "kind": "enumvalue", - "name": "transparent", - "value": "transparent", + "name": "omni-moderation-latest", + "value": "omni-moderation-latest", "valueType": { - "$ref": "868" + "$ref": "863" }, "enumType": { - "$ref": "867" + "$ref": "862" }, "decorators": [] }, { - "$id": "870", + "$id": "865", "kind": "enumvalue", - "name": "opaque", - "value": "opaque", + "name": "omni-moderation-2024-09-26", + "value": "omni-moderation-2024-09-26", "valueType": { - "$ref": "868" + "$ref": "863" }, "enumType": { - "$ref": "867" + "$ref": "862" }, "decorators": [] }, { - "$id": "871", + "$id": "866", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "text-moderation-latest", + "value": "text-moderation-latest", "valueType": { - "$ref": "868" + "$ref": "863" }, "enumType": { - "$ref": "867" + "$ref": "862" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "872", + }, + { + "$id": "867", + "kind": "enumvalue", + "name": "text-moderation-stable", + "value": "text-moderation-stable", + "valueType": { + "$ref": "863" + }, + "enumType": { + "$ref": "862" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "868", "kind": "enum", - "name": "CreateImageRequestStyle", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.style.anonymous", + "name": "CreateThreadAndRunRequestModel", + "crossLanguageDefinitionId": "OpenAI.CreateThreadAndRunRequest.model.anonymous", "valueType": { - "$id": "873", + "$id": "869", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "values": [ + { + "$id": "870", + "kind": "enumvalue", + "name": "gpt-4.1", + "value": "gpt-4.1", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, + { + "$id": "871", + "kind": "enumvalue", + "name": "gpt-4.1-mini", + "value": "gpt-4.1-mini", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, + { + "$id": "872", + "kind": "enumvalue", + "name": "gpt-4.1-nano", + "value": "gpt-4.1-nano", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, + { + "$id": "873", + "kind": "enumvalue", + "name": "gpt-4.1-2025-04-14", + "value": "gpt-4.1-2025-04-14", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, { "$id": "874", "kind": "enumvalue", - "name": "vivid", - "value": "vivid", + "name": "gpt-4.1-mini-2025-04-14", + "value": "gpt-4.1-mini-2025-04-14", "valueType": { - "$ref": "873" + "$ref": "869" }, "enumType": { - "$ref": "872" + "$ref": "868" }, "decorators": [] }, { "$id": "875", "kind": "enumvalue", - "name": "natural", - "value": "natural", + "name": "gpt-4.1-nano-2025-04-14", + "value": "gpt-4.1-nano-2025-04-14", "valueType": { - "$ref": "873" + "$ref": "869" }, "enumType": { - "$ref": "872" + "$ref": "868" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "876", - "kind": "enum", - "name": "CreateImageEditRequestBackground", - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.background.anonymous", - "valueType": { - "$id": "877", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, + { + "$id": "876", + "kind": "enumvalue", + "name": "gpt-4o", + "value": "gpt-4o", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, + { + "$id": "877", + "kind": "enumvalue", + "name": "gpt-4o-2024-11-20", + "value": "gpt-4o-2024-11-20", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, { "$id": "878", "kind": "enumvalue", - "name": "transparent", - "value": "transparent", + "name": "gpt-4o-2024-08-06", + "value": "gpt-4o-2024-08-06", "valueType": { - "$ref": "877" + "$ref": "869" }, "enumType": { - "$ref": "876" + "$ref": "868" }, "decorators": [] }, { "$id": "879", "kind": "enumvalue", - "name": "opaque", - "value": "opaque", + "name": "gpt-4o-2024-05-13", + "value": "gpt-4o-2024-05-13", "valueType": { - "$ref": "877" + "$ref": "869" }, "enumType": { - "$ref": "876" + "$ref": "868" }, "decorators": [] }, { "$id": "880", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "gpt-4o-mini", + "value": "gpt-4o-mini", "valueType": { - "$ref": "877" + "$ref": "869" }, "enumType": { - "$ref": "876" + "$ref": "868" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "881", - "kind": "enum", - "name": "CreateImageEditRequestModel", - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.model.anonymous", - "valueType": { - "$id": "882", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, + { + "$id": "881", + "kind": "enumvalue", + "name": "gpt-4o-mini-2024-07-18", + "value": "gpt-4o-mini-2024-07-18", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, + { + "$id": "882", + "kind": "enumvalue", + "name": "gpt-4.5-preview", + "value": "gpt-4.5-preview", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, { "$id": "883", "kind": "enumvalue", - "name": "dall-e-2", - "value": "dall-e-2", + "name": "gpt-4.5-preview-2025-02-27", + "value": "gpt-4.5-preview-2025-02-27", "valueType": { - "$ref": "882" + "$ref": "869" }, "enumType": { - "$ref": "881" + "$ref": "868" }, "decorators": [] }, { "$id": "884", "kind": "enumvalue", - "name": "gpt-image-1", - "value": "gpt-image-1", + "name": "gpt-4-turbo", + "value": "gpt-4-turbo", "valueType": { - "$ref": "882" + "$ref": "869" }, "enumType": { - "$ref": "881" + "$ref": "868" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "885", - "kind": "enum", - "name": "CreateImageEditRequestSize", - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.size.anonymous", - "valueType": { - "$id": "886", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, + { + "$id": "885", + "kind": "enumvalue", + "name": "gpt-4-turbo-2024-04-09", + "value": "gpt-4-turbo-2024-04-09", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, + { + "$id": "886", + "kind": "enumvalue", + "name": "gpt-4-0125-preview", + "value": "gpt-4-0125-preview", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, { "$id": "887", "kind": "enumvalue", - "name": "256x256", - "value": "256x256", + "name": "gpt-4-turbo-preview", + "value": "gpt-4-turbo-preview", "valueType": { - "$ref": "886" + "$ref": "869" }, "enumType": { - "$ref": "885" + "$ref": "868" }, "decorators": [] }, { "$id": "888", "kind": "enumvalue", - "name": "512x512", - "value": "512x512", + "name": "gpt-4-1106-preview", + "value": "gpt-4-1106-preview", "valueType": { - "$ref": "886" + "$ref": "869" }, "enumType": { - "$ref": "885" + "$ref": "868" }, "decorators": [] }, { "$id": "889", "kind": "enumvalue", - "name": "1024x1024", - "value": "1024x1024", + "name": "gpt-4-vision-preview", + "value": "gpt-4-vision-preview", "valueType": { - "$ref": "886" + "$ref": "869" }, "enumType": { - "$ref": "885" + "$ref": "868" }, "decorators": [] }, { "$id": "890", "kind": "enumvalue", - "name": "1536x1024", - "value": "1536x1024", + "name": "gpt-4", + "value": "gpt-4", "valueType": { - "$ref": "886" + "$ref": "869" }, "enumType": { - "$ref": "885" + "$ref": "868" }, "decorators": [] }, { "$id": "891", "kind": "enumvalue", - "name": "1024x1536", - "value": "1024x1536", + "name": "gpt-4-0314", + "value": "gpt-4-0314", "valueType": { - "$ref": "886" + "$ref": "869" }, "enumType": { - "$ref": "885" + "$ref": "868" }, "decorators": [] }, { "$id": "892", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "gpt-4-0613", + "value": "gpt-4-0613", "valueType": { - "$ref": "886" + "$ref": "869" }, "enumType": { - "$ref": "885" + "$ref": "868" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "893", - "kind": "enum", - "name": "CreateImageEditRequestResponseFormat", - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.response_format.anonymous", - "valueType": { - "$id": "894", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, + { + "$id": "893", + "kind": "enumvalue", + "name": "gpt-4-32k", + "value": "gpt-4-32k", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, + { + "$id": "894", + "kind": "enumvalue", + "name": "gpt-4-32k-0314", + "value": "gpt-4-32k-0314", + "valueType": { + "$ref": "869" + }, + "enumType": { + "$ref": "868" + }, + "decorators": [] + }, { "$id": "895", "kind": "enumvalue", - "name": "url", - "value": "url", + "name": "gpt-4-32k-0613", + "value": "gpt-4-32k-0613", "valueType": { - "$ref": "894" + "$ref": "869" }, "enumType": { - "$ref": "893" + "$ref": "868" }, "decorators": [] }, { "$id": "896", "kind": "enumvalue", - "name": "b64_json", - "value": "b64_json", + "name": "gpt-3.5-turbo", + "value": "gpt-3.5-turbo", "valueType": { - "$ref": "894" + "$ref": "869" }, "enumType": { - "$ref": "893" + "$ref": "868" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "897", - "kind": "enum", - "name": "CreateImageEditRequestQuality", - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.quality.anonymous", - "valueType": { - "$id": "898", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "899", + "$id": "897", "kind": "enumvalue", - "name": "standard", - "value": "standard", + "name": "gpt-3.5-turbo-16k", + "value": "gpt-3.5-turbo-16k", "valueType": { - "$ref": "898" + "$ref": "869" }, "enumType": { - "$ref": "897" + "$ref": "868" }, "decorators": [] }, { - "$id": "900", + "$id": "898", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "gpt-3.5-turbo-0613", + "value": "gpt-3.5-turbo-0613", "valueType": { - "$ref": "898" + "$ref": "869" }, "enumType": { - "$ref": "897" + "$ref": "868" }, "decorators": [] }, { - "$id": "901", + "$id": "899", "kind": "enumvalue", - "name": "medium", - "value": "medium", + "name": "gpt-3.5-turbo-1106", + "value": "gpt-3.5-turbo-1106", "valueType": { - "$ref": "898" + "$ref": "869" }, "enumType": { - "$ref": "897" + "$ref": "868" }, "decorators": [] }, { - "$id": "902", + "$id": "900", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "gpt-3.5-turbo-0125", + "value": "gpt-3.5-turbo-0125", "valueType": { - "$ref": "898" + "$ref": "869" }, "enumType": { - "$ref": "897" + "$ref": "868" }, "decorators": [] }, { - "$id": "903", + "$id": "901", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "gpt-3.5-turbo-16k-0613", + "value": "gpt-3.5-turbo-16k-0613", "valueType": { - "$ref": "898" + "$ref": "869" }, "enumType": { - "$ref": "897" + "$ref": "868" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Input", + "usage": "Input,Json", "decorators": [] }, { - "$id": "904", + "$id": "902", "kind": "enum", - "name": "CreateImageVariationRequestModel", - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.model.anonymous", + "name": "TruncationObjectType", + "crossLanguageDefinitionId": "OpenAI.TruncationObject.type.anonymous", "valueType": { - "$id": "905", + "$id": "903", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11027,32 +11035,45 @@ }, "values": [ { - "$id": "906", + "$id": "904", "kind": "enumvalue", - "name": "dall-e-2", - "value": "dall-e-2", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "903" + }, + "enumType": { + "$ref": "902" + }, + "decorators": [] + }, + { + "$id": "905", + "kind": "enumvalue", + "name": "last_messages", + "value": "last_messages", "valueType": { - "$ref": "905" + "$ref": "903" }, "enumType": { - "$ref": "904" + "$ref": "902" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "907", + "$id": "906", "kind": "enum", - "name": "CreateImageVariationRequestResponseFormat", - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.response_format.anonymous", + "name": "CreateThreadAndRunRequestToolChoice1", + "crossLanguageDefinitionId": "OpenAI.CreateThreadAndRunRequest.tool_choice.anonymous", "valueType": { - "$id": "908", + "$id": "907", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11060,28 +11081,41 @@ }, "values": [ { - "$id": "909", + "$id": "908", "kind": "enumvalue", - "name": "url", - "value": "url", + "name": "none", + "value": "none", "valueType": { - "$ref": "908" + "$ref": "907" }, "enumType": { + "$ref": "906" + }, + "decorators": [] + }, + { + "$id": "909", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { "$ref": "907" }, + "enumType": { + "$ref": "906" + }, "decorators": [] }, { "$id": "910", "kind": "enumvalue", - "name": "b64_json", - "value": "b64_json", + "name": "required", + "value": "required", "valueType": { - "$ref": "908" + "$ref": "907" }, "enumType": { - "$ref": "907" + "$ref": "906" }, "decorators": [] } @@ -11089,14 +11123,14 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Input,Output,Json", "decorators": [] }, { "$id": "911", "kind": "enum", - "name": "CreateImageVariationRequestSize", - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.size.anonymous", + "name": "AssistantsNamedToolChoiceType", + "crossLanguageDefinitionId": "OpenAI.AssistantsNamedToolChoice.type.anonymous", "valueType": { "$id": "912", "kind": "string", @@ -11108,8 +11142,8 @@ { "$id": "913", "kind": "enumvalue", - "name": "256x256", - "value": "256x256", + "name": "function", + "value": "function", "valueType": { "$ref": "912" }, @@ -11121,8 +11155,8 @@ { "$id": "914", "kind": "enumvalue", - "name": "512x512", - "value": "512x512", + "name": "code_interpreter", + "value": "code_interpreter", "valueType": { "$ref": "912" }, @@ -11134,8 +11168,8 @@ { "$id": "915", "kind": "enumvalue", - "name": "1024x1024", - "value": "1024x1024", + "name": "file_search", + "value": "file_search", "valueType": { "$ref": "912" }, @@ -11148,14 +11182,14 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Input,Output,Json", "decorators": [] }, { "$id": "916", "kind": "enum", - "name": "CreateMessageRequestRole", - "crossLanguageDefinitionId": "OpenAI.CreateMessageRequest.role.anonymous", + "name": "RunObjectStatus", + "crossLanguageDefinitionId": "OpenAI.RunObject.status.anonymous", "valueType": { "$id": "917", "kind": "string", @@ -11167,8 +11201,8 @@ { "$id": "918", "kind": "enumvalue", - "name": "user", - "value": "user", + "name": "queued", + "value": "queued", "valueType": { "$ref": "917" }, @@ -11180,8 +11214,8 @@ { "$id": "919", "kind": "enumvalue", - "name": "assistant", - "value": "assistant", + "name": "in_progress", + "value": "in_progress", "valueType": { "$ref": "917" }, @@ -11189,139 +11223,95 @@ "$ref": "916" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "920", - "kind": "enum", - "name": "MessageContentType", - "crossLanguageDefinitionId": "OpenAI.MessageContentType", - "valueType": { - "$id": "921", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "922", + "$id": "920", "kind": "enumvalue", - "name": "text", - "value": "text", + "name": "requires_action", + "value": "requires_action", "valueType": { - "$ref": "921" + "$ref": "917" }, "enumType": { - "$ref": "920" + "$ref": "916" }, - "doc": "The content is a text message.", "decorators": [] }, { - "$id": "923", + "$id": "921", "kind": "enumvalue", - "name": "image_file", - "value": "image_file", + "name": "cancelling", + "value": "cancelling", "valueType": { - "$ref": "921" + "$ref": "917" }, "enumType": { - "$ref": "920" + "$ref": "916" }, - "doc": "The content is an image file.", "decorators": [] }, { - "$id": "924", + "$id": "922", "kind": "enumvalue", - "name": "image_url", - "value": "image_url", + "name": "cancelled", + "value": "cancelled", "valueType": { - "$ref": "921" + "$ref": "917" }, "enumType": { - "$ref": "920" + "$ref": "916" }, - "doc": "The content is an image URL.", "decorators": [] }, { - "$id": "925", + "$id": "923", "kind": "enumvalue", - "name": "refusal", - "value": "refusal", + "name": "failed", + "value": "failed", "valueType": { - "$ref": "921" + "$ref": "917" }, "enumType": { - "$ref": "920" + "$ref": "916" }, - "doc": "The content is a refusal message.", "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Output,Json", - "decorators": [] - }, - { - "$id": "926", - "kind": "enum", - "name": "MessageContentImageFileObjectImageFileDetail", - "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.detail.anonymous", - "valueType": { - "$id": "927", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "928", + "$id": "924", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "927" + "$ref": "917" }, "enumType": { - "$ref": "926" + "$ref": "916" }, "decorators": [] }, { - "$id": "929", + "$id": "925", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "incomplete", + "value": "incomplete", "valueType": { - "$ref": "927" + "$ref": "917" }, "enumType": { - "$ref": "926" + "$ref": "916" }, "decorators": [] }, { - "$id": "930", + "$id": "926", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "expired", + "value": "expired", "valueType": { - "$ref": "927" + "$ref": "917" }, "enumType": { - "$ref": "926" + "$ref": "916" }, "decorators": [] } @@ -11329,16 +11319,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "931", + "$id": "927", "kind": "enum", - "name": "MessageContentTextAnnotationType", - "crossLanguageDefinitionId": "OpenAI.MessageContentTextAnnotationType", + "name": "RunObjectLastErrorCode", + "crossLanguageDefinitionId": "OpenAI.RunObject.last_error.code.anonymous", "valueType": { - "$id": "932", + "$id": "928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11346,45 +11336,58 @@ }, "values": [ { - "$id": "933", + "$id": "929", "kind": "enumvalue", - "name": "file_citation", - "value": "file_citation", + "name": "server_error", + "value": "server_error", "valueType": { - "$ref": "932" + "$ref": "928" }, "enumType": { - "$ref": "931" + "$ref": "927" }, "decorators": [] }, { - "$id": "934", + "$id": "930", "kind": "enumvalue", - "name": "file_path", - "value": "file_path", + "name": "rate_limit_exceeded", + "value": "rate_limit_exceeded", "valueType": { - "$ref": "932" + "$ref": "928" + }, + "enumType": { + "$ref": "927" + }, + "decorators": [] + }, + { + "$id": "931", + "kind": "enumvalue", + "name": "invalid_prompt", + "value": "invalid_prompt", + "valueType": { + "$ref": "928" }, "enumType": { - "$ref": "931" + "$ref": "927" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "935", + "$id": "932", "kind": "enum", - "name": "MessageContentImageUrlObjectImageUrlDetail", - "crossLanguageDefinitionId": "OpenAI.MessageContentImageUrlObject.image_url.detail.anonymous", + "name": "RunObjectIncompleteDetailsReason", + "crossLanguageDefinitionId": "OpenAI.RunObject.incomplete_details.reason.anonymous", "valueType": { - "$id": "936", + "$id": "933", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11392,41 +11395,74 @@ }, "values": [ { - "$id": "937", + "$id": "934", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "max_completion_tokens", + "value": "max_completion_tokens", "valueType": { - "$ref": "936" + "$ref": "933" }, "enumType": { - "$ref": "935" + "$ref": "932" }, "decorators": [] }, + { + "$id": "935", + "kind": "enumvalue", + "name": "max_prompt_tokens", + "value": "max_prompt_tokens", + "valueType": { + "$ref": "933" + }, + "enumType": { + "$ref": "932" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "936", + "kind": "enum", + "name": "RunStepObjectType", + "crossLanguageDefinitionId": "OpenAI.RunStepObject.type.anonymous", + "valueType": { + "$id": "937", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { "$id": "938", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "message_creation", + "value": "message_creation", "valueType": { - "$ref": "936" + "$ref": "937" }, "enumType": { - "$ref": "935" + "$ref": "936" }, "decorators": [] }, { "$id": "939", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "tool_calls", + "value": "tool_calls", "valueType": { - "$ref": "936" + "$ref": "937" }, "enumType": { - "$ref": "935" + "$ref": "936" }, "decorators": [] } @@ -11434,14 +11470,14 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { "$id": "940", "kind": "enum", - "name": "MessageObjectStatus", - "crossLanguageDefinitionId": "OpenAI.MessageObject.status.anonymous", + "name": "RunStepObjectStatus", + "crossLanguageDefinitionId": "OpenAI.RunStepObject.status.anonymous", "valueType": { "$id": "941", "kind": "string", @@ -11466,8 +11502,8 @@ { "$id": "943", "kind": "enumvalue", - "name": "incomplete", - "value": "incomplete", + "name": "cancelled", + "value": "cancelled", "valueType": { "$ref": "941" }, @@ -11479,6 +11515,19 @@ { "$id": "944", "kind": "enumvalue", + "name": "failed", + "value": "failed", + "valueType": { + "$ref": "941" + }, + "enumType": { + "$ref": "940" + }, + "decorators": [] + }, + { + "$id": "945", + "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { @@ -11488,6 +11537,19 @@ "$ref": "940" }, "decorators": [] + }, + { + "$id": "946", + "kind": "enumvalue", + "name": "expired", + "value": "expired", + "valueType": { + "$ref": "941" + }, + "enumType": { + "$ref": "940" + }, + "decorators": [] } ], "namespace": "OpenAI", @@ -11497,12 +11559,12 @@ "decorators": [] }, { - "$id": "945", + "$id": "947", "kind": "enum", - "name": "MessageObjectIncompleteDetailsReason", - "crossLanguageDefinitionId": "OpenAI.MessageObject.incomplete_details.reason.anonymous", + "name": "RunStepDetailsType", + "crossLanguageDefinitionId": "OpenAI.RunStepDetailsType", "valueType": { - "$id": "946", + "$id": "948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11510,84 +11572,104 @@ }, "values": [ { - "$id": "947", + "$id": "949", "kind": "enumvalue", - "name": "content_filter", - "value": "content_filter", + "name": "message_creation", + "value": "message_creation", "valueType": { - "$ref": "946" + "$ref": "948" }, "enumType": { - "$ref": "945" + "$ref": "947" }, "decorators": [] }, { - "$id": "948", + "$id": "950", "kind": "enumvalue", - "name": "max_tokens", - "value": "max_tokens", + "name": "tool_calls", + "value": "tool_calls", "valueType": { - "$ref": "946" + "$ref": "948" }, "enumType": { - "$ref": "945" + "$ref": "947" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "951", + "kind": "enum", + "name": "RunStepDetailsToolCallType", + "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallType", + "valueType": { + "$id": "952", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "949", + "$id": "953", "kind": "enumvalue", - "name": "run_cancelled", - "value": "run_cancelled", + "name": "code_interpreter", + "value": "code_interpreter", "valueType": { - "$ref": "946" + "$ref": "952" }, "enumType": { - "$ref": "945" + "$ref": "951" }, "decorators": [] }, { - "$id": "950", + "$id": "954", "kind": "enumvalue", - "name": "run_expired", - "value": "run_expired", + "name": "file_search", + "value": "file_search", "valueType": { - "$ref": "946" + "$ref": "952" }, "enumType": { - "$ref": "945" + "$ref": "951" }, "decorators": [] }, { - "$id": "951", + "$id": "955", "kind": "enumvalue", - "name": "run_failed", - "value": "run_failed", + "name": "function", + "value": "function", "valueType": { - "$ref": "946" + "$ref": "952" }, "enumType": { - "$ref": "945" + "$ref": "951" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, "usage": "Output,Json", "decorators": [] }, { - "$id": "952", + "$id": "956", "kind": "enum", - "name": "MessageObjectRole", - "crossLanguageDefinitionId": "OpenAI.MessageObject.role.anonymous", + "name": "RunStepDetailsCodeInterpreterOutputType", + "crossLanguageDefinitionId": "OpenAI.RunStepDetailsCodeInterpreterOutputType", "valueType": { - "$id": "953", + "$id": "957", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11595,45 +11677,45 @@ }, "values": [ { - "$id": "954", + "$id": "958", "kind": "enumvalue", - "name": "user", - "value": "user", + "name": "logs", + "value": "logs", "valueType": { - "$ref": "953" + "$ref": "957" }, "enumType": { - "$ref": "952" + "$ref": "956" }, "decorators": [] }, { - "$id": "955", + "$id": "959", "kind": "enumvalue", - "name": "assistant", - "value": "assistant", + "name": "image", + "value": "image", "valueType": { - "$ref": "953" + "$ref": "957" }, "enumType": { - "$ref": "952" + "$ref": "956" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, "usage": "Output,Json", "decorators": [] }, { - "$id": "956", + "$id": "960", "kind": "enum", - "name": "CreateModerationRequestModel", - "crossLanguageDefinitionId": "OpenAI.CreateModerationRequest.model.anonymous", + "name": "RunStepObjectLastErrorCode", + "crossLanguageDefinitionId": "OpenAI.RunStepObject.last_error.code.anonymous", "valueType": { - "$id": "957", + "$id": "961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11641,71 +11723,104 @@ }, "values": [ { - "$id": "958", + "$id": "962", "kind": "enumvalue", - "name": "omni-moderation-latest", - "value": "omni-moderation-latest", + "name": "server_error", + "value": "server_error", "valueType": { - "$ref": "957" + "$ref": "961" }, "enumType": { - "$ref": "956" + "$ref": "960" }, "decorators": [] }, { - "$id": "959", + "$id": "963", "kind": "enumvalue", - "name": "omni-moderation-2024-09-26", - "value": "omni-moderation-2024-09-26", + "name": "rate_limit_exceeded", + "value": "rate_limit_exceeded", "valueType": { - "$ref": "957" + "$ref": "961" }, "enumType": { - "$ref": "956" + "$ref": "960" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "964", + "kind": "enum", + "name": "VectorStoreObjectStatus", + "crossLanguageDefinitionId": "OpenAI.VectorStoreObject.status.anonymous", + "valueType": { + "$id": "965", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "966", + "kind": "enumvalue", + "name": "expired", + "value": "expired", + "valueType": { + "$ref": "965" + }, + "enumType": { + "$ref": "964" }, "decorators": [] }, { - "$id": "960", + "$id": "967", "kind": "enumvalue", - "name": "text-moderation-latest", - "value": "text-moderation-latest", + "name": "in_progress", + "value": "in_progress", "valueType": { - "$ref": "957" + "$ref": "965" }, "enumType": { - "$ref": "956" + "$ref": "964" }, "decorators": [] }, { - "$id": "961", + "$id": "968", "kind": "enumvalue", - "name": "text-moderation-stable", - "value": "text-moderation-stable", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "957" + "$ref": "965" }, "enumType": { - "$ref": "956" + "$ref": "964" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "962", + "$id": "969", "kind": "enum", - "name": "CreateThreadAndRunRequestModel", - "crossLanguageDefinitionId": "OpenAI.CreateThreadAndRunRequest.model.anonymous", + "name": "VectorStoreFileBatchObjectStatus", + "crossLanguageDefinitionId": "OpenAI.VectorStoreFileBatchObject.status.anonymous", "valueType": { - "$id": "963", + "$id": "970", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11713,418 +11828,571 @@ }, "values": [ { - "$id": "964", + "$id": "971", "kind": "enumvalue", - "name": "gpt-4.1", - "value": "gpt-4.1", + "name": "in_progress", + "value": "in_progress", "valueType": { - "$ref": "963" + "$ref": "970" }, "enumType": { - "$ref": "962" + "$ref": "969" }, "decorators": [] }, { - "$id": "965", + "$id": "972", "kind": "enumvalue", - "name": "gpt-4.1-mini", - "value": "gpt-4.1-mini", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "963" + "$ref": "970" }, "enumType": { - "$ref": "962" + "$ref": "969" }, "decorators": [] }, { - "$id": "966", + "$id": "973", "kind": "enumvalue", - "name": "gpt-4.1-nano", - "value": "gpt-4.1-nano", + "name": "cancelled", + "value": "cancelled", "valueType": { - "$ref": "963" + "$ref": "970" }, "enumType": { - "$ref": "962" + "$ref": "969" }, "decorators": [] }, { - "$id": "967", + "$id": "974", "kind": "enumvalue", - "name": "gpt-4.1-2025-04-14", - "value": "gpt-4.1-2025-04-14", + "name": "failed", + "value": "failed", "valueType": { - "$ref": "963" + "$ref": "970" }, "enumType": { - "$ref": "962" + "$ref": "969" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "975", + "kind": "enum", + "name": "VectorStoreFileObjectStatus", + "crossLanguageDefinitionId": "OpenAI.VectorStoreFileObject.status.anonymous", + "valueType": { + "$id": "976", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "968", + "$id": "977", "kind": "enumvalue", - "name": "gpt-4.1-mini-2025-04-14", - "value": "gpt-4.1-mini-2025-04-14", + "name": "in_progress", + "value": "in_progress", "valueType": { - "$ref": "963" + "$ref": "976" }, "enumType": { - "$ref": "962" + "$ref": "975" }, "decorators": [] }, { - "$id": "969", + "$id": "978", "kind": "enumvalue", - "name": "gpt-4.1-nano-2025-04-14", - "value": "gpt-4.1-nano-2025-04-14", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "963" + "$ref": "976" }, "enumType": { - "$ref": "962" + "$ref": "975" }, "decorators": [] }, { - "$id": "970", + "$id": "979", "kind": "enumvalue", - "name": "gpt-4o", - "value": "gpt-4o", + "name": "cancelled", + "value": "cancelled", "valueType": { - "$ref": "963" + "$ref": "976" }, "enumType": { - "$ref": "962" + "$ref": "975" }, "decorators": [] }, { - "$id": "971", + "$id": "980", "kind": "enumvalue", - "name": "gpt-4o-2024-11-20", - "value": "gpt-4o-2024-11-20", + "name": "failed", + "value": "failed", "valueType": { - "$ref": "963" + "$ref": "976" }, "enumType": { - "$ref": "962" + "$ref": "975" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "981", + "kind": "enum", + "name": "VectorStoreFileObjectLastErrorCode", + "crossLanguageDefinitionId": "OpenAI.VectorStoreFileObject.last_error.code.anonymous", + "valueType": { + "$id": "982", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "972", + "$id": "983", "kind": "enumvalue", - "name": "gpt-4o-2024-08-06", - "value": "gpt-4o-2024-08-06", + "name": "server_error", + "value": "server_error", "valueType": { - "$ref": "963" + "$ref": "982" }, "enumType": { - "$ref": "962" + "$ref": "981" }, "decorators": [] }, { - "$id": "973", + "$id": "984", "kind": "enumvalue", - "name": "gpt-4o-2024-05-13", - "value": "gpt-4o-2024-05-13", + "name": "unsupported_file", + "value": "unsupported_file", "valueType": { - "$ref": "963" + "$ref": "982" }, "enumType": { - "$ref": "962" + "$ref": "981" }, "decorators": [] }, { - "$id": "974", + "$id": "985", "kind": "enumvalue", - "name": "gpt-4o-mini", - "value": "gpt-4o-mini", + "name": "invalid_file", + "value": "invalid_file", "valueType": { - "$ref": "963" + "$ref": "982" }, "enumType": { - "$ref": "962" + "$ref": "981" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "986", + "kind": "enum", + "name": "ChunkingStrategyResponseParamType", + "crossLanguageDefinitionId": "OpenAI.ChunkingStrategyResponseParam.type.anonymous", + "valueType": { + "$id": "987", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "975", + "$id": "988", "kind": "enumvalue", - "name": "gpt-4o-mini-2024-07-18", - "value": "gpt-4o-mini-2024-07-18", + "name": "static", + "value": "static", "valueType": { - "$ref": "963" + "$ref": "987" }, "enumType": { - "$ref": "962" + "$ref": "986" }, "decorators": [] }, { - "$id": "976", + "$id": "989", "kind": "enumvalue", - "name": "gpt-4.5-preview", - "value": "gpt-4.5-preview", + "name": "other", + "value": "other", "valueType": { - "$ref": "963" + "$ref": "987" }, "enumType": { - "$ref": "962" + "$ref": "986" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "990", + "kind": "enum", + "name": "VectorStoreSearchRequestRankingOptionsRanker", + "crossLanguageDefinitionId": "OpenAI.VectorStoreSearchRequest.ranking_options.ranker.anonymous", + "valueType": { + "$id": "991", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "977", + "$id": "992", "kind": "enumvalue", - "name": "gpt-4.5-preview-2025-02-27", - "value": "gpt-4.5-preview-2025-02-27", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "963" + "$ref": "991" }, "enumType": { - "$ref": "962" + "$ref": "990" }, "decorators": [] }, { - "$id": "978", + "$id": "993", "kind": "enumvalue", - "name": "gpt-4-turbo", - "value": "gpt-4-turbo", + "name": "default-2024-11-15", + "value": "default-2024-11-15", "valueType": { - "$ref": "963" + "$ref": "991" }, "enumType": { - "$ref": "962" + "$ref": "990" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "994", + "kind": "enum", + "name": "CreateCompletionRequestModel", + "crossLanguageDefinitionId": "OpenAI.CreateCompletionRequest.model.anonymous", + "valueType": { + "$id": "995", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "979", + "$id": "996", "kind": "enumvalue", - "name": "gpt-4-turbo-2024-04-09", - "value": "gpt-4-turbo-2024-04-09", + "name": "gpt-3.5-turbo-instruct", + "value": "gpt-3.5-turbo-instruct", "valueType": { - "$ref": "963" + "$ref": "995" }, "enumType": { - "$ref": "962" + "$ref": "994" }, "decorators": [] }, { - "$id": "980", + "$id": "997", "kind": "enumvalue", - "name": "gpt-4-0125-preview", - "value": "gpt-4-0125-preview", + "name": "davinci-002", + "value": "davinci-002", "valueType": { - "$ref": "963" + "$ref": "995" }, "enumType": { - "$ref": "962" + "$ref": "994" }, "decorators": [] }, { - "$id": "981", + "$id": "998", "kind": "enumvalue", - "name": "gpt-4-turbo-preview", - "value": "gpt-4-turbo-preview", + "name": "babbage-002", + "value": "babbage-002", "valueType": { - "$ref": "963" + "$ref": "995" }, "enumType": { - "$ref": "962" + "$ref": "994" }, "decorators": [] - }, - { - "$id": "982", - "kind": "enumvalue", - "name": "gpt-4-1106-preview", - "value": "gpt-4-1106-preview", + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "999", + "kind": "enum", + "name": "CreateCompletionResponseChoiceFinishReason", + "crossLanguageDefinitionId": "OpenAI.CreateCompletionResponse.choice.finish_reason.anonymous", + "valueType": { + "$id": "1000", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "1001", + "kind": "enumvalue", + "name": "stop", + "value": "stop", "valueType": { - "$ref": "963" + "$ref": "1000" }, "enumType": { - "$ref": "962" + "$ref": "999" }, "decorators": [] }, { - "$id": "983", + "$id": "1002", "kind": "enumvalue", - "name": "gpt-4-vision-preview", - "value": "gpt-4-vision-preview", + "name": "length", + "value": "length", "valueType": { - "$ref": "963" + "$ref": "1000" }, "enumType": { - "$ref": "962" + "$ref": "999" }, "decorators": [] }, { - "$id": "984", + "$id": "1003", "kind": "enumvalue", - "name": "gpt-4", - "value": "gpt-4", + "name": "content_filter", + "value": "content_filter", + "valueType": { + "$ref": "1000" + }, + "enumType": { + "$ref": "999" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "1004", + "kind": "enum", + "name": "RealtimeClientEventType", + "crossLanguageDefinitionId": "OpenAI.RealtimeClientEventType", + "valueType": { + "$id": "1005", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "1006", + "kind": "enumvalue", + "name": "session_update", + "value": "session.update", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "985", + "$id": "1007", "kind": "enumvalue", - "name": "gpt-4-0314", - "value": "gpt-4-0314", + "name": "input_audio_buffer_append", + "value": "input_audio_buffer.append", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "986", + "$id": "1008", "kind": "enumvalue", - "name": "gpt-4-0613", - "value": "gpt-4-0613", + "name": "input_audio_buffer_commit", + "value": "input_audio_buffer.commit", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "987", + "$id": "1009", "kind": "enumvalue", - "name": "gpt-4-32k", - "value": "gpt-4-32k", + "name": "input_audio_buffer_clear", + "value": "input_audio_buffer.clear", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "988", + "$id": "1010", "kind": "enumvalue", - "name": "gpt-4-32k-0314", - "value": "gpt-4-32k-0314", + "name": "output_audio_buffer_clear", + "value": "output_audio_buffer.clear", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "989", + "$id": "1011", "kind": "enumvalue", - "name": "gpt-4-32k-0613", - "value": "gpt-4-32k-0613", + "name": "conversation_item_create", + "value": "conversation.item.create", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "990", + "$id": "1012", "kind": "enumvalue", - "name": "gpt-3.5-turbo", - "value": "gpt-3.5-turbo", + "name": "conversation_item_retrieve", + "value": "conversation.item.retrieve", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "991", + "$id": "1013", "kind": "enumvalue", - "name": "gpt-3.5-turbo-16k", - "value": "gpt-3.5-turbo-16k", + "name": "conversation_item_truncate", + "value": "conversation.item.truncate", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "992", + "$id": "1014", "kind": "enumvalue", - "name": "gpt-3.5-turbo-0613", - "value": "gpt-3.5-turbo-0613", + "name": "conversation_item_delete", + "value": "conversation.item.delete", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "993", + "$id": "1015", "kind": "enumvalue", - "name": "gpt-3.5-turbo-1106", - "value": "gpt-3.5-turbo-1106", + "name": "response_create", + "value": "response.create", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "994", + "$id": "1016", "kind": "enumvalue", - "name": "gpt-3.5-turbo-0125", - "value": "gpt-3.5-turbo-0125", + "name": "response_cancel", + "value": "response.cancel", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] }, { - "$id": "995", + "$id": "1017", "kind": "enumvalue", - "name": "gpt-3.5-turbo-16k-0613", - "value": "gpt-3.5-turbo-16k-0613", + "name": "transcription_session_update", + "value": "transcription_session.update", "valueType": { - "$ref": "963" + "$ref": "1005" }, "enumType": { - "$ref": "962" + "$ref": "1004" }, "decorators": [] } @@ -12136,12 +12404,12 @@ "decorators": [] }, { - "$id": "996", + "$id": "1018", "kind": "enum", - "name": "TruncationObjectType", - "crossLanguageDefinitionId": "OpenAI.TruncationObject.type.anonymous", + "name": "RealtimeModality", + "crossLanguageDefinitionId": "OpenAI.RealtimeModality", "valueType": { - "$id": "997", + "$id": "1019", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12149,45 +12417,45 @@ }, "values": [ { - "$id": "998", + "$id": "1020", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "text", + "value": "text", "valueType": { - "$ref": "997" + "$ref": "1019" }, "enumType": { - "$ref": "996" + "$ref": "1018" }, "decorators": [] }, { - "$id": "999", + "$id": "1021", "kind": "enumvalue", - "name": "last_messages", - "value": "last_messages", + "name": "audio", + "value": "audio", "valueType": { - "$ref": "997" + "$ref": "1019" }, "enumType": { - "$ref": "996" + "$ref": "1018" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1000", + "$id": "1022", "kind": "enum", - "name": "CreateThreadAndRunRequestToolChoice1", - "crossLanguageDefinitionId": "OpenAI.CreateThreadAndRunRequest.tool_choice.anonymous", + "name": "RealtimeRequestSessionModel", + "crossLanguageDefinitionId": "OpenAI.RealtimeRequestSession.model.anonymous", "valueType": { - "$id": "1001", + "$id": "1023", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12195,41 +12463,67 @@ }, "values": [ { - "$id": "1002", + "$id": "1024", "kind": "enumvalue", - "name": "none", - "value": "none", + "name": "gpt-4o-realtime-preview", + "value": "gpt-4o-realtime-preview", "valueType": { - "$ref": "1001" + "$ref": "1023" }, "enumType": { - "$ref": "1000" + "$ref": "1022" }, "decorators": [] }, { - "$id": "1003", + "$id": "1025", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "gpt-4o-realtime-preview-2024-10-01", + "value": "gpt-4o-realtime-preview-2024-10-01", "valueType": { - "$ref": "1001" + "$ref": "1023" }, "enumType": { - "$ref": "1000" + "$ref": "1022" }, "decorators": [] }, { - "$id": "1004", + "$id": "1026", "kind": "enumvalue", - "name": "required", - "value": "required", + "name": "gpt-4o-realtime-preview-2024-12-17", + "value": "gpt-4o-realtime-preview-2024-12-17", "valueType": { - "$ref": "1001" + "$ref": "1023" }, "enumType": { - "$ref": "1000" + "$ref": "1022" + }, + "decorators": [] + }, + { + "$id": "1027", + "kind": "enumvalue", + "name": "gpt-4o-mini-realtime-preview", + "value": "gpt-4o-mini-realtime-preview", + "valueType": { + "$ref": "1023" + }, + "enumType": { + "$ref": "1022" + }, + "decorators": [] + }, + { + "$id": "1028", + "kind": "enumvalue", + "name": "gpt-4o-mini-realtime-preview-2024-12-17", + "value": "gpt-4o-mini-realtime-preview-2024-12-17", + "valueType": { + "$ref": "1023" + }, + "enumType": { + "$ref": "1022" }, "decorators": [] } @@ -12237,16 +12531,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1005", + "$id": "1029", "kind": "enum", - "name": "AssistantsNamedToolChoiceType", - "crossLanguageDefinitionId": "OpenAI.AssistantsNamedToolChoice.type.anonymous", + "name": "RealtimeAudioFormat", + "crossLanguageDefinitionId": "OpenAI.RealtimeAudioFormat", "valueType": { - "$id": "1006", + "$id": "1030", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12254,58 +12548,58 @@ }, "values": [ { - "$id": "1007", + "$id": "1031", "kind": "enumvalue", - "name": "function", - "value": "function", + "name": "pcm16", + "value": "pcm16", "valueType": { - "$ref": "1006" + "$ref": "1030" }, "enumType": { - "$ref": "1005" + "$ref": "1029" }, "decorators": [] }, { - "$id": "1008", + "$id": "1032", "kind": "enumvalue", - "name": "code_interpreter", - "value": "code_interpreter", + "name": "g711_ulaw", + "value": "g711_ulaw", "valueType": { - "$ref": "1006" + "$ref": "1030" }, "enumType": { - "$ref": "1005" + "$ref": "1029" }, "decorators": [] }, { - "$id": "1009", + "$id": "1033", "kind": "enumvalue", - "name": "file_search", - "value": "file_search", + "name": "g711_alaw", + "value": "g711_alaw", "valueType": { - "$ref": "1006" + "$ref": "1030" }, "enumType": { - "$ref": "1005" + "$ref": "1029" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1010", + "$id": "1034", "kind": "enum", - "name": "RunObjectStatus", - "crossLanguageDefinitionId": "OpenAI.RunObject.status.anonymous", + "name": "RealtimeAudioInputTranscriptionModel", + "crossLanguageDefinitionId": "OpenAI.RealtimeAudioInputTranscriptionModel", "valueType": { - "$id": "1011", + "$id": "1035", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12313,119 +12607,134 @@ }, "values": [ { - "$id": "1012", - "kind": "enumvalue", - "name": "queued", - "value": "queued", - "valueType": { - "$ref": "1011" - }, - "enumType": { - "$ref": "1010" - }, - "decorators": [] - }, - { - "$id": "1013", - "kind": "enumvalue", - "name": "in_progress", - "value": "in_progress", - "valueType": { - "$ref": "1011" - }, - "enumType": { - "$ref": "1010" - }, - "decorators": [] - }, - { - "$id": "1014", + "$id": "1036", "kind": "enumvalue", - "name": "requires_action", - "value": "requires_action", + "name": "whisper_1", + "value": "whisper-1", "valueType": { - "$ref": "1011" + "$ref": "1035" }, "enumType": { - "$ref": "1010" + "$ref": "1034" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "1037", + "kind": "enum", + "name": "RealtimeTurnDetectionType", + "crossLanguageDefinitionId": "OpenAI.RealtimeTurnDetectionType", + "valueType": { + "$id": "1038", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1015", + "$id": "1039", "kind": "enumvalue", - "name": "cancelling", - "value": "cancelling", + "name": "server_vad", + "value": "server_vad", "valueType": { - "$ref": "1011" + "$ref": "1038" }, "enumType": { - "$ref": "1010" + "$ref": "1037" }, + "doc": "Indicates that server-side voice activity detection (VAD) should be enabled, allowing the server to determine when\nadd_user_audio commands present ends of speech and should be automatically committed.\n\nThe API will also detect when the user begins talking, sending a generation_canceled command.", "decorators": [] }, { - "$id": "1016", + "$id": "1040", "kind": "enumvalue", - "name": "cancelled", - "value": "cancelled", + "name": "semantic_vad", + "value": "semantic_vad", "valueType": { - "$ref": "1011" + "$ref": "1038" }, "enumType": { - "$ref": "1010" + "$ref": "1037" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "1041", + "kind": "enum", + "name": "RealtimeSemanticVadTurnDetectionEagerness", + "crossLanguageDefinitionId": "OpenAI.RealtimeSemanticVadTurnDetection.eagerness.anonymous", + "valueType": { + "$id": "1042", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1017", + "$id": "1043", "kind": "enumvalue", - "name": "failed", - "value": "failed", + "name": "low", + "value": "low", "valueType": { - "$ref": "1011" + "$ref": "1042" }, "enumType": { - "$ref": "1010" + "$ref": "1041" }, "decorators": [] }, { - "$id": "1018", + "$id": "1044", "kind": "enumvalue", - "name": "completed", - "value": "completed", + "name": "medium", + "value": "medium", "valueType": { - "$ref": "1011" + "$ref": "1042" }, "enumType": { - "$ref": "1010" + "$ref": "1041" }, "decorators": [] }, { - "$id": "1019", + "$id": "1045", "kind": "enumvalue", - "name": "incomplete", - "value": "incomplete", + "name": "high", + "value": "high", "valueType": { - "$ref": "1011" + "$ref": "1042" }, "enumType": { - "$ref": "1010" + "$ref": "1041" }, "decorators": [] }, { - "$id": "1020", + "$id": "1046", "kind": "enumvalue", - "name": "expired", - "value": "expired", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1011" + "$ref": "1042" }, "enumType": { - "$ref": "1010" + "$ref": "1041" }, "decorators": [] } @@ -12433,16 +12742,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1021", + "$id": "1047", "kind": "enum", - "name": "RunObjectLastErrorCode", - "crossLanguageDefinitionId": "OpenAI.RunObject.last_error.code.anonymous", + "name": "RealtimeAudioNoiseReductionType", + "crossLanguageDefinitionId": "OpenAI.RealtimeAudioNoiseReductionType", "valueType": { - "$id": "1022", + "$id": "1048", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12450,58 +12759,79 @@ }, "values": [ { - "$id": "1023", + "$id": "1049", "kind": "enumvalue", - "name": "server_error", - "value": "server_error", + "name": "near_field", + "value": "near_field", "valueType": { - "$ref": "1022" + "$ref": "1048" }, "enumType": { - "$ref": "1021" + "$ref": "1047" }, "decorators": [] }, { - "$id": "1024", + "$id": "1050", "kind": "enumvalue", - "name": "rate_limit_exceeded", - "value": "rate_limit_exceeded", + "name": "far_field", + "value": "far_field", "valueType": { - "$ref": "1022" + "$ref": "1048" }, "enumType": { - "$ref": "1021" + "$ref": "1047" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "1051", + "kind": "enum", + "name": "RealtimeToolType", + "crossLanguageDefinitionId": "OpenAI.RealtimeToolType", + "valueType": { + "$id": "1052", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1025", + "$id": "1053", "kind": "enumvalue", - "name": "invalid_prompt", - "value": "invalid_prompt", + "name": "function", + "value": "function", "valueType": { - "$ref": "1022" + "$ref": "1052" }, "enumType": { - "$ref": "1021" + "$ref": "1051" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "doc": "The supported tool type discriminators for realtime tools.\nCurrently, only 'function' tools are supported.", + "isFixed": false, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1026", + "$id": "1054", "kind": "enum", - "name": "RunObjectIncompleteDetailsReason", - "crossLanguageDefinitionId": "OpenAI.RunObject.incomplete_details.reason.anonymous", + "name": "RealtimeToolChoiceLiteral", + "crossLanguageDefinitionId": "OpenAI.RealtimeToolChoiceLiteral", "valueType": { - "$id": "1027", + "$id": "1055", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12509,45 +12839,62 @@ }, "values": [ { - "$id": "1028", + "$id": "1056", "kind": "enumvalue", - "name": "max_completion_tokens", - "value": "max_completion_tokens", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1027" + "$ref": "1055" }, "enumType": { - "$ref": "1026" + "$ref": "1054" }, + "doc": "Specifies that the model should freely determine which tool or tools, if any, to call.", "decorators": [] }, { - "$id": "1029", + "$id": "1057", "kind": "enumvalue", - "name": "max_prompt_tokens", - "value": "max_prompt_tokens", + "name": "none", + "value": "none", + "valueType": { + "$ref": "1055" + }, + "enumType": { + "$ref": "1054" + }, + "doc": "Specifies that the model should call no tools whatsoever.", + "decorators": [] + }, + { + "$id": "1058", + "kind": "enumvalue", + "name": "required", + "value": "required", "valueType": { - "$ref": "1027" + "$ref": "1055" }, "enumType": { - "$ref": "1026" + "$ref": "1054" }, + "doc": "Specifies that the model should call at least one tool.", "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "doc": "The available set of mode-level, string literal tool_choice options for the realtime endpoint.", + "isFixed": false, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1030", + "$id": "1059", "kind": "enum", - "name": "RunStepObjectType", - "crossLanguageDefinitionId": "OpenAI.RunStepObject.type.anonymous", + "name": "RealtimeItemType", + "crossLanguageDefinitionId": "OpenAI.RealtimeItemType", "valueType": { - "$id": "1031", + "$id": "1060", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12555,45 +12902,58 @@ }, "values": [ { - "$id": "1032", + "$id": "1061", "kind": "enumvalue", - "name": "message_creation", - "value": "message_creation", + "name": "message", + "value": "message", "valueType": { - "$ref": "1031" + "$ref": "1060" }, "enumType": { - "$ref": "1030" + "$ref": "1059" }, "decorators": [] }, { - "$id": "1033", + "$id": "1062", "kind": "enumvalue", - "name": "tool_calls", - "value": "tool_calls", + "name": "function_call", + "value": "function_call", "valueType": { - "$ref": "1031" + "$ref": "1060" }, "enumType": { - "$ref": "1030" + "$ref": "1059" + }, + "decorators": [] + }, + { + "$id": "1063", + "kind": "enumvalue", + "name": "function_call_output", + "value": "function_call_output", + "valueType": { + "$ref": "1060" + }, + "enumType": { + "$ref": "1059" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1034", + "$id": "1064", "kind": "enum", - "name": "RunStepObjectStatus", - "crossLanguageDefinitionId": "OpenAI.RunStepObject.status.anonymous", + "name": "RealtimeMessageRole", + "crossLanguageDefinitionId": "OpenAI.RealtimeMessageRole", "valueType": { - "$id": "1035", + "$id": "1065", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12601,84 +12961,58 @@ }, "values": [ { - "$id": "1036", + "$id": "1066", "kind": "enumvalue", - "name": "in_progress", - "value": "in_progress", + "name": "system", + "value": "system", "valueType": { - "$ref": "1035" + "$ref": "1065" }, "enumType": { - "$ref": "1034" + "$ref": "1064" }, "decorators": [] }, { - "$id": "1037", + "$id": "1067", "kind": "enumvalue", - "name": "cancelled", - "value": "cancelled", + "name": "user", + "value": "user", "valueType": { - "$ref": "1035" + "$ref": "1065" }, "enumType": { - "$ref": "1034" + "$ref": "1064" }, "decorators": [] }, { - "$id": "1038", + "$id": "1068", "kind": "enumvalue", - "name": "failed", - "value": "failed", + "name": "assistant", + "value": "assistant", "valueType": { - "$ref": "1035" + "$ref": "1065" }, "enumType": { - "$ref": "1034" - }, - "decorators": [] - }, - { - "$id": "1039", - "kind": "enumvalue", - "name": "completed", - "value": "completed", - "valueType": { - "$ref": "1035" - }, - "enumType": { - "$ref": "1034" - }, - "decorators": [] - }, - { - "$id": "1040", - "kind": "enumvalue", - "name": "expired", - "value": "expired", - "valueType": { - "$ref": "1035" - }, - "enumType": { - "$ref": "1034" + "$ref": "1064" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1041", + "$id": "1069", "kind": "enum", - "name": "RunStepDetailsType", - "crossLanguageDefinitionId": "OpenAI.RunStepDetailsType", + "name": "RealtimeItemStatus", + "crossLanguageDefinitionId": "OpenAI.RealtimeItemStatus", "valueType": { - "$id": "1042", + "$id": "1070", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12686,28 +13020,41 @@ }, "values": [ { - "$id": "1043", + "$id": "1071", "kind": "enumvalue", - "name": "message_creation", - "value": "message_creation", + "name": "in_progress", + "value": "in_progress", "valueType": { - "$ref": "1042" + "$ref": "1070" }, "enumType": { - "$ref": "1041" + "$ref": "1069" }, "decorators": [] }, { - "$id": "1044", + "$id": "1072", "kind": "enumvalue", - "name": "tool_calls", - "value": "tool_calls", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "1042" + "$ref": "1070" }, "enumType": { - "$ref": "1041" + "$ref": "1069" + }, + "decorators": [] + }, + { + "$id": "1073", + "kind": "enumvalue", + "name": "incomplete", + "value": "incomplete", + "valueType": { + "$ref": "1070" + }, + "enumType": { + "$ref": "1069" }, "decorators": [] } @@ -12715,16 +13062,16 @@ "namespace": "OpenAI", "isFixed": false, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1045", + "$id": "1074", "kind": "enum", - "name": "RunStepDetailsToolCallType", - "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallType", + "name": "RealtimeContentPartType", + "crossLanguageDefinitionId": "OpenAI.RealtimeContentPartType", "valueType": { - "$id": "1046", + "$id": "1075", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12732,41 +13079,54 @@ }, "values": [ { - "$id": "1047", + "$id": "1076", "kind": "enumvalue", - "name": "code_interpreter", - "value": "code_interpreter", + "name": "input_text", + "value": "input_text", "valueType": { - "$ref": "1046" + "$ref": "1075" }, "enumType": { - "$ref": "1045" + "$ref": "1074" }, "decorators": [] }, { - "$id": "1048", + "$id": "1077", "kind": "enumvalue", - "name": "file_search", - "value": "file_search", + "name": "input_audio", + "value": "input_audio", "valueType": { - "$ref": "1046" + "$ref": "1075" }, "enumType": { - "$ref": "1045" + "$ref": "1074" }, "decorators": [] }, { - "$id": "1049", + "$id": "1078", "kind": "enumvalue", - "name": "function", - "value": "function", + "name": "text", + "value": "text", + "valueType": { + "$ref": "1075" + }, + "enumType": { + "$ref": "1074" + }, + "decorators": [] + }, + { + "$id": "1079", + "kind": "enumvalue", + "name": "audio", + "value": "audio", "valueType": { - "$ref": "1046" + "$ref": "1075" }, "enumType": { - "$ref": "1045" + "$ref": "1074" }, "decorators": [] } @@ -12774,16 +13134,16 @@ "namespace": "OpenAI", "isFixed": false, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1050", + "$id": "1080", "kind": "enum", - "name": "RunStepDetailsCodeInterpreterOutputType", - "crossLanguageDefinitionId": "OpenAI.RunStepDetailsCodeInterpreterOutputType", + "name": "RealtimeResponseCreateParamsConversation", + "crossLanguageDefinitionId": "OpenAI.RealtimeResponseCreateParams.conversation.anonymous", "valueType": { - "$id": "1051", + "$id": "1081", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12791,28 +13151,28 @@ }, "values": [ { - "$id": "1052", + "$id": "1082", "kind": "enumvalue", - "name": "logs", - "value": "logs", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1051" + "$ref": "1081" }, "enumType": { - "$ref": "1050" + "$ref": "1080" }, "decorators": [] }, { - "$id": "1053", + "$id": "1083", "kind": "enumvalue", - "name": "image", - "value": "image", + "name": "none", + "value": "none", "valueType": { - "$ref": "1051" + "$ref": "1081" }, "enumType": { - "$ref": "1050" + "$ref": "1080" }, "decorators": [] } @@ -12820,16 +13180,16 @@ "namespace": "OpenAI", "isFixed": false, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1054", + "$id": "1084", "kind": "enum", - "name": "RunStepObjectLastErrorCode", - "crossLanguageDefinitionId": "OpenAI.RunStepObject.last_error.code.anonymous", + "name": "RealtimeTranscriptionSessionCreateRequestModality", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.modality.anonymous", "valueType": { - "$id": "1055", + "$id": "1085", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12837,28 +13197,28 @@ }, "values": [ { - "$id": "1056", + "$id": "1086", "kind": "enumvalue", - "name": "server_error", - "value": "server_error", + "name": "text", + "value": "text", "valueType": { - "$ref": "1055" + "$ref": "1085" }, "enumType": { - "$ref": "1054" + "$ref": "1084" }, "decorators": [] }, { - "$id": "1057", + "$id": "1087", "kind": "enumvalue", - "name": "rate_limit_exceeded", - "value": "rate_limit_exceeded", + "name": "audio", + "value": "audio", "valueType": { - "$ref": "1055" + "$ref": "1085" }, "enumType": { - "$ref": "1054" + "$ref": "1084" }, "decorators": [] } @@ -12866,16 +13226,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1058", + "$id": "1088", "kind": "enum", - "name": "VectorStoreObjectStatus", - "crossLanguageDefinitionId": "OpenAI.VectorStoreObject.status.anonymous", + "name": "RealtimeTranscriptionSessionCreateRequestInputAudioFormat", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_format.anonymous", "valueType": { - "$id": "1059", + "$id": "1089", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12883,41 +13243,41 @@ }, "values": [ { - "$id": "1060", + "$id": "1090", "kind": "enumvalue", - "name": "expired", - "value": "expired", + "name": "pcm16", + "value": "pcm16", "valueType": { - "$ref": "1059" + "$ref": "1089" }, "enumType": { - "$ref": "1058" + "$ref": "1088" }, "decorators": [] }, { - "$id": "1061", + "$id": "1091", "kind": "enumvalue", - "name": "in_progress", - "value": "in_progress", + "name": "g711_ulaw", + "value": "g711_ulaw", "valueType": { - "$ref": "1059" + "$ref": "1089" }, "enumType": { - "$ref": "1058" + "$ref": "1088" }, "decorators": [] }, { - "$id": "1062", + "$id": "1092", "kind": "enumvalue", - "name": "completed", - "value": "completed", + "name": "g711_alaw", + "value": "g711_alaw", "valueType": { - "$ref": "1059" + "$ref": "1089" }, "enumType": { - "$ref": "1058" + "$ref": "1088" }, "decorators": [] } @@ -12925,16 +13285,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1063", + "$id": "1093", "kind": "enum", - "name": "VectorStoreFileBatchObjectStatus", - "crossLanguageDefinitionId": "OpenAI.VectorStoreFileBatchObject.status.anonymous", + "name": "RealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_transcription.model.anonymous", "valueType": { - "$id": "1064", + "$id": "1094", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12942,54 +13302,41 @@ }, "values": [ { - "$id": "1065", - "kind": "enumvalue", - "name": "in_progress", - "value": "in_progress", - "valueType": { - "$ref": "1064" - }, - "enumType": { - "$ref": "1063" - }, - "decorators": [] - }, - { - "$id": "1066", + "$id": "1095", "kind": "enumvalue", - "name": "completed", - "value": "completed", + "name": "gpt-4o-transcribe", + "value": "gpt-4o-transcribe", "valueType": { - "$ref": "1064" + "$ref": "1094" }, "enumType": { - "$ref": "1063" + "$ref": "1093" }, "decorators": [] }, { - "$id": "1067", + "$id": "1096", "kind": "enumvalue", - "name": "cancelled", - "value": "cancelled", + "name": "gpt-4o-mini-transcribe", + "value": "gpt-4o-mini-transcribe", "valueType": { - "$ref": "1064" + "$ref": "1094" }, "enumType": { - "$ref": "1063" + "$ref": "1093" }, "decorators": [] }, { - "$id": "1068", + "$id": "1097", "kind": "enumvalue", - "name": "failed", - "value": "failed", + "name": "whisper-1", + "value": "whisper-1", "valueType": { - "$ref": "1064" + "$ref": "1094" }, "enumType": { - "$ref": "1063" + "$ref": "1093" }, "decorators": [] } @@ -12997,16 +13344,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1069", + "$id": "1098", "kind": "enum", - "name": "VectorStoreFileObjectStatus", - "crossLanguageDefinitionId": "OpenAI.VectorStoreFileObject.status.anonymous", + "name": "RealtimeTranscriptionSessionCreateRequestTurnDetectionType", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.turn_detection.type.anonymous", "valueType": { - "$id": "1070", + "$id": "1099", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13014,54 +13361,28 @@ }, "values": [ { - "$id": "1071", - "kind": "enumvalue", - "name": "in_progress", - "value": "in_progress", - "valueType": { - "$ref": "1070" - }, - "enumType": { - "$ref": "1069" - }, - "decorators": [] - }, - { - "$id": "1072", - "kind": "enumvalue", - "name": "completed", - "value": "completed", - "valueType": { - "$ref": "1070" - }, - "enumType": { - "$ref": "1069" - }, - "decorators": [] - }, - { - "$id": "1073", + "$id": "1100", "kind": "enumvalue", - "name": "cancelled", - "value": "cancelled", + "name": "server_vad", + "value": "server_vad", "valueType": { - "$ref": "1070" + "$ref": "1099" }, "enumType": { - "$ref": "1069" + "$ref": "1098" }, "decorators": [] }, { - "$id": "1074", + "$id": "1101", "kind": "enumvalue", - "name": "failed", - "value": "failed", + "name": "semantic_vad", + "value": "semantic_vad", "valueType": { - "$ref": "1070" + "$ref": "1099" }, "enumType": { - "$ref": "1069" + "$ref": "1098" }, "decorators": [] } @@ -13069,16 +13390,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1075", + "$id": "1102", "kind": "enum", - "name": "VectorStoreFileObjectLastErrorCode", - "crossLanguageDefinitionId": "OpenAI.VectorStoreFileObject.last_error.code.anonymous", + "name": "RealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.turn_detection.eagerness.anonymous", "valueType": { - "$id": "1076", + "$id": "1103", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13086,41 +13407,54 @@ }, "values": [ { - "$id": "1077", + "$id": "1104", "kind": "enumvalue", - "name": "server_error", - "value": "server_error", + "name": "low", + "value": "low", "valueType": { - "$ref": "1076" + "$ref": "1103" }, "enumType": { - "$ref": "1075" + "$ref": "1102" }, "decorators": [] }, { - "$id": "1078", + "$id": "1105", "kind": "enumvalue", - "name": "unsupported_file", - "value": "unsupported_file", + "name": "medium", + "value": "medium", "valueType": { - "$ref": "1076" + "$ref": "1103" }, "enumType": { - "$ref": "1075" + "$ref": "1102" }, "decorators": [] }, { - "$id": "1079", + "$id": "1106", "kind": "enumvalue", - "name": "invalid_file", - "value": "invalid_file", + "name": "high", + "value": "high", "valueType": { - "$ref": "1076" + "$ref": "1103" }, "enumType": { - "$ref": "1075" + "$ref": "1102" + }, + "decorators": [] + }, + { + "$id": "1107", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "1103" + }, + "enumType": { + "$ref": "1102" }, "decorators": [] } @@ -13128,16 +13462,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1080", + "$id": "1108", "kind": "enum", - "name": "ChunkingStrategyResponseParamType", - "crossLanguageDefinitionId": "OpenAI.ChunkingStrategyResponseParam.type.anonymous", + "name": "RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_noise_reduction.type.anonymous", "valueType": { - "$id": "1081", + "$id": "1109", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13145,28 +13479,28 @@ }, "values": [ { - "$id": "1082", + "$id": "1110", "kind": "enumvalue", - "name": "static", - "value": "static", + "name": "near_field", + "value": "near_field", "valueType": { - "$ref": "1081" + "$ref": "1109" }, "enumType": { - "$ref": "1080" + "$ref": "1108" }, "decorators": [] }, { - "$id": "1083", + "$id": "1111", "kind": "enumvalue", - "name": "other", - "value": "other", + "name": "far_field", + "value": "far_field", "valueType": { - "$ref": "1081" + "$ref": "1109" }, "enumType": { - "$ref": "1080" + "$ref": "1108" }, "decorators": [] } @@ -13174,16 +13508,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1084", + "$id": "1112", "kind": "enum", - "name": "VectorStoreSearchRequestRankingOptionsRanker", - "crossLanguageDefinitionId": "OpenAI.VectorStoreSearchRequest.ranking_options.ranker.anonymous", + "name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor", + "crossLanguageDefinitionId": "", "valueType": { - "$id": "1085", + "$id": "1113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13191,45 +13525,37 @@ }, "values": [ { - "$id": "1086", - "kind": "enumvalue", - "name": "auto", - "value": "auto", - "valueType": { - "$ref": "1085" - }, - "enumType": { - "$ref": "1084" - }, - "decorators": [] - }, - { - "$id": "1087", + "$id": "1114", "kind": "enumvalue", - "name": "default-2024-11-15", - "value": "default-2024-11-15", + "name": "created_at", + "value": "created_at", "valueType": { - "$ref": "1085" + "$id": "1115", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1084" + "$ref": "1112" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, "usage": "Input,Json", "decorators": [] }, { - "$id": "1088", + "$id": "1116", "kind": "enum", - "name": "CreateCompletionRequestModel", - "crossLanguageDefinitionId": "OpenAI.CreateCompletionRequest.model.anonymous", + "name": "RealtimeServerEventType", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventType", "valueType": { - "$id": "1089", + "$id": "1117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13237,350 +13563,257 @@ }, "values": [ { - "$id": "1090", + "$id": "1118", "kind": "enumvalue", - "name": "gpt-3.5-turbo-instruct", - "value": "gpt-3.5-turbo-instruct", + "name": "error", + "value": "error", "valueType": { - "$ref": "1089" + "$ref": "1117" }, "enumType": { - "$ref": "1088" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1091", + "$id": "1119", "kind": "enumvalue", - "name": "davinci-002", - "value": "davinci-002", + "name": "session_created", + "value": "session.created", "valueType": { - "$ref": "1089" + "$ref": "1117" }, "enumType": { - "$ref": "1088" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1092", + "$id": "1120", "kind": "enumvalue", - "name": "babbage-002", - "value": "babbage-002", + "name": "session_updated", + "value": "session.updated", "valueType": { - "$ref": "1089" + "$ref": "1117" }, "enumType": { - "$ref": "1088" + "$ref": "1116" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "1093", - "kind": "enum", - "name": "CreateCompletionResponseChoiceFinishReason", - "crossLanguageDefinitionId": "OpenAI.CreateCompletionResponse.choice.finish_reason.anonymous", - "valueType": { - "$id": "1094", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1095", + "$id": "1121", "kind": "enumvalue", - "name": "stop", - "value": "stop", + "name": "conversation_created", + "value": "conversation.created", "valueType": { - "$ref": "1094" + "$ref": "1117" }, "enumType": { - "$ref": "1093" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1096", + "$id": "1122", "kind": "enumvalue", - "name": "length", - "value": "length", + "name": "conversation_item_input_audio_transcription_completed", + "value": "conversation.item.input_audio_transcription.completed", "valueType": { - "$ref": "1094" + "$ref": "1117" }, "enumType": { - "$ref": "1093" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1097", + "$id": "1123", "kind": "enumvalue", - "name": "content_filter", - "value": "content_filter", + "name": "conversation_item_input_audio_transcription_delta", + "value": "conversation.item.input_audio_transcription.delta", "valueType": { - "$ref": "1094" + "$ref": "1117" }, "enumType": { - "$ref": "1093" + "$ref": "1116" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Output,Json", - "decorators": [] - }, - { - "$id": "1098", - "kind": "enum", - "name": "RealtimeClientEventType", - "crossLanguageDefinitionId": "OpenAI.RealtimeClientEventType", - "valueType": { - "$id": "1099", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1100", + "$id": "1124", "kind": "enumvalue", - "name": "session_update", - "value": "session.update", - "valueType": { - "$ref": "1099" - }, - "enumType": { - "$ref": "1098" - }, - "decorators": [] - }, - { - "$id": "1101", - "kind": "enumvalue", - "name": "input_audio_buffer_append", - "value": "input_audio_buffer.append", + "name": "conversation_item_input_audio_transcription_failed", + "value": "conversation.item.input_audio_transcription.failed", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1102", + "$id": "1125", "kind": "enumvalue", - "name": "input_audio_buffer_commit", - "value": "input_audio_buffer.commit", + "name": "conversation_item_created", + "value": "conversation.item.created", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1103", + "$id": "1126", "kind": "enumvalue", - "name": "input_audio_buffer_clear", - "value": "input_audio_buffer.clear", + "name": "conversation_item_retrieved", + "value": "conversation.item.retrieved", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1104", + "$id": "1127", "kind": "enumvalue", - "name": "output_audio_buffer_clear", - "value": "output_audio_buffer.clear", + "name": "conversation_item_truncated", + "value": "conversation.item.truncated", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1105", + "$id": "1128", "kind": "enumvalue", - "name": "conversation_item_create", - "value": "conversation.item.create", + "name": "conversation_item_deleted", + "value": "conversation.item.deleted", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1106", + "$id": "1129", "kind": "enumvalue", - "name": "conversation_item_retrieve", - "value": "conversation.item.retrieve", + "name": "input_audio_buffer_committed", + "value": "input_audio_buffer.committed", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1107", + "$id": "1130", "kind": "enumvalue", - "name": "conversation_item_truncate", - "value": "conversation.item.truncate", + "name": "input_audio_buffer_cleared", + "value": "input_audio_buffer.cleared", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1108", + "$id": "1131", "kind": "enumvalue", - "name": "conversation_item_delete", - "value": "conversation.item.delete", + "name": "input_audio_buffer_speech_started", + "value": "input_audio_buffer.speech_started", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1109", + "$id": "1132", "kind": "enumvalue", - "name": "response_create", - "value": "response.create", + "name": "input_audio_buffer_speech_stopped", + "value": "input_audio_buffer.speech_stopped", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1110", + "$id": "1133", "kind": "enumvalue", - "name": "response_cancel", - "value": "response.cancel", + "name": "output_audio_buffer_cleared", + "value": "output_audio_buffer.cleared", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1111", + "$id": "1134", "kind": "enumvalue", - "name": "transcription_session_update", - "value": "transcription_session.update", + "name": "output_audio_buffer_started", + "value": "output_audio_buffer.started", "valueType": { - "$ref": "1099" + "$ref": "1117" }, "enumType": { - "$ref": "1098" + "$ref": "1116" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "1112", - "kind": "enum", - "name": "RealtimeModality", - "crossLanguageDefinitionId": "OpenAI.RealtimeModality", - "valueType": { - "$id": "1113", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1114", + "$id": "1135", "kind": "enumvalue", - "name": "text", - "value": "text", + "name": "output_audio_buffer_stopped", + "value": "output_audio_buffer.stopped", "valueType": { - "$ref": "1113" + "$ref": "1117" }, "enumType": { - "$ref": "1112" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1115", + "$id": "1136", "kind": "enumvalue", - "name": "audio", - "value": "audio", + "name": "response_created", + "value": "response.created", "valueType": { - "$ref": "1113" + "$ref": "1117" }, "enumType": { - "$ref": "1112" + "$ref": "1116" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json", - "decorators": [] - }, - { - "$id": "1116", - "kind": "enum", - "name": "RealtimeRequestSessionModel", - "crossLanguageDefinitionId": "OpenAI.RealtimeRequestSession.model.anonymous", - "valueType": { - "$id": "1117", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1118", + "$id": "1137", "kind": "enumvalue", - "name": "gpt-4o-realtime-preview", - "value": "gpt-4o-realtime-preview", + "name": "response_done", + "value": "response.done", "valueType": { "$ref": "1117" }, @@ -13590,10 +13823,10 @@ "decorators": [] }, { - "$id": "1119", + "$id": "1138", "kind": "enumvalue", - "name": "gpt-4o-realtime-preview-2024-10-01", - "value": "gpt-4o-realtime-preview-2024-10-01", + "name": "response_output_item_added", + "value": "response.output_item.added", "valueType": { "$ref": "1117" }, @@ -13603,10 +13836,10 @@ "decorators": [] }, { - "$id": "1120", + "$id": "1139", "kind": "enumvalue", - "name": "gpt-4o-realtime-preview-2024-12-17", - "value": "gpt-4o-realtime-preview-2024-12-17", + "name": "response_output_item_done", + "value": "response.output_item.done", "valueType": { "$ref": "1117" }, @@ -13616,10 +13849,10 @@ "decorators": [] }, { - "$id": "1121", + "$id": "1140", "kind": "enumvalue", - "name": "gpt-4o-mini-realtime-preview", - "value": "gpt-4o-mini-realtime-preview", + "name": "response_content_part_added", + "value": "response.content_part.added", "valueType": { "$ref": "1117" }, @@ -13629,10 +13862,10 @@ "decorators": [] }, { - "$id": "1122", + "$id": "1141", "kind": "enumvalue", - "name": "gpt-4o-mini-realtime-preview-2024-12-17", - "value": "gpt-4o-mini-realtime-preview-2024-12-17", + "name": "response_content_part_done", + "value": "response.content_part.done", "valueType": { "$ref": "1117" }, @@ -13640,232 +13873,151 @@ "$ref": "1116" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "1123", - "kind": "enum", - "name": "RealtimeAudioFormat", - "crossLanguageDefinitionId": "OpenAI.RealtimeAudioFormat", - "valueType": { - "$id": "1124", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1125", + "$id": "1142", "kind": "enumvalue", - "name": "pcm16", - "value": "pcm16", + "name": "response_text_delta", + "value": "response.text.delta", "valueType": { - "$ref": "1124" + "$ref": "1117" }, "enumType": { - "$ref": "1123" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1126", + "$id": "1143", "kind": "enumvalue", - "name": "g711_ulaw", - "value": "g711_ulaw", + "name": "response_text_done", + "value": "response.text.done", "valueType": { - "$ref": "1124" + "$ref": "1117" }, "enumType": { - "$ref": "1123" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1127", + "$id": "1144", "kind": "enumvalue", - "name": "g711_alaw", - "value": "g711_alaw", + "name": "response_audio_transcript_delta", + "value": "response.audio_transcript.delta", "valueType": { - "$ref": "1124" + "$ref": "1117" }, "enumType": { - "$ref": "1123" + "$ref": "1116" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json", - "decorators": [] - }, - { - "$id": "1128", - "kind": "enum", - "name": "RealtimeAudioInputTranscriptionModel", - "crossLanguageDefinitionId": "OpenAI.RealtimeAudioInputTranscriptionModel", - "valueType": { - "$id": "1129", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1130", + "$id": "1145", "kind": "enumvalue", - "name": "whisper_1", - "value": "whisper-1", + "name": "response_audio_transcript_done", + "value": "response.audio_transcript.done", "valueType": { - "$ref": "1129" + "$ref": "1117" }, "enumType": { - "$ref": "1128" + "$ref": "1116" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json", - "decorators": [] - }, - { - "$id": "1131", - "kind": "enum", - "name": "RealtimeTurnDetectionType", - "crossLanguageDefinitionId": "OpenAI.RealtimeTurnDetectionType", - "valueType": { - "$id": "1132", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1133", + "$id": "1146", "kind": "enumvalue", - "name": "server_vad", - "value": "server_vad", + "name": "response_audio_delta", + "value": "response.audio.delta", "valueType": { - "$ref": "1132" + "$ref": "1117" }, "enumType": { - "$ref": "1131" + "$ref": "1116" }, - "doc": "Indicates that server-side voice activity detection (VAD) should be enabled, allowing the server to determine when\nadd_user_audio commands present ends of speech and should be automatically committed.\n\nThe API will also detect when the user begins talking, sending a generation_canceled command.", "decorators": [] }, { - "$id": "1134", + "$id": "1147", "kind": "enumvalue", - "name": "semantic_vad", - "value": "semantic_vad", + "name": "response_audio_done", + "value": "response.audio.done", "valueType": { - "$ref": "1132" + "$ref": "1117" }, "enumType": { - "$ref": "1131" + "$ref": "1116" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json", - "decorators": [] - }, - { - "$id": "1135", - "kind": "enum", - "name": "RealtimeSemanticVadTurnDetectionEagerness", - "crossLanguageDefinitionId": "OpenAI.RealtimeSemanticVadTurnDetection.eagerness.anonymous", - "valueType": { - "$id": "1136", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1137", + "$id": "1148", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "response_function_call_arguments_delta", + "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "1136" + "$ref": "1117" }, "enumType": { - "$ref": "1135" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1138", + "$id": "1149", "kind": "enumvalue", - "name": "medium", - "value": "medium", + "name": "response_function_call_arguments_done", + "value": "response.function_call_arguments.done", "valueType": { - "$ref": "1136" + "$ref": "1117" }, "enumType": { - "$ref": "1135" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1139", + "$id": "1150", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "transcription_session_updated", + "value": "transcription_session.updated", "valueType": { - "$ref": "1136" + "$ref": "1117" }, "enumType": { - "$ref": "1135" + "$ref": "1116" }, "decorators": [] }, { - "$id": "1140", + "$id": "1151", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "rate_limits_updated", + "value": "rate_limits.updated", "valueType": { - "$ref": "1136" + "$ref": "1117" }, "enumType": { - "$ref": "1135" + "$ref": "1116" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "1141", + "$id": "1152", "kind": "enum", - "name": "RealtimeAudioNoiseReductionType", - "crossLanguageDefinitionId": "OpenAI.RealtimeAudioNoiseReductionType", + "name": "RealtimeResponseObject", + "crossLanguageDefinitionId": "", "valueType": { - "$id": "1142", + "$id": "1153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13873,45 +14025,37 @@ }, "values": [ { - "$id": "1143", - "kind": "enumvalue", - "name": "near_field", - "value": "near_field", - "valueType": { - "$ref": "1142" - }, - "enumType": { - "$ref": "1141" - }, - "decorators": [] - }, - { - "$id": "1144", + "$id": "1154", "kind": "enumvalue", - "name": "far_field", - "value": "far_field", + "name": "realtime.response", + "value": "realtime.response", "valueType": { - "$ref": "1142" + "$id": "1155", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1141" + "$ref": "1152" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "1145", + "$id": "1156", "kind": "enum", - "name": "RealtimeToolType", - "crossLanguageDefinitionId": "OpenAI.RealtimeToolType", + "name": "RealtimeResponseStatus", + "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status.anonymous", "valueType": { - "$id": "1146", + "$id": "1157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13919,96 +14063,71 @@ }, "values": [ { - "$id": "1147", + "$id": "1158", "kind": "enumvalue", - "name": "function", - "value": "function", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "1146" + "$ref": "1157" }, "enumType": { - "$ref": "1145" + "$ref": "1156" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "doc": "The supported tool type discriminators for realtime tools.\nCurrently, only 'function' tools are supported.", - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json", - "decorators": [] - }, - { - "$id": "1148", - "kind": "enum", - "name": "RealtimeToolChoiceLiteral", - "crossLanguageDefinitionId": "OpenAI.RealtimeToolChoiceLiteral", - "valueType": { - "$id": "1149", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1150", + "$id": "1159", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "cancelled", + "value": "cancelled", "valueType": { - "$ref": "1149" + "$ref": "1157" }, "enumType": { - "$ref": "1148" + "$ref": "1156" }, - "doc": "Specifies that the model should freely determine which tool or tools, if any, to call.", "decorators": [] }, { - "$id": "1151", + "$id": "1160", "kind": "enumvalue", - "name": "none", - "value": "none", + "name": "failed", + "value": "failed", "valueType": { - "$ref": "1149" + "$ref": "1157" }, "enumType": { - "$ref": "1148" + "$ref": "1156" }, - "doc": "Specifies that the model should call no tools whatsoever.", "decorators": [] }, { - "$id": "1152", + "$id": "1161", "kind": "enumvalue", - "name": "required", - "value": "required", + "name": "incomplete", + "value": "incomplete", "valueType": { - "$ref": "1149" + "$ref": "1157" }, "enumType": { - "$ref": "1148" + "$ref": "1156" }, - "doc": "Specifies that the model should call at least one tool.", "decorators": [] } ], "namespace": "OpenAI", - "doc": "The available set of mode-level, string literal tool_choice options for the realtime endpoint.", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "1153", + "$id": "1162", "kind": "enum", - "name": "RealtimeItemType", - "crossLanguageDefinitionId": "OpenAI.RealtimeItemType", + "name": "RealtimeResponseStatusDetailsType", + "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status_details.type.anonymous", "valueType": { - "$id": "1154", + "$id": "1163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14016,58 +14135,71 @@ }, "values": [ { - "$id": "1155", + "$id": "1164", "kind": "enumvalue", - "name": "message", - "value": "message", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "1154" + "$ref": "1163" }, "enumType": { - "$ref": "1153" + "$ref": "1162" }, "decorators": [] }, { - "$id": "1156", + "$id": "1165", "kind": "enumvalue", - "name": "function_call", - "value": "function_call", + "name": "cancelled", + "value": "cancelled", "valueType": { - "$ref": "1154" + "$ref": "1163" }, "enumType": { - "$ref": "1153" + "$ref": "1162" }, "decorators": [] }, { - "$id": "1157", + "$id": "1166", "kind": "enumvalue", - "name": "function_call_output", - "value": "function_call_output", + "name": "failed", + "value": "failed", + "valueType": { + "$ref": "1163" + }, + "enumType": { + "$ref": "1162" + }, + "decorators": [] + }, + { + "$id": "1167", + "kind": "enumvalue", + "name": "incomplete", + "value": "incomplete", "valueType": { - "$ref": "1154" + "$ref": "1163" }, "enumType": { - "$ref": "1153" + "$ref": "1162" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "1158", + "$id": "1168", "kind": "enum", - "name": "RealtimeMessageRole", - "crossLanguageDefinitionId": "OpenAI.RealtimeMessageRole", + "name": "RealtimeResponseStatusDetailsReason", + "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status_details.reason.anonymous", "valueType": { - "$id": "1159", + "$id": "1169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14075,58 +14207,71 @@ }, "values": [ { - "$id": "1160", + "$id": "1170", "kind": "enumvalue", - "name": "system", - "value": "system", + "name": "turn_detected", + "value": "turn_detected", "valueType": { - "$ref": "1159" + "$ref": "1169" }, "enumType": { - "$ref": "1158" + "$ref": "1168" }, "decorators": [] }, { - "$id": "1161", + "$id": "1171", "kind": "enumvalue", - "name": "user", - "value": "user", + "name": "client_cancelled", + "value": "client_cancelled", "valueType": { - "$ref": "1159" + "$ref": "1169" }, "enumType": { - "$ref": "1158" + "$ref": "1168" }, "decorators": [] }, { - "$id": "1162", + "$id": "1172", "kind": "enumvalue", - "name": "assistant", - "value": "assistant", + "name": "max_output_tokens", + "value": "max_output_tokens", "valueType": { - "$ref": "1159" + "$ref": "1169" }, "enumType": { - "$ref": "1158" + "$ref": "1168" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json", + }, + { + "$id": "1173", + "kind": "enumvalue", + "name": "content_filter", + "value": "content_filter", + "valueType": { + "$ref": "1169" + }, + "enumType": { + "$ref": "1168" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", "decorators": [] }, { - "$id": "1163", + "$id": "1174", "kind": "enum", - "name": "RealtimeItemStatus", - "crossLanguageDefinitionId": "OpenAI.RealtimeItemStatus", + "name": "RealtimeResponseModality", + "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.modality.anonymous", "valueType": { - "$id": "1164", + "$id": "1175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14134,58 +14279,45 @@ }, "values": [ { - "$id": "1165", - "kind": "enumvalue", - "name": "in_progress", - "value": "in_progress", - "valueType": { - "$ref": "1164" - }, - "enumType": { - "$ref": "1163" - }, - "decorators": [] - }, - { - "$id": "1166", + "$id": "1176", "kind": "enumvalue", - "name": "completed", - "value": "completed", + "name": "text", + "value": "text", "valueType": { - "$ref": "1164" + "$ref": "1175" }, "enumType": { - "$ref": "1163" + "$ref": "1174" }, "decorators": [] }, { - "$id": "1167", + "$id": "1177", "kind": "enumvalue", - "name": "incomplete", - "value": "incomplete", + "name": "audio", + "value": "audio", "valueType": { - "$ref": "1164" + "$ref": "1175" }, "enumType": { - "$ref": "1163" + "$ref": "1174" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "1168", + "$id": "1178", "kind": "enum", - "name": "RealtimeContentPartType", - "crossLanguageDefinitionId": "OpenAI.RealtimeContentPartType", + "name": "RealtimeResponseOutputAudioFormat", + "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.output_audio_format.anonymous", "valueType": { - "$id": "1169", + "$id": "1179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14193,71 +14325,58 @@ }, "values": [ { - "$id": "1170", - "kind": "enumvalue", - "name": "input_text", - "value": "input_text", - "valueType": { - "$ref": "1169" - }, - "enumType": { - "$ref": "1168" - }, - "decorators": [] - }, - { - "$id": "1171", + "$id": "1180", "kind": "enumvalue", - "name": "input_audio", - "value": "input_audio", + "name": "pcm16", + "value": "pcm16", "valueType": { - "$ref": "1169" + "$ref": "1179" }, "enumType": { - "$ref": "1168" + "$ref": "1178" }, "decorators": [] }, { - "$id": "1172", + "$id": "1181", "kind": "enumvalue", - "name": "text", - "value": "text", + "name": "g711_ulaw", + "value": "g711_ulaw", "valueType": { - "$ref": "1169" + "$ref": "1179" }, "enumType": { - "$ref": "1168" + "$ref": "1178" }, "decorators": [] }, { - "$id": "1173", + "$id": "1182", "kind": "enumvalue", - "name": "audio", - "value": "audio", + "name": "g711_alaw", + "value": "g711_alaw", "valueType": { - "$ref": "1169" + "$ref": "1179" }, "enumType": { - "$ref": "1168" + "$ref": "1178" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "1174", + "$id": "1183", "kind": "enum", - "name": "RealtimeResponseCreateParamsConversation", - "crossLanguageDefinitionId": "OpenAI.RealtimeResponseCreateParams.conversation.anonymous", + "name": "RealtimeTranscriptionSessionCreateResponseModality", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.modality.anonymous", "valueType": { - "$id": "1175", + "$id": "1184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14265,45 +14384,45 @@ }, "values": [ { - "$id": "1176", + "$id": "1185", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "text", + "value": "text", "valueType": { - "$ref": "1175" + "$ref": "1184" }, "enumType": { - "$ref": "1174" + "$ref": "1183" }, "decorators": [] }, { - "$id": "1177", + "$id": "1186", "kind": "enumvalue", - "name": "none", - "value": "none", + "name": "audio", + "value": "audio", "valueType": { - "$ref": "1175" + "$ref": "1184" }, "enumType": { - "$ref": "1174" + "$ref": "1183" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "1178", + "$id": "1187", "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateRequestModality", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.modality.anonymous", + "name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.model.anonymous", "valueType": { - "$id": "1179", + "$id": "1188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14311,28 +14430,41 @@ }, "values": [ { - "$id": "1180", + "$id": "1189", "kind": "enumvalue", - "name": "text", - "value": "text", + "name": "gpt-4o-transcribe", + "value": "gpt-4o-transcribe", "valueType": { - "$ref": "1179" + "$ref": "1188" }, "enumType": { - "$ref": "1178" + "$ref": "1187" }, "decorators": [] }, { - "$id": "1181", + "$id": "1190", "kind": "enumvalue", - "name": "audio", - "value": "audio", + "name": "gpt-4o-mini-transcribe", + "value": "gpt-4o-mini-transcribe", "valueType": { - "$ref": "1179" + "$ref": "1188" }, "enumType": { - "$ref": "1178" + "$ref": "1187" + }, + "decorators": [] + }, + { + "$id": "1191", + "kind": "enumvalue", + "name": "whisper-1", + "value": "whisper-1", + "valueType": { + "$ref": "1188" + }, + "enumType": { + "$ref": "1187" }, "decorators": [] } @@ -14340,16 +14472,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output,Json", "decorators": [] }, { - "$id": "1182", + "$id": "1192", "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateRequestInputAudioFormat", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_format.anonymous", + "name": "RealtimeSessionCreateRequestModel", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.model.anonymous", "valueType": { - "$id": "1183", + "$id": "1193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14357,100 +14489,80 @@ }, "values": [ { - "$id": "1184", + "$id": "1194", "kind": "enumvalue", - "name": "pcm16", - "value": "pcm16", + "name": "gpt-4o-realtime-preview", + "value": "gpt-4o-realtime-preview", "valueType": { - "$ref": "1183" + "$ref": "1193" }, "enumType": { - "$ref": "1182" + "$ref": "1192" }, "decorators": [] }, { - "$id": "1185", + "$id": "1195", "kind": "enumvalue", - "name": "g711_ulaw", - "value": "g711_ulaw", + "name": "gpt-4o-realtime-preview-2024-10-01", + "value": "gpt-4o-realtime-preview-2024-10-01", "valueType": { - "$ref": "1183" + "$ref": "1193" }, "enumType": { - "$ref": "1182" + "$ref": "1192" }, "decorators": [] }, { - "$id": "1186", + "$id": "1196", "kind": "enumvalue", - "name": "g711_alaw", - "value": "g711_alaw", + "name": "gpt-4o-realtime-preview-2024-12-17", + "value": "gpt-4o-realtime-preview-2024-12-17", "valueType": { - "$ref": "1183" + "$ref": "1193" }, "enumType": { - "$ref": "1182" + "$ref": "1192" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "1187", - "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_transcription.model.anonymous", - "valueType": { - "$id": "1188", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1189", + "$id": "1197", "kind": "enumvalue", - "name": "gpt-4o-transcribe", - "value": "gpt-4o-transcribe", + "name": "gpt-4o-realtime-preview-2025-06-03", + "value": "gpt-4o-realtime-preview-2025-06-03", "valueType": { - "$ref": "1188" + "$ref": "1193" }, "enumType": { - "$ref": "1187" + "$ref": "1192" }, "decorators": [] }, { - "$id": "1190", + "$id": "1198", "kind": "enumvalue", - "name": "gpt-4o-mini-transcribe", - "value": "gpt-4o-mini-transcribe", + "name": "gpt-4o-mini-realtime-preview", + "value": "gpt-4o-mini-realtime-preview", "valueType": { - "$ref": "1188" + "$ref": "1193" }, "enumType": { - "$ref": "1187" + "$ref": "1192" }, "decorators": [] }, { - "$id": "1191", + "$id": "1199", "kind": "enumvalue", - "name": "whisper-1", - "value": "whisper-1", + "name": "gpt-4o-mini-realtime-preview-2024-12-17", + "value": "gpt-4o-mini-realtime-preview-2024-12-17", "valueType": { - "$ref": "1188" + "$ref": "1193" }, "enumType": { - "$ref": "1187" + "$ref": "1192" }, "decorators": [] } @@ -14462,12 +14574,12 @@ "decorators": [] }, { - "$id": "1192", + "$id": "1200", "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateRequestTurnDetectionType", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.turn_detection.type.anonymous", + "name": "RealtimeSessionCreateRequestTurnDetectionType", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.type.anonymous", "valueType": { - "$id": "1193", + "$id": "1201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14475,28 +14587,28 @@ }, "values": [ { - "$id": "1194", + "$id": "1202", "kind": "enumvalue", "name": "server_vad", "value": "server_vad", "valueType": { - "$ref": "1193" + "$ref": "1201" }, "enumType": { - "$ref": "1192" + "$ref": "1200" }, "decorators": [] }, { - "$id": "1195", + "$id": "1203", "kind": "enumvalue", "name": "semantic_vad", "value": "semantic_vad", "valueType": { - "$ref": "1193" + "$ref": "1201" }, "enumType": { - "$ref": "1192" + "$ref": "1200" }, "decorators": [] } @@ -14508,12 +14620,12 @@ "decorators": [] }, { - "$id": "1196", + "$id": "1204", "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.turn_detection.eagerness.anonymous", + "name": "RealtimeSessionCreateRequestTurnDetectionEagerness", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.eagerness.anonymous", "valueType": { - "$id": "1197", + "$id": "1205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14521,54 +14633,54 @@ }, "values": [ { - "$id": "1198", + "$id": "1206", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1197" + "$ref": "1205" }, "enumType": { - "$ref": "1196" + "$ref": "1204" }, "decorators": [] }, { - "$id": "1199", + "$id": "1207", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1197" + "$ref": "1205" }, "enumType": { - "$ref": "1196" + "$ref": "1204" }, "decorators": [] }, { - "$id": "1200", + "$id": "1208", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1197" + "$ref": "1205" }, "enumType": { - "$ref": "1196" + "$ref": "1204" }, "decorators": [] }, { - "$id": "1201", + "$id": "1209", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1197" + "$ref": "1205" }, "enumType": { - "$ref": "1196" + "$ref": "1204" }, "decorators": [] } @@ -14580,12 +14692,12 @@ "decorators": [] }, { - "$id": "1202", + "$id": "1210", "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_noise_reduction.type.anonymous", + "name": "RealtimeSessionCreateRequestInputAudioNoiseReductionType", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction.type.anonymous", "valueType": { - "$id": "1203", + "$id": "1211", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14593,28 +14705,28 @@ }, "values": [ { - "$id": "1204", + "$id": "1212", "kind": "enumvalue", "name": "near_field", "value": "near_field", "valueType": { - "$ref": "1203" + "$ref": "1211" }, "enumType": { - "$ref": "1202" + "$ref": "1210" }, "decorators": [] }, { - "$id": "1205", + "$id": "1213", "kind": "enumvalue", "name": "far_field", "value": "far_field", "valueType": { - "$ref": "1203" + "$ref": "1211" }, "enumType": { - "$ref": "1202" + "$ref": "1210" }, "decorators": [] } @@ -14626,12 +14738,12 @@ "decorators": [] }, { - "$id": "1206", + "$id": "1214", "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor", + "name": "RealtimeSessionCreateRequestClientSecretExpiresAtAnchor", "crossLanguageDefinitionId": "", "valueType": { - "$id": "1207", + "$id": "1215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14639,12 +14751,12 @@ }, "values": [ { - "$id": "1208", + "$id": "1216", "kind": "enumvalue", "name": "created_at", "value": "created_at", "valueType": { - "$id": "1209", + "$id": "1217", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -14652,7 +14764,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1206" + "$ref": "1214" }, "decorators": [] } @@ -14664,12 +14776,12 @@ "decorators": [] }, { - "$id": "1210", + "$id": "1218", "kind": "enum", - "name": "RealtimeServerEventType", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventType", + "name": "CreateUploadRequestPurpose", + "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.purpose.anonymous", "valueType": { - "$id": "1211", + "$id": "1219", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14677,461 +14789,607 @@ }, "values": [ { - "$id": "1212", - "kind": "enumvalue", - "name": "error", - "value": "error", - "valueType": { - "$ref": "1211" - }, - "enumType": { - "$ref": "1210" - }, - "decorators": [] - }, - { - "$id": "1213", + "$id": "1220", "kind": "enumvalue", - "name": "session_created", - "value": "session.created", + "name": "assistants", + "value": "assistants", "valueType": { - "$ref": "1211" + "$ref": "1219" }, "enumType": { - "$ref": "1210" + "$ref": "1218" }, "decorators": [] }, { - "$id": "1214", + "$id": "1221", "kind": "enumvalue", - "name": "session_updated", - "value": "session.updated", + "name": "batch", + "value": "batch", "valueType": { - "$ref": "1211" + "$ref": "1219" }, "enumType": { - "$ref": "1210" + "$ref": "1218" }, "decorators": [] }, { - "$id": "1215", + "$id": "1222", "kind": "enumvalue", - "name": "conversation_created", - "value": "conversation.created", + "name": "fine-tune", + "value": "fine-tune", "valueType": { - "$ref": "1211" + "$ref": "1219" }, "enumType": { - "$ref": "1210" + "$ref": "1218" }, "decorators": [] }, { - "$id": "1216", + "$id": "1223", "kind": "enumvalue", - "name": "conversation_item_input_audio_transcription_completed", - "value": "conversation.item.input_audio_transcription.completed", + "name": "vision", + "value": "vision", "valueType": { - "$ref": "1211" + "$ref": "1219" }, "enumType": { - "$ref": "1210" + "$ref": "1218" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "1224", + "kind": "enum", + "name": "UploadStatus", + "crossLanguageDefinitionId": "OpenAI.Upload.status.anonymous", + "valueType": { + "$id": "1225", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1217", + "$id": "1226", "kind": "enumvalue", - "name": "conversation_item_input_audio_transcription_delta", - "value": "conversation.item.input_audio_transcription.delta", + "name": "pending", + "value": "pending", "valueType": { - "$ref": "1211" + "$ref": "1225" }, "enumType": { - "$ref": "1210" + "$ref": "1224" }, "decorators": [] }, { - "$id": "1218", + "$id": "1227", "kind": "enumvalue", - "name": "conversation_item_input_audio_transcription_failed", - "value": "conversation.item.input_audio_transcription.failed", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "1211" + "$ref": "1225" }, "enumType": { - "$ref": "1210" + "$ref": "1224" }, "decorators": [] }, { - "$id": "1219", + "$id": "1228", "kind": "enumvalue", - "name": "conversation_item_created", - "value": "conversation.item.created", + "name": "cancelled", + "value": "cancelled", "valueType": { - "$ref": "1211" + "$ref": "1225" }, "enumType": { - "$ref": "1210" + "$ref": "1224" }, "decorators": [] }, { - "$id": "1220", + "$id": "1229", "kind": "enumvalue", - "name": "conversation_item_retrieved", - "value": "conversation.item.retrieved", + "name": "expired", + "value": "expired", "valueType": { - "$ref": "1211" + "$ref": "1225" }, "enumType": { - "$ref": "1210" + "$ref": "1224" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "1230", + "kind": "enum", + "name": "UploadObject", + "crossLanguageDefinitionId": "", + "valueType": { + "$id": "1231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1221", + "$id": "1232", "kind": "enumvalue", - "name": "conversation_item_truncated", - "value": "conversation.item.truncated", + "name": "upload", + "value": "upload", "valueType": { - "$ref": "1211" + "$id": "1233", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1210" + "$ref": "1230" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "1234", + "kind": "enum", + "name": "CreateEmbeddingRequestModel", + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.model.anonymous", + "valueType": { + "$id": "1235", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1222", + "$id": "1236", "kind": "enumvalue", - "name": "conversation_item_deleted", - "value": "conversation.item.deleted", + "name": "text-embedding-ada-002", + "value": "text-embedding-ada-002", "valueType": { - "$ref": "1211" + "$ref": "1235" }, "enumType": { - "$ref": "1210" + "$ref": "1234" }, "decorators": [] }, { - "$id": "1223", + "$id": "1237", "kind": "enumvalue", - "name": "input_audio_buffer_committed", - "value": "input_audio_buffer.committed", + "name": "text-embedding-3-small", + "value": "text-embedding-3-small", "valueType": { - "$ref": "1211" + "$ref": "1235" }, "enumType": { - "$ref": "1210" + "$ref": "1234" }, "decorators": [] }, { - "$id": "1224", + "$id": "1238", "kind": "enumvalue", - "name": "input_audio_buffer_cleared", - "value": "input_audio_buffer.cleared", + "name": "text-embedding-3-large", + "value": "text-embedding-3-large", "valueType": { - "$ref": "1211" + "$ref": "1235" }, "enumType": { - "$ref": "1210" + "$ref": "1234" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "1239", + "kind": "enum", + "name": "CreateEmbeddingRequestEncodingFormat", + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.encoding_format.anonymous", + "valueType": { + "$id": "1240", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1225", + "$id": "1241", "kind": "enumvalue", - "name": "input_audio_buffer_speech_started", - "value": "input_audio_buffer.speech_started", + "name": "float", + "value": "float", "valueType": { - "$ref": "1211" + "$ref": "1240" }, "enumType": { - "$ref": "1210" + "$ref": "1239" }, "decorators": [] }, { - "$id": "1226", + "$id": "1242", "kind": "enumvalue", - "name": "input_audio_buffer_speech_stopped", - "value": "input_audio_buffer.speech_stopped", + "name": "base64", + "value": "base64", "valueType": { - "$ref": "1211" + "$ref": "1240" }, "enumType": { - "$ref": "1210" + "$ref": "1239" }, "decorators": [] - }, - { - "$id": "1227", - "kind": "enumvalue", - "name": "output_audio_buffer_cleared", - "value": "output_audio_buffer.cleared", - "valueType": { - "$ref": "1211" - }, - "enumType": { - "$ref": "1210" - }, - "decorators": [] - }, - { - "$id": "1228", - "kind": "enumvalue", - "name": "output_audio_buffer_started", - "value": "output_audio_buffer.started", - "valueType": { - "$ref": "1211" - }, - "enumType": { - "$ref": "1210" - }, - "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + }, + { + "$id": "1243", + "kind": "enum", + "name": "CreateImageEditRequestBackground", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.background.anonymous", + "valueType": { + "$id": "1244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1229", + "$id": "1245", "kind": "enumvalue", - "name": "output_audio_buffer_stopped", - "value": "output_audio_buffer.stopped", + "name": "transparent", + "value": "transparent", "valueType": { - "$ref": "1211" + "$ref": "1244" }, "enumType": { - "$ref": "1210" + "$ref": "1243" }, "decorators": [] }, { - "$id": "1230", + "$id": "1246", "kind": "enumvalue", - "name": "response_created", - "value": "response.created", + "name": "opaque", + "value": "opaque", "valueType": { - "$ref": "1211" + "$ref": "1244" }, "enumType": { - "$ref": "1210" + "$ref": "1243" }, "decorators": [] }, { - "$id": "1231", + "$id": "1247", "kind": "enumvalue", - "name": "response_done", - "value": "response.done", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1211" + "$ref": "1244" }, "enumType": { - "$ref": "1210" + "$ref": "1243" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1248", + "kind": "enum", + "name": "CreateImageEditRequestModel", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.model.anonymous", + "valueType": { + "$id": "1249", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1232", + "$id": "1250", "kind": "enumvalue", - "name": "response_output_item_added", - "value": "response.output_item.added", + "name": "dall-e-2", + "value": "dall-e-2", "valueType": { - "$ref": "1211" + "$ref": "1249" }, "enumType": { - "$ref": "1210" + "$ref": "1248" }, "decorators": [] }, { - "$id": "1233", + "$id": "1251", "kind": "enumvalue", - "name": "response_output_item_done", - "value": "response.output_item.done", + "name": "gpt-image-1", + "value": "gpt-image-1", "valueType": { - "$ref": "1211" + "$ref": "1249" }, "enumType": { - "$ref": "1210" + "$ref": "1248" }, "decorators": [] }, { - "$id": "1234", + "$id": "1252", "kind": "enumvalue", - "name": "response_content_part_added", - "value": "response.content_part.added", + "name": "gpt-image-1-mini", + "value": "gpt-image-1-mini", "valueType": { - "$ref": "1211" + "$ref": "1249" }, "enumType": { - "$ref": "1210" + "$ref": "1248" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1253", + "kind": "enum", + "name": "CreateImageEditRequestSize", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.size.anonymous", + "valueType": { + "$id": "1254", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1235", + "$id": "1255", "kind": "enumvalue", - "name": "response_content_part_done", - "value": "response.content_part.done", + "name": "256x256", + "value": "256x256", "valueType": { - "$ref": "1211" + "$ref": "1254" }, "enumType": { - "$ref": "1210" + "$ref": "1253" }, "decorators": [] }, { - "$id": "1236", + "$id": "1256", "kind": "enumvalue", - "name": "response_text_delta", - "value": "response.text.delta", + "name": "512x512", + "value": "512x512", "valueType": { - "$ref": "1211" + "$ref": "1254" }, "enumType": { - "$ref": "1210" + "$ref": "1253" }, "decorators": [] }, { - "$id": "1237", + "$id": "1257", "kind": "enumvalue", - "name": "response_text_done", - "value": "response.text.done", + "name": "1024x1024", + "value": "1024x1024", "valueType": { - "$ref": "1211" + "$ref": "1254" }, "enumType": { - "$ref": "1210" + "$ref": "1253" }, "decorators": [] }, { - "$id": "1238", + "$id": "1258", "kind": "enumvalue", - "name": "response_audio_transcript_delta", - "value": "response.audio_transcript.delta", + "name": "1536x1024", + "value": "1536x1024", "valueType": { - "$ref": "1211" + "$ref": "1254" }, "enumType": { - "$ref": "1210" + "$ref": "1253" }, "decorators": [] }, { - "$id": "1239", + "$id": "1259", "kind": "enumvalue", - "name": "response_audio_transcript_done", - "value": "response.audio_transcript.done", + "name": "1024x1536", + "value": "1024x1536", "valueType": { - "$ref": "1211" + "$ref": "1254" }, "enumType": { - "$ref": "1210" + "$ref": "1253" }, "decorators": [] }, { - "$id": "1240", + "$id": "1260", "kind": "enumvalue", - "name": "response_audio_delta", - "value": "response.audio.delta", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1211" + "$ref": "1254" }, "enumType": { - "$ref": "1210" + "$ref": "1253" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1261", + "kind": "enum", + "name": "CreateImageEditRequestResponseFormat", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.response_format.anonymous", + "valueType": { + "$id": "1262", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1241", + "$id": "1263", "kind": "enumvalue", - "name": "response_audio_done", - "value": "response.audio.done", + "name": "url", + "value": "url", "valueType": { - "$ref": "1211" + "$ref": "1262" }, "enumType": { - "$ref": "1210" + "$ref": "1261" }, "decorators": [] }, { - "$id": "1242", + "$id": "1264", "kind": "enumvalue", - "name": "response_function_call_arguments_delta", - "value": "response.function_call_arguments.delta", + "name": "b64_json", + "value": "b64_json", "valueType": { - "$ref": "1211" + "$ref": "1262" }, "enumType": { - "$ref": "1210" + "$ref": "1261" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1265", + "kind": "enum", + "name": "CreateImageEditRequestOutputFormat", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.output_format.anonymous", + "valueType": { + "$id": "1266", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1243", + "$id": "1267", "kind": "enumvalue", - "name": "response_function_call_arguments_done", - "value": "response.function_call_arguments.done", + "name": "png", + "value": "png", "valueType": { - "$ref": "1211" + "$ref": "1266" }, "enumType": { - "$ref": "1210" + "$ref": "1265" }, "decorators": [] }, { - "$id": "1244", + "$id": "1268", "kind": "enumvalue", - "name": "transcription_session_updated", - "value": "transcription_session.updated", + "name": "jpeg", + "value": "jpeg", "valueType": { - "$ref": "1211" + "$ref": "1266" }, "enumType": { - "$ref": "1210" + "$ref": "1265" }, "decorators": [] }, { - "$id": "1245", + "$id": "1269", "kind": "enumvalue", - "name": "rate_limits_updated", - "value": "rate_limits.updated", + "name": "webp", + "value": "webp", "valueType": { - "$ref": "1211" + "$ref": "1266" }, "enumType": { - "$ref": "1210" + "$ref": "1265" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input", "decorators": [] }, { - "$id": "1246", + "$id": "1270", "kind": "enum", - "name": "RealtimeResponseObject", - "crossLanguageDefinitionId": "", + "name": "CreateImageEditRequestInputFidelity", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.input_fidelity.anonymous", "valueType": { - "$id": "1247", + "$id": "1271", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15139,37 +15397,45 @@ }, "values": [ { - "$id": "1248", + "$id": "1272", "kind": "enumvalue", - "name": "realtime.response", - "value": "realtime.response", + "name": "high", + "value": "high", "valueType": { - "$id": "1249", - "kind": "string", - "decorators": [], - "doc": "A sequence of textual characters.", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" + "$ref": "1271" }, "enumType": { - "$ref": "1246" + "$ref": "1270" + }, + "decorators": [] + }, + { + "$id": "1273", + "kind": "enumvalue", + "name": "low", + "value": "low", + "valueType": { + "$ref": "1271" + }, + "enumType": { + "$ref": "1270" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input", "decorators": [] }, { - "$id": "1250", + "$id": "1274", "kind": "enum", - "name": "RealtimeResponseStatus", - "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status.anonymous", + "name": "CreateImageEditRequestQuality", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.quality.anonymous", "valueType": { - "$id": "1251", + "$id": "1275", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15177,54 +15443,67 @@ }, "values": [ { - "$id": "1252", + "$id": "1276", "kind": "enumvalue", - "name": "completed", - "value": "completed", + "name": "standard", + "value": "standard", "valueType": { - "$ref": "1251" + "$ref": "1275" }, "enumType": { - "$ref": "1250" + "$ref": "1274" }, "decorators": [] }, { - "$id": "1253", + "$id": "1277", "kind": "enumvalue", - "name": "cancelled", - "value": "cancelled", + "name": "low", + "value": "low", "valueType": { - "$ref": "1251" + "$ref": "1275" }, "enumType": { - "$ref": "1250" + "$ref": "1274" }, "decorators": [] }, { - "$id": "1254", + "$id": "1278", "kind": "enumvalue", - "name": "failed", - "value": "failed", + "name": "medium", + "value": "medium", "valueType": { - "$ref": "1251" + "$ref": "1275" }, "enumType": { - "$ref": "1250" + "$ref": "1274" }, "decorators": [] }, { - "$id": "1255", + "$id": "1279", "kind": "enumvalue", - "name": "incomplete", - "value": "incomplete", + "name": "high", + "value": "high", + "valueType": { + "$ref": "1275" + }, + "enumType": { + "$ref": "1274" + }, + "decorators": [] + }, + { + "$id": "1280", + "kind": "enumvalue", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1251" + "$ref": "1275" }, "enumType": { - "$ref": "1250" + "$ref": "1274" }, "decorators": [] } @@ -15232,16 +15511,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input", "decorators": [] }, { - "$id": "1256", + "$id": "1281", "kind": "enum", - "name": "RealtimeResponseStatusDetailsType", - "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status_details.type.anonymous", + "name": "ImagesResponseBackground", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.background.anonymous", "valueType": { - "$id": "1257", + "$id": "1282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15249,54 +15528,28 @@ }, "values": [ { - "$id": "1258", - "kind": "enumvalue", - "name": "completed", - "value": "completed", - "valueType": { - "$ref": "1257" - }, - "enumType": { - "$ref": "1256" - }, - "decorators": [] - }, - { - "$id": "1259", - "kind": "enumvalue", - "name": "cancelled", - "value": "cancelled", - "valueType": { - "$ref": "1257" - }, - "enumType": { - "$ref": "1256" - }, - "decorators": [] - }, - { - "$id": "1260", + "$id": "1283", "kind": "enumvalue", - "name": "failed", - "value": "failed", + "name": "transparent", + "value": "transparent", "valueType": { - "$ref": "1257" + "$ref": "1282" }, "enumType": { - "$ref": "1256" + "$ref": "1281" }, "decorators": [] }, { - "$id": "1261", + "$id": "1284", "kind": "enumvalue", - "name": "incomplete", - "value": "incomplete", + "name": "opaque", + "value": "opaque", "valueType": { - "$ref": "1257" + "$ref": "1282" }, "enumType": { - "$ref": "1256" + "$ref": "1281" }, "decorators": [] } @@ -15308,12 +15561,12 @@ "decorators": [] }, { - "$id": "1262", + "$id": "1285", "kind": "enum", - "name": "RealtimeResponseStatusDetailsReason", - "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status_details.reason.anonymous", + "name": "ImagesResponseOutputFormat", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.output_format.anonymous", "valueType": { - "$id": "1263", + "$id": "1286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15321,54 +15574,41 @@ }, "values": [ { - "$id": "1264", - "kind": "enumvalue", - "name": "turn_detected", - "value": "turn_detected", - "valueType": { - "$ref": "1263" - }, - "enumType": { - "$ref": "1262" - }, - "decorators": [] - }, - { - "$id": "1265", + "$id": "1287", "kind": "enumvalue", - "name": "client_cancelled", - "value": "client_cancelled", + "name": "png", + "value": "png", "valueType": { - "$ref": "1263" + "$ref": "1286" }, "enumType": { - "$ref": "1262" + "$ref": "1285" }, "decorators": [] }, { - "$id": "1266", + "$id": "1288", "kind": "enumvalue", - "name": "max_output_tokens", - "value": "max_output_tokens", + "name": "webp", + "value": "webp", "valueType": { - "$ref": "1263" + "$ref": "1286" }, "enumType": { - "$ref": "1262" + "$ref": "1285" }, "decorators": [] }, { - "$id": "1267", + "$id": "1289", "kind": "enumvalue", - "name": "content_filter", - "value": "content_filter", + "name": "jpeg", + "value": "jpeg", "valueType": { - "$ref": "1263" + "$ref": "1286" }, "enumType": { - "$ref": "1262" + "$ref": "1285" }, "decorators": [] } @@ -15380,12 +15620,12 @@ "decorators": [] }, { - "$id": "1268", + "$id": "1290", "kind": "enum", - "name": "RealtimeResponseModality", - "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.modality.anonymous", + "name": "ImagesResponseSize", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.size.anonymous", "valueType": { - "$id": "1269", + "$id": "1291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15393,28 +15633,41 @@ }, "values": [ { - "$id": "1270", + "$id": "1292", "kind": "enumvalue", - "name": "text", - "value": "text", + "name": "1024x1024", + "value": "1024x1024", "valueType": { - "$ref": "1269" + "$ref": "1291" }, "enumType": { - "$ref": "1268" + "$ref": "1290" }, "decorators": [] }, { - "$id": "1271", + "$id": "1293", "kind": "enumvalue", - "name": "audio", - "value": "audio", + "name": "1024x1536", + "value": "1024x1536", + "valueType": { + "$ref": "1291" + }, + "enumType": { + "$ref": "1290" + }, + "decorators": [] + }, + { + "$id": "1294", + "kind": "enumvalue", + "name": "1536x1024", + "value": "1536x1024", "valueType": { - "$ref": "1269" + "$ref": "1291" }, "enumType": { - "$ref": "1268" + "$ref": "1290" }, "decorators": [] } @@ -15426,12 +15679,12 @@ "decorators": [] }, { - "$id": "1272", + "$id": "1295", "kind": "enum", - "name": "RealtimeResponseOutputAudioFormat", - "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.output_audio_format.anonymous", + "name": "ImagesResponseQuality", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.quality.anonymous", "valueType": { - "$id": "1273", + "$id": "1296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15439,41 +15692,41 @@ }, "values": [ { - "$id": "1274", + "$id": "1297", "kind": "enumvalue", - "name": "pcm16", - "value": "pcm16", + "name": "low", + "value": "low", "valueType": { - "$ref": "1273" + "$ref": "1296" }, "enumType": { - "$ref": "1272" + "$ref": "1295" }, "decorators": [] }, { - "$id": "1275", + "$id": "1298", "kind": "enumvalue", - "name": "g711_ulaw", - "value": "g711_ulaw", + "name": "medium", + "value": "medium", "valueType": { - "$ref": "1273" + "$ref": "1296" }, "enumType": { - "$ref": "1272" + "$ref": "1295" }, "decorators": [] }, { - "$id": "1276", + "$id": "1299", "kind": "enumvalue", - "name": "g711_alaw", - "value": "g711_alaw", + "name": "high", + "value": "high", "valueType": { - "$ref": "1273" + "$ref": "1296" }, "enumType": { - "$ref": "1272" + "$ref": "1295" }, "decorators": [] } @@ -15485,12 +15738,12 @@ "decorators": [] }, { - "$id": "1277", + "$id": "1300", "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateResponseModality", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.modality.anonymous", + "name": "ImageEditStreamEventType", + "crossLanguageDefinitionId": "OpenAI.ImageEditStreamEventType", "valueType": { - "$id": "1278", + "$id": "1301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15498,45 +15751,45 @@ }, "values": [ { - "$id": "1279", + "$id": "1302", "kind": "enumvalue", - "name": "text", - "value": "text", + "name": "image_edit.partial_image", + "value": "image_edit.partial_image", "valueType": { - "$ref": "1278" + "$ref": "1301" }, "enumType": { - "$ref": "1277" + "$ref": "1300" }, "decorators": [] }, { - "$id": "1280", + "$id": "1303", "kind": "enumvalue", - "name": "audio", - "value": "audio", + "name": "image_edit.completed", + "value": "image_edit.completed", "valueType": { - "$ref": "1278" + "$ref": "1301" }, "enumType": { - "$ref": "1277" + "$ref": "1300" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Output,Json", + "usage": "Output", "decorators": [] }, { - "$id": "1281", + "$id": "1304", "kind": "enum", - "name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.model.anonymous", + "name": "ImageEditCompletedEventSize", + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.size.anonymous", "valueType": { - "$id": "1282", + "$id": "1305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15544,41 +15797,54 @@ }, "values": [ { - "$id": "1283", + "$id": "1306", "kind": "enumvalue", - "name": "gpt-4o-transcribe", - "value": "gpt-4o-transcribe", + "name": "1024x1024", + "value": "1024x1024", "valueType": { - "$ref": "1282" + "$ref": "1305" }, "enumType": { - "$ref": "1281" + "$ref": "1304" }, "decorators": [] }, { - "$id": "1284", + "$id": "1307", "kind": "enumvalue", - "name": "gpt-4o-mini-transcribe", - "value": "gpt-4o-mini-transcribe", + "name": "1024x1536", + "value": "1024x1536", "valueType": { - "$ref": "1282" + "$ref": "1305" }, "enumType": { - "$ref": "1281" + "$ref": "1304" }, "decorators": [] }, { - "$id": "1285", + "$id": "1308", "kind": "enumvalue", - "name": "whisper-1", - "value": "whisper-1", + "name": "1536x1024", + "value": "1536x1024", "valueType": { - "$ref": "1282" + "$ref": "1305" }, "enumType": { - "$ref": "1281" + "$ref": "1304" + }, + "decorators": [] + }, + { + "$id": "1309", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "1305" + }, + "enumType": { + "$ref": "1304" }, "decorators": [] } @@ -15586,16 +15852,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Output", "decorators": [] }, { - "$id": "1286", + "$id": "1310", "kind": "enum", - "name": "RealtimeSessionCreateRequestModel", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.model.anonymous", + "name": "ImageEditCompletedEventQuality", + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.quality.anonymous", "valueType": { - "$id": "1287", + "$id": "1311", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15603,126 +15869,54 @@ }, "values": [ { - "$id": "1288", + "$id": "1312", "kind": "enumvalue", - "name": "gpt-4o-realtime-preview", - "value": "gpt-4o-realtime-preview", + "name": "low", + "value": "low", "valueType": { - "$ref": "1287" + "$ref": "1311" }, "enumType": { - "$ref": "1286" + "$ref": "1310" }, "decorators": [] }, { - "$id": "1289", + "$id": "1313", "kind": "enumvalue", - "name": "gpt-4o-realtime-preview-2024-10-01", - "value": "gpt-4o-realtime-preview-2024-10-01", + "name": "medium", + "value": "medium", "valueType": { - "$ref": "1287" + "$ref": "1311" }, "enumType": { - "$ref": "1286" + "$ref": "1310" }, "decorators": [] }, { - "$id": "1290", + "$id": "1314", "kind": "enumvalue", - "name": "gpt-4o-realtime-preview-2024-12-17", - "value": "gpt-4o-realtime-preview-2024-12-17", + "name": "high", + "value": "high", "valueType": { - "$ref": "1287" + "$ref": "1311" }, "enumType": { - "$ref": "1286" + "$ref": "1310" }, "decorators": [] }, { - "$id": "1291", + "$id": "1315", "kind": "enumvalue", - "name": "gpt-4o-realtime-preview-2025-06-03", - "value": "gpt-4o-realtime-preview-2025-06-03", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1287" + "$ref": "1311" }, "enumType": { - "$ref": "1286" - }, - "decorators": [] - }, - { - "$id": "1292", - "kind": "enumvalue", - "name": "gpt-4o-mini-realtime-preview", - "value": "gpt-4o-mini-realtime-preview", - "valueType": { - "$ref": "1287" - }, - "enumType": { - "$ref": "1286" - }, - "decorators": [] - }, - { - "$id": "1293", - "kind": "enumvalue", - "name": "gpt-4o-mini-realtime-preview-2024-12-17", - "value": "gpt-4o-mini-realtime-preview-2024-12-17", - "valueType": { - "$ref": "1287" - }, - "enumType": { - "$ref": "1286" - }, - "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "1294", - "kind": "enum", - "name": "RealtimeSessionCreateRequestTurnDetectionType", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.type.anonymous", - "valueType": { - "$id": "1295", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "1296", - "kind": "enumvalue", - "name": "server_vad", - "value": "server_vad", - "valueType": { - "$ref": "1295" - }, - "enumType": { - "$ref": "1294" - }, - "decorators": [] - }, - { - "$id": "1297", - "kind": "enumvalue", - "name": "semantic_vad", - "value": "semantic_vad", - "valueType": { - "$ref": "1295" - }, - "enumType": { - "$ref": "1294" + "$ref": "1310" }, "decorators": [] } @@ -15730,16 +15924,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output", "decorators": [] }, { - "$id": "1298", + "$id": "1316", "kind": "enum", - "name": "RealtimeSessionCreateRequestTurnDetectionEagerness", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.eagerness.anonymous", + "name": "ImageEditCompletedEventBackground", + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.background.anonymous", "valueType": { - "$id": "1299", + "$id": "1317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15747,54 +15941,41 @@ }, "values": [ { - "$id": "1300", - "kind": "enumvalue", - "name": "low", - "value": "low", - "valueType": { - "$ref": "1299" - }, - "enumType": { - "$ref": "1298" - }, - "decorators": [] - }, - { - "$id": "1301", + "$id": "1318", "kind": "enumvalue", - "name": "medium", - "value": "medium", + "name": "transparent", + "value": "transparent", "valueType": { - "$ref": "1299" + "$ref": "1317" }, "enumType": { - "$ref": "1298" + "$ref": "1316" }, "decorators": [] }, { - "$id": "1302", + "$id": "1319", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "opaque", + "value": "opaque", "valueType": { - "$ref": "1299" + "$ref": "1317" }, "enumType": { - "$ref": "1298" + "$ref": "1316" }, "decorators": [] }, { - "$id": "1303", + "$id": "1320", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1299" + "$ref": "1317" }, "enumType": { - "$ref": "1298" + "$ref": "1316" }, "decorators": [] } @@ -15802,16 +15983,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output", "decorators": [] }, { - "$id": "1304", + "$id": "1321", "kind": "enum", - "name": "RealtimeSessionCreateRequestInputAudioNoiseReductionType", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction.type.anonymous", + "name": "ImageEditCompletedEventOutputFormat", + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.output_format.anonymous", "valueType": { - "$id": "1305", + "$id": "1322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15819,83 +16000,58 @@ }, "values": [ { - "$id": "1306", + "$id": "1323", "kind": "enumvalue", - "name": "near_field", - "value": "near_field", + "name": "png", + "value": "png", "valueType": { - "$ref": "1305" + "$ref": "1322" }, "enumType": { - "$ref": "1304" + "$ref": "1321" }, "decorators": [] }, { - "$id": "1307", + "$id": "1324", "kind": "enumvalue", - "name": "far_field", - "value": "far_field", + "name": "webp", + "value": "webp", "valueType": { - "$ref": "1305" + "$ref": "1322" }, "enumType": { - "$ref": "1304" + "$ref": "1321" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "1308", - "kind": "enum", - "name": "RealtimeSessionCreateRequestClientSecretExpiresAtAnchor", - "crossLanguageDefinitionId": "", - "valueType": { - "$id": "1309", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1310", + "$id": "1325", "kind": "enumvalue", - "name": "created_at", - "value": "created_at", + "name": "jpeg", + "value": "jpeg", "valueType": { - "$id": "1311", - "kind": "string", - "decorators": [], - "doc": "A sequence of textual characters.", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" + "$ref": "1322" }, "enumType": { - "$ref": "1308" + "$ref": "1321" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output", "decorators": [] }, { - "$id": "1312", + "$id": "1326", "kind": "enum", - "name": "CreateUploadRequestPurpose", - "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.purpose.anonymous", + "name": "ImageEditPartialImageEventSize", + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.size.anonymous", "valueType": { - "$id": "1313", + "$id": "1327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15903,54 +16059,54 @@ }, "values": [ { - "$id": "1314", + "$id": "1328", "kind": "enumvalue", - "name": "assistants", - "value": "assistants", + "name": "1024x1024", + "value": "1024x1024", "valueType": { - "$ref": "1313" + "$ref": "1327" }, "enumType": { - "$ref": "1312" + "$ref": "1326" }, "decorators": [] }, { - "$id": "1315", + "$id": "1329", "kind": "enumvalue", - "name": "batch", - "value": "batch", + "name": "1024x1536", + "value": "1024x1536", "valueType": { - "$ref": "1313" + "$ref": "1327" }, "enumType": { - "$ref": "1312" + "$ref": "1326" }, "decorators": [] }, { - "$id": "1316", + "$id": "1330", "kind": "enumvalue", - "name": "fine-tune", - "value": "fine-tune", + "name": "1536x1024", + "value": "1536x1024", "valueType": { - "$ref": "1313" + "$ref": "1327" }, "enumType": { - "$ref": "1312" + "$ref": "1326" }, "decorators": [] }, { - "$id": "1317", + "$id": "1331", "kind": "enumvalue", - "name": "vision", - "value": "vision", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1313" + "$ref": "1327" }, "enumType": { - "$ref": "1312" + "$ref": "1326" }, "decorators": [] } @@ -15958,16 +16114,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Json", + "usage": "Output", "decorators": [] }, { - "$id": "1318", + "$id": "1332", "kind": "enum", - "name": "UploadStatus", - "crossLanguageDefinitionId": "OpenAI.Upload.status.anonymous", + "name": "ImageEditPartialImageEventQuality", + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.quality.anonymous", "valueType": { - "$id": "1319", + "$id": "1333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15975,54 +16131,54 @@ }, "values": [ { - "$id": "1320", + "$id": "1334", "kind": "enumvalue", - "name": "pending", - "value": "pending", + "name": "low", + "value": "low", "valueType": { - "$ref": "1319" + "$ref": "1333" }, "enumType": { - "$ref": "1318" + "$ref": "1332" }, "decorators": [] }, { - "$id": "1321", + "$id": "1335", "kind": "enumvalue", - "name": "completed", - "value": "completed", + "name": "medium", + "value": "medium", "valueType": { - "$ref": "1319" + "$ref": "1333" }, "enumType": { - "$ref": "1318" + "$ref": "1332" }, "decorators": [] }, { - "$id": "1322", + "$id": "1336", "kind": "enumvalue", - "name": "cancelled", - "value": "cancelled", + "name": "high", + "value": "high", "valueType": { - "$ref": "1319" + "$ref": "1333" }, "enumType": { - "$ref": "1318" + "$ref": "1332" }, "decorators": [] }, { - "$id": "1323", + "$id": "1337", "kind": "enumvalue", - "name": "expired", - "value": "expired", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1319" + "$ref": "1333" }, "enumType": { - "$ref": "1318" + "$ref": "1332" }, "decorators": [] } @@ -16030,54 +16186,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Output,Json", - "decorators": [] - }, - { - "$id": "1324", - "kind": "enum", - "name": "UploadObject", - "crossLanguageDefinitionId": "", - "valueType": { - "$id": "1325", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "1326", - "kind": "enumvalue", - "name": "upload", - "value": "upload", - "valueType": { - "$id": "1327", - "kind": "string", - "decorators": [], - "doc": "A sequence of textual characters.", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "enumType": { - "$ref": "1324" - }, - "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Output,Json", + "usage": "Output", "decorators": [] }, { - "$id": "1328", + "$id": "1338", "kind": "enum", - "name": "BatchRequestInputMethod", - "crossLanguageDefinitionId": "", + "name": "ImageEditPartialImageEventBackground", + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.background.anonymous", "valueType": { - "$id": "1329", + "$id": "1339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16085,67 +16203,41 @@ }, "values": [ { - "$id": "1330", + "$id": "1340", "kind": "enumvalue", - "name": "POST", - "value": "POST", + "name": "transparent", + "value": "transparent", "valueType": { - "$id": "1331", - "kind": "string", - "decorators": [], - "doc": "A sequence of textual characters.", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" + "$ref": "1339" }, "enumType": { - "$ref": "1328" + "$ref": "1338" }, "decorators": [] - } - ], - "access": "public", - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "1332", - "kind": "enum", - "name": "FineTuneChatCompletionRequestAssistantMessageWeight", - "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.weight.anonymous", - "valueType": { - "$id": "1333", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1334", + "$id": "1341", "kind": "enumvalue", - "name": "0", - "value": "0", + "name": "opaque", + "value": "opaque", "valueType": { - "$ref": "1333" + "$ref": "1339" }, "enumType": { - "$ref": "1332" + "$ref": "1338" }, "decorators": [] }, { - "$id": "1335", + "$id": "1342", "kind": "enumvalue", - "name": "1", - "value": "1", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1333" + "$ref": "1339" }, "enumType": { - "$ref": "1332" + "$ref": "1338" }, "decorators": [] } @@ -16153,16 +16245,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1336", + "$id": "1343", "kind": "enum", - "name": "MessageDeltaContentImageFileObjectImageFileDetail", - "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.image_file.detail.anonymous", + "name": "ImageEditPartialImageEventOutputFormat", + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.output_format.anonymous", "valueType": { - "$id": "1337", + "$id": "1344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16170,41 +16262,41 @@ }, "values": [ { - "$id": "1338", + "$id": "1345", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "png", + "value": "png", "valueType": { - "$ref": "1337" + "$ref": "1344" }, "enumType": { - "$ref": "1336" + "$ref": "1343" }, "decorators": [] }, { - "$id": "1339", + "$id": "1346", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "webp", + "value": "webp", "valueType": { - "$ref": "1337" + "$ref": "1344" }, "enumType": { - "$ref": "1336" + "$ref": "1343" }, "decorators": [] }, { - "$id": "1340", + "$id": "1347", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "jpeg", + "value": "jpeg", "valueType": { - "$ref": "1337" + "$ref": "1344" }, "enumType": { - "$ref": "1336" + "$ref": "1343" }, "decorators": [] } @@ -16216,12 +16308,12 @@ "decorators": [] }, { - "$id": "1341", + "$id": "1348", "kind": "enum", - "name": "MessageDeltaContentImageUrlObjectImageUrlDetail", - "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.image_url.detail.anonymous", + "name": "CreateImageRequestModel", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.model.anonymous", "valueType": { - "$id": "1342", + "$id": "1349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16229,104 +16321,71 @@ }, "values": [ { - "$id": "1343", + "$id": "1350", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "dall-e-2", + "value": "dall-e-2", "valueType": { - "$ref": "1342" + "$ref": "1349" }, "enumType": { - "$ref": "1341" + "$ref": "1348" }, "decorators": [] }, { - "$id": "1344", + "$id": "1351", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "dall-e-3", + "value": "dall-e-3", "valueType": { - "$ref": "1342" + "$ref": "1349" }, "enumType": { - "$ref": "1341" + "$ref": "1348" }, "decorators": [] }, { - "$id": "1345", - "kind": "enumvalue", - "name": "high", - "value": "high", - "valueType": { - "$ref": "1342" - }, - "enumType": { - "$ref": "1341" - }, - "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Output", - "decorators": [] - }, - { - "$id": "1346", - "kind": "enum", - "name": "MessageDeltaObjectDeltaRole", - "crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.delta.role.anonymous", - "valueType": { - "$id": "1347", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "1348", + "$id": "1352", "kind": "enumvalue", - "name": "user", - "value": "user", + "name": "gpt-image-1", + "value": "gpt-image-1", "valueType": { - "$ref": "1347" + "$ref": "1349" }, "enumType": { - "$ref": "1346" + "$ref": "1348" }, "decorators": [] }, { - "$id": "1349", + "$id": "1353", "kind": "enumvalue", - "name": "assistant", - "value": "assistant", + "name": "gpt-image-1-mini", + "value": "gpt-image-1-mini", "valueType": { - "$ref": "1347" + "$ref": "1349" }, "enumType": { - "$ref": "1346" + "$ref": "1348" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Output", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1350", + "$id": "1354", "kind": "enum", - "name": "AssistantCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.AssistantCollectionOrder", + "name": "CreateImageRequestQuality", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.quality.anonymous", "valueType": { - "$id": "1351", + "$id": "1355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16334,56 +16393,36 @@ }, "values": [ { - "$id": "1352", + "$id": "1356", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "standard", + "value": "standard", "valueType": { - "$ref": "1351" + "$ref": "1355" }, "enumType": { - "$ref": "1350" + "$ref": "1354" }, "decorators": [] }, { - "$id": "1353", + "$id": "1357", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "hd", + "value": "hd", "valueType": { - "$ref": "1351" + "$ref": "1355" }, "enumType": { - "$ref": "1350" + "$ref": "1354" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "1354", - "kind": "enum", - "name": "MessageCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.MessageCollectionOrder", - "valueType": { - "$id": "1355", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1356", + "$id": "1358", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "low", + "value": "low", "valueType": { "$ref": "1355" }, @@ -16393,10 +16432,10 @@ "decorators": [] }, { - "$id": "1357", + "$id": "1359", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "medium", + "value": "medium", "valueType": { "$ref": "1355" }, @@ -16404,65 +16443,45 @@ "$ref": "1354" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "1358", - "kind": "enum", - "name": "RunCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.RunCollectionOrder", - "valueType": { - "$id": "1359", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { "$id": "1360", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "high", + "value": "high", "valueType": { - "$ref": "1359" + "$ref": "1355" }, "enumType": { - "$ref": "1358" + "$ref": "1354" }, "decorators": [] }, { "$id": "1361", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1359" + "$ref": "1355" }, "enumType": { - "$ref": "1358" + "$ref": "1354" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Input,Json", "decorators": [] }, { "$id": "1362", "kind": "enum", - "name": "RunStepCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.RunStepCollectionOrder", + "name": "CreateImageRequestResponseFormat", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.response_format.anonymous", "valueType": { "$id": "1363", "kind": "string", @@ -16474,8 +16493,8 @@ { "$id": "1364", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "url", + "value": "url", "valueType": { "$ref": "1363" }, @@ -16487,8 +16506,8 @@ { "$id": "1365", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "b64_json", + "value": "b64_json", "valueType": { "$ref": "1363" }, @@ -16499,16 +16518,16 @@ } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Input,Json", "decorators": [] }, { "$id": "1366", "kind": "enum", - "name": "ChatCompletionCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOrder", + "name": "CreateImageRequestOutputFormat", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.output_format.anonymous", "valueType": { "$id": "1367", "kind": "string", @@ -16520,8 +16539,8 @@ { "$id": "1368", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "png", + "value": "png", "valueType": { "$ref": "1367" }, @@ -16533,8 +16552,21 @@ { "$id": "1369", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "jpeg", + "value": "jpeg", + "valueType": { + "$ref": "1367" + }, + "enumType": { + "$ref": "1366" + }, + "decorators": [] + }, + { + "$id": "1370", + "kind": "enumvalue", + "name": "webp", + "value": "webp", "valueType": { "$ref": "1367" }, @@ -16545,23 +16577,18 @@ } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ] + "usage": "Input,Json", + "decorators": [] }, { - "$id": "1370", + "$id": "1371", "kind": "enum", - "name": "ChatCompletionMessageCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageCollectionOrder", + "name": "CreateImageRequestSize", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.size.anonymous", "valueType": { - "$id": "1371", + "$id": "1372", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16569,142 +16596,123 @@ }, "values": [ { - "$id": "1372", + "$id": "1373", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1371" + "$ref": "1372" }, "enumType": { - "$ref": "1370" + "$ref": "1371" }, "decorators": [] }, { - "$id": "1373", + "$id": "1374", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "1024x1024", + "value": "1024x1024", "valueType": { - "$ref": "1371" + "$ref": "1372" }, "enumType": { - "$ref": "1370" + "$ref": "1371" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input", - "decorators": [ + }, { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ] - }, - { - "$id": "1374", - "kind": "enum", - "name": "ContainerCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.ContainerCollectionOrder", - "valueType": { - "$id": "1375", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + "$id": "1375", + "kind": "enumvalue", + "name": "1536x1024", + "value": "1536x1024", + "valueType": { + "$ref": "1372" + }, + "enumType": { + "$ref": "1371" + }, + "decorators": [] + }, { "$id": "1376", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "1024x1536", + "value": "1024x1536", "valueType": { - "$ref": "1375" + "$ref": "1372" }, "enumType": { - "$ref": "1374" + "$ref": "1371" }, "decorators": [] }, { "$id": "1377", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "256x256", + "value": "256x256", "valueType": { - "$ref": "1375" + "$ref": "1372" }, "enumType": { - "$ref": "1374" + "$ref": "1371" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": false, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "1378", - "kind": "enum", - "name": "ConversationItemCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.ConversationItemCollectionOrder", - "valueType": { - "$id": "1379", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1380", + "$id": "1378", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "512x512", + "value": "512x512", "valueType": { - "$ref": "1379" + "$ref": "1372" }, "enumType": { - "$ref": "1378" + "$ref": "1371" }, "decorators": [] }, { - "$id": "1381", + "$id": "1379", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "1792x1024", + "value": "1792x1024", + "valueType": { + "$ref": "1372" + }, + "enumType": { + "$ref": "1371" + }, + "decorators": [] + }, + { + "$id": "1380", + "kind": "enumvalue", + "name": "1024x1792", + "value": "1024x1792", "valueType": { - "$ref": "1379" + "$ref": "1372" }, "enumType": { - "$ref": "1378" + "$ref": "1371" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1382", + "$id": "1381", "kind": "enum", - "name": "ResponseItemCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOrder", + "name": "CreateImageRequestModeration", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.moderation.anonymous", "valueType": { - "$id": "1383", + "$id": "1382", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16712,50 +16720,45 @@ }, "values": [ { - "$id": "1384", + "$id": "1383", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "low", + "value": "low", "valueType": { - "$ref": "1383" + "$ref": "1382" }, "enumType": { - "$ref": "1382" + "$ref": "1381" }, "decorators": [] }, { - "$id": "1385", + "$id": "1384", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1383" + "$ref": "1382" }, "enumType": { - "$ref": "1382" + "$ref": "1381" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ] + "usage": "Input,Json", + "decorators": [] }, { - "$id": "1386", + "$id": "1385", "kind": "enum", - "name": "DotNetGlobalToolCallApprovalPolicy", - "crossLanguageDefinitionId": "OpenAI.DotNetGlobalToolCallApprovalPolicy", + "name": "CreateImageRequestBackground", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.background.anonymous", "valueType": { - "$id": "1387", + "$id": "1386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16763,49 +16766,56 @@ }, "values": [ { - "$id": "1388", + "$id": "1387", "kind": "enumvalue", - "name": "AlwaysRequireApproval", - "value": "always", + "name": "transparent", + "value": "transparent", "valueType": { - "$ref": "1387" + "$ref": "1386" }, "enumType": { + "$ref": "1385" + }, + "decorators": [] + }, + { + "$id": "1388", + "kind": "enumvalue", + "name": "opaque", + "value": "opaque", + "valueType": { "$ref": "1386" }, + "enumType": { + "$ref": "1385" + }, "decorators": [] }, { "$id": "1389", "kind": "enumvalue", - "name": "NeverRequireApproval", - "value": "never", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1387" + "$ref": "1386" }, "enumType": { - "$ref": "1386" + "$ref": "1385" }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Output", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ] + "usage": "Input,Json", + "decorators": [] }, { "$id": "1390", "kind": "enum", - "name": "DotNetCombinedChunkingStrategyParamType", - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam.type.anonymous", + "name": "CreateImageRequestStyle", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.style.anonymous", "valueType": { "$id": "1391", "kind": "string", @@ -16817,8 +16827,8 @@ { "$id": "1392", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "vivid", + "value": "vivid", "valueType": { "$ref": "1391" }, @@ -16830,21 +16840,8 @@ { "$id": "1393", "kind": "enumvalue", - "name": "static", - "value": "static", - "valueType": { - "$ref": "1391" - }, - "enumType": { - "$ref": "1390" - }, - "decorators": [] - }, - { - "$id": "1394", - "kind": "enumvalue", - "name": "other", - "value": "other", + "name": "natural", + "value": "natural", "valueType": { "$ref": "1391" }, @@ -16857,16 +16854,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Output", + "usage": "Input,Json", "decorators": [] }, { - "$id": "1395", + "$id": "1394", "kind": "enum", - "name": "PageOrderOptions", - "crossLanguageDefinitionId": "OpenAI.PageOrderOptions", + "name": "ImageGenStreamEventType", + "crossLanguageDefinitionId": "OpenAI.ImageGenStreamEventType", "valueType": { - "$id": "1396", + "$id": "1395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16874,45 +16871,45 @@ }, "values": [ { - "$id": "1397", + "$id": "1396", "kind": "enumvalue", - "name": "asc", - "value": "asc", + "name": "image_generation.partial_image", + "value": "image_generation.partial_image", "valueType": { - "$ref": "1396" + "$ref": "1395" }, "enumType": { - "$ref": "1395" + "$ref": "1394" }, "decorators": [] }, { - "$id": "1398", + "$id": "1397", "kind": "enumvalue", - "name": "desc", - "value": "desc", + "name": "image_generation.completed", + "value": "image_generation.completed", "valueType": { - "$ref": "1396" + "$ref": "1395" }, "enumType": { - "$ref": "1395" + "$ref": "1394" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1399", + "$id": "1398", "kind": "enum", - "name": "VectorStoreFileCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.VectorStoreFileCollectionOrder", + "name": "ImageGenCompletedEventSize", + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.size.anonymous", "valueType": { - "$id": "1400", + "$id": "1399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16920,45 +16917,71 @@ }, "values": [ { - "$id": "1401", + "$id": "1400", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "1024x1024", + "value": "1024x1024", "valueType": { - "$ref": "1400" + "$ref": "1399" }, "enumType": { + "$ref": "1398" + }, + "decorators": [] + }, + { + "$id": "1401", + "kind": "enumvalue", + "name": "1024x1536", + "value": "1024x1536", + "valueType": { "$ref": "1399" }, + "enumType": { + "$ref": "1398" + }, "decorators": [] }, { "$id": "1402", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "1536x1024", + "value": "1536x1024", "valueType": { - "$ref": "1400" + "$ref": "1399" }, "enumType": { + "$ref": "1398" + }, + "decorators": [] + }, + { + "$id": "1403", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { "$ref": "1399" }, + "enumType": { + "$ref": "1398" + }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1403", + "$id": "1404", "kind": "enum", - "name": "ListVectorStoreFilesFilter", - "crossLanguageDefinitionId": "OpenAI.ListVectorStoreFilesFilter", + "name": "ImageGenCompletedEventQuality", + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.quality.anonymous", "valueType": { - "$id": "1404", + "$id": "1405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16966,71 +16989,71 @@ }, "values": [ { - "$id": "1405", + "$id": "1406", "kind": "enumvalue", - "name": "in_progress", - "value": "in_progress", + "name": "low", + "value": "low", "valueType": { - "$ref": "1404" + "$ref": "1405" }, "enumType": { - "$ref": "1403" + "$ref": "1404" }, "decorators": [] }, { - "$id": "1406", + "$id": "1407", "kind": "enumvalue", - "name": "completed", - "value": "completed", + "name": "medium", + "value": "medium", "valueType": { - "$ref": "1404" + "$ref": "1405" }, "enumType": { - "$ref": "1403" + "$ref": "1404" }, "decorators": [] }, { - "$id": "1407", + "$id": "1408", "kind": "enumvalue", - "name": "failed", - "value": "failed", + "name": "high", + "value": "high", "valueType": { - "$ref": "1404" + "$ref": "1405" }, "enumType": { - "$ref": "1403" + "$ref": "1404" }, "decorators": [] }, { - "$id": "1408", + "$id": "1409", "kind": "enumvalue", - "name": "cancelled", - "value": "cancelled", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1404" + "$ref": "1405" }, "enumType": { - "$ref": "1403" + "$ref": "1404" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1409", + "$id": "1410", "kind": "enum", - "name": "VideoCollectionOrder", - "crossLanguageDefinitionId": "OpenAI.VideoCollectionOrder", + "name": "ImageGenCompletedEventBackground", + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.background.anonymous", "valueType": { - "$id": "1410", + "$id": "1411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17038,45 +17061,58 @@ }, "values": [ { - "$id": "1411", + "$id": "1412", "kind": "enumvalue", - "name": "Ascending", - "value": "asc", + "name": "transparent", + "value": "transparent", "valueType": { - "$ref": "1410" + "$ref": "1411" }, "enumType": { - "$ref": "1409" + "$ref": "1410" }, "decorators": [] }, { - "$id": "1412", + "$id": "1413", "kind": "enumvalue", - "name": "Descending", - "value": "desc", + "name": "opaque", + "value": "opaque", "valueType": { + "$ref": "1411" + }, + "enumType": { "$ref": "1410" }, + "decorators": [] + }, + { + "$id": "1414", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "1411" + }, "enumType": { - "$ref": "1409" + "$ref": "1410" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1413", + "$id": "1415", "kind": "enum", - "name": "CreateTranscriptionRequestAccept", - "crossLanguageDefinitionId": "OpenAI.createTranscription.RequestAccept.anonymous", + "name": "ImageGenCompletedEventOutputFormat", + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.output_format.anonymous", "valueType": { - "$id": "1414", + "$id": "1416", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17084,61 +17120,41 @@ }, "values": [ { - "$id": "1415", + "$id": "1417", "kind": "enumvalue", - "name": "application/json", - "value": "application/json", + "name": "png", + "value": "png", "valueType": { - "$ref": "1414" + "$ref": "1416" }, "enumType": { - "$ref": "1413" + "$ref": "1415" }, "decorators": [] }, { - "$id": "1416", + "$id": "1418", "kind": "enumvalue", - "name": "text/event-stream", - "value": "text/event-stream", + "name": "webp", + "value": "webp", "valueType": { - "$ref": "1414" + "$ref": "1416" }, "enumType": { - "$ref": "1413" + "$ref": "1415" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input", - "decorators": [] - }, - { - "$id": "1417", - "kind": "enum", - "name": "ChatToolCallKind", - "crossLanguageDefinitionId": "OpenAI.ChatToolCallKind", - "valueType": { - "$id": "1418", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { "$id": "1419", "kind": "enumvalue", - "name": "function", - "value": "function", + "name": "jpeg", + "value": "jpeg", "valueType": { - "$ref": "1418" + "$ref": "1416" }, "enumType": { - "$ref": "1417" + "$ref": "1415" }, "decorators": [] } @@ -17146,14 +17162,14 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Output", "decorators": [] }, { "$id": "1420", "kind": "enum", - "name": "ChatToolKind", - "crossLanguageDefinitionId": "OpenAI.ChatToolKind", + "name": "ImageGenPartialImageEventSize", + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.size.anonymous", "valueType": { "$id": "1421", "kind": "string", @@ -17165,8 +17181,8 @@ { "$id": "1422", "kind": "enumvalue", - "name": "function", - "value": "function", + "name": "1024x1024", + "value": "1024x1024", "valueType": { "$ref": "1421" }, @@ -17174,50 +17190,43 @@ "$ref": "1420" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Input,Json", - "decorators": [] - }, - { - "$id": "1423", - "kind": "enum", - "name": "ListEvalsRequestOrder", - "crossLanguageDefinitionId": "OpenAI.listEvals.RequestOrder.anonymous", - "valueType": { - "$id": "1424", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1425", + "$id": "1423", "kind": "enumvalue", - "name": "asc", - "value": "asc", + "name": "1024x1536", + "value": "1024x1536", "valueType": { - "$ref": "1424" + "$ref": "1421" }, "enumType": { - "$ref": "1423" + "$ref": "1420" }, "decorators": [] }, { - "$id": "1426", + "$id": "1424", "kind": "enumvalue", - "name": "desc", - "value": "desc", + "name": "1536x1024", + "value": "1536x1024", + "valueType": { + "$ref": "1421" + }, + "enumType": { + "$ref": "1420" + }, + "decorators": [] + }, + { + "$id": "1425", + "kind": "enumvalue", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1424" + "$ref": "1421" }, "enumType": { - "$ref": "1423" + "$ref": "1420" }, "decorators": [] } @@ -17225,16 +17234,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1427", + "$id": "1426", "kind": "enum", - "name": "ListEvalsRequestOrderBy", - "crossLanguageDefinitionId": "OpenAI.listEvals.RequestOrderBy.anonymous", + "name": "ImageGenPartialImageEventQuality", + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.quality.anonymous", "valueType": { - "$id": "1428", + "$id": "1427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17242,45 +17251,71 @@ }, "values": [ { - "$id": "1429", + "$id": "1428", "kind": "enumvalue", - "name": "created_at", - "value": "created_at", + "name": "low", + "value": "low", "valueType": { - "$ref": "1428" + "$ref": "1427" }, "enumType": { + "$ref": "1426" + }, + "decorators": [] + }, + { + "$id": "1429", + "kind": "enumvalue", + "name": "medium", + "value": "medium", + "valueType": { "$ref": "1427" }, + "enumType": { + "$ref": "1426" + }, "decorators": [] }, { "$id": "1430", "kind": "enumvalue", - "name": "updated_at", - "value": "updated_at", + "name": "high", + "value": "high", "valueType": { - "$ref": "1428" + "$ref": "1427" }, "enumType": { + "$ref": "1426" + }, + "decorators": [] + }, + { + "$id": "1431", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { "$ref": "1427" }, + "enumType": { + "$ref": "1426" + }, "decorators": [] } ], "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1431", + "$id": "1432", "kind": "enum", - "name": "GetEvalRunsRequestOrder", - "crossLanguageDefinitionId": "OpenAI.getEvalRuns.RequestOrder.anonymous", + "name": "ImageGenPartialImageEventBackground", + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.background.anonymous", "valueType": { - "$id": "1432", + "$id": "1433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17288,28 +17323,41 @@ }, "values": [ { - "$id": "1433", + "$id": "1434", "kind": "enumvalue", - "name": "asc", - "value": "asc", + "name": "transparent", + "value": "transparent", "valueType": { - "$ref": "1432" + "$ref": "1433" }, "enumType": { - "$ref": "1431" + "$ref": "1432" }, "decorators": [] }, { - "$id": "1434", + "$id": "1435", "kind": "enumvalue", - "name": "desc", - "value": "desc", + "name": "opaque", + "value": "opaque", "valueType": { + "$ref": "1433" + }, + "enumType": { "$ref": "1432" }, + "decorators": [] + }, + { + "$id": "1436", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "1433" + }, "enumType": { - "$ref": "1431" + "$ref": "1432" }, "decorators": [] } @@ -17317,84 +17365,58 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1435", + "$id": "1437", "kind": "enum", - "name": "GetEvalRunsRequestStatus", - "crossLanguageDefinitionId": "OpenAI.getEvalRuns.RequestStatus.anonymous", + "name": "ImageGenPartialImageEventOutputFormat", + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.output_format.anonymous", "valueType": { - "$id": "1436", + "$id": "1438", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "values": [ - { - "$id": "1437", - "kind": "enumvalue", - "name": "queued", - "value": "queued", - "valueType": { - "$ref": "1436" - }, - "enumType": { - "$ref": "1435" - }, - "decorators": [] - }, - { - "$id": "1438", - "kind": "enumvalue", - "name": "in_progress", - "value": "in_progress", - "valueType": { - "$ref": "1436" - }, - "enumType": { - "$ref": "1435" - }, - "decorators": [] - }, { "$id": "1439", "kind": "enumvalue", - "name": "completed", - "value": "completed", + "name": "png", + "value": "png", "valueType": { - "$ref": "1436" + "$ref": "1438" }, "enumType": { - "$ref": "1435" + "$ref": "1437" }, "decorators": [] }, { "$id": "1440", "kind": "enumvalue", - "name": "canceled", - "value": "canceled", + "name": "webp", + "value": "webp", "valueType": { - "$ref": "1436" + "$ref": "1438" }, "enumType": { - "$ref": "1435" + "$ref": "1437" }, "decorators": [] }, { "$id": "1441", "kind": "enumvalue", - "name": "failed", - "value": "failed", + "name": "jpeg", + "value": "jpeg", "valueType": { - "$ref": "1436" + "$ref": "1438" }, "enumType": { - "$ref": "1435" + "$ref": "1437" }, "decorators": [] } @@ -17402,14 +17424,14 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { "$id": "1442", "kind": "enum", - "name": "GetEvalRunOutputItemsRequestStatus", - "crossLanguageDefinitionId": "OpenAI.getEvalRunOutputItems.RequestStatus.anonymous", + "name": "CreateImageVariationRequestModel", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.model.anonymous", "valueType": { "$id": "1443", "kind": "string", @@ -17421,21 +17443,8 @@ { "$id": "1444", "kind": "enumvalue", - "name": "fail", - "value": "fail", - "valueType": { - "$ref": "1443" - }, - "enumType": { - "$ref": "1442" - }, - "decorators": [] - }, - { - "$id": "1445", - "kind": "enumvalue", - "name": "pass", - "value": "pass", + "name": "dall-e-2", + "value": "dall-e-2", "valueType": { "$ref": "1443" }, @@ -17446,18 +17455,18 @@ } ], "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, "usage": "Input", "decorators": [] }, { - "$id": "1446", + "$id": "1445", "kind": "enum", - "name": "GetEvalRunOutputItemsRequestOrder", - "crossLanguageDefinitionId": "OpenAI.getEvalRunOutputItems.RequestOrder.anonymous", + "name": "CreateImageVariationRequestResponseFormat", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.response_format.anonymous", "valueType": { - "$id": "1447", + "$id": "1446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17465,28 +17474,28 @@ }, "values": [ { - "$id": "1448", + "$id": "1447", "kind": "enumvalue", - "name": "asc", - "value": "asc", + "name": "url", + "value": "url", "valueType": { - "$ref": "1447" + "$ref": "1446" }, "enumType": { - "$ref": "1446" + "$ref": "1445" }, "decorators": [] }, { - "$id": "1449", + "$id": "1448", "kind": "enumvalue", - "name": "desc", - "value": "desc", + "name": "b64_json", + "value": "b64_json", "valueType": { - "$ref": "1447" + "$ref": "1446" }, "enumType": { - "$ref": "1446" + "$ref": "1445" }, "decorators": [] } @@ -17498,12 +17507,12 @@ "decorators": [] }, { - "$id": "1450", + "$id": "1449", "kind": "enum", - "name": "ModerationAppliedInputType", - "crossLanguageDefinitionId": "OpenAI.ModerationAppliedInputType", + "name": "CreateImageVariationRequestSize", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.size.anonymous", "valueType": { - "$id": "1451", + "$id": "1450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17511,43 +17520,56 @@ }, "values": [ { - "$id": "1452", + "$id": "1451", "kind": "enumvalue", - "name": "text", - "value": "text", + "name": "256x256", + "value": "256x256", "valueType": { - "$ref": "1451" + "$ref": "1450" }, "enumType": { + "$ref": "1449" + }, + "decorators": [] + }, + { + "$id": "1452", + "kind": "enumvalue", + "name": "512x512", + "value": "512x512", + "valueType": { "$ref": "1450" }, + "enumType": { + "$ref": "1449" + }, "decorators": [] }, { "$id": "1453", "kind": "enumvalue", - "name": "image", - "value": "image", + "name": "1024x1024", + "value": "1024x1024", "valueType": { - "$ref": "1451" + "$ref": "1450" }, "enumType": { - "$ref": "1450" + "$ref": "1449" }, "decorators": [] } ], "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Output,Json", + "usage": "Input", "decorators": [] }, { "$id": "1454", "kind": "enum", - "name": "IncludedRunStepProperty", - "crossLanguageDefinitionId": "OpenAI.IncludedRunStepProperty", + "name": "BatchRequestInputMethod", + "crossLanguageDefinitionId": "", "valueType": { "$id": "1455", "kind": "string", @@ -17559,10 +17581,15 @@ { "$id": "1456", "kind": "enumvalue", - "name": "file_search_result_content", - "value": "step_details.tool_calls[*].file_search.results[*].content", + "name": "POST", + "value": "POST", "valueType": { - "$ref": "1455" + "$id": "1457", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { "$ref": "1454" @@ -17570,6 +17597,7 @@ "decorators": [] } ], + "access": "public", "namespace": "OpenAI", "isFixed": false, "isFlags": false, @@ -17577,12 +17605,12 @@ "decorators": [] }, { - "$id": "1457", + "$id": "1458", "kind": "enum", - "name": "RunStepDetailsToolCallsFileSearchResultObjectContentType", - "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentType", + "name": "FineTuneChatCompletionRequestAssistantMessageWeight", + "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.weight.anonymous", "valueType": { - "$id": "1458", + "$id": "1459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17590,48 +17618,28 @@ }, "values": [ { - "$id": "1459", + "$id": "1460", "kind": "enumvalue", - "name": "text", - "value": "text", + "name": "0", + "value": "0", "valueType": { - "$ref": "1458" + "$ref": "1459" }, "enumType": { - "$ref": "1457" + "$ref": "1458" }, "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "Output,Json", - "decorators": [] - }, - { - "$id": "1460", - "kind": "enum", - "name": "VectorStoreExpirationAnchor", - "crossLanguageDefinitionId": "OpenAI.VectorStoreExpirationAnchor", - "valueType": { - "$id": "1461", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "1462", + "$id": "1461", "kind": "enumvalue", - "name": "last_active_at", - "value": "last_active_at", + "name": "1", + "value": "1", "valueType": { - "$ref": "1461" + "$ref": "1459" }, "enumType": { - "$ref": "1460" + "$ref": "1458" }, "decorators": [] } @@ -17639,16 +17647,16 @@ "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input,Output,Json", + "usage": "Input", "decorators": [] }, { - "$id": "1463", + "$id": "1462", "kind": "enum", - "name": "CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum", - "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum", + "name": "MessageDeltaContentImageFileObjectImageFileDetail", + "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.image_file.detail.anonymous", "valueType": { - "$id": "1464", + "$id": "1463", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17656,33 +17664,58 @@ }, "values": [ { - "$id": "1465", + "$id": "1464", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1464" + "$ref": "1463" + }, + "enumType": { + "$ref": "1462" + }, + "decorators": [] + }, + { + "$id": "1465", + "kind": "enumvalue", + "name": "low", + "value": "low", + "valueType": { + "$ref": "1463" }, "enumType": { + "$ref": "1462" + }, + "decorators": [] + }, + { + "$id": "1466", + "kind": "enumvalue", + "name": "high", + "value": "high", + "valueType": { "$ref": "1463" }, + "enumType": { + "$ref": "1462" + }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1466", + "$id": "1467", "kind": "enum", - "name": "CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum", - "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum", + "name": "MessageDeltaContentImageUrlObjectImageUrlDetail", + "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.image_url.detail.anonymous", "valueType": { - "$id": "1467", + "$id": "1468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17690,33 +17723,58 @@ }, "values": [ { - "$id": "1468", + "$id": "1469", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { + "$ref": "1468" + }, + "enumType": { + "$ref": "1467" + }, + "decorators": [] + }, + { + "$id": "1470", + "kind": "enumvalue", + "name": "low", + "value": "low", + "valueType": { + "$ref": "1468" + }, + "enumType": { "$ref": "1467" }, + "decorators": [] + }, + { + "$id": "1471", + "kind": "enumvalue", + "name": "high", + "value": "high", + "valueType": { + "$ref": "1468" + }, "enumType": { - "$ref": "1466" + "$ref": "1467" }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1469", + "$id": "1472", "kind": "enum", - "name": "CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum", - "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum", + "name": "MessageDeltaObjectDeltaRole", + "crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.delta.role.anonymous", "valueType": { - "$id": "1470", + "$id": "1473", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17724,33 +17782,45 @@ }, "values": [ { - "$id": "1471", + "$id": "1474", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "user", + "value": "user", + "valueType": { + "$ref": "1473" + }, + "enumType": { + "$ref": "1472" + }, + "decorators": [] + }, + { + "$id": "1475", + "kind": "enumvalue", + "name": "assistant", + "value": "assistant", "valueType": { - "$ref": "1470" + "$ref": "1473" }, "enumType": { - "$ref": "1469" + "$ref": "1472" }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", "isFixed": true, "isFlags": false, - "usage": "Input", + "usage": "Output", "decorators": [] }, { - "$id": "1472", + "$id": "1476", "kind": "enum", - "name": "CreateFineTuningJobRequestHyperparametersBetaChoiceEnum", - "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersBetaChoiceEnum", + "name": "AssistantCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.AssistantCollectionOrder", "valueType": { - "$id": "1473", + "$id": "1477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17758,33 +17828,45 @@ }, "values": [ { - "$id": "1474", + "$id": "1478", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1473" + "$ref": "1477" }, "enumType": { - "$ref": "1472" + "$ref": "1476" + }, + "decorators": [] + }, + { + "$id": "1479", + "kind": "enumvalue", + "name": "Descending", + "value": "desc", + "valueType": { + "$ref": "1477" + }, + "enumType": { + "$ref": "1476" }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, "usage": "Input", "decorators": [] }, { - "$id": "1475", + "$id": "1480", "kind": "enum", - "name": "DotNetResponseReasoningEffortLevel", - "crossLanguageDefinitionId": "OpenAI.DotNetResponseReasoningEffortLevel", + "name": "MessageCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.MessageCollectionOrder", "valueType": { - "$id": "1476", + "$id": "1481", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17792,77 +17874,91 @@ }, "values": [ { - "$id": "1477", + "$id": "1482", "kind": "enumvalue", - "name": "minimal", - "value": "minimal", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1476" + "$ref": "1481" }, "enumType": { - "$ref": "1475" + "$ref": "1480" }, "decorators": [] }, { - "$id": "1478", + "$id": "1483", "kind": "enumvalue", - "name": "low", - "value": "low", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1476" + "$ref": "1481" }, "enumType": { - "$ref": "1475" + "$ref": "1480" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1484", + "kind": "enum", + "name": "RunCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.RunCollectionOrder", + "valueType": { + "$id": "1485", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1479", + "$id": "1486", "kind": "enumvalue", - "name": "medium", - "value": "medium", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1476" + "$ref": "1485" }, "enumType": { - "$ref": "1475" + "$ref": "1484" }, "decorators": [] }, { - "$id": "1480", + "$id": "1487", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1476" + "$ref": "1485" }, "enumType": { - "$ref": "1475" + "$ref": "1484" }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", - "isFixed": true, + "isFixed": false, "isFlags": false, - "usage": "Input,Output", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ] + "usage": "Input", + "decorators": [] }, { - "$id": "1481", + "$id": "1488", "kind": "enum", - "name": "DotNetAudioVoiceIds", - "crossLanguageDefinitionId": "OpenAI.DotNetAudioVoiceIds", + "name": "RunStepCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.RunStepCollectionOrder", "valueType": { - "$id": "1482", + "$id": "1489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17870,163 +17966,239 @@ }, "values": [ { - "$id": "1483", + "$id": "1490", "kind": "enumvalue", - "name": "alloy", - "value": "alloy", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1482" + "$ref": "1489" }, "enumType": { - "$ref": "1481" + "$ref": "1488" }, "decorators": [] }, { - "$id": "1484", + "$id": "1491", "kind": "enumvalue", - "name": "ash", - "value": "ash", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1482" + "$ref": "1489" }, "enumType": { - "$ref": "1481" + "$ref": "1488" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1492", + "kind": "enum", + "name": "ChatCompletionCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOrder", + "valueType": { + "$id": "1493", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1485", + "$id": "1494", "kind": "enumvalue", - "name": "ballad", - "value": "ballad", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1482" + "$ref": "1493" }, "enumType": { - "$ref": "1481" + "$ref": "1492" }, "decorators": [] }, { - "$id": "1486", + "$id": "1495", "kind": "enumvalue", - "name": "coral", - "value": "coral", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1482" + "$ref": "1493" }, "enumType": { - "$ref": "1481" + "$ref": "1492" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [ { - "$id": "1487", - "kind": "enumvalue", - "name": "echo", - "value": "echo", - "valueType": { - "$ref": "1482" - }, - "enumType": { - "$ref": "1481" - }, - "decorators": [] - }, + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ] + }, + { + "$id": "1496", + "kind": "enum", + "name": "ChatCompletionMessageCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageCollectionOrder", + "valueType": { + "$id": "1497", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1488", + "$id": "1498", "kind": "enumvalue", - "name": "fable", - "value": "fable", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1482" + "$ref": "1497" }, "enumType": { - "$ref": "1481" + "$ref": "1496" }, "decorators": [] }, { - "$id": "1489", + "$id": "1499", "kind": "enumvalue", - "name": "onyx", - "value": "onyx", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1482" + "$ref": "1497" }, "enumType": { - "$ref": "1481" + "$ref": "1496" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [ { - "$id": "1490", + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ] + }, + { + "$id": "1500", + "kind": "enum", + "name": "ContainerCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.ContainerCollectionOrder", + "valueType": { + "$id": "1501", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "1502", "kind": "enumvalue", - "name": "nova", - "value": "nova", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1482" + "$ref": "1501" }, "enumType": { - "$ref": "1481" + "$ref": "1500" }, "decorators": [] }, { - "$id": "1491", + "$id": "1503", "kind": "enumvalue", - "name": "sage", - "value": "sage", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1482" + "$ref": "1501" }, "enumType": { - "$ref": "1481" + "$ref": "1500" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1504", + "kind": "enum", + "name": "ConversationItemCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.ConversationItemCollectionOrder", + "valueType": { + "$id": "1505", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1492", + "$id": "1506", "kind": "enumvalue", - "name": "shimmer", - "value": "shimmer", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1482" + "$ref": "1505" }, "enumType": { - "$ref": "1481" + "$ref": "1504" }, "decorators": [] }, { - "$id": "1493", + "$id": "1507", "kind": "enumvalue", - "name": "verse", - "value": "verse", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1482" + "$ref": "1505" }, "enumType": { - "$ref": "1481" + "$ref": "1504" }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", "isFixed": false, "isFlags": false, - "usage": "Input,Output", + "usage": "Input", "decorators": [] }, { - "$id": "1494", + "$id": "1508", "kind": "enum", - "name": "DotNetChatVoiceIds", - "crossLanguageDefinitionId": "OpenAI.DotNetChatVoiceIds", + "name": "ResponseItemCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOrder", "valueType": { - "$id": "1495", + "$id": "1509", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18034,168 +18206,207 @@ }, "values": [ { - "$id": "1496", + "$id": "1510", "kind": "enumvalue", - "name": "alloy", - "value": "alloy", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1495" + "$ref": "1509" }, "enumType": { - "$ref": "1494" + "$ref": "1508" }, "decorators": [] }, { - "$id": "1497", + "$id": "1511", "kind": "enumvalue", - "name": "ash", - "value": "ash", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1495" + "$ref": "1509" }, "enumType": { - "$ref": "1494" + "$ref": "1508" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [ { - "$id": "1498", + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ] + }, + { + "$id": "1512", + "kind": "enum", + "name": "DotNetGlobalToolCallApprovalPolicy", + "crossLanguageDefinitionId": "OpenAI.DotNetGlobalToolCallApprovalPolicy", + "valueType": { + "$id": "1513", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "1514", "kind": "enumvalue", - "name": "ballad", - "value": "ballad", + "name": "AlwaysRequireApproval", + "value": "always", "valueType": { - "$ref": "1495" + "$ref": "1513" }, "enumType": { - "$ref": "1494" + "$ref": "1512" }, "decorators": [] }, { - "$id": "1499", + "$id": "1515", "kind": "enumvalue", - "name": "coral", - "value": "coral", + "name": "NeverRequireApproval", + "value": "never", "valueType": { - "$ref": "1495" + "$ref": "1513" }, "enumType": { - "$ref": "1494" + "$ref": "1512" }, "decorators": [] - }, - { - "$id": "1500", - "kind": "enumvalue", - "name": "echo", - "value": "echo", - "valueType": { - "$ref": "1495" - }, - "enumType": { - "$ref": "1494" - }, - "decorators": [] - }, + } + ], + "access": "public", + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output", + "decorators": [ { - "$id": "1501", - "kind": "enumvalue", - "name": "fable", - "value": "fable", - "valueType": { - "$ref": "1495" - }, - "enumType": { - "$ref": "1494" - }, - "decorators": [] - }, + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ] + }, + { + "$id": "1516", + "kind": "enum", + "name": "DotNetCombinedChunkingStrategyParamType", + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam.type.anonymous", + "valueType": { + "$id": "1517", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1502", + "$id": "1518", "kind": "enumvalue", - "name": "onyx", - "value": "onyx", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "1495" + "$ref": "1517" }, "enumType": { - "$ref": "1494" + "$ref": "1516" }, "decorators": [] }, { - "$id": "1503", + "$id": "1519", "kind": "enumvalue", - "name": "nova", - "value": "nova", + "name": "static", + "value": "static", "valueType": { - "$ref": "1495" + "$ref": "1517" }, "enumType": { - "$ref": "1494" + "$ref": "1516" }, "decorators": [] }, { - "$id": "1504", + "$id": "1520", "kind": "enumvalue", - "name": "sage", - "value": "sage", + "name": "other", + "value": "other", "valueType": { - "$ref": "1495" + "$ref": "1517" }, "enumType": { - "$ref": "1494" + "$ref": "1516" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output", + "decorators": [] + }, + { + "$id": "1521", + "kind": "enum", + "name": "PageOrderOptions", + "crossLanguageDefinitionId": "OpenAI.PageOrderOptions", + "valueType": { + "$id": "1522", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1505", + "$id": "1523", "kind": "enumvalue", - "name": "shimmer", - "value": "shimmer", + "name": "asc", + "value": "asc", "valueType": { - "$ref": "1495" + "$ref": "1522" }, "enumType": { - "$ref": "1494" + "$ref": "1521" }, "decorators": [] }, { - "$id": "1506", + "$id": "1524", "kind": "enumvalue", - "name": "verse", - "value": "verse", + "name": "desc", + "value": "desc", "valueType": { - "$ref": "1495" + "$ref": "1522" }, "enumType": { - "$ref": "1494" + "$ref": "1521" }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Output", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ] + "usage": "Input", + "decorators": [] }, { - "$id": "1507", + "$id": "1525", "kind": "enum", - "name": "DotNetRealtimeVoiceIds", - "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeVoiceIds", + "name": "VectorStoreFileCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.VectorStoreFileCollectionOrder", "valueType": { - "$id": "1508", + "$id": "1526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18203,823 +18414,1705 @@ }, "values": [ { - "$id": "1509", + "$id": "1527", "kind": "enumvalue", - "name": "alloy", - "value": "alloy", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1508" + "$ref": "1526" }, "enumType": { - "$ref": "1507" + "$ref": "1525" }, "decorators": [] }, { - "$id": "1510", + "$id": "1528", "kind": "enumvalue", - "name": "ash", - "value": "ash", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1508" + "$ref": "1526" }, "enumType": { - "$ref": "1507" + "$ref": "1525" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1529", + "kind": "enum", + "name": "ListVectorStoreFilesFilter", + "crossLanguageDefinitionId": "OpenAI.ListVectorStoreFilesFilter", + "valueType": { + "$id": "1530", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1511", + "$id": "1531", "kind": "enumvalue", - "name": "ballad", - "value": "ballad", + "name": "in_progress", + "value": "in_progress", "valueType": { - "$ref": "1508" + "$ref": "1530" }, "enumType": { - "$ref": "1507" + "$ref": "1529" }, "decorators": [] }, { - "$id": "1512", + "$id": "1532", "kind": "enumvalue", - "name": "coral", - "value": "coral", + "name": "completed", + "value": "completed", "valueType": { - "$ref": "1508" + "$ref": "1530" }, "enumType": { - "$ref": "1507" + "$ref": "1529" }, "decorators": [] }, { - "$id": "1513", + "$id": "1533", "kind": "enumvalue", - "name": "echo", - "value": "echo", + "name": "failed", + "value": "failed", "valueType": { - "$ref": "1508" + "$ref": "1530" }, "enumType": { - "$ref": "1507" + "$ref": "1529" }, "decorators": [] }, { - "$id": "1514", + "$id": "1534", "kind": "enumvalue", - "name": "fable", - "value": "fable", + "name": "cancelled", + "value": "cancelled", "valueType": { - "$ref": "1508" + "$ref": "1530" }, "enumType": { - "$ref": "1507" + "$ref": "1529" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1535", + "kind": "enum", + "name": "VideoCollectionOrder", + "crossLanguageDefinitionId": "OpenAI.VideoCollectionOrder", + "valueType": { + "$id": "1536", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1515", + "$id": "1537", "kind": "enumvalue", - "name": "onyx", - "value": "onyx", + "name": "Ascending", + "value": "asc", "valueType": { - "$ref": "1508" + "$ref": "1536" }, "enumType": { - "$ref": "1507" + "$ref": "1535" }, "decorators": [] }, { - "$id": "1516", + "$id": "1538", "kind": "enumvalue", - "name": "nova", - "value": "nova", + "name": "Descending", + "value": "desc", "valueType": { - "$ref": "1508" + "$ref": "1536" }, "enumType": { - "$ref": "1507" + "$ref": "1535" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1539", + "kind": "enum", + "name": "CreateTranscriptionRequestAccept", + "crossLanguageDefinitionId": "OpenAI.createTranscription.RequestAccept.anonymous", + "valueType": { + "$id": "1540", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1517", + "$id": "1541", "kind": "enumvalue", - "name": "sage", - "value": "sage", + "name": "application/json", + "value": "application/json", "valueType": { - "$ref": "1508" + "$ref": "1540" }, "enumType": { - "$ref": "1507" + "$ref": "1539" }, "decorators": [] }, { - "$id": "1518", + "$id": "1542", "kind": "enumvalue", - "name": "shimmer", - "value": "shimmer", + "name": "text/event-stream", + "value": "text/event-stream", "valueType": { - "$ref": "1508" + "$ref": "1540" }, "enumType": { - "$ref": "1507" + "$ref": "1539" }, "decorators": [] - }, + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "1543", + "kind": "enum", + "name": "ChatToolCallKind", + "crossLanguageDefinitionId": "OpenAI.ChatToolCallKind", + "valueType": { + "$id": "1544", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ { - "$id": "1519", + "$id": "1545", "kind": "enumvalue", - "name": "verse", - "value": "verse", + "name": "function", + "value": "function", "valueType": { - "$ref": "1508" + "$ref": "1544" }, "enumType": { - "$ref": "1507" + "$ref": "1543" }, "decorators": [] } ], - "access": "public", "namespace": "OpenAI", - "isFixed": false, + "isFixed": true, "isFlags": false, - "usage": "Input,Output", + "usage": "Input,Output,Json", "decorators": [] - } - ], - "constants": [ + }, { - "$id": "1520", - "kind": "constant", - "name": "ListAssistantsResponseObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1546", + "kind": "enum", + "name": "ChatToolKind", + "crossLanguageDefinitionId": "OpenAI.ChatToolKind", "valueType": { - "$id": "1521", + "$id": "1547", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "values": [ + { + "$id": "1548", + "kind": "enumvalue", + "name": "function", + "value": "function", + "valueType": { + "$ref": "1547" + }, + "enumType": { + "$ref": "1546" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Json", "decorators": [] }, { - "$id": "1522", - "kind": "constant", - "name": "AssistantObjectObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1549", + "kind": "enum", + "name": "ListEvalsRequestOrder", + "crossLanguageDefinitionId": "OpenAI.listEvals.RequestOrder.anonymous", "valueType": { - "$id": "1523", + "$id": "1550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistant", + "values": [ + { + "$id": "1551", + "kind": "enumvalue", + "name": "asc", + "value": "asc", + "valueType": { + "$ref": "1550" + }, + "enumType": { + "$ref": "1549" + }, + "decorators": [] + }, + { + "$id": "1552", + "kind": "enumvalue", + "name": "desc", + "value": "desc", + "valueType": { + "$ref": "1550" + }, + "enumType": { + "$ref": "1549" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1524", - "kind": "constant", - "name": "FileSearchRankingOptionsRanker", - "namespace": "", - "usage": "None", + "$id": "1553", + "kind": "enum", + "name": "ListEvalsRequestOrderBy", + "crossLanguageDefinitionId": "OpenAI.listEvals.RequestOrderBy.anonymous", "valueType": { - "$id": "1525", + "$id": "1554", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "values": [ + { + "$id": "1555", + "kind": "enumvalue", + "name": "created_at", + "value": "created_at", + "valueType": { + "$ref": "1554" + }, + "enumType": { + "$ref": "1553" + }, + "decorators": [] + }, + { + "$id": "1556", + "kind": "enumvalue", + "name": "updated_at", + "value": "updated_at", + "valueType": { + "$ref": "1554" + }, + "enumType": { + "$ref": "1553" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1526", - "kind": "constant", - "name": "DeleteAssistantResponseObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1557", + "kind": "enum", + "name": "GetEvalRunsRequestOrder", + "crossLanguageDefinitionId": "OpenAI.getEvalRuns.RequestOrder.anonymous", "valueType": { - "$id": "1527", + "$id": "1558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistant.deleted", + "values": [ + { + "$id": "1559", + "kind": "enumvalue", + "name": "asc", + "value": "asc", + "valueType": { + "$ref": "1558" + }, + "enumType": { + "$ref": "1557" + }, + "decorators": [] + }, + { + "$id": "1560", + "kind": "enumvalue", + "name": "desc", + "value": "desc", + "valueType": { + "$ref": "1558" + }, + "enumType": { + "$ref": "1557" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1528", - "kind": "constant", - "name": "VadConfigType", - "namespace": "OpenAI", - "usage": "Input", + "$id": "1561", + "kind": "enum", + "name": "GetEvalRunsRequestStatus", + "crossLanguageDefinitionId": "OpenAI.getEvalRuns.RequestStatus.anonymous", "valueType": { - "$id": "1529", + "$id": "1562", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "server_vad", + "values": [ + { + "$id": "1563", + "kind": "enumvalue", + "name": "queued", + "value": "queued", + "valueType": { + "$ref": "1562" + }, + "enumType": { + "$ref": "1561" + }, + "decorators": [] + }, + { + "$id": "1564", + "kind": "enumvalue", + "name": "in_progress", + "value": "in_progress", + "valueType": { + "$ref": "1562" + }, + "enumType": { + "$ref": "1561" + }, + "decorators": [] + }, + { + "$id": "1565", + "kind": "enumvalue", + "name": "completed", + "value": "completed", + "valueType": { + "$ref": "1562" + }, + "enumType": { + "$ref": "1561" + }, + "decorators": [] + }, + { + "$id": "1566", + "kind": "enumvalue", + "name": "canceled", + "value": "canceled", + "valueType": { + "$ref": "1562" + }, + "enumType": { + "$ref": "1561" + }, + "decorators": [] + }, + { + "$id": "1567", + "kind": "enumvalue", + "name": "failed", + "value": "failed", + "valueType": { + "$ref": "1562" + }, + "enumType": { + "$ref": "1561" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1530", - "kind": "constant", - "name": "CreateTranscriptionResponseVerboseJsonTask", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1568", + "kind": "enum", + "name": "GetEvalRunOutputItemsRequestStatus", + "crossLanguageDefinitionId": "OpenAI.getEvalRunOutputItems.RequestStatus.anonymous", "valueType": { - "$id": "1531", + "$id": "1569", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "transcribe", + "values": [ + { + "$id": "1570", + "kind": "enumvalue", + "name": "fail", + "value": "fail", + "valueType": { + "$ref": "1569" + }, + "enumType": { + "$ref": "1568" + }, + "decorators": [] + }, + { + "$id": "1571", + "kind": "enumvalue", + "name": "pass", + "value": "pass", + "valueType": { + "$ref": "1569" + }, + "enumType": { + "$ref": "1568" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1532", - "kind": "constant", - "name": "CreateTranslationResponseVerboseJsonTask", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1572", + "kind": "enum", + "name": "GetEvalRunOutputItemsRequestOrder", + "crossLanguageDefinitionId": "OpenAI.getEvalRunOutputItems.RequestOrder.anonymous", "valueType": { - "$id": "1533", + "$id": "1573", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "translate", - "decorators": [] - }, - { - "$id": "1534", - "kind": "constant", - "name": "CreateBatchRequestCompletion_window", - "namespace": "", - "usage": "Spread,Json", - "valueType": { - "$id": "1535", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "24h", + "values": [ + { + "$id": "1574", + "kind": "enumvalue", + "name": "asc", + "value": "asc", + "valueType": { + "$ref": "1573" + }, + "enumType": { + "$ref": "1572" + }, + "decorators": [] + }, + { + "$id": "1575", + "kind": "enumvalue", + "name": "desc", + "value": "desc", + "valueType": { + "$ref": "1573" + }, + "enumType": { + "$ref": "1572" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1536", - "kind": "constant", - "name": "BatchObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1576", + "kind": "enum", + "name": "ModerationAppliedInputType", + "crossLanguageDefinitionId": "OpenAI.ModerationAppliedInputType", "valueType": { - "$id": "1537", + "$id": "1577", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "batch", - "decorators": [] - }, - { - "$id": "1538", - "kind": "constant", - "name": "ListBatchesResponseObject", + "values": [ + { + "$id": "1578", + "kind": "enumvalue", + "name": "text", + "value": "text", + "valueType": { + "$ref": "1577" + }, + "enumType": { + "$ref": "1576" + }, + "decorators": [] + }, + { + "$id": "1579", + "kind": "enumvalue", + "name": "image", + "value": "image", + "valueType": { + "$ref": "1577" + }, + "enumType": { + "$ref": "1576" + }, + "decorators": [] + } + ], "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, "usage": "Output,Json", - "valueType": { - "$id": "1539", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "list", "decorators": [] }, { - "$id": "1540", - "kind": "constant", - "name": "ChatCompletionListObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1580", + "kind": "enum", + "name": "IncludedRunStepProperty", + "crossLanguageDefinitionId": "OpenAI.IncludedRunStepProperty", "valueType": { - "$id": "1541", + "$id": "1581", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "values": [ + { + "$id": "1582", + "kind": "enumvalue", + "name": "file_search_result_content", + "value": "step_details.tool_calls[*].file_search.results[*].content", + "valueType": { + "$ref": "1581" + }, + "enumType": { + "$ref": "1580" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1542", - "kind": "constant", - "name": "ChatCompletionResponseMessageAnnotationType", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1583", + "kind": "enum", + "name": "RunStepDetailsToolCallsFileSearchResultObjectContentType", + "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentType", "valueType": { - "$id": "1543", + "$id": "1584", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "url_citation", - "decorators": [] - }, - { - "$id": "1544", - "kind": "constant", - "name": "CreateChatCompletionResponseObject", + "values": [ + { + "$id": "1585", + "kind": "enumvalue", + "name": "text", + "value": "text", + "valueType": { + "$ref": "1584" + }, + "enumType": { + "$ref": "1583" + }, + "decorators": [] + } + ], "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, "usage": "Output,Json", - "valueType": { - "$id": "1545", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "chat.completion", "decorators": [] }, { - "$id": "1546", - "kind": "constant", - "name": "CreateChatCompletionRequestWebSearchOptionsUserLocation1Type", - "namespace": "OpenAI", - "usage": "Input,Json", + "$id": "1586", + "kind": "enum", + "name": "VectorStoreExpirationAnchor", + "crossLanguageDefinitionId": "OpenAI.VectorStoreExpirationAnchor", "valueType": { - "$id": "1547", + "$id": "1587", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "approximate", - "decorators": [] - }, - { - "$id": "1548", - "kind": "constant", - "name": "ChatCompletionNamedToolChoiceType", + "values": [ + { + "$id": "1588", + "kind": "enumvalue", + "name": "last_active_at", + "value": "last_active_at", + "valueType": { + "$ref": "1587" + }, + "enumType": { + "$ref": "1586" + }, + "decorators": [] + } + ], "namespace": "OpenAI", - "usage": "Input,Json", - "valueType": { - "$id": "1549", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "function", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", "decorators": [] }, { - "$id": "1550", - "kind": "constant", - "name": "CreateChatCompletionRequestToolChoice1", - "namespace": "", - "usage": "None", + "$id": "1589", + "kind": "enum", + "name": "CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum", + "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum", "valueType": { - "$id": "1551", + "$id": "1590", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "none", + "values": [ + { + "$id": "1591", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "1590" + }, + "enumType": { + "$ref": "1589" + }, + "decorators": [] + } + ], + "access": "public", + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1552", - "kind": "constant", - "name": "FileSearchRankingOptionsRanker1", - "namespace": "", - "usage": "None", + "$id": "1592", + "kind": "enum", + "name": "CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum", + "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum", "valueType": { - "$id": "1553", + "$id": "1593", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", - "decorators": [] - }, - { - "$id": "1554", - "kind": "constant", - "name": "CreateChatCompletionStreamResponseObject", - "namespace": "OpenAI", + "values": [ + { + "$id": "1594", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "1593" + }, + "enumType": { + "$ref": "1592" + }, + "decorators": [] + } + ], "access": "public", - "usage": "Output", - "valueType": { - "$id": "1555", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "chat.completion.chunk", + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1556", - "kind": "constant", - "name": "ChatCompletionDeletedObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1595", + "kind": "enum", + "name": "CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum", + "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum", "valueType": { - "$id": "1557", + "$id": "1596", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "chat.completion.deleted", + "values": [ + { + "$id": "1597", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "1596" + }, + "enumType": { + "$ref": "1595" + }, + "decorators": [] + } + ], + "access": "public", + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1558", - "kind": "constant", - "name": "ChatCompletionMessageListObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1598", + "kind": "enum", + "name": "CreateFineTuningJobRequestHyperparametersBetaChoiceEnum", + "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersBetaChoiceEnum", "valueType": { - "$id": "1559", + "$id": "1599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "values": [ + { + "$id": "1600", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "1599" + }, + "enumType": { + "$ref": "1598" + }, + "decorators": [] + } + ], + "access": "public", + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input", "decorators": [] }, { - "$id": "1560", - "kind": "constant", - "name": "ContainerListResourceObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1601", + "kind": "enum", + "name": "DotNetResponseReasoningEffortLevel", + "crossLanguageDefinitionId": "OpenAI.DotNetResponseReasoningEffortLevel", "valueType": { - "$id": "1561", + "$id": "1602", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", - "decorators": [] + "values": [ + { + "$id": "1603", + "kind": "enumvalue", + "name": "minimal", + "value": "minimal", + "valueType": { + "$ref": "1602" + }, + "enumType": { + "$ref": "1601" + }, + "decorators": [] + }, + { + "$id": "1604", + "kind": "enumvalue", + "name": "low", + "value": "low", + "valueType": { + "$ref": "1602" + }, + "enumType": { + "$ref": "1601" + }, + "decorators": [] + }, + { + "$id": "1605", + "kind": "enumvalue", + "name": "medium", + "value": "medium", + "valueType": { + "$ref": "1602" + }, + "enumType": { + "$ref": "1601" + }, + "decorators": [] + }, + { + "$id": "1606", + "kind": "enumvalue", + "name": "high", + "value": "high", + "valueType": { + "$ref": "1602" + }, + "enumType": { + "$ref": "1601" + }, + "decorators": [] + } + ], + "access": "public", + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ] }, { - "$id": "1562", - "kind": "constant", - "name": "CreateContainerBodyExpiresAfterAnchor", - "namespace": "OpenAI", - "usage": "Input,Json", + "$id": "1607", + "kind": "enum", + "name": "DotNetAudioVoiceIds", + "crossLanguageDefinitionId": "OpenAI.DotNetAudioVoiceIds", "valueType": { - "$id": "1563", + "$id": "1608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "last_active_at", + "values": [ + { + "$id": "1609", + "kind": "enumvalue", + "name": "alloy", + "value": "alloy", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1610", + "kind": "enumvalue", + "name": "ash", + "value": "ash", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1611", + "kind": "enumvalue", + "name": "ballad", + "value": "ballad", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1612", + "kind": "enumvalue", + "name": "coral", + "value": "coral", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1613", + "kind": "enumvalue", + "name": "echo", + "value": "echo", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1614", + "kind": "enumvalue", + "name": "fable", + "value": "fable", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1615", + "kind": "enumvalue", + "name": "onyx", + "value": "onyx", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1616", + "kind": "enumvalue", + "name": "nova", + "value": "nova", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1617", + "kind": "enumvalue", + "name": "sage", + "value": "sage", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1618", + "kind": "enumvalue", + "name": "shimmer", + "value": "shimmer", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + }, + { + "$id": "1619", + "kind": "enumvalue", + "name": "verse", + "value": "verse", + "valueType": { + "$ref": "1608" + }, + "enumType": { + "$ref": "1607" + }, + "decorators": [] + } + ], + "access": "public", + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output", "decorators": [] }, { - "$id": "1564", - "kind": "constant", - "name": "DeleteContainerResponseObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1620", + "kind": "enum", + "name": "DotNetChatVoiceIds", + "crossLanguageDefinitionId": "OpenAI.DotNetChatVoiceIds", "valueType": { - "$id": "1565", + "$id": "1621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "container.deleted", - "decorators": [] - }, - { - "$id": "1566", - "kind": "constant", - "name": "DeleteContainerResponseDeleted", - "namespace": "OpenAI", - "usage": "Output,Json", - "valueType": { - "$id": "1567", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "values": [ + { + "$id": "1622", + "kind": "enumvalue", + "name": "alloy", + "value": "alloy", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1623", + "kind": "enumvalue", + "name": "ash", + "value": "ash", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1624", + "kind": "enumvalue", + "name": "ballad", + "value": "ballad", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1625", + "kind": "enumvalue", + "name": "coral", + "value": "coral", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1626", + "kind": "enumvalue", + "name": "echo", + "value": "echo", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1627", + "kind": "enumvalue", + "name": "fable", + "value": "fable", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1628", + "kind": "enumvalue", + "name": "onyx", + "value": "onyx", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1629", + "kind": "enumvalue", + "name": "nova", + "value": "nova", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1630", + "kind": "enumvalue", + "name": "sage", + "value": "sage", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1631", + "kind": "enumvalue", + "name": "shimmer", + "value": "shimmer", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + }, + { + "$id": "1632", + "kind": "enumvalue", + "name": "verse", + "value": "verse", + "valueType": { + "$ref": "1621" + }, + "enumType": { + "$ref": "1620" + }, + "decorators": [] + } + ], + "access": "public", + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ] }, { - "$id": "1568", - "kind": "constant", - "name": "ContainerFileListResourceObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "$id": "1633", + "kind": "enum", + "name": "DotNetRealtimeVoiceIds", + "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeVoiceIds", "valueType": { - "$id": "1569", + "$id": "1634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "values": [ + { + "$id": "1635", + "kind": "enumvalue", + "name": "alloy", + "value": "alloy", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1636", + "kind": "enumvalue", + "name": "ash", + "value": "ash", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1637", + "kind": "enumvalue", + "name": "ballad", + "value": "ballad", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1638", + "kind": "enumvalue", + "name": "coral", + "value": "coral", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1639", + "kind": "enumvalue", + "name": "echo", + "value": "echo", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1640", + "kind": "enumvalue", + "name": "fable", + "value": "fable", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1641", + "kind": "enumvalue", + "name": "onyx", + "value": "onyx", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1642", + "kind": "enumvalue", + "name": "nova", + "value": "nova", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1643", + "kind": "enumvalue", + "name": "sage", + "value": "sage", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1644", + "kind": "enumvalue", + "name": "shimmer", + "value": "shimmer", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + }, + { + "$id": "1645", + "kind": "enumvalue", + "name": "verse", + "value": "verse", + "valueType": { + "$ref": "1634" + }, + "enumType": { + "$ref": "1633" + }, + "decorators": [] + } + ], + "access": "public", + "namespace": "OpenAI", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output", "decorators": [] - }, + } + ], + "constants": [ { - "$id": "1570", + "$id": "1646", "kind": "constant", - "name": "DeleteContainerFileResponseObject", + "name": "ListAssistantsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1571", + "$id": "1647", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "container.file.deleted", + "value": "list", "decorators": [] }, { - "$id": "1572", + "$id": "1648", "kind": "constant", - "name": "DeleteContainerFileResponseDeleted", + "name": "AssistantObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1573", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", + "$id": "1649", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": true, + "value": "assistant", "decorators": [] }, { - "$id": "1574", + "$id": "1650", "kind": "constant", - "name": "EmbeddingObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "name": "FileSearchRankingOptionsRanker", + "namespace": "", + "usage": "None", "valueType": { - "$id": "1575", + "$id": "1651", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "embedding", + "value": "auto", "decorators": [] }, { - "$id": "1576", + "$id": "1652", "kind": "constant", - "name": "CreateEmbeddingResponseObject", + "name": "DeleteAssistantResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1577", + "$id": "1653", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "value": "assistant.deleted", "decorators": [] }, { - "$id": "1578", + "$id": "1654", "kind": "constant", - "name": "ListFilesResponseObject", + "name": "VadConfigType", "namespace": "OpenAI", - "usage": "Output,Json", + "usage": "Input", "valueType": { - "$id": "1579", + "$id": "1655", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "value": "server_vad", "decorators": [] }, { - "$id": "1580", + "$id": "1656", "kind": "constant", - "name": "OpenAIFileObject", + "name": "CreateTranscriptionResponseVerboseJsonTask", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1581", + "$id": "1657", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "file", + "value": "transcribe", "decorators": [] }, { - "$id": "1582", + "$id": "1658", "kind": "constant", - "name": "DeleteFileResponseObject", + "name": "CreateTranslationResponseVerboseJsonTask", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1583", + "$id": "1659", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "file", + "value": "translate", "decorators": [] }, { - "$id": "1584", + "$id": "1660", "kind": "constant", - "name": "FineTuningCheckpointPermissionObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "name": "CreateBatchRequestCompletion_window", + "namespace": "", + "usage": "Spread,Json", "valueType": { - "$id": "1585", + "$id": "1661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "checkpoint.permission", + "value": "24h", "decorators": [] }, { - "$id": "1586", + "$id": "1662", "kind": "constant", - "name": "ListFineTuningCheckpointPermissionResponseObject", + "name": "BatchObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1587", + "$id": "1663", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "value": "batch", "decorators": [] }, { - "$id": "1588", + "$id": "1664", "kind": "constant", - "name": "DeleteFineTuningCheckpointPermissionResponseObject", + "name": "ListBatchesResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1589", + "$id": "1665", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "checkpoint.permission", + "value": "list", "decorators": [] }, { - "$id": "1590", + "$id": "1666", "kind": "constant", - "name": "FileSearchRankingOptionsRanker2", - "namespace": "", - "usage": "None", + "name": "ChatCompletionListObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1591", + "$id": "1667", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "list", "decorators": [] }, { - "$id": "1592", + "$id": "1668", "kind": "constant", - "name": "FileSearchRankingOptionsRanker3", - "namespace": "", - "usage": "None", + "name": "ChatCompletionResponseMessageAnnotationType", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1593", + "$id": "1669", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "url_citation", "decorators": [] }, { - "$id": "1594", + "$id": "1670", "kind": "constant", - "name": "FileSearchRankingOptionsRanker4", - "namespace": "", - "usage": "None", + "name": "CreateChatCompletionResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1595", + "$id": "1671", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "chat.completion", "decorators": [] }, { - "$id": "1596", + "$id": "1672", "kind": "constant", - "name": "FileSearchRankingOptionsRanker5", - "namespace": "", - "usage": "None", + "name": "CreateChatCompletionRequestWebSearchOptionsUserLocation1Type", + "namespace": "OpenAI", + "usage": "Input,Json", "valueType": { - "$id": "1597", + "$id": "1673", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "approximate", "decorators": [] }, { - "$id": "1598", + "$id": "1674", "kind": "constant", - "name": "FileSearchRankingOptionsRanker6", - "namespace": "", - "usage": "None", + "name": "ChatCompletionNamedToolChoiceType", + "namespace": "OpenAI", + "usage": "Input,Json", "valueType": { - "$id": "1599", + "$id": "1675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "function", "decorators": [] }, { - "$id": "1600", + "$id": "1676", "kind": "constant", - "name": "FileSearchRankingOptionsRanker7", + "name": "CreateChatCompletionRequestToolChoice1", "namespace": "", "usage": "None", "valueType": { - "$id": "1601", + "$id": "1677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "none", "decorators": [] }, { - "$id": "1602", + "$id": "1678", "kind": "constant", - "name": "FileSearchRankingOptionsRanker8", + "name": "FileSearchRankingOptionsRanker1", "namespace": "", "usage": "None", "valueType": { - "$id": "1603", + "$id": "1679", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19029,141 +20122,398 @@ "decorators": [] }, { - "$id": "1604", + "$id": "1680", "kind": "constant", - "name": "FileSearchRankingOptionsRanker9", - "namespace": "", - "usage": "None", + "name": "CreateChatCompletionStreamResponseObject", + "namespace": "OpenAI", + "access": "public", + "usage": "Output", "valueType": { - "$id": "1605", + "$id": "1681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "chat.completion.chunk", "decorators": [] }, { - "$id": "1606", + "$id": "1682", "kind": "constant", - "name": "FileSearchRankingOptionsRanker10", - "namespace": "", - "usage": "None", + "name": "ChatCompletionDeletedObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1607", + "$id": "1683", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "chat.completion.deleted", "decorators": [] }, { - "$id": "1608", + "$id": "1684", "kind": "constant", - "name": "FileSearchRankingOptionsRanker11", - "namespace": "", - "usage": "None", + "name": "ChatCompletionMessageListObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1609", + "$id": "1685", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "list", "decorators": [] }, { - "$id": "1610", + "$id": "1686", "kind": "constant", - "name": "FileSearchRankingOptionsRanker12", - "namespace": "", - "usage": "None", + "name": "ContainerListResourceObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1611", + "$id": "1687", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "list", "decorators": [] }, { - "$id": "1612", + "$id": "1688", "kind": "constant", - "name": "FileSearchRankingOptionsRanker13", - "namespace": "", - "usage": "None", + "name": "CreateContainerBodyExpiresAfterAnchor", + "namespace": "OpenAI", + "usage": "Input,Json", "valueType": { - "$id": "1613", + "$id": "1689", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "last_active_at", "decorators": [] }, { - "$id": "1614", + "$id": "1690", "kind": "constant", - "name": "FileSearchRankingOptionsRanker14", - "namespace": "", - "usage": "None", + "name": "DeleteContainerResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1615", + "$id": "1691", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "container.deleted", "decorators": [] }, { - "$id": "1616", + "$id": "1692", "kind": "constant", - "name": "FileSearchRankingOptionsRanker15", - "namespace": "", - "usage": "None", + "name": "DeleteContainerResponseDeleted", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1617", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "1693", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "value": "auto", + "value": true, "decorators": [] }, { - "$id": "1618", + "$id": "1694", "kind": "constant", - "name": "FileSearchRankingOptionsRanker16", - "namespace": "", - "usage": "None", + "name": "ContainerFileListResourceObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1619", + "$id": "1695", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "list", "decorators": [] }, { - "$id": "1620", + "$id": "1696", "kind": "constant", - "name": "FileSearchRankingOptionsRanker17", - "namespace": "", - "usage": "None", + "name": "DeleteContainerFileResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1621", + "$id": "1697", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "container.file.deleted", + "decorators": [] + }, + { + "$id": "1698", + "kind": "constant", + "name": "DeleteContainerFileResponseDeleted", + "namespace": "OpenAI", + "usage": "Output,Json", + "valueType": { + "$id": "1699", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "1700", + "kind": "constant", + "name": "ListFilesResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", + "valueType": { + "$id": "1701", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "list", + "decorators": [] + }, + { + "$id": "1702", + "kind": "constant", + "name": "OpenAIFileObject", + "namespace": "OpenAI", + "usage": "Output,Json", + "valueType": { + "$id": "1703", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "file", + "decorators": [] + }, + { + "$id": "1704", + "kind": "constant", + "name": "DeleteFileResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", + "valueType": { + "$id": "1705", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "file", + "decorators": [] + }, + { + "$id": "1706", + "kind": "constant", + "name": "FineTuningCheckpointPermissionObject", + "namespace": "OpenAI", + "usage": "Output,Json", + "valueType": { + "$id": "1707", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "checkpoint.permission", + "decorators": [] + }, + { + "$id": "1708", + "kind": "constant", + "name": "ListFineTuningCheckpointPermissionResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", + "valueType": { + "$id": "1709", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "list", + "decorators": [] + }, + { + "$id": "1710", + "kind": "constant", + "name": "DeleteFineTuningCheckpointPermissionResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", + "valueType": { + "$id": "1711", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "checkpoint.permission", + "decorators": [] + }, + { + "$id": "1712", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1713", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1714", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1715", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1716", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1717", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1718", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1719", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1720", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1721", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1722", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1723", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1724", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1725", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1726", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1727", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1728", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1729", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19173,13 +20523,125 @@ "decorators": [] }, { - "$id": "1622", + "$id": "1730", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1731", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1732", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1733", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1734", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1735", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1736", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1737", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1738", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1739", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1740", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1741", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1742", + "kind": "constant", + "name": "FileSearchRankingOptionsRanker17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "1743", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "auto", + "decorators": [] + }, + { + "$id": "1744", "kind": "constant", "name": "FileSearchRankingOptionsRanker18", "namespace": "", "usage": "None", "valueType": { - "$id": "1623", + "$id": "1745", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19189,13 +20651,13 @@ "decorators": [] }, { - "$id": "1624", + "$id": "1746", "kind": "constant", "name": "FileSearchRankingOptionsRanker19", "namespace": "", "usage": "None", "valueType": { - "$id": "1625", + "$id": "1747", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19205,13 +20667,13 @@ "decorators": [] }, { - "$id": "1626", + "$id": "1748", "kind": "constant", "name": "FileSearchRankingOptionsRanker20", "namespace": "", "usage": "None", "valueType": { - "$id": "1627", + "$id": "1749", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19221,13 +20683,13 @@ "decorators": [] }, { - "$id": "1628", + "$id": "1750", "kind": "constant", "name": "FineTuningJobObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1629", + "$id": "1751", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19237,13 +20699,13 @@ "decorators": [] }, { - "$id": "1630", + "$id": "1752", "kind": "constant", "name": "ListPaginatedFineTuningJobsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1631", + "$id": "1753", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19253,13 +20715,13 @@ "decorators": [] }, { - "$id": "1632", + "$id": "1754", "kind": "constant", "name": "FineTuningJobCheckpointObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1633", + "$id": "1755", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19269,13 +20731,13 @@ "decorators": [] }, { - "$id": "1634", + "$id": "1756", "kind": "constant", "name": "ListFineTuningJobCheckpointsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1635", + "$id": "1757", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19285,13 +20747,13 @@ "decorators": [] }, { - "$id": "1636", + "$id": "1758", "kind": "constant", "name": "FineTuningJobEventObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1637", + "$id": "1759", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19301,13 +20763,13 @@ "decorators": [] }, { - "$id": "1638", + "$id": "1760", "kind": "constant", "name": "ListFineTuningJobEventsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1639", + "$id": "1761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19317,13 +20779,13 @@ "decorators": [] }, { - "$id": "1640", + "$id": "1762", "kind": "constant", "name": "EvalListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1641", + "$id": "1763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19333,13 +20795,13 @@ "decorators": [] }, { - "$id": "1642", + "$id": "1764", "kind": "constant", "name": "EvalObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1643", + "$id": "1765", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19349,13 +20811,13 @@ "decorators": [] }, { - "$id": "1644", + "$id": "1766", "kind": "constant", "name": "DeleteEvalResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1645", + "$id": "1767", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19365,13 +20827,13 @@ "decorators": [] }, { - "$id": "1646", + "$id": "1768", "kind": "constant", "name": "EvalRunListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1647", + "$id": "1769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19381,13 +20843,13 @@ "decorators": [] }, { - "$id": "1648", + "$id": "1770", "kind": "constant", "name": "EvalRunObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1649", + "$id": "1771", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19397,13 +20859,13 @@ "decorators": [] }, { - "$id": "1650", + "$id": "1772", "kind": "constant", "name": "EvalCompletionsRunDataSourceParamsInputMessages1Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1651", + "$id": "1773", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19413,13 +20875,13 @@ "decorators": [] }, { - "$id": "1652", + "$id": "1774", "kind": "constant", "name": "EvalCompletionsRunDataSourceParamsInputMessages2Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1653", + "$id": "1775", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19429,13 +20891,13 @@ "decorators": [] }, { - "$id": "1654", + "$id": "1776", "kind": "constant", "name": "EvalResponsesRunDataSourceParamsInputMessages1Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1655", + "$id": "1777", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19445,13 +20907,13 @@ "decorators": [] }, { - "$id": "1656", + "$id": "1778", "kind": "constant", "name": "EvalResponsesRunDataSourceParamsInputMessages2Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1657", + "$id": "1779", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19461,13 +20923,13 @@ "decorators": [] }, { - "$id": "1658", + "$id": "1780", "kind": "constant", "name": "MCPToolRequireApproval2", "namespace": "", "usage": "None", "valueType": { - "$id": "1659", + "$id": "1781", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19477,13 +20939,13 @@ "decorators": [] }, { - "$id": "1660", + "$id": "1782", "kind": "constant", "name": "MCPToolRequireApproval3", "namespace": "", "usage": "None", "valueType": { - "$id": "1661", + "$id": "1783", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19493,13 +20955,13 @@ "decorators": [] }, { - "$id": "1662", + "$id": "1784", "kind": "constant", "name": "DeleteEvalRunResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1663", + "$id": "1785", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19509,13 +20971,13 @@ "decorators": [] }, { - "$id": "1664", + "$id": "1786", "kind": "constant", "name": "EvalRunOutputItemListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1665", + "$id": "1787", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19525,13 +20987,13 @@ "decorators": [] }, { - "$id": "1666", + "$id": "1788", "kind": "constant", "name": "EvalRunOutputItemObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1667", + "$id": "1789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19541,13 +21003,13 @@ "decorators": [] }, { - "$id": "1668", + "$id": "1790", "kind": "constant", "name": "LocalShellExecActionType", "namespace": "OpenAI", "usage": "Input,Output,Json", "valueType": { - "$id": "1669", + "$id": "1791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19557,13 +21019,13 @@ "decorators": [] }, { - "$id": "1670", + "$id": "1792", "kind": "constant", "name": "ResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1671", + "$id": "1793", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19573,13 +21035,13 @@ "decorators": [] }, { - "$id": "1672", + "$id": "1794", "kind": "constant", "name": "DeleteResponseResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1673", + "$id": "1795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19589,13 +21051,13 @@ "decorators": [] }, { - "$id": "1674", + "$id": "1796", "kind": "constant", "name": "DeleteResponseResponseDeleted", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1675", + "$id": "1797", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -19605,13 +21067,13 @@ "decorators": [] }, { - "$id": "1676", + "$id": "1798", "kind": "constant", "name": "ResponseItemListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1677", + "$id": "1799", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19621,13 +21083,13 @@ "decorators": [] }, { - "$id": "1678", + "$id": "1800", "kind": "constant", "name": "AssistantToolsFileSearchTypeOnlyType", "namespace": "OpenAI", "usage": "Input,Output,Json", "valueType": { - "$id": "1679", + "$id": "1801", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19637,13 +21099,13 @@ "decorators": [] }, { - "$id": "1680", + "$id": "1802", "kind": "constant", "name": "MessageObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1681", + "$id": "1803", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19653,13 +21115,13 @@ "decorators": [] }, { - "$id": "1682", + "$id": "1804", "kind": "constant", "name": "ListMessagesResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1683", + "$id": "1805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19669,13 +21131,13 @@ "decorators": [] }, { - "$id": "1684", + "$id": "1806", "kind": "constant", "name": "DeleteMessageResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1685", + "$id": "1807", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19685,13 +21147,13 @@ "decorators": [] }, { - "$id": "1686", + "$id": "1808", "kind": "constant", "name": "CreateModerationRequestInput2Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1687", + "$id": "1809", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19701,13 +21163,13 @@ "decorators": [] }, { - "$id": "1688", + "$id": "1810", "kind": "constant", "name": "CreateModerationRequestInput3Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1689", + "$id": "1811", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19717,13 +21179,13 @@ "decorators": [] }, { - "$id": "1690", + "$id": "1812", "kind": "constant", "name": "RunObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1691", + "$id": "1813", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19733,13 +21195,13 @@ "decorators": [] }, { - "$id": "1692", + "$id": "1814", "kind": "constant", "name": "RunObjectRequiredAction1Type", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1693", + "$id": "1815", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19749,13 +21211,13 @@ "decorators": [] }, { - "$id": "1694", + "$id": "1816", "kind": "constant", "name": "RunToolCallObjectType", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1695", + "$id": "1817", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19765,13 +21227,13 @@ "decorators": [] }, { - "$id": "1696", + "$id": "1818", "kind": "constant", "name": "ListRunsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1697", + "$id": "1819", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19781,13 +21243,13 @@ "decorators": [] }, { - "$id": "1698", + "$id": "1820", "kind": "constant", "name": "ListRunStepsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1699", + "$id": "1821", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19797,13 +21259,13 @@ "decorators": [] }, { - "$id": "1700", + "$id": "1822", "kind": "constant", "name": "RunStepObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1701", + "$id": "1823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19813,13 +21275,13 @@ "decorators": [] }, { - "$id": "1702", + "$id": "1824", "kind": "constant", "name": "ThreadObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1703", + "$id": "1825", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19829,13 +21291,13 @@ "decorators": [] }, { - "$id": "1704", + "$id": "1826", "kind": "constant", "name": "DeleteThreadResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1705", + "$id": "1827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19845,13 +21307,13 @@ "decorators": [] }, { - "$id": "1706", + "$id": "1828", "kind": "constant", "name": "ListVectorStoresResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1707", + "$id": "1829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19861,13 +21323,13 @@ "decorators": [] }, { - "$id": "1708", + "$id": "1830", "kind": "constant", "name": "VectorStoreObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1709", + "$id": "1831", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19877,13 +21339,13 @@ "decorators": [] }, { - "$id": "1710", + "$id": "1832", "kind": "constant", "name": "DeleteVectorStoreResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1711", + "$id": "1833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19893,13 +21355,13 @@ "decorators": [] }, { - "$id": "1712", + "$id": "1834", "kind": "constant", "name": "VectorStoreFileBatchObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1713", + "$id": "1835", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19909,13 +21371,13 @@ "decorators": [] }, { - "$id": "1714", + "$id": "1836", "kind": "constant", "name": "ListVectorStoreFilesResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1715", + "$id": "1837", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19925,13 +21387,13 @@ "decorators": [] }, { - "$id": "1716", + "$id": "1838", "kind": "constant", "name": "VectorStoreFileObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1717", + "$id": "1839", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19941,13 +21403,13 @@ "decorators": [] }, { - "$id": "1718", + "$id": "1840", "kind": "constant", "name": "DeleteVectorStoreFileResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1719", + "$id": "1841", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19957,13 +21419,13 @@ "decorators": [] }, { - "$id": "1720", + "$id": "1842", "kind": "constant", "name": "VectorStoreFileContentResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1721", + "$id": "1843", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19973,13 +21435,13 @@ "decorators": [] }, { - "$id": "1722", + "$id": "1844", "kind": "constant", "name": "VectorStoreSearchResultsPageObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1723", + "$id": "1845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19989,13 +21451,13 @@ "decorators": [] }, { - "$id": "1724", + "$id": "1846", "kind": "constant", "name": "VectorStoreSearchResultContentObjectType", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1725", + "$id": "1847", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20005,13 +21467,13 @@ "decorators": [] }, { - "$id": "1726", + "$id": "1848", "kind": "constant", "name": "CreateCompletionResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1727", + "$id": "1849", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20021,61 +21483,61 @@ "decorators": [] }, { - "$id": "1728", + "$id": "1850", "kind": "constant", - "name": "ListModelsResponseObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "name": "RealtimeRequestSessionMaxResponseOutputTokens1", + "namespace": "", + "usage": "None", "valueType": { - "$id": "1729", + "$id": "1851", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "value": "inf", "decorators": [] }, { - "$id": "1730", + "$id": "1852", "kind": "constant", - "name": "ModelObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "name": "RealtimeRequestSessionMaxResponseOutputTokens11", + "namespace": "", + "usage": "None", "valueType": { - "$id": "1731", + "$id": "1853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "model", + "value": "inf", "decorators": [] }, { - "$id": "1732", + "$id": "1854", "kind": "constant", - "name": "DeleteModelResponseObject", + "name": "RealtimeResponseSessionObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1733", + "$id": "1855", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "model", + "value": "realtime.session", "decorators": [] }, { - "$id": "1734", + "$id": "1856", "kind": "constant", - "name": "RealtimeRequestSessionMaxResponseOutputTokens1", + "name": "RealtimeRequestSessionMaxResponseOutputTokens12", "namespace": "", "usage": "None", "valueType": { - "$id": "1735", + "$id": "1857", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20085,13 +21547,29 @@ "decorators": [] }, { - "$id": "1736", + "$id": "1858", "kind": "constant", - "name": "RealtimeRequestSessionMaxResponseOutputTokens11", + "name": "RealtimeConversationResponseItemObject", + "namespace": "OpenAI", + "usage": "Output,Json", + "valueType": { + "$id": "1859", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "realtime.item", + "decorators": [] + }, + { + "$id": "1860", + "kind": "constant", + "name": "RealtimeRequestSessionMaxResponseOutputTokens13", "namespace": "", "usage": "None", "valueType": { - "$id": "1737", + "$id": "1861", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20101,29 +21579,29 @@ "decorators": [] }, { - "$id": "1738", + "$id": "1862", "kind": "constant", - "name": "RealtimeResponseSessionObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "name": "FileSearchRankingOptionsRanker21", + "namespace": "", + "usage": "None", "valueType": { - "$id": "1739", + "$id": "1863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "realtime.session", + "value": "auto", "decorators": [] }, { - "$id": "1740", + "$id": "1864", "kind": "constant", - "name": "RealtimeRequestSessionMaxResponseOutputTokens12", + "name": "RealtimeRequestSessionMaxResponseOutputTokens14", "namespace": "", "usage": "None", "valueType": { - "$id": "1741", + "$id": "1865", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20133,29 +21611,29 @@ "decorators": [] }, { - "$id": "1742", + "$id": "1866", "kind": "constant", - "name": "RealtimeConversationResponseItemObject", - "namespace": "OpenAI", - "usage": "Output,Json", + "name": "FileSearchRankingOptionsRanker22", + "namespace": "", + "usage": "None", "valueType": { - "$id": "1743", + "$id": "1867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "realtime.item", + "value": "auto", "decorators": [] }, { - "$id": "1744", + "$id": "1868", "kind": "constant", - "name": "RealtimeRequestSessionMaxResponseOutputTokens13", + "name": "RealtimeRequestSessionMaxResponseOutputTokens15", "namespace": "", "usage": "None", "valueType": { - "$id": "1745", + "$id": "1869", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20165,94 +21643,94 @@ "decorators": [] }, { - "$id": "1746", + "$id": "1870", "kind": "constant", - "name": "FileSearchRankingOptionsRanker21", - "namespace": "", - "usage": "None", + "name": "UploadPartObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1747", + "$id": "1871", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "upload.part", "decorators": [] }, { - "$id": "1748", + "$id": "1872", "kind": "constant", - "name": "RealtimeRequestSessionMaxResponseOutputTokens14", - "namespace": "", - "usage": "None", + "name": "EmbeddingObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1749", + "$id": "1873", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "inf", + "value": "embedding", "decorators": [] }, { - "$id": "1750", + "$id": "1874", "kind": "constant", - "name": "FileSearchRankingOptionsRanker22", - "namespace": "", - "usage": "None", + "name": "CreateEmbeddingResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1751", + "$id": "1875", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "auto", + "value": "list", "decorators": [] }, { - "$id": "1752", + "$id": "1876", "kind": "constant", - "name": "RealtimeRequestSessionMaxResponseOutputTokens15", - "namespace": "", - "usage": "None", + "name": "ListModelsResponseObject", + "namespace": "OpenAI", + "usage": "Output,Json", "valueType": { - "$id": "1753", + "$id": "1877", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "inf", + "value": "list", "decorators": [] }, { - "$id": "1754", + "$id": "1878", "kind": "constant", - "name": "UploadPartObject", + "name": "ModelObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1755", + "$id": "1879", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "upload.part", + "value": "model", "decorators": [] }, { - "$id": "1756", + "$id": "1880", "kind": "constant", "name": "MessageDeltaObjectObject", "namespace": "OpenAI", "access": "public", "usage": "Output", "valueType": { - "$id": "1757", + "$id": "1881", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20262,14 +21740,14 @@ "decorators": [] }, { - "$id": "1758", + "$id": "1882", "kind": "constant", "name": "RunStepDeltaObjectObject", "namespace": "OpenAI", "access": "public", "usage": "Output", "valueType": { - "$id": "1759", + "$id": "1883", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20279,14 +21757,14 @@ "decorators": [] }, { - "$id": "1760", + "$id": "1884", "kind": "constant", "name": "DotNetCombinedJsonTranscriptionResponseTask", "namespace": "OpenAI", "access": "public", "usage": "Output", "valueType": { - "$id": "1761", + "$id": "1885", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20296,13 +21774,13 @@ "decorators": [] }, { - "$id": "1762", + "$id": "1886", "kind": "constant", "name": "ListAssistantsRequestAccept", "namespace": "", "usage": "None", "valueType": { - "$id": "1763", + "$id": "1887", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20312,13 +21790,13 @@ "decorators": [] }, { - "$id": "1764", + "$id": "1888", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta", "namespace": "", "usage": "None", "valueType": { - "$id": "1765", + "$id": "1889", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20328,13 +21806,13 @@ "decorators": [] }, { - "$id": "1766", + "$id": "1890", "kind": "constant", "name": "ListAssistantsRequestAccept1", "namespace": "", "usage": "None", "valueType": { - "$id": "1767", + "$id": "1891", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20344,13 +21822,13 @@ "decorators": [] }, { - "$id": "1768", + "$id": "1892", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta1", "namespace": "", "usage": "None", "valueType": { - "$id": "1769", + "$id": "1893", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20360,13 +21838,13 @@ "decorators": [] }, { - "$id": "1770", + "$id": "1894", "kind": "constant", "name": "ListAssistantsRequestAccept2", "namespace": "", "usage": "None", "valueType": { - "$id": "1771", + "$id": "1895", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20376,13 +21854,13 @@ "decorators": [] }, { - "$id": "1772", + "$id": "1896", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta2", "namespace": "", "usage": "None", "valueType": { - "$id": "1773", + "$id": "1897", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20392,13 +21870,13 @@ "decorators": [] }, { - "$id": "1774", + "$id": "1898", "kind": "constant", "name": "createAssistantContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1775", + "$id": "1899", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20408,13 +21886,13 @@ "decorators": [] }, { - "$id": "1776", + "$id": "1900", "kind": "constant", "name": "ListAssistantsRequestAccept3", "namespace": "", "usage": "None", "valueType": { - "$id": "1777", + "$id": "1901", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20424,13 +21902,13 @@ "decorators": [] }, { - "$id": "1778", + "$id": "1902", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta3", "namespace": "", "usage": "None", "valueType": { - "$id": "1779", + "$id": "1903", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20440,13 +21918,13 @@ "decorators": [] }, { - "$id": "1780", + "$id": "1904", "kind": "constant", "name": "ListAssistantsRequestAccept4", "namespace": "", "usage": "None", "valueType": { - "$id": "1781", + "$id": "1905", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20456,13 +21934,13 @@ "decorators": [] }, { - "$id": "1782", + "$id": "1906", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta4", "namespace": "", "usage": "None", "valueType": { - "$id": "1783", + "$id": "1907", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20472,13 +21950,13 @@ "decorators": [] }, { - "$id": "1784", + "$id": "1908", "kind": "constant", "name": "ListAssistantsRequestAccept5", "namespace": "", "usage": "None", "valueType": { - "$id": "1785", + "$id": "1909", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20488,13 +21966,13 @@ "decorators": [] }, { - "$id": "1786", + "$id": "1910", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta5", "namespace": "", "usage": "None", "valueType": { - "$id": "1787", + "$id": "1911", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20504,13 +21982,13 @@ "decorators": [] }, { - "$id": "1788", + "$id": "1912", "kind": "constant", "name": "ListAssistantsRequestAccept6", "namespace": "", "usage": "None", "valueType": { - "$id": "1789", + "$id": "1913", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20520,13 +21998,13 @@ "decorators": [] }, { - "$id": "1790", + "$id": "1914", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta6", "namespace": "", "usage": "None", "valueType": { - "$id": "1791", + "$id": "1915", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20536,13 +22014,13 @@ "decorators": [] }, { - "$id": "1792", + "$id": "1916", "kind": "constant", "name": "modifyAssistantContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1793", + "$id": "1917", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20552,13 +22030,13 @@ "decorators": [] }, { - "$id": "1794", + "$id": "1918", "kind": "constant", "name": "ListAssistantsRequestAccept7", "namespace": "", "usage": "None", "valueType": { - "$id": "1795", + "$id": "1919", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20568,13 +22046,13 @@ "decorators": [] }, { - "$id": "1796", + "$id": "1920", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta7", "namespace": "", "usage": "None", "valueType": { - "$id": "1797", + "$id": "1921", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20584,13 +22062,13 @@ "decorators": [] }, { - "$id": "1798", + "$id": "1922", "kind": "constant", "name": "ListAssistantsRequestAccept8", "namespace": "", "usage": "None", "valueType": { - "$id": "1799", + "$id": "1923", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20600,13 +22078,13 @@ "decorators": [] }, { - "$id": "1800", + "$id": "1924", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta8", "namespace": "", "usage": "None", "valueType": { - "$id": "1801", + "$id": "1925", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20616,13 +22094,13 @@ "decorators": [] }, { - "$id": "1802", + "$id": "1926", "kind": "constant", "name": "ListAssistantsRequestAccept9", "namespace": "", "usage": "None", "valueType": { - "$id": "1803", + "$id": "1927", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20632,13 +22110,13 @@ "decorators": [] }, { - "$id": "1804", + "$id": "1928", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta9", "namespace": "", "usage": "None", "valueType": { - "$id": "1805", + "$id": "1929", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20648,13 +22126,13 @@ "decorators": [] }, { - "$id": "1806", + "$id": "1930", "kind": "constant", "name": "CreateSpeechRequestAccept", "namespace": "", "usage": "None", "valueType": { - "$id": "1807", + "$id": "1931", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20664,13 +22142,13 @@ "decorators": [] }, { - "$id": "1808", + "$id": "1932", "kind": "constant", "name": "createSpeechContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1809", + "$id": "1933", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20680,13 +22158,13 @@ "decorators": [] }, { - "$id": "1810", + "$id": "1934", "kind": "constant", "name": "CreateSpeechRequestAccept1", "namespace": "", "usage": "None", "valueType": { - "$id": "1811", + "$id": "1935", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20696,13 +22174,13 @@ "decorators": [] }, { - "$id": "1812", + "$id": "1936", "kind": "constant", "name": "CreateSpeechRequestAccept2", "namespace": "", "usage": "None", "valueType": { - "$id": "1813", + "$id": "1937", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20712,13 +22190,13 @@ "decorators": [] }, { - "$id": "1814", + "$id": "1938", "kind": "constant", "name": "CreateTranscriptionRequestContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1815", + "$id": "1939", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20728,13 +22206,13 @@ "decorators": [] }, { - "$id": "1816", + "$id": "1940", "kind": "constant", - "name": "CreateTranscriptionRequestAccept1", + "name": "CreateImageEditStreamingResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1817", + "$id": "1941", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20744,13 +22222,13 @@ "decorators": [] }, { - "$id": "1818", + "$id": "1942", "kind": "constant", "name": "CreateTranscriptionRequestContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1819", + "$id": "1943", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20760,13 +22238,13 @@ "decorators": [] }, { - "$id": "1820", + "$id": "1944", "kind": "constant", "name": "ListAssistantsRequestAccept10", "namespace": "", "usage": "None", "valueType": { - "$id": "1821", + "$id": "1945", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20776,13 +22254,13 @@ "decorators": [] }, { - "$id": "1822", + "$id": "1946", "kind": "constant", "name": "CreateTranscriptionRequestContentType2", "namespace": "", "usage": "None", "valueType": { - "$id": "1823", + "$id": "1947", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20792,13 +22270,13 @@ "decorators": [] }, { - "$id": "1824", + "$id": "1948", "kind": "constant", "name": "CreateTranslationResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1825", + "$id": "1949", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20808,13 +22286,13 @@ "decorators": [] }, { - "$id": "1826", + "$id": "1950", "kind": "constant", "name": "ListAssistantsRequestAccept11", "namespace": "", "usage": "None", "valueType": { - "$id": "1827", + "$id": "1951", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20824,13 +22302,13 @@ "decorators": [] }, { - "$id": "1828", + "$id": "1952", "kind": "constant", "name": "CreateTranscriptionRequestContentType3", "namespace": "", "usage": "None", "valueType": { - "$id": "1829", + "$id": "1953", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20840,13 +22318,13 @@ "decorators": [] }, { - "$id": "1830", + "$id": "1954", "kind": "constant", "name": "ListAssistantsRequestAccept12", "namespace": "", "usage": "None", "valueType": { - "$id": "1831", + "$id": "1955", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20856,13 +22334,13 @@ "decorators": [] }, { - "$id": "1832", + "$id": "1956", "kind": "constant", "name": "createBatchContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1833", + "$id": "1957", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20872,13 +22350,13 @@ "decorators": [] }, { - "$id": "1834", + "$id": "1958", "kind": "constant", "name": "ListAssistantsRequestAccept13", "namespace": "", "usage": "None", "valueType": { - "$id": "1835", + "$id": "1959", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20888,13 +22366,13 @@ "decorators": [] }, { - "$id": "1836", + "$id": "1960", "kind": "constant", "name": "CreateBatchRequestCompletionWindow", "namespace": "", "usage": "None", "valueType": { - "$id": "1837", + "$id": "1961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20904,13 +22382,13 @@ "decorators": [] }, { - "$id": "1838", + "$id": "1962", "kind": "constant", "name": "ListAssistantsRequestAccept14", "namespace": "", "usage": "None", "valueType": { - "$id": "1839", + "$id": "1963", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20920,13 +22398,13 @@ "decorators": [] }, { - "$id": "1840", + "$id": "1964", "kind": "constant", "name": "ListAssistantsRequestAccept15", "namespace": "", "usage": "None", "valueType": { - "$id": "1841", + "$id": "1965", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20936,13 +22414,13 @@ "decorators": [] }, { - "$id": "1842", + "$id": "1966", "kind": "constant", "name": "ListAssistantsRequestAccept16", "namespace": "", "usage": "None", "valueType": { - "$id": "1843", + "$id": "1967", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20952,13 +22430,13 @@ "decorators": [] }, { - "$id": "1844", + "$id": "1968", "kind": "constant", "name": "ListAssistantsRequestAccept17", "namespace": "", "usage": "None", "valueType": { - "$id": "1845", + "$id": "1969", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20968,13 +22446,13 @@ "decorators": [] }, { - "$id": "1846", + "$id": "1970", "kind": "constant", "name": "ListAssistantsRequestAccept18", "namespace": "", "usage": "None", "valueType": { - "$id": "1847", + "$id": "1971", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20984,13 +22462,13 @@ "decorators": [] }, { - "$id": "1848", + "$id": "1972", "kind": "constant", "name": "ListAssistantsRequestAccept19", "namespace": "", "usage": "None", "valueType": { - "$id": "1849", + "$id": "1973", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21000,13 +22478,13 @@ "decorators": [] }, { - "$id": "1850", + "$id": "1974", "kind": "constant", "name": "listChatCompletionsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1851", + "$id": "1975", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21016,13 +22494,13 @@ "decorators": [] }, { - "$id": "1852", + "$id": "1976", "kind": "constant", "name": "ListAssistantsRequestAccept20", "namespace": "", "usage": "None", "valueType": { - "$id": "1853", + "$id": "1977", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21032,13 +22510,13 @@ "decorators": [] }, { - "$id": "1854", + "$id": "1978", "kind": "constant", "name": "createChatCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1855", + "$id": "1979", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21048,13 +22526,13 @@ "decorators": [] }, { - "$id": "1856", + "$id": "1980", "kind": "constant", - "name": "CreateTranscriptionRequestAccept11", + "name": "CreateImageEditStreamingResponseContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1857", + "$id": "1981", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21064,13 +22542,13 @@ "decorators": [] }, { - "$id": "1858", + "$id": "1982", "kind": "constant", "name": "ListAssistantsRequestAccept21", "namespace": "", "usage": "None", "valueType": { - "$id": "1859", + "$id": "1983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21080,13 +22558,13 @@ "decorators": [] }, { - "$id": "1860", + "$id": "1984", "kind": "constant", "name": "getChatCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1861", + "$id": "1985", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21096,13 +22574,13 @@ "decorators": [] }, { - "$id": "1862", + "$id": "1986", "kind": "constant", "name": "updateChatCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1863", + "$id": "1987", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21112,13 +22590,13 @@ "decorators": [] }, { - "$id": "1864", + "$id": "1988", "kind": "constant", "name": "updateChatCompletionContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1865", + "$id": "1989", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21128,13 +22606,13 @@ "decorators": [] }, { - "$id": "1866", + "$id": "1990", "kind": "constant", "name": "deleteChatCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1867", + "$id": "1991", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21144,13 +22622,13 @@ "decorators": [] }, { - "$id": "1868", + "$id": "1992", "kind": "constant", "name": "getChatCompletionMessagesContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1869", + "$id": "1993", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21160,13 +22638,13 @@ "decorators": [] }, { - "$id": "1870", + "$id": "1994", "kind": "constant", "name": "listContainersContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1871", + "$id": "1995", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21176,13 +22654,13 @@ "decorators": [] }, { - "$id": "1872", + "$id": "1996", "kind": "constant", "name": "createContainerContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1873", + "$id": "1997", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21192,13 +22670,13 @@ "decorators": [] }, { - "$id": "1874", + "$id": "1998", "kind": "constant", "name": "createContainerContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1875", + "$id": "1999", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21208,13 +22686,13 @@ "decorators": [] }, { - "$id": "1876", + "$id": "2000", "kind": "constant", "name": "retrieveContainerContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1877", + "$id": "2001", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21224,13 +22702,13 @@ "decorators": [] }, { - "$id": "1878", + "$id": "2002", "kind": "constant", "name": "deleteContainerContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1879", + "$id": "2003", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21240,13 +22718,13 @@ "decorators": [] }, { - "$id": "1880", + "$id": "2004", "kind": "constant", "name": "CreateTranscriptionRequestContentType4", "namespace": "", "usage": "None", "valueType": { - "$id": "1881", + "$id": "2005", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21256,13 +22734,13 @@ "decorators": [] }, { - "$id": "1882", + "$id": "2006", "kind": "constant", "name": "createContainerFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1883", + "$id": "2007", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21272,13 +22750,13 @@ "decorators": [] }, { - "$id": "1884", + "$id": "2008", "kind": "constant", "name": "CreateTranscriptionRequestContentType5", "namespace": "", "usage": "None", "valueType": { - "$id": "1885", + "$id": "2009", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21288,13 +22766,13 @@ "decorators": [] }, { - "$id": "1886", + "$id": "2010", "kind": "constant", "name": "listContainerFilesContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1887", + "$id": "2011", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21304,13 +22782,13 @@ "decorators": [] }, { - "$id": "1888", + "$id": "2012", "kind": "constant", "name": "retrieveContainerFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1889", + "$id": "2013", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21320,13 +22798,13 @@ "decorators": [] }, { - "$id": "1890", + "$id": "2014", "kind": "constant", "name": "deleteContainerFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1891", + "$id": "2015", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21336,13 +22814,13 @@ "decorators": [] }, { - "$id": "1892", + "$id": "2016", "kind": "constant", "name": "retrieveContainerFileContentContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1893", + "$id": "2017", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21352,13 +22830,13 @@ "decorators": [] }, { - "$id": "1894", + "$id": "2018", "kind": "constant", "name": "ListAssistantsRequestAccept22", "namespace": "", "usage": "None", "valueType": { - "$id": "1895", + "$id": "2019", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21368,13 +22846,13 @@ "decorators": [] }, { - "$id": "1896", + "$id": "2020", "kind": "constant", - "name": "createEmbeddingContentType", + "name": "ListAssistantsRequestAccept23", "namespace": "", "usage": "None", "valueType": { - "$id": "1897", + "$id": "2021", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21384,13 +22862,13 @@ "decorators": [] }, { - "$id": "1898", + "$id": "2022", "kind": "constant", - "name": "ListAssistantsRequestAccept23", + "name": "ListAssistantsRequestAccept24", "namespace": "", "usage": "None", "valueType": { - "$id": "1899", + "$id": "2023", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21400,29 +22878,29 @@ "decorators": [] }, { - "$id": "1900", + "$id": "2024", "kind": "constant", - "name": "ListAssistantsRequestAccept24", + "name": "CreateTranscriptionRequestContentType6", "namespace": "", "usage": "None", "valueType": { - "$id": "1901", + "$id": "2025", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "multipart/form-data", "decorators": [] }, { - "$id": "1902", + "$id": "2026", "kind": "constant", "name": "ListAssistantsRequestAccept25", "namespace": "", "usage": "None", "valueType": { - "$id": "1903", + "$id": "2027", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21432,45 +22910,45 @@ "decorators": [] }, { - "$id": "1904", + "$id": "2028", "kind": "constant", - "name": "ListAssistantsRequestAccept26", + "name": "CreateTranscriptionRequestContentType7", "namespace": "", "usage": "None", "valueType": { - "$id": "1905", + "$id": "2029", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "multipart/form-data", "decorators": [] }, { - "$id": "1906", + "$id": "2030", "kind": "constant", - "name": "CreateTranscriptionRequestContentType6", + "name": "ListAssistantsRequestAccept26", "namespace": "", "usage": "None", "valueType": { - "$id": "1907", + "$id": "2031", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "multipart/form-data", + "value": "application/json", "decorators": [] }, { - "$id": "1908", + "$id": "2032", "kind": "constant", "name": "ListAssistantsRequestAccept27", "namespace": "", "usage": "None", "valueType": { - "$id": "1909", + "$id": "2033", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21480,29 +22958,13 @@ "decorators": [] }, { - "$id": "1910", - "kind": "constant", - "name": "CreateTranscriptionRequestContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1911", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] - }, - { - "$id": "1912", + "$id": "2034", "kind": "constant", "name": "ListAssistantsRequestAccept28", "namespace": "", "usage": "None", "valueType": { - "$id": "1913", + "$id": "2035", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21512,13 +22974,13 @@ "decorators": [] }, { - "$id": "1914", + "$id": "2036", "kind": "constant", "name": "ListAssistantsRequestAccept29", "namespace": "", "usage": "None", "valueType": { - "$id": "1915", + "$id": "2037", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21528,13 +22990,13 @@ "decorators": [] }, { - "$id": "1916", + "$id": "2038", "kind": "constant", "name": "ListAssistantsRequestAccept30", "namespace": "", "usage": "None", "valueType": { - "$id": "1917", + "$id": "2039", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21544,13 +23006,13 @@ "decorators": [] }, { - "$id": "1918", + "$id": "2040", "kind": "constant", "name": "ListAssistantsRequestAccept31", "namespace": "", "usage": "None", "valueType": { - "$id": "1919", + "$id": "2041", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21560,13 +23022,13 @@ "decorators": [] }, { - "$id": "1920", + "$id": "2042", "kind": "constant", - "name": "ListAssistantsRequestAccept32", + "name": "listFineTuningCheckpointPermissionsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1921", + "$id": "2043", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21576,13 +23038,13 @@ "decorators": [] }, { - "$id": "1922", + "$id": "2044", "kind": "constant", - "name": "ListAssistantsRequestAccept33", + "name": "createFineTuningCheckpointPermissionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1923", + "$id": "2045", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21592,13 +23054,13 @@ "decorators": [] }, { - "$id": "1924", + "$id": "2046", "kind": "constant", - "name": "listFineTuningCheckpointPermissionsContentType", + "name": "createFineTuningCheckpointPermissionContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1925", + "$id": "2047", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21608,13 +23070,13 @@ "decorators": [] }, { - "$id": "1926", + "$id": "2048", "kind": "constant", - "name": "createFineTuningCheckpointPermissionContentType", + "name": "deleteFineTuningCheckpointPermissionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1927", + "$id": "2049", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21624,13 +23086,13 @@ "decorators": [] }, { - "$id": "1928", + "$id": "2050", "kind": "constant", - "name": "createFineTuningCheckpointPermissionContentType1", + "name": "ListAssistantsRequestAccept32", "namespace": "", "usage": "None", "valueType": { - "$id": "1929", + "$id": "2051", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21640,13 +23102,13 @@ "decorators": [] }, { - "$id": "1930", + "$id": "2052", "kind": "constant", - "name": "deleteFineTuningCheckpointPermissionContentType", + "name": "createFineTuningJobContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1931", + "$id": "2053", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21656,13 +23118,13 @@ "decorators": [] }, { - "$id": "1932", + "$id": "2054", "kind": "constant", - "name": "ListAssistantsRequestAccept34", + "name": "ListAssistantsRequestAccept33", "namespace": "", "usage": "None", "valueType": { - "$id": "1933", + "$id": "2055", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21672,13 +23134,13 @@ "decorators": [] }, { - "$id": "1934", + "$id": "2056", "kind": "constant", - "name": "createFineTuningJobContentType", + "name": "ListAssistantsRequestAccept34", "namespace": "", "usage": "None", "valueType": { - "$id": "1935", + "$id": "2057", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21688,13 +23150,13 @@ "decorators": [] }, { - "$id": "1936", + "$id": "2058", "kind": "constant", "name": "ListAssistantsRequestAccept35", "namespace": "", "usage": "None", "valueType": { - "$id": "1937", + "$id": "2059", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21704,13 +23166,13 @@ "decorators": [] }, { - "$id": "1938", + "$id": "2060", "kind": "constant", "name": "ListAssistantsRequestAccept36", "namespace": "", "usage": "None", "valueType": { - "$id": "1939", + "$id": "2061", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21720,13 +23182,13 @@ "decorators": [] }, { - "$id": "1940", + "$id": "2062", "kind": "constant", "name": "ListAssistantsRequestAccept37", "namespace": "", "usage": "None", "valueType": { - "$id": "1941", + "$id": "2063", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21736,13 +23198,13 @@ "decorators": [] }, { - "$id": "1942", + "$id": "2064", "kind": "constant", "name": "ListAssistantsRequestAccept38", "namespace": "", "usage": "None", "valueType": { - "$id": "1943", + "$id": "2065", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21752,13 +23214,13 @@ "decorators": [] }, { - "$id": "1944", + "$id": "2066", "kind": "constant", "name": "ListAssistantsRequestAccept39", "namespace": "", "usage": "None", "valueType": { - "$id": "1945", + "$id": "2067", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21768,13 +23230,13 @@ "decorators": [] }, { - "$id": "1946", + "$id": "2068", "kind": "constant", "name": "ListAssistantsRequestAccept40", "namespace": "", "usage": "None", "valueType": { - "$id": "1947", + "$id": "2069", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21784,13 +23246,13 @@ "decorators": [] }, { - "$id": "1948", + "$id": "2070", "kind": "constant", "name": "ListAssistantsRequestAccept41", "namespace": "", "usage": "None", "valueType": { - "$id": "1949", + "$id": "2071", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21800,13 +23262,13 @@ "decorators": [] }, { - "$id": "1950", + "$id": "2072", "kind": "constant", "name": "ListAssistantsRequestAccept42", "namespace": "", "usage": "None", "valueType": { - "$id": "1951", + "$id": "2073", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21816,45 +23278,13 @@ "decorators": [] }, { - "$id": "1952", + "$id": "2074", "kind": "constant", "name": "ListAssistantsRequestAccept43", "namespace": "", "usage": "None", "valueType": { - "$id": "1953", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "1954", - "kind": "constant", - "name": "ListAssistantsRequestAccept44", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1955", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "1956", - "kind": "constant", - "name": "ListAssistantsRequestAccept45", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1957", + "$id": "2075", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21864,13 +23294,13 @@ "decorators": [] }, { - "$id": "1958", + "$id": "2076", "kind": "constant", "name": "pauseFineTuningJobContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1959", + "$id": "2077", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21880,13 +23310,13 @@ "decorators": [] }, { - "$id": "1960", + "$id": "2078", "kind": "constant", "name": "resumeFineTuningJobContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1961", + "$id": "2079", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21896,13 +23326,13 @@ "decorators": [] }, { - "$id": "1962", + "$id": "2080", "kind": "constant", "name": "runGraderContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1963", + "$id": "2081", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21912,13 +23342,13 @@ "decorators": [] }, { - "$id": "1964", + "$id": "2082", "kind": "constant", "name": "runGraderContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1965", + "$id": "2083", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21928,13 +23358,13 @@ "decorators": [] }, { - "$id": "1966", + "$id": "2084", "kind": "constant", "name": "validateGraderContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1967", + "$id": "2085", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21944,13 +23374,13 @@ "decorators": [] }, { - "$id": "1968", + "$id": "2086", "kind": "constant", "name": "validateGraderContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1969", + "$id": "2087", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21960,13 +23390,13 @@ "decorators": [] }, { - "$id": "1970", + "$id": "2088", "kind": "constant", "name": "listEvalsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1971", + "$id": "2089", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21976,13 +23406,13 @@ "decorators": [] }, { - "$id": "1972", + "$id": "2090", "kind": "constant", "name": "createEvalContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1973", + "$id": "2091", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21992,13 +23422,13 @@ "decorators": [] }, { - "$id": "1974", + "$id": "2092", "kind": "constant", "name": "createEvalContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1975", + "$id": "2093", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22008,13 +23438,13 @@ "decorators": [] }, { - "$id": "1976", + "$id": "2094", "kind": "constant", "name": "getEvalContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1977", + "$id": "2095", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22024,13 +23454,13 @@ "decorators": [] }, { - "$id": "1978", + "$id": "2096", "kind": "constant", "name": "updateEvalContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1979", + "$id": "2097", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22040,13 +23470,13 @@ "decorators": [] }, { - "$id": "1980", + "$id": "2098", "kind": "constant", "name": "updateEvalContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1981", + "$id": "2099", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22056,13 +23486,13 @@ "decorators": [] }, { - "$id": "1982", + "$id": "2100", "kind": "constant", "name": "deleteEvalContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1983", + "$id": "2101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22072,13 +23502,13 @@ "decorators": [] }, { - "$id": "1984", + "$id": "2102", "kind": "constant", "name": "getEvalRunsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1985", + "$id": "2103", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22088,13 +23518,13 @@ "decorators": [] }, { - "$id": "1986", + "$id": "2104", "kind": "constant", "name": "createEvalRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1987", + "$id": "2105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22104,13 +23534,13 @@ "decorators": [] }, { - "$id": "1988", + "$id": "2106", "kind": "constant", "name": "createEvalRunContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "1989", + "$id": "2107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22120,13 +23550,13 @@ "decorators": [] }, { - "$id": "1990", + "$id": "2108", "kind": "constant", "name": "getEvalRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1991", + "$id": "2109", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22136,13 +23566,13 @@ "decorators": [] }, { - "$id": "1992", + "$id": "2110", "kind": "constant", "name": "cancelEvalRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1993", + "$id": "2111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22152,13 +23582,13 @@ "decorators": [] }, { - "$id": "1994", + "$id": "2112", "kind": "constant", "name": "deleteEvalRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1995", + "$id": "2113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22168,13 +23598,13 @@ "decorators": [] }, { - "$id": "1996", + "$id": "2114", "kind": "constant", "name": "getEvalRunOutputItemsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1997", + "$id": "2115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22184,13 +23614,13 @@ "decorators": [] }, { - "$id": "1998", + "$id": "2116", "kind": "constant", "name": "getEvalRunOutputItemContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1999", + "$id": "2117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22200,13 +23630,13 @@ "decorators": [] }, { - "$id": "2000", + "$id": "2118", "kind": "constant", "name": "createResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2001", + "$id": "2119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22216,13 +23646,13 @@ "decorators": [] }, { - "$id": "2002", + "$id": "2120", "kind": "constant", - "name": "CreateTranscriptionRequestAccept12", + "name": "CreateImageEditStreamingResponseContentType2", "namespace": "", "usage": "None", "valueType": { - "$id": "2003", + "$id": "2121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22232,13 +23662,13 @@ "decorators": [] }, { - "$id": "2004", + "$id": "2122", "kind": "constant", - "name": "CreateTranscriptionRequestAccept13", + "name": "CreateImageEditStreamingResponseContentType3", "namespace": "", "usage": "None", "valueType": { - "$id": "2005", + "$id": "2123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22248,13 +23678,13 @@ "decorators": [] }, { - "$id": "2006", + "$id": "2124", "kind": "constant", "name": "deleteResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2007", + "$id": "2125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22264,13 +23694,13 @@ "decorators": [] }, { - "$id": "2008", + "$id": "2126", "kind": "constant", "name": "cancelResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2009", + "$id": "2127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22280,13 +23710,13 @@ "decorators": [] }, { - "$id": "2010", + "$id": "2128", "kind": "constant", "name": "listInputItemsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2011", + "$id": "2129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22296,13 +23726,13 @@ "decorators": [] }, { - "$id": "2012", + "$id": "2130", "kind": "constant", - "name": "ListAssistantsRequestAccept46", + "name": "ListAssistantsRequestAccept44", "namespace": "", "usage": "None", "valueType": { - "$id": "2013", + "$id": "2131", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22312,29 +23742,29 @@ "decorators": [] }, { - "$id": "2014", + "$id": "2132", "kind": "constant", - "name": "createImageContentType", + "name": "ListAssistantsRequestOpenAiBeta10", "namespace": "", "usage": "None", "valueType": { - "$id": "2015", + "$id": "2133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2016", + "$id": "2134", "kind": "constant", - "name": "ListAssistantsRequestAccept47", + "name": "createMessageContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2017", + "$id": "2135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22344,13 +23774,13 @@ "decorators": [] }, { - "$id": "2018", + "$id": "2136", "kind": "constant", - "name": "ListAssistantsRequestAccept48", + "name": "ListAssistantsRequestAccept45", "namespace": "", "usage": "None", "valueType": { - "$id": "2019", + "$id": "2137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22360,29 +23790,29 @@ "decorators": [] }, { - "$id": "2020", + "$id": "2138", "kind": "constant", - "name": "CreateTranscriptionRequestContentType8", + "name": "ListAssistantsRequestOpenAiBeta11", "namespace": "", "usage": "None", "valueType": { - "$id": "2021", + "$id": "2139", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "multipart/form-data", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2022", + "$id": "2140", "kind": "constant", - "name": "ListAssistantsRequestAccept49", + "name": "ListAssistantsRequestAccept46", "namespace": "", "usage": "None", "valueType": { - "$id": "2023", + "$id": "2141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22392,29 +23822,29 @@ "decorators": [] }, { - "$id": "2024", + "$id": "2142", "kind": "constant", - "name": "CreateTranscriptionRequestContentType9", + "name": "ListAssistantsRequestOpenAiBeta12", "namespace": "", "usage": "None", "valueType": { - "$id": "2025", + "$id": "2143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "multipart/form-data", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2026", + "$id": "2144", "kind": "constant", - "name": "ListAssistantsRequestAccept50", + "name": "ListAssistantsRequestAccept47", "namespace": "", "usage": "None", "valueType": { - "$id": "2027", + "$id": "2145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22424,29 +23854,29 @@ "decorators": [] }, { - "$id": "2028", + "$id": "2146", "kind": "constant", - "name": "CreateTranscriptionRequestContentType10", + "name": "ListAssistantsRequestOpenAiBeta13", "namespace": "", "usage": "None", "valueType": { - "$id": "2029", + "$id": "2147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "multipart/form-data", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2030", + "$id": "2148", "kind": "constant", - "name": "ListAssistantsRequestAccept51", + "name": "ListAssistantsRequestAccept48", "namespace": "", "usage": "None", "valueType": { - "$id": "2031", + "$id": "2149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22456,29 +23886,29 @@ "decorators": [] }, { - "$id": "2032", + "$id": "2150", "kind": "constant", - "name": "CreateTranscriptionRequestContentType11", + "name": "ListAssistantsRequestOpenAiBeta14", "namespace": "", "usage": "None", "valueType": { - "$id": "2033", + "$id": "2151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "multipart/form-data", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2034", + "$id": "2152", "kind": "constant", - "name": "ListAssistantsRequestAccept52", + "name": "ListAssistantsRequestAccept49", "namespace": "", "usage": "None", "valueType": { - "$id": "2035", + "$id": "2153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22488,13 +23918,13 @@ "decorators": [] }, { - "$id": "2036", + "$id": "2154", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta10", + "name": "ListAssistantsRequestOpenAiBeta15", "namespace": "", "usage": "None", "valueType": { - "$id": "2037", + "$id": "2155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22504,13 +23934,13 @@ "decorators": [] }, { - "$id": "2038", + "$id": "2156", "kind": "constant", - "name": "createMessageContentType", + "name": "ListAssistantsRequestAccept50", "namespace": "", "usage": "None", "valueType": { - "$id": "2039", + "$id": "2157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22520,45 +23950,45 @@ "decorators": [] }, { - "$id": "2040", + "$id": "2158", "kind": "constant", - "name": "ListAssistantsRequestAccept53", + "name": "ListAssistantsRequestOpenAiBeta16", "namespace": "", "usage": "None", "valueType": { - "$id": "2041", + "$id": "2159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2042", + "$id": "2160", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta11", + "name": "modifyMessageContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2043", + "$id": "2161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2044", + "$id": "2162", "kind": "constant", - "name": "ListAssistantsRequestAccept54", + "name": "ListAssistantsRequestAccept51", "namespace": "", "usage": "None", "valueType": { - "$id": "2045", + "$id": "2163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22568,13 +23998,13 @@ "decorators": [] }, { - "$id": "2046", + "$id": "2164", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta12", + "name": "ListAssistantsRequestOpenAiBeta17", "namespace": "", "usage": "None", "valueType": { - "$id": "2047", + "$id": "2165", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22584,13 +24014,13 @@ "decorators": [] }, { - "$id": "2048", + "$id": "2166", "kind": "constant", - "name": "ListAssistantsRequestAccept55", + "name": "ListAssistantsRequestAccept52", "namespace": "", "usage": "None", "valueType": { - "$id": "2049", + "$id": "2167", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22600,13 +24030,13 @@ "decorators": [] }, { - "$id": "2050", + "$id": "2168", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta13", + "name": "ListAssistantsRequestOpenAiBeta18", "namespace": "", "usage": "None", "valueType": { - "$id": "2051", + "$id": "2169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22616,13 +24046,13 @@ "decorators": [] }, { - "$id": "2052", + "$id": "2170", "kind": "constant", - "name": "ListAssistantsRequestAccept56", + "name": "ListAssistantsRequestAccept53", "namespace": "", "usage": "None", "valueType": { - "$id": "2053", + "$id": "2171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22632,13 +24062,13 @@ "decorators": [] }, { - "$id": "2054", + "$id": "2172", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta14", + "name": "ListAssistantsRequestOpenAiBeta19", "namespace": "", "usage": "None", "valueType": { - "$id": "2055", + "$id": "2173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22648,13 +24078,13 @@ "decorators": [] }, { - "$id": "2056", + "$id": "2174", "kind": "constant", - "name": "ListAssistantsRequestAccept57", + "name": "ListAssistantsRequestAccept54", "namespace": "", "usage": "None", "valueType": { - "$id": "2057", + "$id": "2175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22664,29 +24094,29 @@ "decorators": [] }, { - "$id": "2058", + "$id": "2176", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta15", + "name": "createModerationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2059", + "$id": "2177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2060", + "$id": "2178", "kind": "constant", - "name": "ListAssistantsRequestAccept58", + "name": "ListAssistantsRequestAccept55", "namespace": "", "usage": "None", "valueType": { - "$id": "2061", + "$id": "2179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22696,13 +24126,13 @@ "decorators": [] }, { - "$id": "2062", + "$id": "2180", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta16", + "name": "ListAssistantsRequestOpenAiBeta20", "namespace": "", "usage": "None", "valueType": { - "$id": "2063", + "$id": "2181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22712,13 +24142,13 @@ "decorators": [] }, { - "$id": "2064", + "$id": "2182", "kind": "constant", - "name": "modifyMessageContentType", + "name": "createThreadAndRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2065", + "$id": "2183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22728,29 +24158,29 @@ "decorators": [] }, { - "$id": "2066", + "$id": "2184", "kind": "constant", - "name": "ListAssistantsRequestAccept59", + "name": "ListAssistantsRequestOpenAiBeta21", "namespace": "", "usage": "None", "valueType": { - "$id": "2067", + "$id": "2185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2068", + "$id": "2186", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta17", + "name": "ListAssistantsRequestOpenAiBeta22", "namespace": "", "usage": "None", "valueType": { - "$id": "2069", + "$id": "2187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22760,13 +24190,13 @@ "decorators": [] }, { - "$id": "2070", + "$id": "2188", "kind": "constant", - "name": "ListAssistantsRequestAccept60", + "name": "createRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2071", + "$id": "2189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22776,13 +24206,13 @@ "decorators": [] }, { - "$id": "2072", + "$id": "2190", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta18", + "name": "ListAssistantsRequestOpenAiBeta23", "namespace": "", "usage": "None", "valueType": { - "$id": "2073", + "$id": "2191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22792,13 +24222,13 @@ "decorators": [] }, { - "$id": "2074", + "$id": "2192", "kind": "constant", - "name": "ListAssistantsRequestAccept61", + "name": "ListAssistantsRequestAccept56", "namespace": "", "usage": "None", "valueType": { - "$id": "2075", + "$id": "2193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22808,13 +24238,13 @@ "decorators": [] }, { - "$id": "2076", + "$id": "2194", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta19", + "name": "ListAssistantsRequestOpenAiBeta24", "namespace": "", "usage": "None", "valueType": { - "$id": "2077", + "$id": "2195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22824,13 +24254,13 @@ "decorators": [] }, { - "$id": "2078", + "$id": "2196", "kind": "constant", - "name": "ListAssistantsRequestAccept62", + "name": "ListAssistantsRequestAccept57", "namespace": "", "usage": "None", "valueType": { - "$id": "2079", + "$id": "2197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22840,29 +24270,29 @@ "decorators": [] }, { - "$id": "2080", + "$id": "2198", "kind": "constant", - "name": "createModerationContentType", + "name": "ListAssistantsRequestOpenAiBeta25", "namespace": "", "usage": "None", "valueType": { - "$id": "2081", + "$id": "2199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2082", + "$id": "2200", "kind": "constant", - "name": "ListAssistantsRequestAccept63", + "name": "ListAssistantsRequestAccept58", "namespace": "", "usage": "None", "valueType": { - "$id": "2083", + "$id": "2201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22872,13 +24302,13 @@ "decorators": [] }, { - "$id": "2084", + "$id": "2202", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta20", + "name": "ListAssistantsRequestOpenAiBeta26", "namespace": "", "usage": "None", "valueType": { - "$id": "2085", + "$id": "2203", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22888,13 +24318,13 @@ "decorators": [] }, { - "$id": "2086", + "$id": "2204", "kind": "constant", - "name": "createThreadAndRunContentType", + "name": "ListAssistantsRequestAccept59", "namespace": "", "usage": "None", "valueType": { - "$id": "2087", + "$id": "2205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22904,13 +24334,13 @@ "decorators": [] }, { - "$id": "2088", + "$id": "2206", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta21", + "name": "ListAssistantsRequestOpenAiBeta27", "namespace": "", "usage": "None", "valueType": { - "$id": "2089", + "$id": "2207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22920,61 +24350,61 @@ "decorators": [] }, { - "$id": "2090", + "$id": "2208", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta22", + "name": "ListAssistantsRequestAccept60", "namespace": "", "usage": "None", "valueType": { - "$id": "2091", + "$id": "2209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2092", + "$id": "2210", "kind": "constant", - "name": "createRunContentType", + "name": "ListAssistantsRequestOpenAiBeta28", "namespace": "", "usage": "None", "valueType": { - "$id": "2093", + "$id": "2211", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2094", + "$id": "2212", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta23", + "name": "modifyRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2095", + "$id": "2213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2096", + "$id": "2214", "kind": "constant", - "name": "ListAssistantsRequestAccept64", + "name": "ListAssistantsRequestAccept61", "namespace": "", "usage": "None", "valueType": { - "$id": "2097", + "$id": "2215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22984,13 +24414,13 @@ "decorators": [] }, { - "$id": "2098", + "$id": "2216", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta24", + "name": "ListAssistantsRequestOpenAiBeta29", "namespace": "", "usage": "None", "valueType": { - "$id": "2099", + "$id": "2217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23000,13 +24430,13 @@ "decorators": [] }, { - "$id": "2100", + "$id": "2218", "kind": "constant", - "name": "ListAssistantsRequestAccept65", + "name": "ListAssistantsRequestAccept62", "namespace": "", "usage": "None", "valueType": { - "$id": "2101", + "$id": "2219", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23016,13 +24446,13 @@ "decorators": [] }, { - "$id": "2102", + "$id": "2220", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta25", + "name": "ListAssistantsRequestOpenAiBeta30", "namespace": "", "usage": "None", "valueType": { - "$id": "2103", + "$id": "2221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23032,13 +24462,13 @@ "decorators": [] }, { - "$id": "2104", + "$id": "2222", "kind": "constant", - "name": "ListAssistantsRequestAccept66", + "name": "ListAssistantsRequestAccept63", "namespace": "", "usage": "None", "valueType": { - "$id": "2105", + "$id": "2223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23048,13 +24478,13 @@ "decorators": [] }, { - "$id": "2106", + "$id": "2224", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta26", + "name": "ListAssistantsRequestOpenAiBeta31", "namespace": "", "usage": "None", "valueType": { - "$id": "2107", + "$id": "2225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23064,93 +24494,93 @@ "decorators": [] }, { - "$id": "2108", + "$id": "2226", "kind": "constant", - "name": "ListAssistantsRequestAccept67", + "name": "ListAssistantsRequestOpenAiBeta32", "namespace": "", "usage": "None", "valueType": { - "$id": "2109", + "$id": "2227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2110", + "$id": "2228", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta27", + "name": "submitToolOutputsToRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2111", + "$id": "2229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2112", + "$id": "2230", "kind": "constant", - "name": "ListAssistantsRequestAccept68", + "name": "ListAssistantsRequestOpenAiBeta33", "namespace": "", "usage": "None", "valueType": { - "$id": "2113", + "$id": "2231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2114", + "$id": "2232", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta28", + "name": "ListAssistantsRequestAccept64", "namespace": "", "usage": "None", "valueType": { - "$id": "2115", + "$id": "2233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2116", + "$id": "2234", "kind": "constant", - "name": "modifyRunContentType", + "name": "ListAssistantsRequestOpenAiBeta34", "namespace": "", "usage": "None", "valueType": { - "$id": "2117", + "$id": "2235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2118", + "$id": "2236", "kind": "constant", - "name": "ListAssistantsRequestAccept69", + "name": "ListAssistantsRequestAccept65", "namespace": "", "usage": "None", "valueType": { - "$id": "2119", + "$id": "2237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23160,13 +24590,13 @@ "decorators": [] }, { - "$id": "2120", + "$id": "2238", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta29", + "name": "ListAssistantsRequestOpenAiBeta35", "namespace": "", "usage": "None", "valueType": { - "$id": "2121", + "$id": "2239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23176,13 +24606,13 @@ "decorators": [] }, { - "$id": "2122", + "$id": "2240", "kind": "constant", - "name": "ListAssistantsRequestAccept70", + "name": "ListAssistantsRequestAccept66", "namespace": "", "usage": "None", "valueType": { - "$id": "2123", + "$id": "2241", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23192,13 +24622,13 @@ "decorators": [] }, { - "$id": "2124", + "$id": "2242", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta30", + "name": "ListAssistantsRequestOpenAiBeta36", "namespace": "", "usage": "None", "valueType": { - "$id": "2125", + "$id": "2243", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23208,13 +24638,13 @@ "decorators": [] }, { - "$id": "2126", + "$id": "2244", "kind": "constant", - "name": "ListAssistantsRequestAccept71", + "name": "ListAssistantsRequestAccept67", "namespace": "", "usage": "None", "valueType": { - "$id": "2127", + "$id": "2245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23224,13 +24654,13 @@ "decorators": [] }, { - "$id": "2128", + "$id": "2246", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta31", + "name": "ListAssistantsRequestOpenAiBeta37", "namespace": "", "usage": "None", "valueType": { - "$id": "2129", + "$id": "2247", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23240,61 +24670,61 @@ "decorators": [] }, { - "$id": "2130", + "$id": "2248", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta32", + "name": "ListAssistantsRequestAccept68", "namespace": "", "usage": "None", "valueType": { - "$id": "2131", + "$id": "2249", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2132", + "$id": "2250", "kind": "constant", - "name": "submitToolOutputsToRunContentType", + "name": "ListAssistantsRequestOpenAiBeta38", "namespace": "", "usage": "None", "valueType": { - "$id": "2133", + "$id": "2251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2134", + "$id": "2252", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta33", + "name": "createThreadContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2135", + "$id": "2253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2136", + "$id": "2254", "kind": "constant", - "name": "ListAssistantsRequestAccept72", + "name": "ListAssistantsRequestAccept69", "namespace": "", "usage": "None", "valueType": { - "$id": "2137", + "$id": "2255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23304,13 +24734,13 @@ "decorators": [] }, { - "$id": "2138", + "$id": "2256", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta34", + "name": "ListAssistantsRequestOpenAiBeta39", "namespace": "", "usage": "None", "valueType": { - "$id": "2139", + "$id": "2257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23320,13 +24750,13 @@ "decorators": [] }, { - "$id": "2140", + "$id": "2258", "kind": "constant", - "name": "ListAssistantsRequestAccept73", + "name": "ListAssistantsRequestAccept70", "namespace": "", "usage": "None", "valueType": { - "$id": "2141", + "$id": "2259", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23336,13 +24766,13 @@ "decorators": [] }, { - "$id": "2142", + "$id": "2260", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta35", + "name": "ListAssistantsRequestOpenAiBeta40", "namespace": "", "usage": "None", "valueType": { - "$id": "2143", + "$id": "2261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23352,13 +24782,13 @@ "decorators": [] }, { - "$id": "2144", + "$id": "2262", "kind": "constant", - "name": "ListAssistantsRequestAccept74", + "name": "ListAssistantsRequestAccept71", "namespace": "", "usage": "None", "valueType": { - "$id": "2145", + "$id": "2263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23368,13 +24798,13 @@ "decorators": [] }, { - "$id": "2146", + "$id": "2264", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta36", + "name": "ListAssistantsRequestOpenAiBeta41", "namespace": "", "usage": "None", "valueType": { - "$id": "2147", + "$id": "2265", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23384,13 +24814,13 @@ "decorators": [] }, { - "$id": "2148", + "$id": "2266", "kind": "constant", - "name": "ListAssistantsRequestAccept75", + "name": "ListAssistantsRequestAccept72", "namespace": "", "usage": "None", "valueType": { - "$id": "2149", + "$id": "2267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23400,13 +24830,13 @@ "decorators": [] }, { - "$id": "2150", + "$id": "2268", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta37", + "name": "ListAssistantsRequestOpenAiBeta42", "namespace": "", "usage": "None", "valueType": { - "$id": "2151", + "$id": "2269", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23416,13 +24846,13 @@ "decorators": [] }, { - "$id": "2152", + "$id": "2270", "kind": "constant", - "name": "ListAssistantsRequestAccept76", + "name": "modifyThreadContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2153", + "$id": "2271", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23432,45 +24862,45 @@ "decorators": [] }, { - "$id": "2154", + "$id": "2272", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta38", + "name": "ListAssistantsRequestAccept73", "namespace": "", "usage": "None", "valueType": { - "$id": "2155", + "$id": "2273", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2156", + "$id": "2274", "kind": "constant", - "name": "createThreadContentType", + "name": "ListAssistantsRequestOpenAiBeta43", "namespace": "", "usage": "None", "valueType": { - "$id": "2157", + "$id": "2275", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "assistants=v2", "decorators": [] }, { - "$id": "2158", + "$id": "2276", "kind": "constant", - "name": "ListAssistantsRequestAccept77", + "name": "ListAssistantsRequestAccept74", "namespace": "", "usage": "None", "valueType": { - "$id": "2159", + "$id": "2277", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23480,13 +24910,13 @@ "decorators": [] }, { - "$id": "2160", + "$id": "2278", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta39", + "name": "ListAssistantsRequestOpenAiBeta44", "namespace": "", "usage": "None", "valueType": { - "$id": "2161", + "$id": "2279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23496,13 +24926,13 @@ "decorators": [] }, { - "$id": "2162", + "$id": "2280", "kind": "constant", - "name": "ListAssistantsRequestAccept78", + "name": "ListAssistantsRequestAccept75", "namespace": "", "usage": "None", "valueType": { - "$id": "2163", + "$id": "2281", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23512,13 +24942,13 @@ "decorators": [] }, { - "$id": "2164", + "$id": "2282", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta40", + "name": "ListAssistantsRequestOpenAiBeta45", "namespace": "", "usage": "None", "valueType": { - "$id": "2165", + "$id": "2283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23528,13 +24958,13 @@ "decorators": [] }, { - "$id": "2166", + "$id": "2284", "kind": "constant", - "name": "ListAssistantsRequestAccept79", + "name": "ListAssistantsRequestAccept76", "namespace": "", "usage": "None", "valueType": { - "$id": "2167", + "$id": "2285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23544,29 +24974,29 @@ "decorators": [] }, { - "$id": "2168", + "$id": "2286", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta41", + "name": "ListAssistantsRequestAccept77", "namespace": "", "usage": "None", "valueType": { - "$id": "2169", + "$id": "2287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2170", + "$id": "2288", "kind": "constant", - "name": "ListAssistantsRequestAccept80", + "name": "ListAssistantsRequestAccept78", "namespace": "", "usage": "None", "valueType": { - "$id": "2171", + "$id": "2289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23576,29 +25006,29 @@ "decorators": [] }, { - "$id": "2172", + "$id": "2290", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta42", + "name": "createVectorStoreContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2173", + "$id": "2291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2174", + "$id": "2292", "kind": "constant", - "name": "modifyThreadContentType", + "name": "ListAssistantsRequestAccept79", "namespace": "", "usage": "None", "valueType": { - "$id": "2175", + "$id": "2293", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23608,13 +25038,13 @@ "decorators": [] }, { - "$id": "2176", + "$id": "2294", "kind": "constant", - "name": "ListAssistantsRequestAccept81", + "name": "ListAssistantsRequestAccept80", "namespace": "", "usage": "None", "valueType": { - "$id": "2177", + "$id": "2295", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23624,29 +25054,29 @@ "decorators": [] }, { - "$id": "2178", + "$id": "2296", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta43", + "name": "ListAssistantsRequestAccept81", "namespace": "", "usage": "None", "valueType": { - "$id": "2179", + "$id": "2297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2180", + "$id": "2298", "kind": "constant", "name": "ListAssistantsRequestAccept82", "namespace": "", "usage": "None", "valueType": { - "$id": "2181", + "$id": "2299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23656,29 +25086,29 @@ "decorators": [] }, { - "$id": "2182", + "$id": "2300", "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta44", + "name": "modifyVectorStoreContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2183", + "$id": "2301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "assistants=v2", + "value": "application/json", "decorators": [] }, { - "$id": "2184", + "$id": "2302", "kind": "constant", "name": "ListAssistantsRequestAccept83", "namespace": "", "usage": "None", "valueType": { - "$id": "2185", + "$id": "2303", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23688,29 +25118,13 @@ "decorators": [] }, { - "$id": "2186", - "kind": "constant", - "name": "ListAssistantsRequestOpenAiBeta45", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "2187", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "assistants=v2", - "decorators": [] - }, - { - "$id": "2188", + "$id": "2304", "kind": "constant", "name": "ListAssistantsRequestAccept84", "namespace": "", "usage": "None", "valueType": { - "$id": "2189", + "$id": "2305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23720,13 +25134,13 @@ "decorators": [] }, { - "$id": "2190", + "$id": "2306", "kind": "constant", "name": "ListAssistantsRequestAccept85", "namespace": "", "usage": "None", "valueType": { - "$id": "2191", + "$id": "2307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23736,13 +25150,13 @@ "decorators": [] }, { - "$id": "2192", + "$id": "2308", "kind": "constant", "name": "ListAssistantsRequestAccept86", "namespace": "", "usage": "None", "valueType": { - "$id": "2193", + "$id": "2309", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23752,13 +25166,13 @@ "decorators": [] }, { - "$id": "2194", + "$id": "2310", "kind": "constant", - "name": "createVectorStoreContentType", + "name": "createVectorStoreFileBatchContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2195", + "$id": "2311", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23768,13 +25182,13 @@ "decorators": [] }, { - "$id": "2196", + "$id": "2312", "kind": "constant", "name": "ListAssistantsRequestAccept87", "namespace": "", "usage": "None", "valueType": { - "$id": "2197", + "$id": "2313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23784,13 +25198,13 @@ "decorators": [] }, { - "$id": "2198", + "$id": "2314", "kind": "constant", "name": "ListAssistantsRequestAccept88", "namespace": "", "usage": "None", "valueType": { - "$id": "2199", + "$id": "2315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23800,13 +25214,13 @@ "decorators": [] }, { - "$id": "2200", + "$id": "2316", "kind": "constant", "name": "ListAssistantsRequestAccept89", "namespace": "", "usage": "None", "valueType": { - "$id": "2201", + "$id": "2317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23816,29 +25230,13 @@ "decorators": [] }, { - "$id": "2202", + "$id": "2318", "kind": "constant", "name": "ListAssistantsRequestAccept90", "namespace": "", "usage": "None", "valueType": { - "$id": "2203", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "2204", - "kind": "constant", - "name": "modifyVectorStoreContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "2205", + "$id": "2319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23848,13 +25246,13 @@ "decorators": [] }, { - "$id": "2206", + "$id": "2320", "kind": "constant", "name": "ListAssistantsRequestAccept91", "namespace": "", "usage": "None", "valueType": { - "$id": "2207", + "$id": "2321", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23864,13 +25262,13 @@ "decorators": [] }, { - "$id": "2208", + "$id": "2322", "kind": "constant", "name": "ListAssistantsRequestAccept92", "namespace": "", "usage": "None", "valueType": { - "$id": "2209", + "$id": "2323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23880,13 +25278,13 @@ "decorators": [] }, { - "$id": "2210", + "$id": "2324", "kind": "constant", "name": "ListAssistantsRequestAccept93", "namespace": "", "usage": "None", "valueType": { - "$id": "2211", + "$id": "2325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23896,13 +25294,13 @@ "decorators": [] }, { - "$id": "2212", + "$id": "2326", "kind": "constant", "name": "ListAssistantsRequestAccept94", "namespace": "", "usage": "None", "valueType": { - "$id": "2213", + "$id": "2327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23912,13 +25310,13 @@ "decorators": [] }, { - "$id": "2214", + "$id": "2328", "kind": "constant", - "name": "createVectorStoreFileBatchContentType", + "name": "ListAssistantsRequestAccept95", "namespace": "", "usage": "None", "valueType": { - "$id": "2215", + "$id": "2329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23928,13 +25326,13 @@ "decorators": [] }, { - "$id": "2216", + "$id": "2330", "kind": "constant", - "name": "ListAssistantsRequestAccept95", + "name": "ListAssistantsRequestAccept96", "namespace": "", "usage": "None", "valueType": { - "$id": "2217", + "$id": "2331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23944,13 +25342,13 @@ "decorators": [] }, { - "$id": "2218", + "$id": "2332", "kind": "constant", - "name": "ListAssistantsRequestAccept96", + "name": "createVectorStoreFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2219", + "$id": "2333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23960,13 +25358,13 @@ "decorators": [] }, { - "$id": "2220", + "$id": "2334", "kind": "constant", "name": "ListAssistantsRequestAccept97", "namespace": "", "usage": "None", "valueType": { - "$id": "2221", + "$id": "2335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23976,13 +25374,13 @@ "decorators": [] }, { - "$id": "2222", + "$id": "2336", "kind": "constant", "name": "ListAssistantsRequestAccept98", "namespace": "", "usage": "None", "valueType": { - "$id": "2223", + "$id": "2337", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23992,13 +25390,13 @@ "decorators": [] }, { - "$id": "2224", + "$id": "2338", "kind": "constant", "name": "ListAssistantsRequestAccept99", "namespace": "", "usage": "None", "valueType": { - "$id": "2225", + "$id": "2339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24008,13 +25406,13 @@ "decorators": [] }, { - "$id": "2226", + "$id": "2340", "kind": "constant", "name": "ListAssistantsRequestAccept100", "namespace": "", "usage": "None", "valueType": { - "$id": "2227", + "$id": "2341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24024,13 +25422,13 @@ "decorators": [] }, { - "$id": "2228", + "$id": "2342", "kind": "constant", "name": "ListAssistantsRequestAccept101", "namespace": "", "usage": "None", "valueType": { - "$id": "2229", + "$id": "2343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24040,13 +25438,13 @@ "decorators": [] }, { - "$id": "2230", + "$id": "2344", "kind": "constant", - "name": "ListAssistantsRequestAccept102", + "name": "updateVectorStoreFileAttributesContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2231", + "$id": "2345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24056,13 +25454,13 @@ "decorators": [] }, { - "$id": "2232", + "$id": "2346", "kind": "constant", - "name": "ListAssistantsRequestAccept103", + "name": "updateVectorStoreFileAttributesContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2233", + "$id": "2347", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24072,13 +25470,13 @@ "decorators": [] }, { - "$id": "2234", + "$id": "2348", "kind": "constant", - "name": "ListAssistantsRequestAccept104", + "name": "retrieveVectorStoreFileContentContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2235", + "$id": "2349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24088,13 +25486,13 @@ "decorators": [] }, { - "$id": "2236", + "$id": "2350", "kind": "constant", - "name": "createVectorStoreFileContentType", + "name": "searchVectorStoreContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2237", + "$id": "2351", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24104,13 +25502,13 @@ "decorators": [] }, { - "$id": "2238", + "$id": "2352", "kind": "constant", - "name": "ListAssistantsRequestAccept105", + "name": "searchVectorStoreContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2239", + "$id": "2353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24120,13 +25518,13 @@ "decorators": [] }, { - "$id": "2240", + "$id": "2354", "kind": "constant", - "name": "ListAssistantsRequestAccept106", + "name": "ListAssistantsRequestAccept102", "namespace": "", "usage": "None", "valueType": { - "$id": "2241", + "$id": "2355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24136,13 +25534,13 @@ "decorators": [] }, { - "$id": "2242", + "$id": "2356", "kind": "constant", - "name": "ListAssistantsRequestAccept107", + "name": "createCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2243", + "$id": "2357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24152,13 +25550,13 @@ "decorators": [] }, { - "$id": "2244", + "$id": "2358", "kind": "constant", - "name": "ListAssistantsRequestAccept108", + "name": "ListAssistantsRequestAccept103", "namespace": "", "usage": "None", "valueType": { - "$id": "2245", + "$id": "2359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24168,29 +25566,29 @@ "decorators": [] }, { - "$id": "2246", + "$id": "2360", "kind": "constant", - "name": "ListAssistantsRequestAccept109", + "name": "StartRealtimeSessionRequestOpenAiBeta", "namespace": "", "usage": "None", "valueType": { - "$id": "2247", + "$id": "2361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "realtime=v1", "decorators": [] }, { - "$id": "2248", + "$id": "2362", "kind": "constant", - "name": "updateVectorStoreFileAttributesContentType", + "name": "startRealtimeSessionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2249", + "$id": "2363", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24200,13 +25598,13 @@ "decorators": [] }, { - "$id": "2250", + "$id": "2364", "kind": "constant", - "name": "updateVectorStoreFileAttributesContentType1", + "name": "startRealtimeSessionContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2251", + "$id": "2365", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24216,45 +25614,29 @@ "decorators": [] }, { - "$id": "2252", - "kind": "constant", - "name": "retrieveVectorStoreFileContentContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "2253", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "2254", + "$id": "2366", "kind": "constant", - "name": "searchVectorStoreContentType", + "name": "StartRealtimeSessionRequestOpenAiBeta1", "namespace": "", "usage": "None", "valueType": { - "$id": "2255", + "$id": "2367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "realtime=v1", "decorators": [] }, { - "$id": "2256", + "$id": "2368", "kind": "constant", - "name": "searchVectorStoreContentType1", + "name": "createEphemeralTokenContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2257", + "$id": "2369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24264,13 +25646,13 @@ "decorators": [] }, { - "$id": "2258", + "$id": "2370", "kind": "constant", - "name": "ListAssistantsRequestAccept110", + "name": "createEphemeralTokenContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2259", + "$id": "2371", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24280,13 +25662,13 @@ "decorators": [] }, { - "$id": "2260", + "$id": "2372", "kind": "constant", - "name": "createCompletionContentType", + "name": "createEphemeralTranscriptionTokenContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2261", + "$id": "2373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24296,13 +25678,13 @@ "decorators": [] }, { - "$id": "2262", + "$id": "2374", "kind": "constant", - "name": "ListAssistantsRequestAccept111", + "name": "createEphemeralTranscriptionTokenContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2263", + "$id": "2375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24312,13 +25694,13 @@ "decorators": [] }, { - "$id": "2264", + "$id": "2376", "kind": "constant", - "name": "ListAssistantsRequestAccept112", + "name": "ListAssistantsRequestAccept104", "namespace": "", "usage": "None", "valueType": { - "$id": "2265", + "$id": "2377", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24328,13 +25710,13 @@ "decorators": [] }, { - "$id": "2266", + "$id": "2378", "kind": "constant", - "name": "ListAssistantsRequestAccept113", + "name": "createUploadContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2267", + "$id": "2379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24344,13 +25726,13 @@ "decorators": [] }, { - "$id": "2268", + "$id": "2380", "kind": "constant", - "name": "ListAssistantsRequestAccept114", + "name": "ListAssistantsRequestAccept105", "namespace": "", "usage": "None", "valueType": { - "$id": "2269", + "$id": "2381", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24360,13 +25742,13 @@ "decorators": [] }, { - "$id": "2270", + "$id": "2382", "kind": "constant", - "name": "ListAssistantsRequestAccept115", + "name": "ListAssistantsRequestAccept106", "namespace": "", "usage": "None", "valueType": { - "$id": "2271", + "$id": "2383", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24376,29 +25758,29 @@ "decorators": [] }, { - "$id": "2272", + "$id": "2384", "kind": "constant", - "name": "ListAssistantsRequestAccept116", + "name": "CreateTranscriptionRequestContentType8", "namespace": "", "usage": "None", "valueType": { - "$id": "2273", + "$id": "2385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "multipart/form-data", "decorators": [] }, { - "$id": "2274", + "$id": "2386", "kind": "constant", - "name": "ListAssistantsRequestAccept117", + "name": "ListAssistantsRequestAccept107", "namespace": "", "usage": "None", "valueType": { - "$id": "2275", + "$id": "2387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24408,29 +25790,29 @@ "decorators": [] }, { - "$id": "2276", + "$id": "2388", "kind": "constant", - "name": "StartRealtimeSessionRequestOpenAiBeta", + "name": "CreateTranscriptionRequestContentType9", "namespace": "", "usage": "None", "valueType": { - "$id": "2277", + "$id": "2389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "realtime=v1", + "value": "multipart/form-data", "decorators": [] }, { - "$id": "2278", + "$id": "2390", "kind": "constant", - "name": "startRealtimeSessionContentType", + "name": "ListAssistantsRequestAccept108", "namespace": "", "usage": "None", "valueType": { - "$id": "2279", + "$id": "2391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24440,13 +25822,13 @@ "decorators": [] }, { - "$id": "2280", + "$id": "2392", "kind": "constant", - "name": "startRealtimeSessionContentType1", + "name": "completeUploadContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2281", + "$id": "2393", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24456,29 +25838,13 @@ "decorators": [] }, { - "$id": "2282", - "kind": "constant", - "name": "StartRealtimeSessionRequestOpenAiBeta1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "2283", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "realtime=v1", - "decorators": [] - }, - { - "$id": "2284", + "$id": "2394", "kind": "constant", - "name": "createEphemeralTokenContentType", + "name": "ListAssistantsRequestAccept109", "namespace": "", "usage": "None", "valueType": { - "$id": "2285", + "$id": "2395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24488,13 +25854,13 @@ "decorators": [] }, { - "$id": "2286", + "$id": "2396", "kind": "constant", - "name": "createEphemeralTokenContentType1", + "name": "ListAssistantsRequestAccept110", "namespace": "", "usage": "None", "valueType": { - "$id": "2287", + "$id": "2397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24504,13 +25870,13 @@ "decorators": [] }, { - "$id": "2288", + "$id": "2398", "kind": "constant", - "name": "createEphemeralTranscriptionTokenContentType", + "name": "ListAssistantsRequestAccept111", "namespace": "", "usage": "None", "valueType": { - "$id": "2289", + "$id": "2399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24520,13 +25886,13 @@ "decorators": [] }, { - "$id": "2290", + "$id": "2400", "kind": "constant", - "name": "createEphemeralTranscriptionTokenContentType1", + "name": "listConversationItemsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2291", + "$id": "2401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24536,29 +25902,29 @@ "decorators": [] }, { - "$id": "2292", + "$id": "2402", "kind": "constant", - "name": "ListAssistantsRequestAccept118", + "name": "ListAssistantsResponseObject1", "namespace": "", "usage": "None", "valueType": { - "$id": "2293", + "$id": "2403", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "list", "decorators": [] }, { - "$id": "2294", + "$id": "2404", "kind": "constant", - "name": "createUploadContentType", + "name": "createConversationItemsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2295", + "$id": "2405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24568,13 +25934,13 @@ "decorators": [] }, { - "$id": "2296", + "$id": "2406", "kind": "constant", - "name": "ListAssistantsRequestAccept119", + "name": "createConversationItemsContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2297", + "$id": "2407", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24584,13 +25950,13 @@ "decorators": [] }, { - "$id": "2298", + "$id": "2408", "kind": "constant", - "name": "ListAssistantsRequestAccept120", + "name": "deleteConversationItemContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2299", + "$id": "2409", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24600,29 +25966,29 @@ "decorators": [] }, { - "$id": "2300", + "$id": "2410", "kind": "constant", - "name": "CreateTranscriptionRequestContentType12", + "name": "ConversationResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2301", + "$id": "2411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "multipart/form-data", + "value": "conversation", "decorators": [] }, { - "$id": "2302", + "$id": "2412", "kind": "constant", - "name": "ListAssistantsRequestAccept121", + "name": "getConversationItemContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2303", + "$id": "2413", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24632,29 +25998,29 @@ "decorators": [] }, { - "$id": "2304", + "$id": "2414", "kind": "constant", - "name": "CreateTranscriptionRequestContentType13", + "name": "createConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2305", + "$id": "2415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "multipart/form-data", + "value": "application/json", "decorators": [] }, { - "$id": "2306", + "$id": "2416", "kind": "constant", - "name": "ListAssistantsRequestAccept122", + "name": "createConversationContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2307", + "$id": "2417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24664,13 +26030,13 @@ "decorators": [] }, { - "$id": "2308", + "$id": "2418", "kind": "constant", - "name": "completeUploadContentType", + "name": "deleteConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2309", + "$id": "2419", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24680,29 +26046,29 @@ "decorators": [] }, { - "$id": "2310", + "$id": "2420", "kind": "constant", - "name": "ListAssistantsRequestAccept123", + "name": "DeletedConversationResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2311", + "$id": "2421", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "conversation.deleted", "decorators": [] }, { - "$id": "2312", + "$id": "2422", "kind": "constant", - "name": "ListAssistantsRequestAccept124", + "name": "getConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2313", + "$id": "2423", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24712,13 +26078,13 @@ "decorators": [] }, { - "$id": "2314", + "$id": "2424", "kind": "constant", - "name": "ListAssistantsRequestAccept125", + "name": "updateConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2315", + "$id": "2425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24728,13 +26094,13 @@ "decorators": [] }, { - "$id": "2316", + "$id": "2426", "kind": "constant", - "name": "listConversationItemsContentType", + "name": "updateConversationContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2317", + "$id": "2427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24744,29 +26110,29 @@ "decorators": [] }, { - "$id": "2318", + "$id": "2428", "kind": "constant", - "name": "ListAssistantsResponseObject1", + "name": "createEmbeddingContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2319", + "$id": "2429", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "list", + "value": "application/json", "decorators": [] }, { - "$id": "2320", + "$id": "2430", "kind": "constant", - "name": "createConversationItemsContentType", + "name": "createEmbeddingContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2321", + "$id": "2431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24776,61 +26142,61 @@ "decorators": [] }, { - "$id": "2322", + "$id": "2432", "kind": "constant", - "name": "createConversationItemsContentType1", + "name": "CreateTranscriptionRequestContentType10", "namespace": "", "usage": "None", "valueType": { - "$id": "2323", + "$id": "2433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "multipart/form-data", "decorators": [] }, { - "$id": "2324", + "$id": "2434", "kind": "constant", - "name": "deleteConversationItemContentType", + "name": "CreateImageEditStreamingResponseContentType4", "namespace": "", "usage": "None", "valueType": { - "$id": "2325", + "$id": "2435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "text/event-stream", "decorators": [] }, { - "$id": "2326", + "$id": "2436", "kind": "constant", - "name": "ConversationResourceObject", + "name": "CreateTranscriptionRequestContentType11", "namespace": "", "usage": "None", "valueType": { - "$id": "2327", + "$id": "2437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "conversation", + "value": "multipart/form-data", "decorators": [] }, { - "$id": "2328", + "$id": "2438", "kind": "constant", - "name": "getConversationItemContentType", + "name": "createImageContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2329", + "$id": "2439", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24840,45 +26206,45 @@ "decorators": [] }, { - "$id": "2330", + "$id": "2440", "kind": "constant", - "name": "createConversationContentType", + "name": "CreateImageEditStreamingResponseContentType5", "namespace": "", "usage": "None", "valueType": { - "$id": "2331", + "$id": "2441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "text/event-stream", "decorators": [] }, { - "$id": "2332", + "$id": "2442", "kind": "constant", - "name": "createConversationContentType1", + "name": "CreateTranscriptionRequestContentType12", "namespace": "", "usage": "None", "valueType": { - "$id": "2333", + "$id": "2443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "application/json", + "value": "multipart/form-data", "decorators": [] }, { - "$id": "2334", + "$id": "2444", "kind": "constant", - "name": "deleteConversationContentType", + "name": "createImageVariationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2335", + "$id": "2445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24888,29 +26254,29 @@ "decorators": [] }, { - "$id": "2336", + "$id": "2446", "kind": "constant", - "name": "DeletedConversationResourceObject", + "name": "CreateTranscriptionRequestContentType13", "namespace": "", "usage": "None", "valueType": { - "$id": "2337", + "$id": "2447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "value": "conversation.deleted", + "value": "multipart/form-data", "decorators": [] }, { - "$id": "2338", + "$id": "2448", "kind": "constant", - "name": "getConversationContentType", + "name": "listModelsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2339", + "$id": "2449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24920,13 +26286,13 @@ "decorators": [] }, { - "$id": "2340", + "$id": "2450", "kind": "constant", - "name": "updateConversationContentType", + "name": "deleteModelContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2341", + "$id": "2451", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24936,13 +26302,13 @@ "decorators": [] }, { - "$id": "2342", + "$id": "2452", "kind": "constant", - "name": "updateConversationContentType1", + "name": "retrieveModelContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2343", + "$id": "2453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24952,13 +26318,13 @@ "decorators": [] }, { - "$id": "2344", + "$id": "2454", "kind": "constant", "name": "ListVideosContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2345", + "$id": "2455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24968,13 +26334,13 @@ "decorators": [] }, { - "$id": "2346", + "$id": "2456", "kind": "constant", "name": "ListAssistantsResponseObject2", "namespace": "", "usage": "None", "valueType": { - "$id": "2347", + "$id": "2457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24984,13 +26350,13 @@ "decorators": [] }, { - "$id": "2348", + "$id": "2458", "kind": "constant", "name": "VideoResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2349", + "$id": "2459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25000,13 +26366,13 @@ "decorators": [] }, { - "$id": "2350", + "$id": "2460", "kind": "constant", "name": "CreateTranscriptionRequestContentType14", "namespace": "", "usage": "None", "valueType": { - "$id": "2351", + "$id": "2461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25016,13 +26382,13 @@ "decorators": [] }, { - "$id": "2352", + "$id": "2462", "kind": "constant", "name": "createVideoContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2353", + "$id": "2463", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25032,13 +26398,13 @@ "decorators": [] }, { - "$id": "2354", + "$id": "2464", "kind": "constant", "name": "CreateTranscriptionRequestContentType15", "namespace": "", "usage": "None", "valueType": { - "$id": "2355", + "$id": "2465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25048,13 +26414,13 @@ "decorators": [] }, { - "$id": "2356", + "$id": "2466", "kind": "constant", "name": "DeleteVideoContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2357", + "$id": "2467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25064,13 +26430,13 @@ "decorators": [] }, { - "$id": "2358", + "$id": "2468", "kind": "constant", "name": "DeletedVideoResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2359", + "$id": "2469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25080,13 +26446,13 @@ "decorators": [] }, { - "$id": "2360", + "$id": "2470", "kind": "constant", "name": "GetVideoContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2361", + "$id": "2471", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25096,13 +26462,13 @@ "decorators": [] }, { - "$id": "2362", + "$id": "2472", "kind": "constant", "name": "RetrieveVideoContentResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2363", + "$id": "2473", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25112,13 +26478,13 @@ "decorators": [] }, { - "$id": "2364", + "$id": "2474", "kind": "constant", "name": "RetrieveVideoContentResponseContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2365", + "$id": "2475", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25128,13 +26494,13 @@ "decorators": [] }, { - "$id": "2366", + "$id": "2476", "kind": "constant", "name": "CreateTranscriptionRequestContentType16", "namespace": "", "usage": "None", "valueType": { - "$id": "2367", + "$id": "2477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25144,13 +26510,13 @@ "decorators": [] }, { - "$id": "2368", + "$id": "2478", "kind": "constant", "name": "CreateVideoRemixContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2369", + "$id": "2479", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25160,13 +26526,13 @@ "decorators": [] }, { - "$id": "2370", + "$id": "2480", "kind": "constant", "name": "CreateTranscriptionRequestContentType17", "namespace": "", "usage": "None", "valueType": { - "$id": "2371", + "$id": "2481", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25178,7 +26544,7 @@ ], "models": [ { - "$id": "2372", + "$id": "2482", "kind": "model", "name": "ListAssistantsResponse", "namespace": "OpenAI", @@ -25187,12 +26553,12 @@ "decorators": [], "properties": [ { - "$id": "2373", + "$id": "2483", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1520" + "$ref": "1646" }, "optional": false, "readOnly": false, @@ -25208,16 +26574,16 @@ "isHttpMetadata": false }, { - "$id": "2374", + "$id": "2484", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "2375", + "$id": "2485", "kind": "array", "name": "ArrayAssistantObject", "valueType": { - "$id": "2376", + "$id": "2486", "kind": "model", "name": "AssistantObject", "namespace": "OpenAI", @@ -25227,13 +26593,13 @@ "decorators": [], "properties": [ { - "$id": "2377", + "$id": "2487", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "2378", + "$id": "2488", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25253,13 +26619,13 @@ "isHttpMetadata": false }, { - "$id": "2379", + "$id": "2489", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `assistant`.", "type": { - "$ref": "1522" + "$ref": "1648" }, "optional": false, "readOnly": false, @@ -25275,18 +26641,18 @@ "isHttpMetadata": false }, { - "$id": "2380", + "$id": "2490", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the assistant was created.", "type": { - "$id": "2381", + "$id": "2491", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2382", + "$id": "2492", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -25309,16 +26675,16 @@ "isHttpMetadata": false }, { - "$id": "2383", + "$id": "2493", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the assistant. The maximum length is 256 characters.", "type": { - "$id": "2384", + "$id": "2494", "kind": "nullable", "type": { - "$id": "2385", + "$id": "2495", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25340,16 +26706,16 @@ "isHttpMetadata": false }, { - "$id": "2386", + "$id": "2496", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the assistant. The maximum length is 512 characters.", "type": { - "$id": "2387", + "$id": "2497", "kind": "nullable", "type": { - "$id": "2388", + "$id": "2498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25371,13 +26737,13 @@ "isHttpMetadata": false }, { - "$id": "2389", + "$id": "2499", "kind": "property", "name": "model", "serializedName": "model", "doc": "ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them.", "type": { - "$id": "2390", + "$id": "2500", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25397,16 +26763,16 @@ "isHttpMetadata": false }, { - "$id": "2391", + "$id": "2501", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.", "type": { - "$id": "2392", + "$id": "2502", "kind": "nullable", "type": { - "$id": "2393", + "$id": "2503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25428,17 +26794,17 @@ "isHttpMetadata": false }, { - "$id": "2394", + "$id": "2504", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`.", "type": { - "$id": "2395", + "$id": "2505", "kind": "array", "name": "ArrayAssistantToolDefinition", "valueType": { - "$id": "2396", + "$id": "2506", "kind": "model", "name": "AssistantToolDefinition", "namespace": "OpenAI", @@ -25446,7 +26812,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "2397", + "$id": "2507", "kind": "property", "name": "type", "serializedName": "type", @@ -25468,12 +26834,12 @@ }, "properties": [ { - "$ref": "2397" + "$ref": "2507" } ], "discriminatedSubtypes": { "code_interpreter": { - "$id": "2398", + "$id": "2508", "kind": "model", "name": "AssistantToolsCode", "namespace": "OpenAI", @@ -25482,17 +26848,17 @@ "discriminatorValue": "code_interpreter", "decorators": [], "baseModel": { - "$ref": "2396" + "$ref": "2506" }, "properties": [ { - "$id": "2399", + "$id": "2509", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool being defined: `code_interpreter`", "type": { - "$id": "2400", + "$id": "2510", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", @@ -25500,14 +26866,14 @@ "$ref": "2" }, "enumType": { - "$id": "2401", + "$id": "2511", "kind": "enum", "decorators": [], "name": "AssistantToolDefinitionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "2402", + "$id": "2512", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -25516,42 +26882,42 @@ }, "values": [ { - "$id": "2403", + "$id": "2513", "kind": "enumvalue", "decorators": [], "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "2402" + "$ref": "2512" }, "enumType": { - "$ref": "2401" + "$ref": "2511" } }, { - "$id": "2404", + "$id": "2514", "kind": "enumvalue", "decorators": [], "name": "file_search", "value": "file_search", "valueType": { - "$ref": "2402" + "$ref": "2512" }, "enumType": { - "$ref": "2401" + "$ref": "2511" } }, { - "$id": "2405", + "$id": "2515", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "2402" + "$ref": "2512" }, "enumType": { - "$ref": "2401" + "$ref": "2511" } } ], @@ -25582,7 +26948,7 @@ ] }, "file_search": { - "$id": "2406", + "$id": "2516", "kind": "model", "name": "AssistantToolsFileSearch", "namespace": "OpenAI", @@ -25591,17 +26957,17 @@ "discriminatorValue": "file_search", "decorators": [], "baseModel": { - "$ref": "2396" + "$ref": "2506" }, "properties": [ { - "$id": "2407", + "$id": "2517", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool being defined: `file_search`", "type": { - "$id": "2408", + "$id": "2518", "kind": "enumvalue", "name": "file_search", "value": "file_search", @@ -25609,7 +26975,7 @@ "$ref": "2" }, "enumType": { - "$ref": "2401" + "$ref": "2511" }, "decorators": [] }, @@ -25627,13 +26993,13 @@ "isHttpMetadata": false }, { - "$id": "2409", + "$id": "2519", "kind": "property", "name": "file_search", "serializedName": "file_search", "doc": "Overrides for the file search tool.", "type": { - "$id": "2410", + "$id": "2520", "kind": "model", "name": "AssistantToolsFileSearchFileSearch", "namespace": "OpenAI", @@ -25642,13 +27008,13 @@ "decorators": [], "properties": [ { - "$id": "2411", + "$id": "2521", "kind": "property", "name": "max_num_results", "serializedName": "max_num_results", "doc": "The maximum number of results the file search tool should output. The default is 20 for `gpt-4*` models and 5 for `gpt-3.5-turbo`. This number should be between 1 and 50 inclusive.\n\nNote that the file search tool may output fewer than `max_num_results` results. See the [file search tool documentation](/docs/assistants/tools/file-search#customizing-file-search-settings) for more information.", "type": { - "$id": "2412", + "$id": "2522", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -25668,12 +27034,12 @@ "isHttpMetadata": false }, { - "$id": "2413", + "$id": "2523", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "type": { - "$id": "2414", + "$id": "2524", "kind": "model", "name": "FileSearchRankingOptions", "namespace": "OpenAI", @@ -25683,7 +27049,7 @@ "decorators": [], "properties": [ { - "$id": "2415", + "$id": "2525", "kind": "property", "name": "ranker", "serializedName": "ranker", @@ -25704,13 +27070,13 @@ "isHttpMetadata": false }, { - "$id": "2416", + "$id": "2526", "kind": "property", "name": "score_threshold", "serializedName": "score_threshold", "doc": "The score threshold for the file search. All values must be a floating point number between 0 and 1.", "type": { - "$id": "2417", + "$id": "2527", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -25762,7 +27128,7 @@ ] }, "function": { - "$id": "2418", + "$id": "2528", "kind": "model", "name": "AssistantToolsFunction", "namespace": "OpenAI", @@ -25771,17 +27137,17 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "2396" + "$ref": "2506" }, "properties": [ { - "$id": "2419", + "$id": "2529", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool being defined: `function`", "type": { - "$id": "2420", + "$id": "2530", "kind": "enumvalue", "name": "function", "value": "function", @@ -25789,7 +27155,7 @@ "$ref": "2" }, "enumType": { - "$ref": "2401" + "$ref": "2511" }, "decorators": [] }, @@ -25807,12 +27173,12 @@ "isHttpMetadata": false }, { - "$id": "2421", + "$id": "2531", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "2422", + "$id": "2532", "kind": "model", "name": "FunctionObject", "namespace": "OpenAI", @@ -25821,13 +27187,13 @@ "decorators": [], "properties": [ { - "$id": "2423", + "$id": "2533", "kind": "property", "name": "description", "serializedName": "description", "doc": "A description of what the function does, used by the model to choose when and how to call the function.", "type": { - "$id": "2424", + "$id": "2534", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25847,13 +27213,13 @@ "isHttpMetadata": false }, { - "$id": "2425", + "$id": "2535", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.", "type": { - "$id": "2426", + "$id": "2536", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25873,13 +27239,13 @@ "isHttpMetadata": false }, { - "$id": "2427", + "$id": "2537", "kind": "property", "name": "parameters", "serializedName": "parameters", "doc": "The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.\n\nOmitting `parameters` defines a function with an empty parameter list.", "type": { - "$id": "2428", + "$id": "2538", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -25899,16 +27265,16 @@ "isHttpMetadata": false }, { - "$id": "2429", + "$id": "2539", "kind": "property", "name": "strict", "serializedName": "strict", "doc": "Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn more about Structured Outputs in the [function calling guide](docs/guides/function-calling).", "type": { - "$id": "2430", + "$id": "2540", "kind": "nullable", "type": { - "$id": "2431", + "$id": "2541", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -25965,16 +27331,16 @@ "isHttpMetadata": false }, { - "$id": "2432", + "$id": "2542", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "2433", + "$id": "2543", "kind": "nullable", "type": { - "$id": "2434", + "$id": "2544", "kind": "model", "name": "AssistantObjectToolResources1", "namespace": "OpenAI", @@ -25983,12 +27349,12 @@ "decorators": [], "properties": [ { - "$id": "2435", + "$id": "2545", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "2436", + "$id": "2546", "kind": "model", "name": "AssistantObjectToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -25997,17 +27363,17 @@ "decorators": [], "properties": [ { - "$id": "2437", + "$id": "2547", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter`` tool. There can be a maximum of 20 files associated with the tool.", "type": { - "$id": "2438", + "$id": "2548", "kind": "array", "name": "Array", "valueType": { - "$id": "2439", + "$id": "2549", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26045,12 +27411,12 @@ "isHttpMetadata": false }, { - "$id": "2440", + "$id": "2550", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$id": "2441", + "$id": "2551", "kind": "model", "name": "ToolResourcesFileSearchIdsOnly", "namespace": "OpenAI", @@ -26059,13 +27425,13 @@ "decorators": [], "properties": [ { - "$id": "2442", + "$id": "2552", "kind": "property", "name": "vector_store_ids", "serializedName": "vector_store_ids", "doc": "The [vector store](/docs/api-reference/vector-stores/object) attached to this assistant.\nThere can be a maximum of 1 vector store attached to the assistant.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -26113,26 +27479,26 @@ "isHttpMetadata": false }, { - "$id": "2443", + "$id": "2553", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$id": "2444", + "$id": "2554", "kind": "nullable", "type": { - "$id": "2445", + "$id": "2555", "kind": "dict", "keyType": { - "$id": "2446", + "$id": "2556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "2447", + "$id": "2557", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26156,16 +27522,16 @@ "isHttpMetadata": false }, { - "$id": "2448", + "$id": "2558", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.", "type": { - "$id": "2449", + "$id": "2559", "kind": "nullable", "type": { - "$id": "2450", + "$id": "2560", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -26187,16 +27553,16 @@ "isHttpMetadata": false }, { - "$id": "2451", + "$id": "2561", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "type": { - "$id": "2452", + "$id": "2562", "kind": "nullable", "type": { - "$id": "2453", + "$id": "2563", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -26218,23 +27584,23 @@ "isHttpMetadata": false }, { - "$id": "2454", + "$id": "2564", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "2455", + "$id": "2565", "kind": "nullable", "type": { - "$id": "2456", + "$id": "2566", "kind": "union", "name": "AssistantsApiResponseFormatOption", "variantTypes": [ { - "$ref": "1524" + "$ref": "1650" }, { - "$id": "2457", + "$id": "2567", "kind": "model", "name": "ResponseFormatText", "namespace": "OpenAI", @@ -26244,7 +27610,7 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$id": "2458", + "$id": "2568", "kind": "model", "name": "ResponseFormat", "namespace": "OpenAI", @@ -26252,7 +27618,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "2459", + "$id": "2569", "kind": "property", "name": "type", "serializedName": "type", @@ -26274,15 +27640,15 @@ }, "properties": [ { - "$ref": "2459" + "$ref": "2569" } ], "discriminatedSubtypes": { "text": { - "$ref": "2457" + "$ref": "2567" }, "json_object": { - "$id": "2460", + "$id": "2570", "kind": "model", "name": "ResponseFormatJsonObject", "namespace": "OpenAI", @@ -26292,17 +27658,17 @@ "discriminatorValue": "json_object", "decorators": [], "baseModel": { - "$ref": "2458" + "$ref": "2568" }, "properties": [ { - "$id": "2461", + "$id": "2571", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of response format being defined. Always `json_object`.", "type": { - "$id": "2462", + "$id": "2572", "kind": "enumvalue", "name": "json_object", "value": "json_object", @@ -26310,14 +27676,14 @@ "$ref": "11" }, "enumType": { - "$id": "2463", + "$id": "2573", "kind": "enum", "decorators": [], "name": "ResponseFormatType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "2464", + "$id": "2574", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -26326,42 +27692,42 @@ }, "values": [ { - "$id": "2465", + "$id": "2575", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "2464" + "$ref": "2574" }, "enumType": { - "$ref": "2463" + "$ref": "2573" } }, { - "$id": "2466", + "$id": "2576", "kind": "enumvalue", "decorators": [], "name": "json_object", "value": "json_object", "valueType": { - "$ref": "2464" + "$ref": "2574" }, "enumType": { - "$ref": "2463" + "$ref": "2573" } }, { - "$id": "2467", + "$id": "2577", "kind": "enumvalue", "decorators": [], "name": "json_schema", "value": "json_schema", "valueType": { - "$ref": "2464" + "$ref": "2574" }, "enumType": { - "$ref": "2463" + "$ref": "2573" } } ], @@ -26392,7 +27758,7 @@ ] }, "json_schema": { - "$id": "2468", + "$id": "2578", "kind": "model", "name": "ResponseFormatJsonSchema", "namespace": "OpenAI", @@ -26402,17 +27768,17 @@ "discriminatorValue": "json_schema", "decorators": [], "baseModel": { - "$ref": "2458" + "$ref": "2568" }, "properties": [ { - "$id": "2469", + "$id": "2579", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of response format being defined. Always `json_schema`.", "type": { - "$id": "2470", + "$id": "2580", "kind": "enumvalue", "name": "json_schema", "value": "json_schema", @@ -26420,7 +27786,7 @@ "$ref": "11" }, "enumType": { - "$ref": "2463" + "$ref": "2573" }, "decorators": [] }, @@ -26438,13 +27804,13 @@ "isHttpMetadata": false }, { - "$id": "2471", + "$id": "2581", "kind": "property", "name": "json_schema", "serializedName": "json_schema", "doc": "Structured Outputs configuration options, including a JSON Schema.", "type": { - "$id": "2472", + "$id": "2582", "kind": "model", "name": "ResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -26453,13 +27819,13 @@ "decorators": [], "properties": [ { - "$id": "2473", + "$id": "2583", "kind": "property", "name": "description", "serializedName": "description", "doc": "A description of what the response format is for, used by the model to\ndetermine how to respond in the format.", "type": { - "$id": "2474", + "$id": "2584", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26479,13 +27845,13 @@ "isHttpMetadata": false }, { - "$id": "2475", + "$id": "2585", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.", "type": { - "$id": "2476", + "$id": "2586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26505,12 +27871,12 @@ "isHttpMetadata": false }, { - "$id": "2477", + "$id": "2587", "kind": "property", "name": "schema", "serializedName": "schema", "type": { - "$id": "2478", + "$id": "2588", "kind": "model", "name": "ResponseFormatJsonSchemaSchema", "namespace": "OpenAI", @@ -26519,7 +27885,7 @@ "doc": "The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).", "decorators": [], "additionalProperties": { - "$id": "2479", + "$id": "2589", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -26541,16 +27907,16 @@ "isHttpMetadata": false }, { - "$id": "2480", + "$id": "2590", "kind": "property", "name": "strict", "serializedName": "strict", "doc": "Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](/docs/guides/structured-outputs).", "type": { - "$id": "2481", + "$id": "2591", "kind": "nullable", "type": { - "$id": "2482", + "$id": "2592", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -26592,13 +27958,13 @@ }, "properties": [ { - "$id": "2483", + "$id": "2593", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of response format being defined. Always `text`.", "type": { - "$id": "2484", + "$id": "2594", "kind": "enumvalue", "name": "text", "value": "text", @@ -26606,7 +27972,7 @@ "$ref": "11" }, "enumType": { - "$ref": "2463" + "$ref": "2573" }, "decorators": [] }, @@ -26626,10 +27992,10 @@ ] }, { - "$ref": "2460" + "$ref": "2570" }, { - "$ref": "2468" + "$ref": "2578" } ], "namespace": "OpenAI", @@ -26669,12 +28035,12 @@ "isHttpMetadata": false }, { - "$id": "2485", + "$id": "2595", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "2486", + "$id": "2596", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26694,12 +28060,12 @@ "isHttpMetadata": false }, { - "$id": "2487", + "$id": "2597", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "2488", + "$id": "2598", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26719,12 +28085,12 @@ "isHttpMetadata": false }, { - "$id": "2489", + "$id": "2599", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "2490", + "$id": "2600", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -26746,58 +28112,58 @@ ] }, { - "$ref": "2376" + "$ref": "2486" }, { - "$ref": "2396" + "$ref": "2506" }, { - "$ref": "2398" + "$ref": "2508" }, { - "$ref": "2406" + "$ref": "2516" }, { - "$ref": "2410" + "$ref": "2520" }, { - "$ref": "2414" + "$ref": "2524" }, { - "$ref": "2418" + "$ref": "2528" }, { - "$ref": "2422" + "$ref": "2532" }, { - "$ref": "2434" + "$ref": "2544" }, { - "$ref": "2436" + "$ref": "2546" }, { - "$ref": "2441" + "$ref": "2551" }, { - "$ref": "2457" + "$ref": "2567" }, { - "$ref": "2458" + "$ref": "2568" }, { - "$ref": "2460" + "$ref": "2570" }, { - "$ref": "2468" + "$ref": "2578" }, { - "$ref": "2472" + "$ref": "2582" }, { - "$ref": "2478" + "$ref": "2588" }, { - "$id": "2491", + "$id": "2601", "kind": "model", "name": "ErrorResponse", "namespace": "OpenAI", @@ -26806,12 +28172,12 @@ "decorators": [], "properties": [ { - "$id": "2492", + "$id": "2602", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "2493", + "$id": "2603", "kind": "model", "name": "Error", "namespace": "OpenAI", @@ -26820,15 +28186,15 @@ "decorators": [], "properties": [ { - "$id": "2494", + "$id": "2604", "kind": "property", "name": "code", "serializedName": "code", "type": { - "$id": "2495", + "$id": "2605", "kind": "nullable", "type": { - "$id": "2496", + "$id": "2606", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26850,12 +28216,12 @@ "isHttpMetadata": false }, { - "$id": "2497", + "$id": "2607", "kind": "property", "name": "message", "serializedName": "message", "type": { - "$id": "2498", + "$id": "2608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26875,15 +28241,15 @@ "isHttpMetadata": false }, { - "$id": "2499", + "$id": "2609", "kind": "property", "name": "param", "serializedName": "param", "type": { - "$id": "2500", + "$id": "2610", "kind": "nullable", "type": { - "$id": "2501", + "$id": "2611", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26905,12 +28271,12 @@ "isHttpMetadata": false }, { - "$id": "2502", + "$id": "2612", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "2503", + "$id": "2613", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26947,10 +28313,10 @@ ] }, { - "$ref": "2493" + "$ref": "2603" }, { - "$id": "2504", + "$id": "2614", "kind": "model", "name": "CreateAssistantRequest", "namespace": "OpenAI", @@ -26959,7 +28325,7 @@ "decorators": [], "properties": [ { - "$id": "2505", + "$id": "2615", "kind": "property", "name": "model", "serializedName": "model", @@ -26981,16 +28347,16 @@ "isHttpMetadata": false }, { - "$id": "2506", + "$id": "2616", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the assistant. The maximum length is 256 characters.", "type": { - "$id": "2507", + "$id": "2617", "kind": "nullable", "type": { - "$id": "2508", + "$id": "2618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27012,16 +28378,16 @@ "isHttpMetadata": false }, { - "$id": "2509", + "$id": "2619", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the assistant. The maximum length is 512 characters.", "type": { - "$id": "2510", + "$id": "2620", "kind": "nullable", "type": { - "$id": "2511", + "$id": "2621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27043,16 +28409,16 @@ "isHttpMetadata": false }, { - "$id": "2512", + "$id": "2622", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.", "type": { - "$id": "2513", + "$id": "2623", "kind": "nullable", "type": { - "$id": "2514", + "$id": "2624", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27074,12 +28440,12 @@ "isHttpMetadata": false }, { - "$id": "2515", + "$id": "2625", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "2516", + "$id": "2626", "kind": "nullable", "type": { "$ref": "53" @@ -27100,13 +28466,13 @@ "isHttpMetadata": false }, { - "$id": "2517", + "$id": "2627", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`.", "type": { - "$ref": "2395" + "$ref": "2505" }, "optional": true, "readOnly": false, @@ -27122,16 +28488,16 @@ "isHttpMetadata": false }, { - "$id": "2518", + "$id": "2628", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "2519", + "$id": "2629", "kind": "nullable", "type": { - "$id": "2520", + "$id": "2630", "kind": "model", "name": "CreateAssistantRequestToolResources1", "namespace": "OpenAI", @@ -27140,12 +28506,12 @@ "decorators": [], "properties": [ { - "$id": "2521", + "$id": "2631", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "2522", + "$id": "2632", "kind": "model", "name": "CreateAssistantRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -27154,13 +28520,13 @@ "decorators": [], "properties": [ { - "$id": "2523", + "$id": "2633", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -27191,12 +28557,12 @@ "isHttpMetadata": false }, { - "$id": "2524", + "$id": "2634", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$id": "2525", + "$id": "2635", "kind": "model", "name": "ToolResourcesFileSearch", "namespace": "OpenAI", @@ -27205,13 +28571,13 @@ "decorators": [], "properties": [ { - "$id": "2526", + "$id": "2636", "kind": "property", "name": "vector_store_ids", "serializedName": "vector_store_ids", "doc": "The [vector store](/docs/api-reference/vector-stores/object) attached to this assistant.\nThere can be a maximum of 1 vector store attached to the assistant.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -27227,17 +28593,17 @@ "isHttpMetadata": false }, { - "$id": "2527", + "$id": "2637", "kind": "property", "name": "vector_stores", "serializedName": "vector_stores", "doc": "A helper to create a [vector store](/docs/api-reference/vector-stores/object) with\nfile_ids and attach it to this assistant. There can be a maximum of 1 vector store\nattached to the assistant.", "type": { - "$id": "2528", + "$id": "2638", "kind": "array", "name": "Array1", "valueType": { - "$id": "2529", + "$id": "2639", "kind": "model", "name": "ToolResourcesFileSearchVectorStore", "namespace": "OpenAI", @@ -27246,13 +28612,13 @@ "decorators": [], "properties": [ { - "$id": "2530", + "$id": "2640", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [file](/docs/api-reference/files) IDs to add to the vector store. There can be\na maximum of 10000 files in a vector store.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -27268,13 +28634,13 @@ "isHttpMetadata": false }, { - "$id": "2531", + "$id": "2641", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "doc": "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty.", "type": { - "$id": "2532", + "$id": "2642", "kind": "model", "name": "ChunkingStrategyRequestParam", "namespace": "OpenAI", @@ -27283,7 +28649,7 @@ "doc": "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy.", "decorators": [], "discriminatorProperty": { - "$id": "2533", + "$id": "2643", "kind": "property", "name": "type", "serializedName": "type", @@ -27306,12 +28672,12 @@ }, "properties": [ { - "$ref": "2533" + "$ref": "2643" } ], "discriminatedSubtypes": { "auto": { - "$id": "2534", + "$id": "2644", "kind": "model", "name": "AutoChunkingStrategyRequestParam", "namespace": "OpenAI", @@ -27321,17 +28687,17 @@ "discriminatorValue": "auto", "decorators": [], "baseModel": { - "$ref": "2532" + "$ref": "2642" }, "properties": [ { - "$id": "2535", + "$id": "2645", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `auto`.", "type": { - "$id": "2536", + "$id": "2646", "kind": "enumvalue", "name": "auto", "value": "auto", @@ -27339,14 +28705,14 @@ "$ref": "60" }, "enumType": { - "$id": "2537", + "$id": "2647", "kind": "enum", "decorators": [], "name": "ChunkingStrategyRequestParamType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "2538", + "$id": "2648", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -27355,29 +28721,29 @@ }, "values": [ { - "$id": "2539", + "$id": "2649", "kind": "enumvalue", "decorators": [], "name": "auto", "value": "auto", "valueType": { - "$ref": "2538" + "$ref": "2648" }, "enumType": { - "$ref": "2537" + "$ref": "2647" } }, { - "$id": "2540", + "$id": "2650", "kind": "enumvalue", "decorators": [], "name": "static", "value": "static", "valueType": { - "$ref": "2538" + "$ref": "2648" }, "enumType": { - "$ref": "2537" + "$ref": "2647" } } ], @@ -27408,7 +28774,7 @@ ] }, "static": { - "$id": "2541", + "$id": "2651", "kind": "model", "name": "StaticChunkingStrategyRequestParam", "namespace": "OpenAI", @@ -27418,17 +28784,17 @@ "discriminatorValue": "static", "decorators": [], "baseModel": { - "$ref": "2532" + "$ref": "2642" }, "properties": [ { - "$id": "2542", + "$id": "2652", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `static`.", "type": { - "$id": "2543", + "$id": "2653", "kind": "enumvalue", "name": "static", "value": "static", @@ -27436,7 +28802,7 @@ "$ref": "60" }, "enumType": { - "$ref": "2537" + "$ref": "2647" }, "decorators": [] }, @@ -27454,12 +28820,12 @@ "isHttpMetadata": false }, { - "$id": "2544", + "$id": "2654", "kind": "property", "name": "static", "serializedName": "static", "type": { - "$id": "2545", + "$id": "2655", "kind": "model", "name": "StaticChunkingStrategy", "namespace": "OpenAI", @@ -27468,13 +28834,13 @@ "decorators": [], "properties": [ { - "$id": "2546", + "$id": "2656", "kind": "property", "name": "max_chunk_size_tokens", "serializedName": "max_chunk_size_tokens", "doc": "The maximum number of tokens in each chunk. The default value is `800`. The minimum value is `100` and the maximum value is `4096`.", "type": { - "$id": "2547", + "$id": "2657", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -27494,13 +28860,13 @@ "isHttpMetadata": false }, { - "$id": "2548", + "$id": "2658", "kind": "property", "name": "chunk_overlap_tokens", "serializedName": "chunk_overlap_tokens", "doc": "The number of tokens that overlap between chunks. The default value is `400`.\n\nNote that the overlap must not exceed half of `max_chunk_size_tokens`.", "type": { - "$id": "2549", + "$id": "2659", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -27552,13 +28918,13 @@ "isHttpMetadata": false }, { - "$id": "2550", + "$id": "2660", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -27624,13 +28990,13 @@ "isHttpMetadata": false }, { - "$id": "2551", + "$id": "2661", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -27646,16 +29012,16 @@ "isHttpMetadata": false }, { - "$id": "2552", + "$id": "2662", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.", "type": { - "$id": "2553", + "$id": "2663", "kind": "nullable", "type": { - "$id": "2554", + "$id": "2664", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -27677,16 +29043,16 @@ "isHttpMetadata": false }, { - "$id": "2555", + "$id": "2665", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "type": { - "$id": "2556", + "$id": "2666", "kind": "nullable", "type": { - "$id": "2557", + "$id": "2667", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -27708,15 +29074,15 @@ "isHttpMetadata": false }, { - "$id": "2558", + "$id": "2668", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "2559", + "$id": "2669", "kind": "nullable", "type": { - "$ref": "2456" + "$ref": "2566" }, "namespace": "OpenAI" }, @@ -27736,31 +29102,31 @@ ] }, { - "$ref": "2520" + "$ref": "2630" }, { - "$ref": "2522" + "$ref": "2632" }, { - "$ref": "2525" + "$ref": "2635" }, { - "$ref": "2529" + "$ref": "2639" }, { - "$ref": "2532" + "$ref": "2642" }, { - "$ref": "2534" + "$ref": "2644" }, { - "$ref": "2541" + "$ref": "2651" }, { - "$ref": "2545" + "$ref": "2655" }, { - "$id": "2560", + "$id": "2670", "kind": "model", "name": "ModifyAssistantRequest", "namespace": "OpenAI", @@ -27769,7 +29135,7 @@ "decorators": [], "properties": [ { - "$id": "2561", + "$id": "2671", "kind": "property", "name": "model", "serializedName": "model", @@ -27791,12 +29157,12 @@ "isHttpMetadata": false }, { - "$id": "2562", + "$id": "2672", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "2563", + "$id": "2673", "kind": "nullable", "type": { "$ref": "53" @@ -27817,16 +29183,16 @@ "isHttpMetadata": false }, { - "$id": "2564", + "$id": "2674", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the assistant. The maximum length is 256 characters.", "type": { - "$id": "2565", + "$id": "2675", "kind": "nullable", "type": { - "$id": "2566", + "$id": "2676", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27848,16 +29214,16 @@ "isHttpMetadata": false }, { - "$id": "2567", + "$id": "2677", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the assistant. The maximum length is 512 characters.", "type": { - "$id": "2568", + "$id": "2678", "kind": "nullable", "type": { - "$id": "2569", + "$id": "2679", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27879,16 +29245,16 @@ "isHttpMetadata": false }, { - "$id": "2570", + "$id": "2680", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.", "type": { - "$id": "2571", + "$id": "2681", "kind": "nullable", "type": { - "$id": "2572", + "$id": "2682", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27910,13 +29276,13 @@ "isHttpMetadata": false }, { - "$id": "2573", + "$id": "2683", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`.", "type": { - "$ref": "2395" + "$ref": "2505" }, "optional": true, "readOnly": false, @@ -27932,16 +29298,16 @@ "isHttpMetadata": false }, { - "$id": "2574", + "$id": "2684", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "2575", + "$id": "2685", "kind": "nullable", "type": { - "$id": "2576", + "$id": "2686", "kind": "model", "name": "ModifyAssistantRequestToolResources1", "namespace": "OpenAI", @@ -27950,12 +29316,12 @@ "decorators": [], "properties": [ { - "$id": "2577", + "$id": "2687", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "2578", + "$id": "2688", "kind": "model", "name": "ModifyAssistantRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -27964,13 +29330,13 @@ "decorators": [], "properties": [ { - "$id": "2579", + "$id": "2689", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "Overrides the list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -28001,12 +29367,12 @@ "isHttpMetadata": false }, { - "$id": "2580", + "$id": "2690", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$ref": "2441" + "$ref": "2551" }, "optional": true, "readOnly": false, @@ -28039,13 +29405,13 @@ "isHttpMetadata": false }, { - "$id": "2581", + "$id": "2691", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -28061,16 +29427,16 @@ "isHttpMetadata": false }, { - "$id": "2582", + "$id": "2692", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.", "type": { - "$id": "2583", + "$id": "2693", "kind": "nullable", "type": { - "$id": "2584", + "$id": "2694", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -28092,16 +29458,16 @@ "isHttpMetadata": false }, { - "$id": "2585", + "$id": "2695", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "type": { - "$id": "2586", + "$id": "2696", "kind": "nullable", "type": { - "$id": "2587", + "$id": "2697", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -28123,15 +29489,15 @@ "isHttpMetadata": false }, { - "$id": "2588", + "$id": "2698", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "2589", + "$id": "2699", "kind": "nullable", "type": { - "$ref": "2456" + "$ref": "2566" }, "namespace": "OpenAI" }, @@ -28151,13 +29517,13 @@ ] }, { - "$ref": "2576" + "$ref": "2686" }, { - "$ref": "2578" + "$ref": "2688" }, { - "$id": "2590", + "$id": "2700", "kind": "model", "name": "DeleteAssistantResponse", "namespace": "OpenAI", @@ -28166,12 +29532,12 @@ "decorators": [], "properties": [ { - "$id": "2591", + "$id": "2701", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "2592", + "$id": "2702", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28191,12 +29557,12 @@ "isHttpMetadata": false }, { - "$id": "2593", + "$id": "2703", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "2594", + "$id": "2704", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -28216,12 +29582,12 @@ "isHttpMetadata": false }, { - "$id": "2595", + "$id": "2705", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1526" + "$ref": "1652" }, "optional": false, "readOnly": false, @@ -28239,7 +29605,7 @@ ] }, { - "$id": "2596", + "$id": "2706", "kind": "model", "name": "CreateSpeechRequest", "namespace": "OpenAI", @@ -28248,7 +29614,7 @@ "decorators": [], "properties": [ { - "$id": "2597", + "$id": "2707", "kind": "property", "name": "model", "serializedName": "model", @@ -28270,13 +29636,13 @@ "isHttpMetadata": false }, { - "$id": "2598", + "$id": "2708", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text to generate audio for. The maximum length is 4096 characters.", "type": { - "$id": "2599", + "$id": "2709", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28296,13 +29662,13 @@ "isHttpMetadata": false }, { - "$id": "2600", + "$id": "2710", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Control the voice of your generated audio with additional instructions. Does not work with `tts-1` or `tts-1-hd`.", "type": { - "$id": "2601", + "$id": "2711", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28322,7 +29688,7 @@ "isHttpMetadata": false }, { - "$id": "2602", + "$id": "2712", "kind": "property", "name": "voice", "serializedName": "voice", @@ -28344,7 +29710,7 @@ "isHttpMetadata": false }, { - "$id": "2603", + "$id": "2713", "kind": "property", "name": "response_format", "serializedName": "response_format", @@ -28366,13 +29732,13 @@ "isHttpMetadata": false }, { - "$id": "2604", + "$id": "2714", "kind": "property", "name": "speed", "serializedName": "speed", "doc": "The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default. Does not work with `gpt-4o-mini-tts`.", "type": { - "$id": "2605", + "$id": "2715", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -28394,7 +29760,7 @@ ] }, { - "$id": "2606", + "$id": "2716", "kind": "model", "name": "CreateTranscriptionRequest", "namespace": "OpenAI", @@ -28403,13 +29769,13 @@ "decorators": [], "properties": [ { - "$id": "2607", + "$id": "2717", "kind": "property", "name": "file", "serializedName": "file", "doc": "The audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.", "type": { - "$id": "2608", + "$id": "2718", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -28436,7 +29802,7 @@ "isHttpMetadata": false }, { - "$id": "2609", + "$id": "2719", "kind": "property", "name": "model", "serializedName": "model", @@ -28464,13 +29830,13 @@ "isHttpMetadata": false }, { - "$id": "2610", + "$id": "2720", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format will improve accuracy and latency.", "type": { - "$id": "2611", + "$id": "2721", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28496,13 +29862,13 @@ "isHttpMetadata": false }, { - "$id": "2612", + "$id": "2722", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should match the audio language.", "type": { - "$id": "2613", + "$id": "2723", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28528,7 +29894,7 @@ "isHttpMetadata": false }, { - "$id": "2614", + "$id": "2724", "kind": "property", "name": "response_format", "serializedName": "response_format", @@ -28555,18 +29921,18 @@ "isHttpMetadata": false }, { - "$id": "2615", + "$id": "2725", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.", "type": { - "$id": "2616", + "$id": "2726", "kind": "float32", "name": "ZeroOrOneFloat", "crossLanguageDefinitionId": "OpenAI.ZeroOrOneFloat", "baseType": { - "$id": "2617", + "$id": "2727", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -28594,13 +29960,13 @@ "isHttpMetadata": false }, { - "$id": "2618", + "$id": "2728", "kind": "property", "name": "include[]", "serializedName": "include[]", "doc": "Additional information to include in the transcription response.\n`logprobs` will return the log probabilities of the tokens in the\nresponse to understand the model's confidence in the transcription.\n`logprobs` only works with response_format set to `json` and only with\nthe models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`.", "type": { - "$id": "2619", + "$id": "2729", "kind": "array", "name": "ArrayTranscriptionInclude", "valueType": { @@ -28629,13 +29995,13 @@ "isHttpMetadata": false }, { - "$id": "2620", + "$id": "2730", "kind": "property", "name": "timestamp_granularities[]", "serializedName": "timestamp_granularities[]", "doc": "The timestamp granularities to populate for this transcription. `response_format` must be set `verbose_json` to use timestamp granularities. Either or both of these options are supported: `word`, or `segment`. Note: There is no additional latency for segment timestamps, but generating word timestamps incurs additional latency.", "type": { - "$id": "2621", + "$id": "2731", "kind": "array", "name": "Array2", "valueType": { @@ -28664,16 +30030,16 @@ "isHttpMetadata": false }, { - "$id": "2622", + "$id": "2732", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If set to true, the model response data will be streamed to the client\nas it is generated using [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).\nSee the [Streaming section of the Speech-to-Text guide](/docs/guides/speech-to-text?lang=curl#streaming-transcriptions)\nfor more information.\n\nNote: Streaming is not supported for the `whisper-1` model and will be ignored.", "type": { - "$id": "2623", + "$id": "2733", "kind": "nullable", "type": { - "$id": "2624", + "$id": "2734", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -28701,16 +30067,16 @@ "isHttpMetadata": false }, { - "$id": "2625", + "$id": "2735", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "doc": "Controls how the audio is cut into chunks. When set to `\"auto\"`, the server first normalizes loudness and then uses voice activity detection (VAD) to choose boundaries. `server_vad` object can be provided to tweak VAD detection parameters manually. If unset, the audio is transcribed as a single block.", "type": { - "$id": "2626", + "$id": "2736", "kind": "nullable", "type": { - "$id": "2627", + "$id": "2737", "kind": "model", "name": "VadConfig", "namespace": "OpenAI", @@ -28719,12 +30085,12 @@ "decorators": [], "properties": [ { - "$id": "2628", + "$id": "2738", "kind": "property", "name": "type", "doc": "Must be set to `server_vad` to enable manual chunking using server side VAD.", "type": { - "$ref": "1528" + "$ref": "1654" }, "optional": false, "readOnly": false, @@ -28736,12 +30102,12 @@ "isHttpMetadata": false }, { - "$id": "2629", + "$id": "2739", "kind": "property", "name": "prefix_padding_ms", "doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds).", "type": { - "$id": "2630", + "$id": "2740", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -28757,12 +30123,12 @@ "isHttpMetadata": false }, { - "$id": "2631", + "$id": "2741", "kind": "property", "name": "silence_duration_ms", "doc": "Duration of silence to detect speech stop (in milliseconds).\nWith shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", "type": { - "$id": "2632", + "$id": "2742", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -28778,12 +30144,12 @@ "isHttpMetadata": false }, { - "$id": "2633", + "$id": "2743", "kind": "property", "name": "threshold", "doc": "Sensitivity threshold (0.0 to 1.0) for voice activity detection. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", "type": { - "$id": "2634", + "$id": "2744", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -28824,10 +30190,10 @@ ] }, { - "$ref": "2627" + "$ref": "2737" }, { - "$id": "2635", + "$id": "2745", "kind": "model", "name": "CreateTranscriptionResponseVerboseJson", "namespace": "OpenAI", @@ -28837,13 +30203,13 @@ "decorators": [], "properties": [ { - "$id": "2636", + "$id": "2746", "kind": "property", "name": "task", "serializedName": "task", "doc": "The task label.", "type": { - "$ref": "1530" + "$ref": "1656" }, "optional": false, "readOnly": false, @@ -28859,13 +30225,13 @@ "isHttpMetadata": false }, { - "$id": "2637", + "$id": "2747", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the input audio.", "type": { - "$id": "2638", + "$id": "2748", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28885,18 +30251,18 @@ "isHttpMetadata": false }, { - "$id": "2639", + "$id": "2749", "kind": "property", "name": "duration", "serializedName": "duration", "doc": "The duration of the input audio.", "type": { - "$id": "2640", + "$id": "2750", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "2641", + "$id": "2751", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -28919,13 +30285,13 @@ "isHttpMetadata": false }, { - "$id": "2642", + "$id": "2752", "kind": "property", "name": "text", "serializedName": "text", "doc": "The transcribed text.", "type": { - "$id": "2643", + "$id": "2753", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28945,17 +30311,17 @@ "isHttpMetadata": false }, { - "$id": "2644", + "$id": "2754", "kind": "property", "name": "words", "serializedName": "words", "doc": "Extracted words and their corresponding timestamps.", "type": { - "$id": "2645", + "$id": "2755", "kind": "array", "name": "ArrayTranscriptionWord", "valueType": { - "$id": "2646", + "$id": "2756", "kind": "model", "name": "TranscriptionWord", "namespace": "OpenAI", @@ -28964,13 +30330,13 @@ "decorators": [], "properties": [ { - "$id": "2647", + "$id": "2757", "kind": "property", "name": "word", "serializedName": "word", "doc": "The text content of the word.", "type": { - "$id": "2648", + "$id": "2758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28990,18 +30356,18 @@ "isHttpMetadata": false }, { - "$id": "2649", + "$id": "2759", "kind": "property", "name": "start", "serializedName": "start", "doc": "Start time of the word in seconds.", "type": { - "$id": "2650", + "$id": "2760", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "2651", + "$id": "2761", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29024,18 +30390,18 @@ "isHttpMetadata": false }, { - "$id": "2652", + "$id": "2762", "kind": "property", "name": "end", "serializedName": "end", "doc": "End time of the word in seconds.", "type": { - "$id": "2653", + "$id": "2763", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "2654", + "$id": "2764", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29076,17 +30442,17 @@ "isHttpMetadata": false }, { - "$id": "2655", + "$id": "2765", "kind": "property", "name": "segments", "serializedName": "segments", "doc": "Segments of the transcribed text and their corresponding details.", "type": { - "$id": "2656", + "$id": "2766", "kind": "array", "name": "ArrayTranscriptionSegment", "valueType": { - "$id": "2657", + "$id": "2767", "kind": "model", "name": "TranscriptionSegment", "namespace": "OpenAI", @@ -29095,13 +30461,13 @@ "decorators": [], "properties": [ { - "$id": "2658", + "$id": "2768", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier of the segment.", "type": { - "$id": "2659", + "$id": "2769", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -29121,13 +30487,13 @@ "isHttpMetadata": false }, { - "$id": "2660", + "$id": "2770", "kind": "property", "name": "seek", "serializedName": "seek", "doc": "Seek offset of the segment.", "type": { - "$id": "2661", + "$id": "2771", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -29147,18 +30513,18 @@ "isHttpMetadata": false }, { - "$id": "2662", + "$id": "2772", "kind": "property", "name": "start", "serializedName": "start", "doc": "Start time of the segment in seconds.", "type": { - "$id": "2663", + "$id": "2773", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "2664", + "$id": "2774", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29181,18 +30547,18 @@ "isHttpMetadata": false }, { - "$id": "2665", + "$id": "2775", "kind": "property", "name": "end", "serializedName": "end", "doc": "End time of the segment in seconds.", "type": { - "$id": "2666", + "$id": "2776", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "2667", + "$id": "2777", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29215,13 +30581,13 @@ "isHttpMetadata": false }, { - "$id": "2668", + "$id": "2778", "kind": "property", "name": "text", "serializedName": "text", "doc": "Text content of the segment.", "type": { - "$id": "2669", + "$id": "2779", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29241,17 +30607,17 @@ "isHttpMetadata": false }, { - "$id": "2670", + "$id": "2780", "kind": "property", "name": "tokens", "serializedName": "tokens", "doc": "Array of token IDs for the text content.", "type": { - "$id": "2671", + "$id": "2781", "kind": "array", "name": "Array3", "valueType": { - "$id": "2672", + "$id": "2782", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -29274,13 +30640,13 @@ "isHttpMetadata": false }, { - "$id": "2673", + "$id": "2783", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Temperature parameter used for generating the segment.", "type": { - "$id": "2674", + "$id": "2784", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29300,13 +30666,13 @@ "isHttpMetadata": false }, { - "$id": "2675", + "$id": "2785", "kind": "property", "name": "avg_logprob", "serializedName": "avg_logprob", "doc": "Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.", "type": { - "$id": "2676", + "$id": "2786", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29326,13 +30692,13 @@ "isHttpMetadata": false }, { - "$id": "2677", + "$id": "2787", "kind": "property", "name": "compression_ratio", "serializedName": "compression_ratio", "doc": "Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.", "type": { - "$id": "2678", + "$id": "2788", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29352,13 +30718,13 @@ "isHttpMetadata": false }, { - "$id": "2679", + "$id": "2789", "kind": "property", "name": "no_speech_prob", "serializedName": "no_speech_prob", "doc": "Probability of no speech in the segment. If the value is higher than 1.0 and the `avg_logprob` is below -1, consider this segment silent.", "type": { - "$id": "2680", + "$id": "2790", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29398,13 +30764,13 @@ ] }, { - "$ref": "2646" + "$ref": "2756" }, { - "$ref": "2657" + "$ref": "2767" }, { - "$id": "2681", + "$id": "2791", "kind": "model", "name": "CreateTranscriptionResponseJson", "namespace": "OpenAI", @@ -29414,13 +30780,13 @@ "decorators": [], "properties": [ { - "$id": "2682", + "$id": "2792", "kind": "property", "name": "text", "serializedName": "text", "doc": "The transcribed text.", "type": { - "$id": "2683", + "$id": "2793", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29440,17 +30806,17 @@ "isHttpMetadata": false }, { - "$id": "2684", + "$id": "2794", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "The log probabilities of the tokens in the transcription. Only returned with the models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` if `logprobs` is added to the `include` array.", "type": { - "$id": "2685", + "$id": "2795", "kind": "array", "name": "Array4", "valueType": { - "$id": "2686", + "$id": "2796", "kind": "model", "name": "CreateTranscriptionResponseJsonLogprob", "namespace": "OpenAI", @@ -29459,13 +30825,13 @@ "decorators": [], "properties": [ { - "$id": "2687", + "$id": "2797", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token in the transcription.", "type": { - "$id": "2688", + "$id": "2798", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29485,13 +30851,13 @@ "isHttpMetadata": false }, { - "$id": "2689", + "$id": "2799", "kind": "property", "name": "logprob", "serializedName": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "2690", + "$id": "2800", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29511,17 +30877,17 @@ "isHttpMetadata": false }, { - "$id": "2691", + "$id": "2801", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "The bytes of the token.", "type": { - "$id": "2692", + "$id": "2802", "kind": "array", "name": "Array5", "valueType": { - "$id": "2693", + "$id": "2803", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29564,10 +30930,10 @@ ] }, { - "$ref": "2686" + "$ref": "2796" }, { - "$id": "2694", + "$id": "2804", "kind": "model", "name": "CreateTranscriptionResponseStreamEvent", "namespace": "OpenAI", @@ -29575,7 +30941,7 @@ "usage": "Output", "decorators": [], "discriminatorProperty": { - "$id": "2695", + "$id": "2805", "kind": "property", "name": "type", "type": { @@ -29592,12 +30958,12 @@ }, "properties": [ { - "$ref": "2695" + "$ref": "2805" } ], "discriminatedSubtypes": { "transcript.text.delta": { - "$id": "2696", + "$id": "2806", "kind": "model", "name": "TranscriptTextDeltaEvent", "namespace": "OpenAI", @@ -29607,16 +30973,16 @@ "discriminatorValue": "transcript.text.delta", "decorators": [], "baseModel": { - "$ref": "2694" + "$ref": "2804" }, "properties": [ { - "$id": "2697", + "$id": "2807", "kind": "property", "name": "type", "doc": "The type of the event. Always `transcript.text.delta`.", "type": { - "$id": "2698", + "$id": "2808", "kind": "enumvalue", "name": "transcript_text_delta", "value": "transcript.text.delta", @@ -29624,14 +30990,14 @@ "$ref": "109" }, "enumType": { - "$id": "2699", + "$id": "2809", "kind": "enum", "decorators": [], "name": "CreateTranscriptionResponseStreamEventType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "2700", + "$id": "2810", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -29640,29 +31006,29 @@ }, "values": [ { - "$id": "2701", + "$id": "2811", "kind": "enumvalue", "decorators": [], "name": "transcript_text_delta", "value": "transcript.text.delta", "valueType": { - "$ref": "2700" + "$ref": "2810" }, "enumType": { - "$ref": "2699" + "$ref": "2809" } }, { - "$id": "2702", + "$id": "2812", "kind": "enumvalue", "decorators": [], "name": "transcript_text_done", "value": "transcript.text.done", "valueType": { - "$ref": "2700" + "$ref": "2810" }, "enumType": { - "$ref": "2699" + "$ref": "2809" } } ], @@ -29687,12 +31053,12 @@ "isHttpMetadata": false }, { - "$id": "2703", + "$id": "2813", "kind": "property", "name": "delta", "doc": "The text delta that was additionally transcribed.", "type": { - "$id": "2704", + "$id": "2814", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29708,16 +31074,16 @@ "isHttpMetadata": false }, { - "$id": "2705", + "$id": "2815", "kind": "property", "name": "logprobs", "doc": "The log probabilities of the delta. Only included if you [create a transcription](/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`.", "type": { - "$id": "2706", + "$id": "2816", "kind": "array", "name": "Array6", "valueType": { - "$id": "2707", + "$id": "2817", "kind": "model", "name": "TranscriptTextDeltaEventLogprob", "namespace": "OpenAI", @@ -29726,12 +31092,12 @@ "decorators": [], "properties": [ { - "$id": "2708", + "$id": "2818", "kind": "property", "name": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "2709", + "$id": "2819", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29747,12 +31113,12 @@ "isHttpMetadata": false }, { - "$id": "2710", + "$id": "2820", "kind": "property", "name": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "2711", + "$id": "2821", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29768,12 +31134,12 @@ "isHttpMetadata": false }, { - "$id": "2712", + "$id": "2822", "kind": "property", "name": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { - "$ref": "2671" + "$ref": "2781" }, "optional": true, "readOnly": false, @@ -29801,7 +31167,7 @@ ] }, "transcript.text.done": { - "$id": "2713", + "$id": "2823", "kind": "model", "name": "TranscriptTextDoneEvent", "namespace": "OpenAI", @@ -29811,16 +31177,16 @@ "discriminatorValue": "transcript.text.done", "decorators": [], "baseModel": { - "$ref": "2694" + "$ref": "2804" }, "properties": [ { - "$id": "2714", + "$id": "2824", "kind": "property", "name": "type", "doc": "The type of the event. Always `transcript.text.done`.", "type": { - "$id": "2715", + "$id": "2825", "kind": "enumvalue", "name": "transcript_text_done", "value": "transcript.text.done", @@ -29828,7 +31194,7 @@ "$ref": "109" }, "enumType": { - "$ref": "2699" + "$ref": "2809" }, "decorators": [] }, @@ -29842,12 +31208,12 @@ "isHttpMetadata": false }, { - "$id": "2716", + "$id": "2826", "kind": "property", "name": "text", "doc": "The text that was transcribed.", "type": { - "$id": "2717", + "$id": "2827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29863,16 +31229,16 @@ "isHttpMetadata": false }, { - "$id": "2718", + "$id": "2828", "kind": "property", "name": "logprobs", "doc": "The log probabilities of the individual tokens in the transcription. Only included if you [create a transcription](/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`.", "type": { - "$id": "2719", + "$id": "2829", "kind": "array", "name": "Array7", "valueType": { - "$id": "2720", + "$id": "2830", "kind": "model", "name": "TranscriptTextDoneEventLogprob", "namespace": "OpenAI", @@ -29881,12 +31247,12 @@ "decorators": [], "properties": [ { - "$id": "2721", + "$id": "2831", "kind": "property", "name": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "2722", + "$id": "2832", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29902,12 +31268,12 @@ "isHttpMetadata": false }, { - "$id": "2723", + "$id": "2833", "kind": "property", "name": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "2724", + "$id": "2834", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29923,12 +31289,12 @@ "isHttpMetadata": false }, { - "$id": "2725", + "$id": "2835", "kind": "property", "name": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { - "$ref": "2671" + "$ref": "2781" }, "optional": true, "readOnly": false, @@ -29958,19 +31324,19 @@ } }, { - "$ref": "2696" + "$ref": "2806" }, { - "$ref": "2707" + "$ref": "2817" }, { - "$ref": "2713" + "$ref": "2823" }, { - "$ref": "2720" + "$ref": "2830" }, { - "$id": "2726", + "$id": "2836", "kind": "model", "name": "CreateTranslationRequest", "namespace": "OpenAI", @@ -29979,13 +31345,13 @@ "decorators": [], "properties": [ { - "$id": "2727", + "$id": "2837", "kind": "property", "name": "file", "serializedName": "file", "doc": "The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.", "type": { - "$id": "2728", + "$id": "2838", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -30012,7 +31378,7 @@ "isHttpMetadata": false }, { - "$id": "2729", + "$id": "2839", "kind": "property", "name": "model", "serializedName": "model", @@ -30040,13 +31406,13 @@ "isHttpMetadata": false }, { - "$id": "2730", + "$id": "2840", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should be in English.", "type": { - "$id": "2731", + "$id": "2841", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30072,7 +31438,7 @@ "isHttpMetadata": false }, { - "$id": "2732", + "$id": "2842", "kind": "property", "name": "response_format", "serializedName": "response_format", @@ -30100,18 +31466,18 @@ "isHttpMetadata": false }, { - "$id": "2733", + "$id": "2843", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.", "type": { - "$id": "2734", + "$id": "2844", "kind": "float32", "name": "ZeroOrOneFloat", "crossLanguageDefinitionId": "OpenAI.ZeroOrOneFloat", "baseType": { - "$id": "2735", + "$id": "2845", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -30141,7 +31507,7 @@ ] }, { - "$id": "2736", + "$id": "2846", "kind": "model", "name": "CreateTranslationResponseVerboseJson", "namespace": "OpenAI", @@ -30150,13 +31516,13 @@ "decorators": [], "properties": [ { - "$id": "2737", + "$id": "2847", "kind": "property", "name": "task", "serializedName": "task", "doc": "The task label.", "type": { - "$ref": "1532" + "$ref": "1658" }, "optional": false, "readOnly": false, @@ -30172,13 +31538,13 @@ "isHttpMetadata": false }, { - "$id": "2738", + "$id": "2848", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the output translation (always `english`).", "type": { - "$id": "2739", + "$id": "2849", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30198,18 +31564,18 @@ "isHttpMetadata": false }, { - "$id": "2740", + "$id": "2850", "kind": "property", "name": "duration", "serializedName": "duration", "doc": "The duration of the input audio.", "type": { - "$id": "2741", + "$id": "2851", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "2742", + "$id": "2852", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -30232,13 +31598,13 @@ "isHttpMetadata": false }, { - "$id": "2743", + "$id": "2853", "kind": "property", "name": "text", "serializedName": "text", "doc": "The translated text.", "type": { - "$id": "2744", + "$id": "2854", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30258,13 +31624,13 @@ "isHttpMetadata": false }, { - "$id": "2745", + "$id": "2855", "kind": "property", "name": "segments", "serializedName": "segments", "doc": "Segments of the translated text and their corresponding details.", "type": { - "$ref": "2656" + "$ref": "2766" }, "optional": true, "readOnly": true, @@ -30282,7 +31648,7 @@ ] }, { - "$id": "2746", + "$id": "2856", "kind": "model", "name": "CreateTranslationResponseJson", "namespace": "OpenAI", @@ -30291,12 +31657,12 @@ "decorators": [], "properties": [ { - "$id": "2747", + "$id": "2857", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "2748", + "$id": "2858", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30318,7 +31684,7 @@ ] }, { - "$id": "2749", + "$id": "2859", "kind": "model", "name": "CreateBatchRequest", "namespace": "", @@ -30327,13 +31693,13 @@ "decorators": [], "properties": [ { - "$id": "2750", + "$id": "2860", "kind": "property", "name": "input_file_id", "serializedName": "input_file_id", "doc": "The ID of an uploaded file that contains requests for the new batch.\n\nSee [upload file](/docs/api-reference/files/create) for how to upload a file.\n\nYour input file must be formatted as a [JSONL file](/docs/api-reference/batch/requestInput),\nand must be uploaded with the purpose `batch`.", "type": { - "$id": "2751", + "$id": "2861", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30353,7 +31719,7 @@ "isHttpMetadata": false }, { - "$id": "2752", + "$id": "2862", "kind": "property", "name": "endpoint", "serializedName": "endpoint", @@ -30375,13 +31741,13 @@ "isHttpMetadata": false }, { - "$id": "2753", + "$id": "2863", "kind": "property", "name": "completion_window", "serializedName": "completion_window", "doc": "The time frame within which the batch should be processed. Currently only `24h` is supported.", "type": { - "$ref": "1534" + "$ref": "1660" }, "optional": false, "readOnly": false, @@ -30397,13 +31763,13 @@ "isHttpMetadata": false }, { - "$id": "2754", + "$id": "2864", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -30421,7 +31787,7 @@ ] }, { - "$id": "2755", + "$id": "2865", "kind": "model", "name": "Batch", "namespace": "OpenAI", @@ -30430,12 +31796,12 @@ "decorators": [], "properties": [ { - "$id": "2756", + "$id": "2866", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "2757", + "$id": "2867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30455,13 +31821,13 @@ "isHttpMetadata": false }, { - "$id": "2758", + "$id": "2868", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `batch`.", "type": { - "$ref": "1536" + "$ref": "1662" }, "optional": false, "readOnly": false, @@ -30477,13 +31843,13 @@ "isHttpMetadata": false }, { - "$id": "2759", + "$id": "2869", "kind": "property", "name": "endpoint", "serializedName": "endpoint", "doc": "The OpenAI API endpoint used by the batch.", "type": { - "$id": "2760", + "$id": "2870", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30503,12 +31869,12 @@ "isHttpMetadata": false }, { - "$id": "2761", + "$id": "2871", "kind": "property", "name": "errors", "serializedName": "errors", "type": { - "$id": "2762", + "$id": "2872", "kind": "model", "name": "BatchErrors", "namespace": "OpenAI", @@ -30517,7 +31883,7 @@ "decorators": [], "properties": [ { - "$id": "2763", + "$id": "2873", "kind": "property", "name": "object", "serializedName": "object", @@ -30539,16 +31905,16 @@ "isHttpMetadata": false }, { - "$id": "2764", + "$id": "2874", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "2765", + "$id": "2875", "kind": "array", "name": "Array8", "valueType": { - "$id": "2766", + "$id": "2876", "kind": "model", "name": "BatchErrorsDatum", "namespace": "OpenAI", @@ -30557,13 +31923,13 @@ "decorators": [], "properties": [ { - "$id": "2767", + "$id": "2877", "kind": "property", "name": "code", "serializedName": "code", "doc": "An error code identifying the error type.", "type": { - "$id": "2768", + "$id": "2878", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30583,13 +31949,13 @@ "isHttpMetadata": false }, { - "$id": "2769", + "$id": "2879", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable message providing more details about the error.", "type": { - "$id": "2770", + "$id": "2880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30609,16 +31975,16 @@ "isHttpMetadata": false }, { - "$id": "2771", + "$id": "2881", "kind": "property", "name": "param", "serializedName": "param", "doc": "The name of the parameter that caused the error, if applicable.", "type": { - "$id": "2772", + "$id": "2882", "kind": "nullable", "type": { - "$id": "2773", + "$id": "2883", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30640,16 +32006,16 @@ "isHttpMetadata": false }, { - "$id": "2774", + "$id": "2884", "kind": "property", "name": "line", "serializedName": "line", "doc": "The line number of the input file where the error occurred, if applicable.", "type": { - "$id": "2775", + "$id": "2885", "kind": "nullable", "type": { - "$id": "2776", + "$id": "2886", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30704,13 +32070,13 @@ "isHttpMetadata": false }, { - "$id": "2777", + "$id": "2887", "kind": "property", "name": "input_file_id", "serializedName": "input_file_id", "doc": "The ID of the input file for the batch.", "type": { - "$id": "2778", + "$id": "2888", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30730,13 +32096,13 @@ "isHttpMetadata": false }, { - "$id": "2779", + "$id": "2889", "kind": "property", "name": "completion_window", "serializedName": "completion_window", "doc": "The time frame within which the batch should be processed.", "type": { - "$id": "2780", + "$id": "2890", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30756,7 +32122,7 @@ "isHttpMetadata": false }, { - "$id": "2781", + "$id": "2891", "kind": "property", "name": "status", "serializedName": "status", @@ -30778,13 +32144,13 @@ "isHttpMetadata": false }, { - "$id": "2782", + "$id": "2892", "kind": "property", "name": "output_file_id", "serializedName": "output_file_id", "doc": "The ID of the file containing the outputs of successfully executed requests.", "type": { - "$id": "2783", + "$id": "2893", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30804,13 +32170,13 @@ "isHttpMetadata": false }, { - "$id": "2784", + "$id": "2894", "kind": "property", "name": "error_file_id", "serializedName": "error_file_id", "doc": "The ID of the file containing the outputs of requests with errors.", "type": { - "$id": "2785", + "$id": "2895", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30830,18 +32196,18 @@ "isHttpMetadata": false }, { - "$id": "2786", + "$id": "2896", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the batch was created.", "type": { - "$id": "2787", + "$id": "2897", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2788", + "$id": "2898", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30864,18 +32230,18 @@ "isHttpMetadata": false }, { - "$id": "2789", + "$id": "2899", "kind": "property", "name": "in_progress_at", "serializedName": "in_progress_at", "doc": "The Unix timestamp (in seconds) for when the batch started processing.", "type": { - "$id": "2790", + "$id": "2900", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2791", + "$id": "2901", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30898,18 +32264,18 @@ "isHttpMetadata": false }, { - "$id": "2792", + "$id": "2902", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the batch will expire.", "type": { - "$id": "2793", + "$id": "2903", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2794", + "$id": "2904", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30932,18 +32298,18 @@ "isHttpMetadata": false }, { - "$id": "2795", + "$id": "2905", "kind": "property", "name": "finalizing_at", "serializedName": "finalizing_at", "doc": "The Unix timestamp (in seconds) for when the batch started finalizing.", "type": { - "$id": "2796", + "$id": "2906", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2797", + "$id": "2907", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30966,18 +32332,18 @@ "isHttpMetadata": false }, { - "$id": "2798", + "$id": "2908", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the batch was completed.", "type": { - "$id": "2799", + "$id": "2909", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2800", + "$id": "2910", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31000,18 +32366,18 @@ "isHttpMetadata": false }, { - "$id": "2801", + "$id": "2911", "kind": "property", "name": "failed_at", "serializedName": "failed_at", "doc": "The Unix timestamp (in seconds) for when the batch failed.", "type": { - "$id": "2802", + "$id": "2912", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2803", + "$id": "2913", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31034,18 +32400,18 @@ "isHttpMetadata": false }, { - "$id": "2804", + "$id": "2914", "kind": "property", "name": "expired_at", "serializedName": "expired_at", "doc": "The Unix timestamp (in seconds) for when the batch expired.", "type": { - "$id": "2805", + "$id": "2915", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2806", + "$id": "2916", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31068,18 +32434,18 @@ "isHttpMetadata": false }, { - "$id": "2807", + "$id": "2917", "kind": "property", "name": "cancelling_at", "serializedName": "cancelling_at", "doc": "The Unix timestamp (in seconds) for when the batch started cancelling.", "type": { - "$id": "2808", + "$id": "2918", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2809", + "$id": "2919", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31102,18 +32468,18 @@ "isHttpMetadata": false }, { - "$id": "2810", + "$id": "2920", "kind": "property", "name": "cancelled_at", "serializedName": "cancelled_at", "doc": "The Unix timestamp (in seconds) for when the batch was cancelled.", "type": { - "$id": "2811", + "$id": "2921", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2812", + "$id": "2922", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31136,13 +32502,13 @@ "isHttpMetadata": false }, { - "$id": "2813", + "$id": "2923", "kind": "property", "name": "request_counts", "serializedName": "request_counts", "doc": "The request counts for different statuses within the batch.", "type": { - "$id": "2814", + "$id": "2924", "kind": "model", "name": "BatchRequestCounts", "namespace": "OpenAI", @@ -31151,13 +32517,13 @@ "decorators": [], "properties": [ { - "$id": "2815", + "$id": "2925", "kind": "property", "name": "total", "serializedName": "total", "doc": "Total number of requests in the batch.", "type": { - "$id": "2816", + "$id": "2926", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31177,13 +32543,13 @@ "isHttpMetadata": false }, { - "$id": "2817", + "$id": "2927", "kind": "property", "name": "completed", "serializedName": "completed", "doc": "Number of requests that have been completed successfully.", "type": { - "$id": "2818", + "$id": "2928", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31203,13 +32569,13 @@ "isHttpMetadata": false }, { - "$id": "2819", + "$id": "2929", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "Number of requests that have failed.", "type": { - "$id": "2820", + "$id": "2930", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31244,13 +32610,13 @@ "isHttpMetadata": false }, { - "$id": "2821", + "$id": "2931", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -31268,16 +32634,16 @@ ] }, { - "$ref": "2762" + "$ref": "2872" }, { - "$ref": "2766" + "$ref": "2876" }, { - "$ref": "2814" + "$ref": "2924" }, { - "$id": "2822", + "$id": "2932", "kind": "model", "name": "ListBatchesResponse", "namespace": "OpenAI", @@ -31286,16 +32652,16 @@ "decorators": [], "properties": [ { - "$id": "2823", + "$id": "2933", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "2824", + "$id": "2934", "kind": "array", "name": "ArrayBatch", "valueType": { - "$ref": "2755" + "$ref": "2865" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -31314,12 +32680,12 @@ "isHttpMetadata": false }, { - "$id": "2825", + "$id": "2935", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "2826", + "$id": "2936", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31339,12 +32705,12 @@ "isHttpMetadata": false }, { - "$id": "2827", + "$id": "2937", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "2828", + "$id": "2938", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31364,12 +32730,12 @@ "isHttpMetadata": false }, { - "$id": "2829", + "$id": "2939", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "2830", + "$id": "2940", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -31389,12 +32755,12 @@ "isHttpMetadata": false }, { - "$id": "2831", + "$id": "2941", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1538" + "$ref": "1664" }, "optional": false, "readOnly": false, @@ -31412,7 +32778,7 @@ ] }, { - "$id": "2832", + "$id": "2942", "kind": "model", "name": "ChatCompletionList", "namespace": "OpenAI", @@ -31427,13 +32793,13 @@ ], "properties": [ { - "$id": "2833", + "$id": "2943", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1540" + "$ref": "1666" }, "optional": false, "readOnly": false, @@ -31449,17 +32815,17 @@ "isHttpMetadata": false }, { - "$id": "2834", + "$id": "2944", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of chat completion objects.", "type": { - "$id": "2835", + "$id": "2945", "kind": "array", "name": "ArrayCreateChatCompletionResponse", "valueType": { - "$id": "2836", + "$id": "2946", "kind": "model", "name": "CreateChatCompletionResponse", "namespace": "OpenAI", @@ -31474,13 +32840,13 @@ ], "properties": [ { - "$id": "2837", + "$id": "2947", "kind": "property", "name": "id", "serializedName": "id", "doc": "A unique identifier for the chat completion.", "type": { - "$id": "2838", + "$id": "2948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31500,17 +32866,17 @@ "isHttpMetadata": false }, { - "$id": "2839", + "$id": "2949", "kind": "property", "name": "choices", "serializedName": "choices", "doc": "A list of chat completion choices. Can be more than one if `n` is greater than 1.", "type": { - "$id": "2840", + "$id": "2950", "kind": "array", "name": "Array9", "valueType": { - "$id": "2841", + "$id": "2951", "kind": "model", "name": "CreateChatCompletionResponseChoice", "namespace": "OpenAI", @@ -31519,7 +32885,7 @@ "decorators": [], "properties": [ { - "$id": "2842", + "$id": "2952", "kind": "property", "name": "finish_reason", "serializedName": "finish_reason", @@ -31541,13 +32907,13 @@ "isHttpMetadata": false }, { - "$id": "2843", + "$id": "2953", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index of the choice in the list of choices.", "type": { - "$id": "2844", + "$id": "2954", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31567,12 +32933,12 @@ "isHttpMetadata": false }, { - "$id": "2845", + "$id": "2955", "kind": "property", "name": "message", "serializedName": "message", "type": { - "$id": "2846", + "$id": "2956", "kind": "model", "name": "ChatCompletionResponseMessage", "namespace": "OpenAI", @@ -31587,16 +32953,16 @@ ], "properties": [ { - "$id": "2847", + "$id": "2957", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the message.", "type": { - "$id": "2848", + "$id": "2958", "kind": "nullable", "type": { - "$id": "2849", + "$id": "2959", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31618,16 +32984,16 @@ "isHttpMetadata": false }, { - "$id": "2850", + "$id": "2960", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal message generated by the model.", "type": { - "$id": "2851", + "$id": "2961", "kind": "nullable", "type": { - "$id": "2852", + "$id": "2962", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31649,16 +33015,16 @@ "isHttpMetadata": false }, { - "$id": "2853", + "$id": "2963", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "type": { - "$id": "2854", + "$id": "2964", "kind": "array", "name": "ChatCompletionMessageToolCalls", "valueType": { - "$id": "2855", + "$id": "2965", "kind": "model", "name": "ChatCompletionMessageToolCall", "namespace": "OpenAI", @@ -31672,13 +33038,13 @@ ], "properties": [ { - "$id": "2856", + "$id": "2966", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the tool call.", "type": { - "$id": "2857", + "$id": "2967", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31698,28 +33064,28 @@ "isHttpMetadata": false }, { - "$id": "2858", + "$id": "2968", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the tool. Currently, only `function` is supported.", "type": { - "$id": "2859", + "$id": "2969", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "1418" + "$ref": "1544" }, "enumType": { - "$id": "2860", + "$id": "2970", "kind": "enum", "decorators": [], "name": "ChatToolCallKind", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "2861", + "$id": "2971", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -31728,16 +33094,16 @@ }, "values": [ { - "$id": "2862", + "$id": "2972", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "enumType": { - "$ref": "2860" + "$ref": "2970" }, "valueType": { - "$ref": "2861" + "$ref": "2971" } } ], @@ -31766,13 +33132,13 @@ "isHttpMetadata": false }, { - "$id": "2863", + "$id": "2973", "kind": "property", "name": "function", "serializedName": "function", "doc": "The function that the model called.", "type": { - "$id": "2864", + "$id": "2974", "kind": "model", "name": "ChatCompletionMessageToolCallFunction", "namespace": "OpenAI", @@ -31781,13 +33147,13 @@ "decorators": [], "properties": [ { - "$id": "2865", + "$id": "2975", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "2866", + "$id": "2976", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31807,13 +33173,13 @@ "isHttpMetadata": false }, { - "$id": "2867", + "$id": "2977", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.", "type": { - "$id": "2868", + "$id": "2978", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31871,17 +33237,17 @@ "isHttpMetadata": false }, { - "$id": "2869", + "$id": "2979", "kind": "property", "name": "annotations", "serializedName": "annotations", "doc": "Annotations for the message, when applicable, as when using the\n[web search tool](/docs/guides/tools-web-search?api-mode=chat).", "type": { - "$id": "2870", + "$id": "2980", "kind": "array", "name": "Array10", "valueType": { - "$id": "2871", + "$id": "2981", "kind": "model", "name": "ChatCompletionResponseMessageAnnotation", "namespace": "OpenAI", @@ -31890,13 +33256,13 @@ "decorators": [], "properties": [ { - "$id": "2872", + "$id": "2982", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the URL citation. Always `url_citation`.", "type": { - "$ref": "1542" + "$ref": "1668" }, "optional": false, "readOnly": false, @@ -31912,13 +33278,13 @@ "isHttpMetadata": false }, { - "$id": "2873", + "$id": "2983", "kind": "property", "name": "url_citation", "serializedName": "url_citation", "doc": "A URL citation when using web search.", "type": { - "$id": "2874", + "$id": "2984", "kind": "model", "name": "ChatCompletionResponseMessageAnnotationUrlCitation", "namespace": "OpenAI", @@ -31927,13 +33293,13 @@ "decorators": [], "properties": [ { - "$id": "2875", + "$id": "2985", "kind": "property", "name": "end_index", "serializedName": "end_index", "doc": "The index of the last character of the URL citation in the message.", "type": { - "$id": "2876", + "$id": "2986", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31953,13 +33319,13 @@ "isHttpMetadata": false }, { - "$id": "2877", + "$id": "2987", "kind": "property", "name": "start_index", "serializedName": "start_index", "doc": "The index of the first character of the URL citation in the message.", "type": { - "$id": "2878", + "$id": "2988", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31979,13 +33345,13 @@ "isHttpMetadata": false }, { - "$id": "2879", + "$id": "2989", "kind": "property", "name": "url", "serializedName": "url", "doc": "The URL of the web resource.", "type": { - "$id": "2880", + "$id": "2990", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -32005,13 +33371,13 @@ "isHttpMetadata": false }, { - "$id": "2881", + "$id": "2991", "kind": "property", "name": "title", "serializedName": "title", "doc": "The title of the web resource.", "type": { - "$id": "2882", + "$id": "2992", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32064,13 +33430,13 @@ "isHttpMetadata": false }, { - "$id": "2883", + "$id": "2993", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the author of this message.", "type": { - "$id": "2884", + "$id": "2994", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -32078,7 +33444,7 @@ "$ref": "154" }, "enumType": { - "$id": "2885", + "$id": "2995", "kind": "enum", "decorators": [], "doc": "The role of the author of a message", @@ -32086,7 +33452,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "2886", + "$id": "2996", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -32095,81 +33461,81 @@ }, "values": [ { - "$id": "2887", + "$id": "2997", "kind": "enumvalue", "decorators": [], "name": "system", "value": "system", "enumType": { - "$ref": "2885" + "$ref": "2995" }, "valueType": { - "$ref": "2886" + "$ref": "2996" } }, { - "$id": "2888", + "$id": "2998", "kind": "enumvalue", "decorators": [], "name": "developer", "value": "developer", "enumType": { - "$ref": "2885" + "$ref": "2995" }, "valueType": { - "$ref": "2886" + "$ref": "2996" } }, { - "$id": "2889", + "$id": "2999", "kind": "enumvalue", "decorators": [], "name": "user", "value": "user", "enumType": { - "$ref": "2885" + "$ref": "2995" }, "valueType": { - "$ref": "2886" + "$ref": "2996" } }, { - "$id": "2890", + "$id": "3000", "kind": "enumvalue", "decorators": [], "name": "assistant", "value": "assistant", "enumType": { - "$ref": "2885" + "$ref": "2995" }, "valueType": { - "$ref": "2886" + "$ref": "2996" } }, { - "$id": "2891", + "$id": "3001", "kind": "enumvalue", "decorators": [], "name": "tool", "value": "tool", "enumType": { - "$ref": "2885" + "$ref": "2995" }, "valueType": { - "$ref": "2886" + "$ref": "2996" } }, { - "$id": "2892", + "$id": "3002", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "enumType": { - "$ref": "2885" + "$ref": "2995" }, "valueType": { - "$ref": "2886" + "$ref": "2996" } } ], @@ -32198,13 +33564,13 @@ "isHttpMetadata": false }, { - "$id": "2893", + "$id": "3003", "kind": "property", "name": "function_call", "serializedName": "function_call", "doc": "Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.", "type": { - "$id": "2894", + "$id": "3004", "kind": "model", "name": "ChatCompletionResponseMessageFunctionCall", "namespace": "OpenAI", @@ -32213,12 +33579,12 @@ "decorators": [], "properties": [ { - "$id": "2895", + "$id": "3005", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "2896", + "$id": "3006", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32238,12 +33604,12 @@ "isHttpMetadata": false }, { - "$id": "2897", + "$id": "3007", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "2898", + "$id": "3008", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32278,16 +33644,16 @@ "isHttpMetadata": false }, { - "$id": "2899", + "$id": "3009", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "If the audio output modality is requested, this object contains data\nabout the audio response from the model. [Learn more](/docs/guides/audio).", "type": { - "$id": "2900", + "$id": "3010", "kind": "nullable", "type": { - "$id": "2901", + "$id": "3011", "kind": "model", "name": "ChatCompletionResponseMessageAudio1", "namespace": "OpenAI", @@ -32296,13 +33662,13 @@ "decorators": [], "properties": [ { - "$id": "2902", + "$id": "3012", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for this audio response.", "type": { - "$id": "2903", + "$id": "3013", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32322,18 +33688,18 @@ "isHttpMetadata": false }, { - "$id": "2904", + "$id": "3014", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when this audio response will\nno longer be accessible on the server for use in multi-turn\nconversations.", "type": { - "$id": "2905", + "$id": "3015", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2906", + "$id": "3016", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32356,13 +33722,13 @@ "isHttpMetadata": false }, { - "$id": "2907", + "$id": "3017", "kind": "property", "name": "data", "serializedName": "data", "doc": "Base64 encoded audio bytes generated by the model, in the format\nspecified in the request.", "type": { - "$id": "2908", + "$id": "3018", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -32383,13 +33749,13 @@ "isHttpMetadata": false }, { - "$id": "2909", + "$id": "3019", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "Transcript of the audio generated by the model.", "type": { - "$id": "2910", + "$id": "3020", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32441,16 +33807,16 @@ "isHttpMetadata": false }, { - "$id": "2911", + "$id": "3021", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "Log probability information for the choice.", "type": { - "$id": "2912", + "$id": "3022", "kind": "nullable", "type": { - "$id": "2913", + "$id": "3023", "kind": "model", "name": "CreateChatCompletionResponseChoiceLogprobs1", "namespace": "OpenAI", @@ -32459,20 +33825,20 @@ "decorators": [], "properties": [ { - "$id": "2914", + "$id": "3024", "kind": "property", "name": "content", "serializedName": "content", "doc": "A list of message content tokens with log probability information.", "type": { - "$id": "2915", + "$id": "3025", "kind": "nullable", "type": { - "$id": "2916", + "$id": "3026", "kind": "array", "name": "ArrayChatCompletionTokenLogprob", "valueType": { - "$id": "2917", + "$id": "3027", "kind": "model", "name": "ChatCompletionTokenLogprob", "namespace": "OpenAI", @@ -32486,13 +33852,13 @@ ], "properties": [ { - "$id": "2918", + "$id": "3028", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token.", "type": { - "$id": "2919", + "$id": "3029", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32512,13 +33878,13 @@ "isHttpMetadata": false }, { - "$id": "2920", + "$id": "3030", "kind": "property", "name": "logprob", "serializedName": "logprob", "doc": "The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value `-9999.0` is used to signify that the token is very unlikely.", "type": { - "$id": "2921", + "$id": "3031", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -32538,16 +33904,16 @@ "isHttpMetadata": false }, { - "$id": "2922", + "$id": "3032", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "A list of integers representing the UTF-8 bytes representation of the token. Useful in instances where characters are represented by multiple tokens and their byte representations must be combined to generate the correct text representation. Can be `null` if there is no bytes representation for the token.", "type": { - "$id": "2923", + "$id": "3033", "kind": "nullable", "type": { - "$ref": "2671" + "$ref": "2781" }, "namespace": "OpenAI" }, @@ -32565,17 +33931,17 @@ "isHttpMetadata": false }, { - "$id": "2924", + "$id": "3034", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "doc": "List of the most likely tokens and their log probability, at this token position. In rare cases, there may be fewer than the number of requested `top_logprobs` returned.", "type": { - "$id": "2925", + "$id": "3035", "kind": "array", "name": "Array11", "valueType": { - "$id": "2926", + "$id": "3036", "kind": "model", "name": "ChatCompletionTokenLogprobTopLogprob", "namespace": "OpenAI", @@ -32584,13 +33950,13 @@ "decorators": [], "properties": [ { - "$id": "2927", + "$id": "3037", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token.", "type": { - "$id": "2928", + "$id": "3038", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32610,13 +33976,13 @@ "isHttpMetadata": false }, { - "$id": "2929", + "$id": "3039", "kind": "property", "name": "logprob", "serializedName": "logprob", "doc": "The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value `-9999.0` is used to signify that the token is very unlikely.", "type": { - "$id": "2930", + "$id": "3040", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -32636,16 +34002,16 @@ "isHttpMetadata": false }, { - "$id": "2931", + "$id": "3041", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "A list of integers representing the UTF-8 bytes representation of the token. Useful in instances where characters are represented by multiple tokens and their byte representations must be combined to generate the correct text representation. Can be `null` if there is no bytes representation for the token.", "type": { - "$id": "2932", + "$id": "3042", "kind": "nullable", "type": { - "$ref": "2671" + "$ref": "2781" }, "namespace": "OpenAI" }, @@ -32701,16 +34067,16 @@ "isHttpMetadata": false }, { - "$id": "2933", + "$id": "3043", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "A list of message refusal tokens with log probability information.", "type": { - "$id": "2934", + "$id": "3044", "kind": "nullable", "type": { - "$ref": "2916" + "$ref": "3026" }, "namespace": "OpenAI" }, @@ -32763,18 +34129,18 @@ "isHttpMetadata": false }, { - "$id": "2935", + "$id": "3045", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) of when the chat completion was created.", "type": { - "$id": "2936", + "$id": "3046", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2937", + "$id": "3047", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32797,13 +34163,13 @@ "isHttpMetadata": false }, { - "$id": "2938", + "$id": "3048", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used for the chat completion.", "type": { - "$id": "2939", + "$id": "3049", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32823,7 +34189,7 @@ "isHttpMetadata": false }, { - "$id": "2940", + "$id": "3050", "kind": "property", "name": "service_tier", "serializedName": "service_tier", @@ -32844,13 +34210,13 @@ "isHttpMetadata": false }, { - "$id": "2941", + "$id": "3051", "kind": "property", "name": "system_fingerprint", "serializedName": "system_fingerprint", "doc": "This fingerprint represents the backend configuration that the model runs with.\n\nCan be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism.", "type": { - "$id": "2942", + "$id": "3052", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32870,13 +34236,13 @@ "isHttpMetadata": false }, { - "$id": "2943", + "$id": "3053", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `chat.completion`.", "type": { - "$ref": "1544" + "$ref": "1670" }, "optional": false, "readOnly": false, @@ -32892,12 +34258,12 @@ "isHttpMetadata": false }, { - "$id": "2944", + "$id": "3054", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "2945", + "$id": "3055", "kind": "model", "name": "CompletionUsage", "namespace": "OpenAI", @@ -32907,13 +34273,13 @@ "decorators": [], "properties": [ { - "$id": "2946", + "$id": "3056", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "Number of tokens in the generated completion.", "type": { - "$id": "2947", + "$id": "3057", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32933,13 +34299,13 @@ "isHttpMetadata": false }, { - "$id": "2948", + "$id": "3058", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "Number of tokens in the prompt.", "type": { - "$id": "2949", + "$id": "3059", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32959,13 +34325,13 @@ "isHttpMetadata": false }, { - "$id": "2950", + "$id": "3060", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used in the request (prompt + completion).", "type": { - "$id": "2951", + "$id": "3061", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32985,13 +34351,13 @@ "isHttpMetadata": false }, { - "$id": "2952", + "$id": "3062", "kind": "property", "name": "completion_tokens_details", "serializedName": "completion_tokens_details", "doc": "Breakdown of tokens used in a completion.", "type": { - "$id": "2953", + "$id": "3063", "kind": "model", "name": "CompletionUsageCompletionTokensDetails", "namespace": "OpenAI", @@ -33000,13 +34366,13 @@ "decorators": [], "properties": [ { - "$id": "2954", + "$id": "3064", "kind": "property", "name": "accepted_prediction_tokens", "serializedName": "accepted_prediction_tokens", "doc": "When using Predicted Outputs, the number of tokens in the\nprediction that appeared in the completion.", "type": { - "$id": "2955", + "$id": "3065", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33026,13 +34392,13 @@ "isHttpMetadata": false }, { - "$id": "2956", + "$id": "3066", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "Audio input tokens generated by the model.", "type": { - "$id": "2957", + "$id": "3067", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33052,13 +34418,13 @@ "isHttpMetadata": false }, { - "$id": "2958", + "$id": "3068", "kind": "property", "name": "reasoning_tokens", "serializedName": "reasoning_tokens", "doc": "Tokens generated by the model for reasoning.", "type": { - "$id": "2959", + "$id": "3069", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33078,13 +34444,13 @@ "isHttpMetadata": false }, { - "$id": "2960", + "$id": "3070", "kind": "property", "name": "rejected_prediction_tokens", "serializedName": "rejected_prediction_tokens", "doc": "When using Predicted Outputs, the number of tokens in the\nprediction that did not appear in the completion. However, like\nreasoning tokens, these tokens are still counted in the total\ncompletion tokens for purposes of billing, output, and context window\nlimits.", "type": { - "$id": "2961", + "$id": "3071", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33119,13 +34485,13 @@ "isHttpMetadata": false }, { - "$id": "2962", + "$id": "3072", "kind": "property", "name": "prompt_tokens_details", "serializedName": "prompt_tokens_details", "doc": "Breakdown of tokens used in the prompt.", "type": { - "$id": "2963", + "$id": "3073", "kind": "model", "name": "CompletionUsagePromptTokensDetails", "namespace": "OpenAI", @@ -33134,13 +34500,13 @@ "decorators": [], "properties": [ { - "$id": "2964", + "$id": "3074", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "Audio input tokens present in the prompt.", "type": { - "$id": "2965", + "$id": "3075", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33160,13 +34526,13 @@ "isHttpMetadata": false }, { - "$id": "2966", + "$id": "3076", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "Cached tokens present in the prompt.", "type": { - "$id": "2967", + "$id": "3077", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33234,13 +34600,13 @@ "isHttpMetadata": false }, { - "$id": "2968", + "$id": "3078", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first chat completion in the data array.", "type": { - "$id": "2969", + "$id": "3079", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33260,13 +34626,13 @@ "isHttpMetadata": false }, { - "$id": "2970", + "$id": "3080", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last chat completion in the data array.", "type": { - "$id": "2971", + "$id": "3081", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33286,13 +34652,13 @@ "isHttpMetadata": false }, { - "$id": "2972", + "$id": "3082", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more Chat Completions available.", "type": { - "$id": "2973", + "$id": "3083", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -33314,52 +34680,52 @@ ] }, { - "$ref": "2836" + "$ref": "2946" }, { - "$ref": "2841" + "$ref": "2951" }, { - "$ref": "2846" + "$ref": "2956" }, { - "$ref": "2855" + "$ref": "2965" }, { - "$ref": "2864" + "$ref": "2974" }, { - "$ref": "2871" + "$ref": "2981" }, { - "$ref": "2874" + "$ref": "2984" }, { - "$ref": "2894" + "$ref": "3004" }, { - "$ref": "2901" + "$ref": "3011" }, { - "$ref": "2913" + "$ref": "3023" }, { - "$ref": "2917" + "$ref": "3027" }, { - "$ref": "2926" + "$ref": "3036" }, { - "$ref": "2945" + "$ref": "3055" }, { - "$ref": "2953" + "$ref": "3063" }, { - "$ref": "2963" + "$ref": "3073" }, { - "$id": "2974", + "$id": "3084", "kind": "model", "name": "CreateChatCompletionRequest", "namespace": "OpenAI", @@ -33373,13 +34739,13 @@ ], "properties": [ { - "$id": "2975", + "$id": "3085", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -33395,16 +34761,16 @@ "isHttpMetadata": false }, { - "$id": "2976", + "$id": "3086", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.", "type": { - "$id": "2977", + "$id": "3087", "kind": "nullable", "type": { - "$id": "2978", + "$id": "3088", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -33426,16 +34792,16 @@ "isHttpMetadata": false }, { - "$id": "2979", + "$id": "3089", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "doc": "An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability.", "type": { - "$id": "2980", + "$id": "3090", "kind": "nullable", "type": { - "$id": "2981", + "$id": "3091", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33457,16 +34823,16 @@ "isHttpMetadata": false }, { - "$id": "2982", + "$id": "3092", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.", "type": { - "$id": "2983", + "$id": "3093", "kind": "nullable", "type": { - "$id": "2984", + "$id": "3094", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -33488,13 +34854,13 @@ "isHttpMetadata": false }, { - "$id": "2985", + "$id": "3095", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "2986", + "$id": "3096", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33514,13 +34880,13 @@ "isHttpMetadata": false }, { - "$id": "2987", + "$id": "3097", "kind": "property", "name": "safety_identifier", "serializedName": "safety_identifier", "doc": "A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\n The IDs should be a string that uniquely identifies each user. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).", "type": { - "$id": "2988", + "$id": "3098", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33540,7 +34906,7 @@ "isHttpMetadata": false }, { - "$id": "2989", + "$id": "3099", "kind": "property", "name": "service_tier", "serializedName": "service_tier", @@ -33561,17 +34927,17 @@ "isHttpMetadata": false }, { - "$id": "2990", + "$id": "3100", "kind": "property", "name": "messages", "serializedName": "messages", "doc": "A list of messages comprising the conversation so far. Depending on the\n[model](/docs/models) you use, different message types (modalities) are\nsupported, like [text](/docs/guides/text-generation),\n[images](/docs/guides/vision), and [audio](/docs/guides/audio).", "type": { - "$id": "2991", + "$id": "3101", "kind": "array", "name": "ArrayChatCompletionRequestMessage", "valueType": { - "$id": "2992", + "$id": "3102", "kind": "model", "name": "ChatCompletionRequestMessage", "namespace": "OpenAI", @@ -33584,7 +34950,7 @@ } ], "discriminatorProperty": { - "$id": "2993", + "$id": "3103", "kind": "property", "name": "role", "serializedName": "role", @@ -33607,35 +34973,35 @@ }, "properties": [ { - "$ref": "2993" + "$ref": "3103" }, { - "$id": "2994", + "$id": "3104", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message. Valid content part types vary per message role.", "type": { - "$id": "2995", + "$id": "3105", "kind": "nullable", "type": { - "$id": "2996", + "$id": "3106", "kind": "union", "name": "ChatCompletionRequestMessageContent", "variantTypes": [ { - "$id": "2997", + "$id": "3107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "2998", + "$id": "3108", "kind": "array", "name": "ArrayChatCompletionRequestMessageContentPart", "valueType": { - "$id": "2999", + "$id": "3109", "kind": "model", "name": "ChatCompletionRequestMessageContentPart", "namespace": "OpenAI", @@ -33648,7 +35014,7 @@ } ], "discriminatorProperty": { - "$id": "3000", + "$id": "3110", "kind": "property", "name": "type", "serializedName": "type", @@ -33670,12 +35036,12 @@ }, "properties": [ { - "$ref": "3000" + "$ref": "3110" } ], "discriminatedSubtypes": { "text": { - "$id": "3001", + "$id": "3111", "kind": "model", "name": "ChatCompletionRequestMessageContentPartText", "namespace": "OpenAI", @@ -33690,17 +35056,17 @@ } ], "baseModel": { - "$ref": "2999" + "$ref": "3109" }, "properties": [ { - "$id": "3002", + "$id": "3112", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part.", "type": { - "$id": "3003", + "$id": "3113", "kind": "enumvalue", "name": "text", "value": "text", @@ -33708,14 +35074,14 @@ "$ref": "162" }, "enumType": { - "$id": "3004", + "$id": "3114", "kind": "enum", "decorators": [], "name": "ChatCompletionRequestMessageContentPartType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3005", + "$id": "3115", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -33724,68 +35090,68 @@ }, "values": [ { - "$id": "3006", + "$id": "3116", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "3005" + "$ref": "3115" }, "enumType": { - "$ref": "3004" + "$ref": "3114" } }, { - "$id": "3007", + "$id": "3117", "kind": "enumvalue", "decorators": [], "name": "file", "value": "file", "valueType": { - "$ref": "3005" + "$ref": "3115" }, "enumType": { - "$ref": "3004" + "$ref": "3114" } }, { - "$id": "3008", + "$id": "3118", "kind": "enumvalue", "decorators": [], "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "3005" + "$ref": "3115" }, "enumType": { - "$ref": "3004" + "$ref": "3114" } }, { - "$id": "3009", + "$id": "3119", "kind": "enumvalue", "decorators": [], "name": "image_url", "value": "image_url", "valueType": { - "$ref": "3005" + "$ref": "3115" }, "enumType": { - "$ref": "3004" + "$ref": "3114" } }, { - "$id": "3010", + "$id": "3120", "kind": "enumvalue", "decorators": [], "name": "refusal", "value": "refusal", "valueType": { - "$ref": "3005" + "$ref": "3115" }, "enumType": { - "$ref": "3004" + "$ref": "3114" } } ], @@ -33814,13 +35180,13 @@ "isHttpMetadata": false }, { - "$id": "3011", + "$id": "3121", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content.", "type": { - "$id": "3012", + "$id": "3122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33842,7 +35208,7 @@ ] }, "image_url": { - "$id": "3013", + "$id": "3123", "kind": "model", "name": "ChatCompletionRequestMessageContentPartImage", "namespace": "OpenAI", @@ -33857,17 +35223,17 @@ } ], "baseModel": { - "$ref": "2999" + "$ref": "3109" }, "properties": [ { - "$id": "3014", + "$id": "3124", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part.", "type": { - "$id": "3015", + "$id": "3125", "kind": "enumvalue", "name": "image_url", "value": "image_url", @@ -33875,7 +35241,7 @@ "$ref": "162" }, "enumType": { - "$ref": "3004" + "$ref": "3114" }, "decorators": [] }, @@ -33893,12 +35259,12 @@ "isHttpMetadata": false }, { - "$id": "3016", + "$id": "3126", "kind": "property", "name": "image_url", "serializedName": "image_url", "type": { - "$id": "3017", + "$id": "3127", "kind": "model", "name": "ChatCompletionRequestMessageContentPartImageImageUrl", "namespace": "OpenAI", @@ -33907,13 +35273,13 @@ "decorators": [], "properties": [ { - "$id": "3018", + "$id": "3128", "kind": "property", "name": "url", "serializedName": "url", "doc": "Either a URL of the image or the base64 encoded image data.", "type": { - "$id": "3019", + "$id": "3129", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -33933,7 +35299,7 @@ "isHttpMetadata": false }, { - "$id": "3020", + "$id": "3130", "kind": "property", "name": "detail", "serializedName": "detail", @@ -33972,7 +35338,7 @@ ] }, "refusal": { - "$id": "3021", + "$id": "3131", "kind": "model", "name": "ChatCompletionRequestMessageContentPartRefusal", "namespace": "OpenAI", @@ -33986,17 +35352,17 @@ } ], "baseModel": { - "$ref": "2999" + "$ref": "3109" }, "properties": [ { - "$id": "3022", + "$id": "3132", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part.", "type": { - "$id": "3023", + "$id": "3133", "kind": "enumvalue", "name": "refusal", "value": "refusal", @@ -34004,7 +35370,7 @@ "$ref": "162" }, "enumType": { - "$ref": "3004" + "$ref": "3114" }, "decorators": [] }, @@ -34022,13 +35388,13 @@ "isHttpMetadata": false }, { - "$id": "3024", + "$id": "3134", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal message generated by the model.", "type": { - "$id": "3025", + "$id": "3135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34050,7 +35416,7 @@ ] }, "file": { - "$id": "3026", + "$id": "3136", "kind": "model", "name": "ChatCompletionRequestMessageContentPartFile", "namespace": "OpenAI", @@ -34065,17 +35431,17 @@ } ], "baseModel": { - "$ref": "2999" + "$ref": "3109" }, "properties": [ { - "$id": "3027", + "$id": "3137", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part. Always `file`.", "type": { - "$id": "3028", + "$id": "3138", "kind": "enumvalue", "name": "file", "value": "file", @@ -34083,7 +35449,7 @@ "$ref": "162" }, "enumType": { - "$ref": "3004" + "$ref": "3114" }, "decorators": [] }, @@ -34101,12 +35467,12 @@ "isHttpMetadata": false }, { - "$id": "3029", + "$id": "3139", "kind": "property", "name": "file", "serializedName": "file", "type": { - "$id": "3030", + "$id": "3140", "kind": "model", "name": "ChatCompletionRequestMessageContentPartFileFile", "namespace": "OpenAI", @@ -34115,13 +35481,13 @@ "decorators": [], "properties": [ { - "$id": "3031", + "$id": "3141", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file, used when passing the file to the model as a\nstring.", "type": { - "$id": "3032", + "$id": "3142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34141,13 +35507,13 @@ "isHttpMetadata": false }, { - "$id": "3033", + "$id": "3143", "kind": "property", "name": "file_data", "serializedName": "file_data", "doc": "The base64 encoded file data, used when passing the file to the model\nas a string.", "type": { - "$id": "3034", + "$id": "3144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34167,13 +35533,13 @@ "isHttpMetadata": false }, { - "$id": "3035", + "$id": "3145", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of an uploaded file to use as input.", "type": { - "$id": "3036", + "$id": "3146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34210,7 +35576,7 @@ ] }, "input_audio": { - "$id": "3037", + "$id": "3147", "kind": "model", "name": "ChatCompletionRequestMessageContentPartAudio", "namespace": "OpenAI", @@ -34225,17 +35591,17 @@ } ], "baseModel": { - "$ref": "2999" + "$ref": "3109" }, "properties": [ { - "$id": "3038", + "$id": "3148", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part. Always `input_audio`.", "type": { - "$id": "3039", + "$id": "3149", "kind": "enumvalue", "name": "input_audio", "value": "input_audio", @@ -34243,7 +35609,7 @@ "$ref": "162" }, "enumType": { - "$ref": "3004" + "$ref": "3114" }, "decorators": [] }, @@ -34261,12 +35627,12 @@ "isHttpMetadata": false }, { - "$id": "3040", + "$id": "3150", "kind": "property", "name": "input_audio", "serializedName": "input_audio", "type": { - "$id": "3041", + "$id": "3151", "kind": "model", "name": "ChatCompletionRequestMessageContentPartAudioInputAudio", "namespace": "OpenAI", @@ -34275,13 +35641,13 @@ "decorators": [], "properties": [ { - "$id": "3042", + "$id": "3152", "kind": "property", "name": "data", "serializedName": "data", "doc": "Base64 encoded audio data.", "type": { - "$id": "3043", + "$id": "3153", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -34302,7 +35668,7 @@ "isHttpMetadata": false }, { - "$id": "3044", + "$id": "3154", "kind": "property", "name": "format", "serializedName": "format", @@ -34367,7 +35733,7 @@ ], "discriminatedSubtypes": { "system": { - "$id": "3045", + "$id": "3155", "kind": "model", "name": "ChatCompletionRequestSystemMessage", "namespace": "OpenAI", @@ -34382,38 +35748,38 @@ } ], "baseModel": { - "$ref": "2992" + "$ref": "3102" }, "properties": [ { - "$id": "3046", + "$id": "3156", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the system message.", "type": { - "$id": "3047", + "$id": "3157", "kind": "union", "name": "ChatCompletionRequestSystemMessageContent", "variantTypes": [ { - "$id": "3048", + "$id": "3158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3049", + "$id": "3159", "kind": "array", "name": "ArrayChatCompletionRequestSystemMessageContentPart", "valueType": { - "$id": "3050", + "$id": "3160", "kind": "union", "name": "ChatCompletionRequestSystemMessageContentPart", "variantTypes": [ { - "$ref": "3001" + "$ref": "3111" } ], "namespace": "OpenAI", @@ -34440,13 +35806,13 @@ "isHttpMetadata": false }, { - "$id": "3051", + "$id": "3161", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `system`.", "type": { - "$id": "3052", + "$id": "3162", "kind": "enumvalue", "name": "system", "value": "system", @@ -34454,7 +35820,7 @@ "$ref": "154" }, "enumType": { - "$ref": "2885" + "$ref": "2995" }, "decorators": [] }, @@ -34472,13 +35838,13 @@ "isHttpMetadata": false }, { - "$id": "3053", + "$id": "3163", "kind": "property", "name": "name", "serializedName": "name", "doc": "An optional name for the participant. Provides the model information to differentiate between participants of the same role.", "type": { - "$id": "3054", + "$id": "3164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34500,7 +35866,7 @@ ] }, "developer": { - "$id": "3055", + "$id": "3165", "kind": "model", "name": "ChatCompletionRequestDeveloperMessage", "namespace": "OpenAI", @@ -34515,33 +35881,33 @@ } ], "baseModel": { - "$ref": "2992" + "$ref": "3102" }, "properties": [ { - "$id": "3056", + "$id": "3166", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the developer message.", "type": { - "$id": "3057", + "$id": "3167", "kind": "union", "name": "ChatCompletionRequestDeveloperMessageContent", "variantTypes": [ { - "$id": "3058", + "$id": "3168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3059", + "$id": "3169", "kind": "array", "name": "ArrayChatCompletionRequestMessageContentPartText", "valueType": { - "$ref": "3001" + "$ref": "3111" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -34564,13 +35930,13 @@ "isHttpMetadata": false }, { - "$id": "3060", + "$id": "3170", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `developer`.", "type": { - "$id": "3061", + "$id": "3171", "kind": "enumvalue", "name": "developer", "value": "developer", @@ -34578,7 +35944,7 @@ "$ref": "154" }, "enumType": { - "$ref": "2885" + "$ref": "2995" }, "decorators": [] }, @@ -34596,13 +35962,13 @@ "isHttpMetadata": false }, { - "$id": "3062", + "$id": "3172", "kind": "property", "name": "name", "serializedName": "name", "doc": "An optional name for the participant. Provides the model information to differentiate between participants of the same role.", "type": { - "$id": "3063", + "$id": "3173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34624,7 +35990,7 @@ ] }, "user": { - "$id": "3064", + "$id": "3174", "kind": "model", "name": "ChatCompletionRequestUserMessage", "namespace": "OpenAI", @@ -34639,47 +36005,47 @@ } ], "baseModel": { - "$ref": "2992" + "$ref": "3102" }, "properties": [ { - "$id": "3065", + "$id": "3175", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the user message.", "type": { - "$id": "3066", + "$id": "3176", "kind": "union", "name": "ChatCompletionRequestUserMessageContent", "variantTypes": [ { - "$id": "3067", + "$id": "3177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3068", + "$id": "3178", "kind": "array", "name": "ArrayChatCompletionRequestUserMessageContentPart", "valueType": { - "$id": "3069", + "$id": "3179", "kind": "union", "name": "ChatCompletionRequestUserMessageContentPart", "variantTypes": [ { - "$ref": "3001" + "$ref": "3111" }, { - "$ref": "3013" + "$ref": "3123" }, { - "$ref": "3037" + "$ref": "3147" }, { - "$ref": "3026" + "$ref": "3136" } ], "namespace": "OpenAI", @@ -34706,13 +36072,13 @@ "isHttpMetadata": false }, { - "$id": "3070", + "$id": "3180", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `user`.", "type": { - "$id": "3071", + "$id": "3181", "kind": "enumvalue", "name": "user", "value": "user", @@ -34720,7 +36086,7 @@ "$ref": "154" }, "enumType": { - "$ref": "2885" + "$ref": "2995" }, "decorators": [] }, @@ -34738,13 +36104,13 @@ "isHttpMetadata": false }, { - "$id": "3072", + "$id": "3182", "kind": "property", "name": "name", "serializedName": "name", "doc": "An optional name for the participant. Provides the model information to differentiate between participants of the same role.", "type": { - "$id": "3073", + "$id": "3183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34766,7 +36132,7 @@ ] }, "assistant": { - "$id": "3074", + "$id": "3184", "kind": "model", "name": "ChatCompletionRequestAssistantMessage", "namespace": "OpenAI", @@ -34781,44 +36147,44 @@ } ], "baseModel": { - "$ref": "2992" + "$ref": "3102" }, "properties": [ { - "$id": "3075", + "$id": "3185", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.", "type": { - "$id": "3076", + "$id": "3186", "kind": "nullable", "type": { - "$id": "3077", + "$id": "3187", "kind": "union", "name": "ChatCompletionRequestAssistantMessageContent", "variantTypes": [ { - "$id": "3078", + "$id": "3188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3079", + "$id": "3189", "kind": "array", "name": "ArrayChatCompletionRequestAssistantMessageContentPart", "valueType": { - "$id": "3080", + "$id": "3190", "kind": "union", "name": "ChatCompletionRequestAssistantMessageContentPart", "variantTypes": [ { - "$ref": "3001" + "$ref": "3111" }, { - "$ref": "3021" + "$ref": "3131" } ], "namespace": "OpenAI", @@ -34847,16 +36213,16 @@ "isHttpMetadata": false }, { - "$id": "3081", + "$id": "3191", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal message by the assistant.", "type": { - "$id": "3082", + "$id": "3192", "kind": "nullable", "type": { - "$id": "3083", + "$id": "3193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34878,13 +36244,13 @@ "isHttpMetadata": false }, { - "$id": "3084", + "$id": "3194", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `assistant`.", "type": { - "$id": "3085", + "$id": "3195", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -34892,7 +36258,7 @@ "$ref": "154" }, "enumType": { - "$ref": "2885" + "$ref": "2995" }, "decorators": [] }, @@ -34910,13 +36276,13 @@ "isHttpMetadata": false }, { - "$id": "3086", + "$id": "3196", "kind": "property", "name": "name", "serializedName": "name", "doc": "An optional name for the participant. Provides the model information to differentiate between participants of the same role.", "type": { - "$id": "3087", + "$id": "3197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34936,16 +36302,16 @@ "isHttpMetadata": false }, { - "$id": "3088", + "$id": "3198", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Data about a previous audio response from the model.\n[Learn more](/docs/guides/audio).", "type": { - "$id": "3089", + "$id": "3199", "kind": "nullable", "type": { - "$id": "3090", + "$id": "3200", "kind": "model", "name": "ChatCompletionRequestAssistantMessageAudio1", "namespace": "OpenAI", @@ -34954,13 +36320,13 @@ "decorators": [], "properties": [ { - "$id": "3091", + "$id": "3201", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for a previous audio response from the model.", "type": { - "$id": "3092", + "$id": "3202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34997,12 +36363,12 @@ "isHttpMetadata": false }, { - "$id": "3093", + "$id": "3203", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "type": { - "$ref": "2854" + "$ref": "2964" }, "optional": true, "readOnly": false, @@ -35018,16 +36384,16 @@ "isHttpMetadata": false }, { - "$id": "3094", + "$id": "3204", "kind": "property", "name": "function_call", "serializedName": "function_call", "doc": "Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.", "type": { - "$id": "3095", + "$id": "3205", "kind": "nullable", "type": { - "$id": "3096", + "$id": "3206", "kind": "model", "name": "ChatCompletionRequestAssistantMessageFunctionCall1", "namespace": "OpenAI", @@ -35036,12 +36402,12 @@ "decorators": [], "properties": [ { - "$id": "3097", + "$id": "3207", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "3098", + "$id": "3208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35061,12 +36427,12 @@ "isHttpMetadata": false }, { - "$id": "3099", + "$id": "3209", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "3100", + "$id": "3210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35105,7 +36471,7 @@ ] }, "tool": { - "$id": "3101", + "$id": "3211", "kind": "model", "name": "ChatCompletionRequestToolMessage", "namespace": "OpenAI", @@ -35119,17 +36485,17 @@ } ], "baseModel": { - "$ref": "2992" + "$ref": "3102" }, "properties": [ { - "$id": "3102", + "$id": "3212", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `tool`.", "type": { - "$id": "3103", + "$id": "3213", "kind": "enumvalue", "name": "tool", "value": "tool", @@ -35137,7 +36503,7 @@ "$ref": "154" }, "enumType": { - "$ref": "2885" + "$ref": "2995" }, "decorators": [] }, @@ -35155,34 +36521,34 @@ "isHttpMetadata": false }, { - "$id": "3104", + "$id": "3214", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the tool message.", "type": { - "$id": "3105", + "$id": "3215", "kind": "union", "name": "ChatCompletionRequestToolMessageContent", "variantTypes": [ { - "$id": "3106", + "$id": "3216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3107", + "$id": "3217", "kind": "array", "name": "ArrayChatCompletionRequestToolMessageContentPart", "valueType": { - "$id": "3108", + "$id": "3218", "kind": "union", "name": "ChatCompletionRequestToolMessageContentPart", "variantTypes": [ { - "$ref": "3001" + "$ref": "3111" } ], "namespace": "OpenAI", @@ -35209,13 +36575,13 @@ "isHttpMetadata": false }, { - "$id": "3109", + "$id": "3219", "kind": "property", "name": "tool_call_id", "serializedName": "tool_call_id", "doc": "Tool call that this message is responding to.", "type": { - "$id": "3110", + "$id": "3220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35237,7 +36603,7 @@ ] }, "function": { - "$id": "3111", + "$id": "3221", "kind": "model", "name": "ChatCompletionRequestFunctionMessage", "namespace": "OpenAI", @@ -35252,17 +36618,17 @@ } ], "baseModel": { - "$ref": "2992" + "$ref": "3102" }, "properties": [ { - "$id": "3112", + "$id": "3222", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `function`.", "type": { - "$id": "3113", + "$id": "3223", "kind": "enumvalue", "name": "function", "value": "function", @@ -35270,7 +36636,7 @@ "$ref": "154" }, "enumType": { - "$ref": "2885" + "$ref": "2995" }, "decorators": [] }, @@ -35288,16 +36654,16 @@ "isHttpMetadata": false }, { - "$id": "3114", + "$id": "3224", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the function message.", "type": { - "$id": "3115", + "$id": "3225", "kind": "nullable", "type": { - "$id": "3116", + "$id": "3226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35319,13 +36685,13 @@ "isHttpMetadata": false }, { - "$id": "3117", + "$id": "3227", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "3118", + "$id": "3228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35365,7 +36731,7 @@ "isHttpMetadata": false }, { - "$id": "3119", + "$id": "3229", "kind": "property", "name": "model", "serializedName": "model", @@ -35387,15 +36753,15 @@ "isHttpMetadata": false }, { - "$id": "3120", + "$id": "3230", "kind": "property", "name": "modalities", "serializedName": "modalities", "type": { - "$id": "3121", + "$id": "3231", "kind": "nullable", "type": { - "$id": "3122", + "$id": "3232", "kind": "array", "name": "ResponseModalities", "valueType": { @@ -35420,12 +36786,12 @@ "isHttpMetadata": false }, { - "$id": "3123", + "$id": "3233", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "3124", + "$id": "3234", "kind": "nullable", "type": { "$ref": "53" @@ -35446,16 +36812,16 @@ "isHttpMetadata": false }, { - "$id": "3125", + "$id": "3235", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).", "type": { - "$id": "3126", + "$id": "3236", "kind": "nullable", "type": { - "$id": "3127", + "$id": "3237", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -35477,16 +36843,16 @@ "isHttpMetadata": false }, { - "$id": "3128", + "$id": "3238", "kind": "property", "name": "frequency_penalty", "serializedName": "frequency_penalty", "doc": "Number between -2.0 and 2.0. Positive values penalize new tokens based on\ntheir existing frequency in the text so far, decreasing the model's\nlikelihood to repeat the same line verbatim.", "type": { - "$id": "3129", + "$id": "3239", "kind": "nullable", "type": { - "$id": "3130", + "$id": "3240", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -35508,16 +36874,16 @@ "isHttpMetadata": false }, { - "$id": "3131", + "$id": "3241", "kind": "property", "name": "presence_penalty", "serializedName": "presence_penalty", "doc": "Number between -2.0 and 2.0. Positive values penalize new tokens based on\nwhether they appear in the text so far, increasing the model's likelihood\nto talk about new topics.", "type": { - "$id": "3132", + "$id": "3242", "kind": "nullable", "type": { - "$id": "3133", + "$id": "3243", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -35539,13 +36905,13 @@ "isHttpMetadata": false }, { - "$id": "3134", + "$id": "3244", "kind": "property", "name": "web_search_options", "serializedName": "web_search_options", "doc": "This tool searches the web for relevant results to use in a response.\nLearn more about the [web search tool](/docs/guides/tools-web-search?api-mode=chat).", "type": { - "$id": "3135", + "$id": "3245", "kind": "model", "name": "CreateChatCompletionRequestWebSearchOptions", "namespace": "OpenAI", @@ -35554,16 +36920,16 @@ "decorators": [], "properties": [ { - "$id": "3136", + "$id": "3246", "kind": "property", "name": "user_location", "serializedName": "user_location", "doc": "Approximate location parameters for the search.", "type": { - "$id": "3137", + "$id": "3247", "kind": "nullable", "type": { - "$id": "3138", + "$id": "3248", "kind": "model", "name": "CreateChatCompletionRequestWebSearchOptionsUserLocation1", "namespace": "OpenAI", @@ -35572,13 +36938,13 @@ "decorators": [], "properties": [ { - "$id": "3139", + "$id": "3249", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of location approximation. Always `approximate`.", "type": { - "$ref": "1546" + "$ref": "1672" }, "optional": false, "readOnly": false, @@ -35594,12 +36960,12 @@ "isHttpMetadata": false }, { - "$id": "3140", + "$id": "3250", "kind": "property", "name": "approximate", "serializedName": "approximate", "type": { - "$id": "3141", + "$id": "3251", "kind": "model", "name": "WebSearchLocation", "namespace": "OpenAI", @@ -35609,13 +36975,13 @@ "decorators": [], "properties": [ { - "$id": "3142", + "$id": "3252", "kind": "property", "name": "country", "serializedName": "country", "doc": "The two-letter\n[ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user,\ne.g. `US`.", "type": { - "$id": "3143", + "$id": "3253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35635,13 +37001,13 @@ "isHttpMetadata": false }, { - "$id": "3144", + "$id": "3254", "kind": "property", "name": "region", "serializedName": "region", "doc": "Free text input for the region of the user, e.g. `California`.", "type": { - "$id": "3145", + "$id": "3255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35661,13 +37027,13 @@ "isHttpMetadata": false }, { - "$id": "3146", + "$id": "3256", "kind": "property", "name": "city", "serializedName": "city", "doc": "Free text input for the city of the user, e.g. `San Francisco`.", "type": { - "$id": "3147", + "$id": "3257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35687,13 +37053,13 @@ "isHttpMetadata": false }, { - "$id": "3148", + "$id": "3258", "kind": "property", "name": "timezone", "serializedName": "timezone", "doc": "The [IANA timezone](https://timeapi.io/documentation/iana-timezones)\nof the user, e.g. `America/Los_Angeles`.", "type": { - "$id": "3149", + "$id": "3259", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35745,7 +37111,7 @@ "isHttpMetadata": false }, { - "$id": "3150", + "$id": "3260", "kind": "property", "name": "search_context_size", "serializedName": "search_context_size", @@ -35781,13 +37147,13 @@ "isHttpMetadata": false }, { - "$id": "3151", + "$id": "3261", "kind": "property", "name": "response_format", "serializedName": "response_format", "doc": "An object specifying the format that the model must output.\n\nSetting to `{ \"type\": \"json_schema\", \"json_schema\": {...} }` enables\nStructured Outputs which ensures the model will match your supplied JSON\nschema. Learn more in the [Structured Outputs\nguide](/docs/guides/structured-outputs).\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.", "type": { - "$ref": "2458" + "$ref": "2568" }, "optional": true, "readOnly": false, @@ -35803,16 +37169,16 @@ "isHttpMetadata": false }, { - "$id": "3152", + "$id": "3262", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Parameters for audio output. Required when audio output is requested with\n`modalities: [\"audio\"]`. [Learn more](/docs/guides/audio).", "type": { - "$id": "3153", + "$id": "3263", "kind": "nullable", "type": { - "$id": "3154", + "$id": "3264", "kind": "model", "name": "CreateChatCompletionRequestAudio1", "namespace": "OpenAI", @@ -35821,7 +37187,7 @@ "decorators": [], "properties": [ { - "$id": "3155", + "$id": "3265", "kind": "property", "name": "voice", "serializedName": "voice", @@ -35843,7 +37209,7 @@ "isHttpMetadata": false }, { - "$id": "3156", + "$id": "3266", "kind": "property", "name": "format", "serializedName": "format", @@ -35882,16 +37248,16 @@ "isHttpMetadata": false }, { - "$id": "3157", + "$id": "3267", "kind": "property", "name": "store", "serializedName": "store", "doc": "Whether or not to store the output of this chat completion request for\nuse in our [model distillation](/docs/guides/distillation) or\n[evals](/docs/guides/evals) products.", "type": { - "$id": "3158", + "$id": "3268", "kind": "nullable", "type": { - "$id": "3159", + "$id": "3269", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -35913,16 +37279,16 @@ "isHttpMetadata": false }, { - "$id": "3160", + "$id": "3270", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If set to true, the model response data will be streamed to the client\nas it is generated using [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).\nSee the [Streaming section below](/docs/api-reference/chat/streaming)\nfor more information, along with the [streaming responses](/docs/guides/streaming-responses)\nguide for more information on how to handle the streaming events.", "type": { - "$id": "3161", + "$id": "3271", "kind": "nullable", "type": { - "$id": "3162", + "$id": "3272", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -35944,27 +37310,27 @@ "isHttpMetadata": false }, { - "$id": "3163", + "$id": "3273", "kind": "property", "name": "stop", "serializedName": "stop", "type": { - "$id": "3164", + "$id": "3274", "kind": "nullable", "type": { - "$id": "3165", + "$id": "3275", "kind": "union", "name": "StopConfiguration", "variantTypes": [ { - "$id": "3166", + "$id": "3276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2438" + "$ref": "2548" } ], "namespace": "OpenAI", @@ -35986,26 +37352,26 @@ "isHttpMetadata": false }, { - "$id": "3167", + "$id": "3277", "kind": "property", "name": "logit_bias", "serializedName": "logit_bias", "doc": "Modify the likelihood of specified tokens appearing in the completion.\n\nAccepts a JSON object that maps tokens (specified by their token ID in the\ntokenizer) to an associated bias value from -100 to 100. Mathematically,\nthe bias is added to the logits generated by the model prior to sampling.\nThe exact effect will vary per model, but values between -1 and 1 should\ndecrease or increase likelihood of selection; values like -100 or 100\nshould result in a ban or exclusive selection of the relevant token.", "type": { - "$id": "3168", + "$id": "3278", "kind": "nullable", "type": { - "$id": "3169", + "$id": "3279", "kind": "dict", "keyType": { - "$id": "3170", + "$id": "3280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "3171", + "$id": "3281", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -36029,16 +37395,16 @@ "isHttpMetadata": false }, { - "$id": "3172", + "$id": "3282", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "Whether to return log probabilities of the output tokens or not. If true,\nreturns the log probabilities of each output token returned in the\n`content` of `message`.", "type": { - "$id": "3173", + "$id": "3283", "kind": "nullable", "type": { - "$id": "3174", + "$id": "3284", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -36060,16 +37426,16 @@ "isHttpMetadata": false }, { - "$id": "3175", + "$id": "3285", "kind": "property", "name": "max_tokens", "serializedName": "max_tokens", "doc": "The maximum number of [tokens](/tokenizer) that can be generated in the\nchat completion. This value can be used to control\n[costs](https://openai.com/api/pricing/) for text generated via API.\n\nThis value is now deprecated in favor of `max_completion_tokens`, and is\nnot compatible with [o-series models](/docs/guides/reasoning).", "type": { - "$id": "3176", + "$id": "3286", "kind": "nullable", "type": { - "$id": "3177", + "$id": "3287", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -36091,16 +37457,16 @@ "isHttpMetadata": false }, { - "$id": "3178", + "$id": "3288", "kind": "property", "name": "n", "serializedName": "n", "doc": "How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep `n` as `1` to minimize costs.", "type": { - "$id": "3179", + "$id": "3289", "kind": "nullable", "type": { - "$id": "3180", + "$id": "3290", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -36122,16 +37488,16 @@ "isHttpMetadata": false }, { - "$id": "3181", + "$id": "3291", "kind": "property", "name": "prediction", "serializedName": "prediction", "doc": "Configuration for a [Predicted Output](/docs/guides/predicted-outputs),\nwhich can greatly improve response times when large parts of the model\nresponse are known ahead of time. This is most common when you are\nregenerating a file with only minor changes to most of the content.", "type": { - "$id": "3182", + "$id": "3292", "kind": "nullable", "type": { - "$id": "3183", + "$id": "3293", "kind": "model", "name": "ChatOutputPrediction", "namespace": "OpenAI", @@ -36145,7 +37511,7 @@ } ], "discriminatorProperty": { - "$id": "3184", + "$id": "3294", "kind": "property", "name": "type", "serializedName": "type", @@ -36167,12 +37533,12 @@ }, "properties": [ { - "$ref": "3184" + "$ref": "3294" } ], "discriminatedSubtypes": { "content": { - "$id": "3185", + "$id": "3295", "kind": "model", "name": "ChatOutputPredictionContent", "namespace": "OpenAI", @@ -36187,17 +37553,17 @@ } ], "baseModel": { - "$ref": "3183" + "$ref": "3293" }, "properties": [ { - "$id": "3186", + "$id": "3296", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the predicted content you want to provide. This type is\ncurrently always `content`.", "type": { - "$id": "3187", + "$id": "3297", "kind": "enumvalue", "name": "static_content", "value": "content", @@ -36205,14 +37571,14 @@ "$ref": "252" }, "enumType": { - "$id": "3188", + "$id": "3298", "kind": "enum", "decorators": [], "name": "ChatOutputPredictionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3189", + "$id": "3299", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -36221,16 +37587,16 @@ }, "values": [ { - "$id": "3190", + "$id": "3300", "kind": "enumvalue", "decorators": [], "name": "static_content", "value": "content", "valueType": { - "$ref": "3189" + "$ref": "3299" }, "enumType": { - "$ref": "3188" + "$ref": "3298" } } ], @@ -36259,25 +37625,25 @@ "isHttpMetadata": false }, { - "$id": "3191", + "$id": "3301", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content that should be matched when generating a model response.\nIf generated tokens would match this content, the entire model response\ncan be returned much more quickly.", "type": { - "$id": "3192", + "$id": "3302", "kind": "union", "name": "ChatOutputPredictionContentContent", "variantTypes": [ { - "$id": "3193", + "$id": "3303", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "3059" + "$ref": "3169" } ], "namespace": "OpenAI", @@ -36316,16 +37682,16 @@ "isHttpMetadata": false }, { - "$id": "3194", + "$id": "3304", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "This feature is in Beta.\nIf specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.\nDeterminism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.", "type": { - "$id": "3195", + "$id": "3305", "kind": "nullable", "type": { - "$id": "3196", + "$id": "3306", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -36347,15 +37713,15 @@ "isHttpMetadata": false }, { - "$id": "3197", + "$id": "3307", "kind": "property", "name": "stream_options", "serializedName": "stream_options", "type": { - "$id": "3198", + "$id": "3308", "kind": "nullable", "type": { - "$id": "3199", + "$id": "3309", "kind": "model", "name": "ChatCompletionStreamOptions", "namespace": "OpenAI", @@ -36365,13 +37731,13 @@ "decorators": [], "properties": [ { - "$id": "3200", + "$id": "3310", "kind": "property", "name": "include_usage", "serializedName": "include_usage", "doc": "If set, an additional chunk will be streamed before the `data: [DONE]`\nmessage. The `usage` field on this chunk shows the token usage statistics\nfor the entire request, and the `choices` field will always be an empty\narray.\n\nAll other chunks will also include a `usage` field, but with a null\nvalue. **NOTE:** If the stream is interrupted, you may not receive the\nfinal usage chunk which contains the total token usage for the request.", "type": { - "$id": "3201", + "$id": "3311", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -36408,17 +37774,17 @@ "isHttpMetadata": false }, { - "$id": "3202", + "$id": "3312", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported.", "type": { - "$id": "3203", + "$id": "3313", "kind": "array", "name": "ArrayChatCompletionTool", "valueType": { - "$id": "3204", + "$id": "3314", "kind": "model", "name": "ChatCompletionTool", "namespace": "OpenAI", @@ -36432,28 +37798,28 @@ ], "properties": [ { - "$id": "3205", + "$id": "3315", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the tool. Currently, only `function` is supported.", "type": { - "$id": "3206", + "$id": "3316", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "1421" + "$ref": "1547" }, "enumType": { - "$id": "3207", + "$id": "3317", "kind": "enum", "decorators": [], "name": "ChatToolKind", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3208", + "$id": "3318", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -36462,16 +37828,16 @@ }, "values": [ { - "$id": "3209", + "$id": "3319", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "enumType": { - "$ref": "3207" + "$ref": "3317" }, "valueType": { - "$ref": "3208" + "$ref": "3318" } } ], @@ -36500,12 +37866,12 @@ "isHttpMetadata": false }, { - "$id": "3210", + "$id": "3320", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$ref": "2422" + "$ref": "2532" }, "optional": false, "readOnly": false, @@ -36539,12 +37905,12 @@ "isHttpMetadata": false }, { - "$id": "3211", + "$id": "3321", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "3212", + "$id": "3322", "kind": "union", "name": "ChatCompletionToolChoiceOption", "variantTypes": [ @@ -36552,7 +37918,7 @@ "$ref": "254" }, { - "$id": "3213", + "$id": "3323", "kind": "model", "name": "ChatCompletionNamedToolChoice", "namespace": "OpenAI", @@ -36567,13 +37933,13 @@ ], "properties": [ { - "$id": "3214", + "$id": "3324", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the tool. Currently, only `function` is supported.", "type": { - "$ref": "1548" + "$ref": "1674" }, "optional": false, "readOnly": false, @@ -36589,12 +37955,12 @@ "isHttpMetadata": false }, { - "$id": "3215", + "$id": "3325", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "3216", + "$id": "3326", "kind": "model", "name": "ChatCompletionNamedToolChoiceFunction", "namespace": "OpenAI", @@ -36603,13 +37969,13 @@ "decorators": [], "properties": [ { - "$id": "3217", + "$id": "3327", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "3218", + "$id": "3328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -36663,17 +38029,17 @@ "isHttpMetadata": false }, { - "$id": "3219", + "$id": "3329", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "3220", + "$id": "3330", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "3221", + "$id": "3331", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -36695,24 +38061,24 @@ "isHttpMetadata": false }, { - "$id": "3222", + "$id": "3332", "kind": "property", "name": "function_call", "serializedName": "function_call", "doc": "Deprecated in favor of `tool_choice`.\n\nControls which (if any) function is called by the model.\n\n`none` means the model will not call a function and instead generates a\nmessage.\n\n`auto` means the model can pick between generating a message or calling a\nfunction.\n\nSpecifying a particular function via `{\"name\": \"my_function\"}` forces the\nmodel to call that function.\n\n`none` is the default when no functions are present. `auto` is the default\nif functions are present.", "type": { - "$id": "3223", + "$id": "3333", "kind": "union", "name": "CreateChatCompletionRequestFunctionCall", "variantTypes": [ { - "$ref": "1550" + "$ref": "1676" }, { - "$ref": "1552" + "$ref": "1678" }, { - "$id": "3224", + "$id": "3334", "kind": "model", "name": "ChatCompletionFunctionCallOption", "namespace": "OpenAI", @@ -36727,13 +38093,13 @@ ], "properties": [ { - "$id": "3225", + "$id": "3335", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "3226", + "$id": "3336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -36772,17 +38138,17 @@ "isHttpMetadata": false }, { - "$id": "3227", + "$id": "3337", "kind": "property", "name": "functions", "serializedName": "functions", "doc": "Deprecated in favor of `tools`.\n\nA list of functions the model may generate JSON inputs for.", "type": { - "$id": "3228", + "$id": "3338", "kind": "array", "name": "ArrayChatCompletionFunctions", "valueType": { - "$id": "3229", + "$id": "3339", "kind": "model", "name": "ChatCompletionFunctions", "namespace": "OpenAI", @@ -36797,13 +38163,13 @@ ], "properties": [ { - "$id": "3230", + "$id": "3340", "kind": "property", "name": "description", "serializedName": "description", "doc": "A description of what the function does, used by the model to choose when and how to call the function.", "type": { - "$id": "3231", + "$id": "3341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -36823,13 +38189,13 @@ "isHttpMetadata": false }, { - "$id": "3232", + "$id": "3342", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.", "type": { - "$id": "3233", + "$id": "3343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -36849,13 +38215,13 @@ "isHttpMetadata": false }, { - "$id": "3234", + "$id": "3344", "kind": "property", "name": "parameters", "serializedName": "parameters", "doc": "The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.\n\nOmitting `parameters` defines a function with an empty parameter list.", "type": { - "$id": "3235", + "$id": "3345", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -36895,97 +38261,97 @@ ] }, { - "$ref": "2992" + "$ref": "3102" }, { - "$ref": "2999" + "$ref": "3109" }, { - "$ref": "3001" + "$ref": "3111" }, { - "$ref": "3013" + "$ref": "3123" }, { - "$ref": "3017" + "$ref": "3127" }, { - "$ref": "3021" + "$ref": "3131" }, { - "$ref": "3026" + "$ref": "3136" }, { - "$ref": "3030" + "$ref": "3140" }, { - "$ref": "3037" + "$ref": "3147" }, { - "$ref": "3041" + "$ref": "3151" }, { - "$ref": "3045" + "$ref": "3155" }, { - "$ref": "3055" + "$ref": "3165" }, { - "$ref": "3064" + "$ref": "3174" }, { - "$ref": "3074" + "$ref": "3184" }, { - "$ref": "3090" + "$ref": "3200" }, { - "$ref": "3096" + "$ref": "3206" }, { - "$ref": "3101" + "$ref": "3211" }, { - "$ref": "3111" + "$ref": "3221" }, { - "$ref": "3135" + "$ref": "3245" }, { - "$ref": "3138" + "$ref": "3248" }, { - "$ref": "3141" + "$ref": "3251" }, { - "$ref": "3154" + "$ref": "3264" }, { - "$ref": "3183" + "$ref": "3293" }, { - "$ref": "3185" + "$ref": "3295" }, { - "$ref": "3199" + "$ref": "3309" }, { - "$ref": "3204" + "$ref": "3314" }, { - "$ref": "3213" + "$ref": "3323" }, { - "$ref": "3216" + "$ref": "3326" }, { - "$ref": "3224" + "$ref": "3334" }, { - "$ref": "3229" + "$ref": "3339" }, { - "$id": "3236", + "$id": "3346", "kind": "model", "name": "CreateChatCompletionStreamResponse", "namespace": "OpenAI", @@ -37001,12 +38367,12 @@ ], "properties": [ { - "$id": "3237", + "$id": "3347", "kind": "property", "name": "id", "doc": "A unique identifier for the chat completion. Each chunk has the same ID.", "type": { - "$id": "3238", + "$id": "3348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37022,16 +38388,16 @@ "isHttpMetadata": false }, { - "$id": "3239", + "$id": "3349", "kind": "property", "name": "choices", "doc": "A list of chat completion choices. Can contain more than one elements if `n` is greater than 1. Can also be empty for the\nlast chunk if you set `stream_options: {\"include_usage\": true}`.", "type": { - "$id": "3240", + "$id": "3350", "kind": "array", "name": "Array12", "valueType": { - "$id": "3241", + "$id": "3351", "kind": "model", "name": "CreateChatCompletionStreamResponseChoice", "namespace": "OpenAI", @@ -37040,11 +38406,11 @@ "decorators": [], "properties": [ { - "$id": "3242", + "$id": "3352", "kind": "property", "name": "delta", "type": { - "$id": "3243", + "$id": "3353", "kind": "model", "name": "ChatCompletionStreamResponseDelta", "namespace": "OpenAI", @@ -37059,12 +38425,12 @@ ], "properties": [ { - "$id": "3244", + "$id": "3354", "kind": "property", "name": "audio", "doc": "Response audio associated with the streaming chat delta payload.", "type": { - "$id": "3245", + "$id": "3355", "kind": "model", "name": "ChatCompletionMessageAudioChunk", "namespace": "OpenAI", @@ -37078,11 +38444,11 @@ ], "properties": [ { - "$id": "3246", + "$id": "3356", "kind": "property", "name": "id", "type": { - "$id": "3247", + "$id": "3357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37098,11 +38464,11 @@ "isHttpMetadata": false }, { - "$id": "3248", + "$id": "3358", "kind": "property", "name": "transcript", "type": { - "$id": "3249", + "$id": "3359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37118,11 +38484,11 @@ "isHttpMetadata": false }, { - "$id": "3250", + "$id": "3360", "kind": "property", "name": "data", "type": { - "$id": "3251", + "$id": "3361", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -37139,16 +38505,16 @@ "isHttpMetadata": false }, { - "$id": "3252", + "$id": "3362", "kind": "property", "name": "expires_at", "type": { - "$id": "3253", + "$id": "3363", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3254", + "$id": "3364", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -37178,15 +38544,15 @@ "isHttpMetadata": false }, { - "$id": "3255", + "$id": "3365", "kind": "property", "name": "content", "doc": "The contents of the chunk message.", "type": { - "$id": "3256", + "$id": "3366", "kind": "nullable", "type": { - "$id": "3257", + "$id": "3367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37204,12 +38570,12 @@ "isHttpMetadata": false }, { - "$id": "3258", + "$id": "3368", "kind": "property", "name": "function_call", "doc": "Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.", "type": { - "$id": "3259", + "$id": "3369", "kind": "model", "name": "ChatCompletionStreamResponseDeltaFunctionCall", "namespace": "OpenAI", @@ -37218,11 +38584,11 @@ "decorators": [], "properties": [ { - "$id": "3260", + "$id": "3370", "kind": "property", "name": "name", "type": { - "$id": "3261", + "$id": "3371", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37238,11 +38604,11 @@ "isHttpMetadata": false }, { - "$id": "3262", + "$id": "3372", "kind": "property", "name": "arguments", "type": { - "$id": "3263", + "$id": "3373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37269,15 +38635,15 @@ "isHttpMetadata": false }, { - "$id": "3264", + "$id": "3374", "kind": "property", "name": "tool_calls", "type": { - "$id": "3265", + "$id": "3375", "kind": "array", "name": "ArrayChatCompletionMessageToolCallChunk", "valueType": { - "$id": "3266", + "$id": "3376", "kind": "model", "name": "ChatCompletionMessageToolCallChunk", "namespace": "OpenAI", @@ -37291,11 +38657,11 @@ ], "properties": [ { - "$id": "3267", + "$id": "3377", "kind": "property", "name": "index", "type": { - "$id": "3268", + "$id": "3378", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -37311,12 +38677,12 @@ "isHttpMetadata": false }, { - "$id": "3269", + "$id": "3379", "kind": "property", "name": "id", "doc": "The ID of the tool call.", "type": { - "$id": "3270", + "$id": "3380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37332,7 +38698,7 @@ "isHttpMetadata": false }, { - "$id": "3271", + "$id": "3381", "kind": "property", "name": "type", "doc": "The type of the tool. Currently, only `function` is supported.", @@ -37349,11 +38715,11 @@ "isHttpMetadata": false }, { - "$id": "3272", + "$id": "3382", "kind": "property", "name": "function", "type": { - "$id": "3273", + "$id": "3383", "kind": "model", "name": "ChatCompletionMessageToolCallChunkFunction", "namespace": "OpenAI", @@ -37362,12 +38728,12 @@ "decorators": [], "properties": [ { - "$id": "3274", + "$id": "3384", "kind": "property", "name": "name", "doc": "The name of the function to call.", "type": { - "$id": "3275", + "$id": "3385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37383,12 +38749,12 @@ "isHttpMetadata": false }, { - "$id": "3276", + "$id": "3386", "kind": "property", "name": "arguments", "doc": "The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.", "type": { - "$id": "3277", + "$id": "3387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37429,7 +38795,7 @@ "isHttpMetadata": false }, { - "$id": "3278", + "$id": "3388", "kind": "property", "name": "role", "doc": "The role of the author of this message.", @@ -37446,15 +38812,15 @@ "isHttpMetadata": false }, { - "$id": "3279", + "$id": "3389", "kind": "property", "name": "refusal", "doc": "The refusal message generated by the model.", "type": { - "$id": "3280", + "$id": "3390", "kind": "nullable", "type": { - "$id": "3281", + "$id": "3391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37483,15 +38849,15 @@ "isHttpMetadata": false }, { - "$id": "3282", + "$id": "3392", "kind": "property", "name": "logprobs", "doc": "Log probability information for the choice.", "type": { - "$id": "3283", + "$id": "3393", "kind": "nullable", "type": { - "$id": "3284", + "$id": "3394", "kind": "model", "name": "CreateChatCompletionStreamResponseChoiceLogprobs1", "namespace": "OpenAI", @@ -37500,15 +38866,15 @@ "decorators": [], "properties": [ { - "$id": "3285", + "$id": "3395", "kind": "property", "name": "content", "doc": "A list of message content tokens with log probability information.", "type": { - "$id": "3286", + "$id": "3396", "kind": "nullable", "type": { - "$ref": "2916" + "$ref": "3026" }, "namespace": "OpenAI" }, @@ -37522,15 +38888,15 @@ "isHttpMetadata": false }, { - "$id": "3287", + "$id": "3397", "kind": "property", "name": "refusal", "doc": "A list of message refusal tokens with log probability information.", "type": { - "$id": "3288", + "$id": "3398", "kind": "nullable", "type": { - "$ref": "2916" + "$ref": "3026" }, "namespace": "OpenAI" }, @@ -37557,12 +38923,12 @@ "isHttpMetadata": false }, { - "$id": "3289", + "$id": "3399", "kind": "property", "name": "finish_reason", "doc": "The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,\n`length` if the maximum number of tokens specified in the request was reached,\n`content_filter` if content was omitted due to a flag from our content filters,\n`tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function.", "type": { - "$id": "3290", + "$id": "3400", "kind": "nullable", "type": { "$ref": "263" @@ -37579,12 +38945,12 @@ "isHttpMetadata": false }, { - "$id": "3291", + "$id": "3401", "kind": "property", "name": "index", "doc": "The index of the choice in the list of choices.", "type": { - "$id": "3292", + "$id": "3402", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -37614,17 +38980,17 @@ "isHttpMetadata": false }, { - "$id": "3293", + "$id": "3403", "kind": "property", "name": "created", "doc": "The Unix timestamp (in seconds) of when the chat completion was created. Each chunk has the same timestamp.", "type": { - "$id": "3294", + "$id": "3404", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3295", + "$id": "3405", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -37643,12 +39009,12 @@ "isHttpMetadata": false }, { - "$id": "3296", + "$id": "3406", "kind": "property", "name": "model", "doc": "The model to generate the completion.", "type": { - "$id": "3297", + "$id": "3407", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37664,7 +39030,7 @@ "isHttpMetadata": false }, { - "$id": "3298", + "$id": "3408", "kind": "property", "name": "service_tier", "type": { @@ -37680,12 +39046,12 @@ "isHttpMetadata": false }, { - "$id": "3299", + "$id": "3409", "kind": "property", "name": "system_fingerprint", "doc": "This fingerprint represents the backend configuration that the model runs with.\nCan be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism.", "type": { - "$id": "3300", + "$id": "3410", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37701,12 +39067,12 @@ "isHttpMetadata": false }, { - "$id": "3301", + "$id": "3411", "kind": "property", "name": "object", "doc": "The object type, which is always `chat.completion.chunk`.", "type": { - "$ref": "1554" + "$ref": "1680" }, "optional": false, "readOnly": false, @@ -37718,15 +39084,15 @@ "isHttpMetadata": false }, { - "$id": "3302", + "$id": "3412", "kind": "property", "name": "usage", "doc": "An optional field that will only be present when you set\n`stream_options: {\"include_usage\": true}` in your request. When present, it\ncontains a null value **except for the last chunk** which contains the\ntoken usage statistics for the entire request.\n\n**NOTE:** If the stream is interrupted or cancelled, you may not\nreceive the final usage chunk which contains the total token usage for\nthe request.", "type": { - "$id": "3303", + "$id": "3413", "kind": "nullable", "type": { - "$ref": "2945" + "$ref": "3055" }, "namespace": "OpenAI" }, @@ -37742,28 +39108,28 @@ ] }, { - "$ref": "3241" + "$ref": "3351" }, { - "$ref": "3243" + "$ref": "3353" }, { - "$ref": "3245" + "$ref": "3355" }, { - "$ref": "3259" + "$ref": "3369" }, { - "$ref": "3266" + "$ref": "3376" }, { - "$ref": "3273" + "$ref": "3383" }, { - "$ref": "3284" + "$ref": "3394" }, { - "$id": "3304", + "$id": "3414", "kind": "model", "name": "UpdateChatCompletionRequest", "namespace": "", @@ -37772,13 +39138,13 @@ "decorators": [], "properties": [ { - "$id": "3305", + "$id": "3415", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": false, "readOnly": false, @@ -37796,7 +39162,7 @@ ] }, { - "$id": "3306", + "$id": "3416", "kind": "model", "name": "ChatCompletionDeleted", "namespace": "OpenAI", @@ -37810,13 +39176,13 @@ ], "properties": [ { - "$id": "3307", + "$id": "3417", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of object being deleted.", "type": { - "$ref": "1556" + "$ref": "1682" }, "optional": false, "readOnly": false, @@ -37832,13 +39198,13 @@ "isHttpMetadata": false }, { - "$id": "3308", + "$id": "3418", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the chat completion that was deleted.", "type": { - "$id": "3309", + "$id": "3419", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37858,13 +39224,13 @@ "isHttpMetadata": false }, { - "$id": "3310", + "$id": "3420", "kind": "property", "name": "deleted", "serializedName": "deleted", "doc": "Whether the chat completion was deleted.", "type": { - "$id": "3311", + "$id": "3421", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -37886,7 +39252,7 @@ ] }, { - "$id": "3312", + "$id": "3422", "kind": "model", "name": "ChatCompletionMessageList", "namespace": "OpenAI", @@ -37901,13 +39267,13 @@ ], "properties": [ { - "$id": "3313", + "$id": "3423", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1558" + "$ref": "1684" }, "optional": false, "readOnly": false, @@ -37923,17 +39289,17 @@ "isHttpMetadata": false }, { - "$id": "3314", + "$id": "3424", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of chat completion message objects.", "type": { - "$id": "3315", + "$id": "3425", "kind": "array", "name": "Array13", "valueType": { - "$id": "3316", + "$id": "3426", "kind": "model", "name": "ChatCompletionMessageListDatum", "namespace": "OpenAI", @@ -37942,13 +39308,13 @@ "decorators": [], "properties": [ { - "$id": "3317", + "$id": "3427", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the message.", "type": { - "$ref": "2848" + "$ref": "2958" }, "optional": false, "readOnly": false, @@ -37964,13 +39330,13 @@ "isHttpMetadata": false }, { - "$id": "3318", + "$id": "3428", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal message generated by the model.", "type": { - "$ref": "2851" + "$ref": "2961" }, "optional": false, "readOnly": false, @@ -37986,12 +39352,12 @@ "isHttpMetadata": false }, { - "$id": "3319", + "$id": "3429", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "type": { - "$ref": "2854" + "$ref": "2964" }, "optional": true, "readOnly": true, @@ -38007,13 +39373,13 @@ "isHttpMetadata": false }, { - "$id": "3320", + "$id": "3430", "kind": "property", "name": "annotations", "serializedName": "annotations", "doc": "Annotations for the message, when applicable, as when using the\n[web search tool](/docs/guides/tools-web-search?api-mode=chat).", "type": { - "$ref": "2870" + "$ref": "2980" }, "optional": true, "readOnly": true, @@ -38029,13 +39395,13 @@ "isHttpMetadata": false }, { - "$id": "3321", + "$id": "3431", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the author of this message.", "type": { - "$id": "3322", + "$id": "3432", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -38043,7 +39409,7 @@ "$ref": "154" }, "enumType": { - "$ref": "2885" + "$ref": "2995" }, "decorators": [] }, @@ -38061,13 +39427,13 @@ "isHttpMetadata": false }, { - "$id": "3323", + "$id": "3433", "kind": "property", "name": "function_call", "serializedName": "function_call", "doc": "Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.", "type": { - "$ref": "2894" + "$ref": "3004" }, "optional": true, "readOnly": false, @@ -38083,13 +39449,13 @@ "isHttpMetadata": false }, { - "$id": "3324", + "$id": "3434", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "If the audio output modality is requested, this object contains data\nabout the audio response from the model. [Learn more](/docs/guides/audio).", "type": { - "$ref": "2900" + "$ref": "3010" }, "optional": true, "readOnly": false, @@ -38105,15 +39471,15 @@ "isHttpMetadata": false }, { - "$id": "3325", + "$id": "3435", "kind": "property", "name": "content_parts", "serializedName": "content_parts", "type": { - "$id": "3326", + "$id": "3436", "kind": "nullable", "type": { - "$ref": "2998" + "$ref": "3108" }, "namespace": "OpenAI" }, @@ -38131,13 +39497,13 @@ "isHttpMetadata": false }, { - "$id": "3327", + "$id": "3437", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier of the chat message.", "type": { - "$id": "3328", + "$id": "3438", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38175,13 +39541,13 @@ "isHttpMetadata": false }, { - "$id": "3329", + "$id": "3439", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first chat message in the data array.", "type": { - "$id": "3330", + "$id": "3440", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38201,13 +39567,13 @@ "isHttpMetadata": false }, { - "$id": "3331", + "$id": "3441", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last chat message in the data array.", "type": { - "$id": "3332", + "$id": "3442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38227,13 +39593,13 @@ "isHttpMetadata": false }, { - "$id": "3333", + "$id": "3443", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more chat messages available.", "type": { - "$id": "3334", + "$id": "3444", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -38255,10 +39621,10 @@ ] }, { - "$ref": "3316" + "$ref": "3426" }, { - "$id": "3335", + "$id": "3445", "kind": "model", "name": "ContainerListResource", "namespace": "OpenAI", @@ -38267,13 +39633,13 @@ "decorators": [], "properties": [ { - "$id": "3336", + "$id": "3446", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of object returned, must be 'list'.", "type": { - "$ref": "1560" + "$ref": "1686" }, "optional": false, "readOnly": false, @@ -38289,17 +39655,17 @@ "isHttpMetadata": false }, { - "$id": "3337", + "$id": "3447", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of containers.", "type": { - "$id": "3338", + "$id": "3448", "kind": "array", "name": "ArrayContainerResource", "valueType": { - "$id": "3339", + "$id": "3449", "kind": "model", "name": "ContainerResource", "namespace": "OpenAI", @@ -38308,13 +39674,13 @@ "decorators": [], "properties": [ { - "$id": "3340", + "$id": "3450", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the container.", "type": { - "$id": "3341", + "$id": "3451", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38334,13 +39700,13 @@ "isHttpMetadata": false }, { - "$id": "3342", + "$id": "3452", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object.", "type": { - "$id": "3343", + "$id": "3453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38360,13 +39726,13 @@ "isHttpMetadata": false }, { - "$id": "3344", + "$id": "3454", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the container.", "type": { - "$id": "3345", + "$id": "3455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38386,18 +39752,18 @@ "isHttpMetadata": false }, { - "$id": "3346", + "$id": "3456", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the container was created.", "type": { - "$id": "3347", + "$id": "3457", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3348", + "$id": "3458", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -38420,13 +39786,13 @@ "isHttpMetadata": false }, { - "$id": "3349", + "$id": "3459", "kind": "property", "name": "status", "serializedName": "status", "doc": "Status of the container (e.g., active, deleted).", "type": { - "$id": "3350", + "$id": "3460", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38446,13 +39812,13 @@ "isHttpMetadata": false }, { - "$id": "3351", + "$id": "3461", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "doc": "The container will expire after this time period.\nThe anchor is the reference point for the expiration.\nThe minutes is the number of minutes after the anchor before the container expires.", "type": { - "$id": "3352", + "$id": "3462", "kind": "model", "name": "ContainerResourceExpiresAfter", "namespace": "OpenAI", @@ -38461,7 +39827,7 @@ "decorators": [], "properties": [ { - "$id": "3353", + "$id": "3463", "kind": "property", "name": "anchor", "serializedName": "anchor", @@ -38483,13 +39849,13 @@ "isHttpMetadata": false }, { - "$id": "3354", + "$id": "3464", "kind": "property", "name": "minutes", "serializedName": "minutes", "doc": "The number of minutes after the anchor before the container expires.", "type": { - "$id": "3355", + "$id": "3465", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -38542,13 +39908,13 @@ "isHttpMetadata": false }, { - "$id": "3356", + "$id": "3466", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first container in the list.", "type": { - "$id": "3357", + "$id": "3467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38568,13 +39934,13 @@ "isHttpMetadata": false }, { - "$id": "3358", + "$id": "3468", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last container in the list.", "type": { - "$id": "3359", + "$id": "3469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38594,13 +39960,13 @@ "isHttpMetadata": false }, { - "$id": "3360", + "$id": "3470", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more containers available.", "type": { - "$id": "3361", + "$id": "3471", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -38622,13 +39988,13 @@ ] }, { - "$ref": "3339" + "$ref": "3449" }, { - "$ref": "3352" + "$ref": "3462" }, { - "$id": "3362", + "$id": "3472", "kind": "model", "name": "CreateContainerBody", "namespace": "OpenAI", @@ -38637,13 +40003,13 @@ "decorators": [], "properties": [ { - "$id": "3363", + "$id": "3473", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the container to create.", "type": { - "$id": "3364", + "$id": "3474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38663,13 +40029,13 @@ "isHttpMetadata": false }, { - "$id": "3365", + "$id": "3475", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "IDs of files to copy to the container.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -38685,13 +40051,13 @@ "isHttpMetadata": false }, { - "$id": "3366", + "$id": "3476", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "doc": "Container expiration time in seconds relative to the 'anchor' time.", "type": { - "$id": "3367", + "$id": "3477", "kind": "model", "name": "CreateContainerBodyExpiresAfter", "namespace": "OpenAI", @@ -38700,13 +40066,13 @@ "decorators": [], "properties": [ { - "$id": "3368", + "$id": "3478", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "Time anchor for the expiration time. Currently only 'last_active_at' is supported.", "type": { - "$ref": "1562" + "$ref": "1688" }, "optional": false, "readOnly": false, @@ -38722,12 +40088,12 @@ "isHttpMetadata": false }, { - "$id": "3369", + "$id": "3479", "kind": "property", "name": "minutes", "serializedName": "minutes", "type": { - "$id": "3370", + "$id": "3480", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -38764,10 +40130,10 @@ ] }, { - "$ref": "3367" + "$ref": "3477" }, { - "$id": "3371", + "$id": "3481", "kind": "model", "name": "DeleteContainerResponse", "namespace": "OpenAI", @@ -38776,12 +40142,12 @@ "decorators": [], "properties": [ { - "$id": "3372", + "$id": "3482", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "3373", + "$id": "3483", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38801,12 +40167,12 @@ "isHttpMetadata": false }, { - "$id": "3374", + "$id": "3484", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1564" + "$ref": "1690" }, "optional": false, "readOnly": false, @@ -38822,12 +40188,12 @@ "isHttpMetadata": false }, { - "$id": "3375", + "$id": "3485", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$ref": "1566" + "$ref": "1692" }, "optional": false, "readOnly": false, @@ -38845,7 +40211,7 @@ ] }, { - "$id": "3376", + "$id": "3486", "kind": "model", "name": "CreateContainerFileBody", "namespace": "OpenAI", @@ -38854,13 +40220,13 @@ "decorators": [], "properties": [ { - "$id": "3377", + "$id": "3487", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "Name of the file to create.", "type": { - "$id": "3378", + "$id": "3488", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38886,13 +40252,13 @@ "isHttpMetadata": false }, { - "$id": "3379", + "$id": "3489", "kind": "property", "name": "file", "serializedName": "file", "doc": "The File object (not file name) to be uploaded.", "type": { - "$id": "3380", + "$id": "3490", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -38921,7 +40287,7 @@ ] }, { - "$id": "3381", + "$id": "3491", "kind": "model", "name": "ContainerFileResource", "namespace": "OpenAI", @@ -38930,13 +40296,13 @@ "decorators": [], "properties": [ { - "$id": "3382", + "$id": "3492", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the file.", "type": { - "$id": "3383", + "$id": "3493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38956,13 +40322,13 @@ "isHttpMetadata": false }, { - "$id": "3384", + "$id": "3494", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object (`container.file`).", "type": { - "$id": "3385", + "$id": "3495", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38982,13 +40348,13 @@ "isHttpMetadata": false }, { - "$id": "3386", + "$id": "3496", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The container this file belongs to.", "type": { - "$id": "3387", + "$id": "3497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39008,18 +40374,18 @@ "isHttpMetadata": false }, { - "$id": "3388", + "$id": "3498", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the file was created.", "type": { - "$id": "3389", + "$id": "3499", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3390", + "$id": "3500", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -39042,13 +40408,13 @@ "isHttpMetadata": false }, { - "$id": "3391", + "$id": "3501", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "Size of the file in bytes.", "type": { - "$id": "3392", + "$id": "3502", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -39068,13 +40434,13 @@ "isHttpMetadata": false }, { - "$id": "3393", + "$id": "3503", "kind": "property", "name": "path", "serializedName": "path", "doc": "Path of the file in the container.", "type": { - "$id": "3394", + "$id": "3504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39094,13 +40460,13 @@ "isHttpMetadata": false }, { - "$id": "3395", + "$id": "3505", "kind": "property", "name": "source", "serializedName": "source", "doc": "Source of the file (e.g., `user`, `assistant`).", "type": { - "$id": "3396", + "$id": "3506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39122,7 +40488,7 @@ ] }, { - "$id": "3397", + "$id": "3507", "kind": "model", "name": "ContainerFileListResource", "namespace": "OpenAI", @@ -39131,13 +40497,13 @@ "decorators": [], "properties": [ { - "$id": "3398", + "$id": "3508", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of object returned, must be 'list'.", "type": { - "$ref": "1568" + "$ref": "1694" }, "optional": false, "readOnly": false, @@ -39153,17 +40519,17 @@ "isHttpMetadata": false }, { - "$id": "3399", + "$id": "3509", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of container files.", "type": { - "$id": "3400", + "$id": "3510", "kind": "array", "name": "ArrayContainerFileResource", "valueType": { - "$ref": "3381" + "$ref": "3491" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -39182,13 +40548,13 @@ "isHttpMetadata": false }, { - "$id": "3401", + "$id": "3511", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first file in the list.", "type": { - "$id": "3402", + "$id": "3512", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39208,13 +40574,13 @@ "isHttpMetadata": false }, { - "$id": "3403", + "$id": "3513", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last file in the list.", "type": { - "$id": "3404", + "$id": "3514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39234,13 +40600,13 @@ "isHttpMetadata": false }, { - "$id": "3405", + "$id": "3515", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more files available.", "type": { - "$id": "3406", + "$id": "3516", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -39262,7 +40628,7 @@ ] }, { - "$id": "3407", + "$id": "3517", "kind": "model", "name": "DeleteContainerFileResponse", "namespace": "OpenAI", @@ -39271,12 +40637,12 @@ "decorators": [], "properties": [ { - "$id": "3408", + "$id": "3518", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "3409", + "$id": "3519", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39296,12 +40662,12 @@ "isHttpMetadata": false }, { - "$id": "3410", + "$id": "3520", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1570" + "$ref": "1696" }, "optional": false, "readOnly": false, @@ -39317,12 +40683,12 @@ "isHttpMetadata": false }, { - "$id": "3411", + "$id": "3521", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$ref": "1572" + "$ref": "1698" }, "optional": false, "readOnly": false, @@ -39340,218 +40706,65 @@ ] }, { - "$id": "3412", + "$id": "3522", "kind": "model", - "name": "CreateEmbeddingRequest", + "name": "ListFilesResponse", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest", - "usage": "Input,Json", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], + "crossLanguageDefinitionId": "OpenAI.ListFilesResponse", + "usage": "Output,Json", + "decorators": [], "properties": [ { - "$id": "3413", - "kind": "property", - "name": "input", - "serializedName": "input", - "doc": "Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model (8192 tokens for all embedding models), cannot be an empty string, and any array must be 2048 dimensions or less. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens. In addition to the per-input token limit, all embedding models enforce a maximum of 300,000 tokens summed across all inputs in a single request.", - "type": { - "$id": "3414", - "kind": "union", - "name": "CreateEmbeddingRequestInput", - "variantTypes": [ - { - "$id": "3415", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - { - "$ref": "2438" - }, - { - "$ref": "2671" - }, - { - "$id": "3416", - "kind": "array", - "name": "ArrayArray", - "valueType": { - "$ref": "2671" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - } - ], - "namespace": "OpenAI", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.input", - "serializationOptions": { - "json": { - "name": "input" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3417", + "$id": "3523", "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them.", + "name": "object", + "serializedName": "object", "type": { - "$ref": "274" + "$ref": "1700" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.model", - "serializationOptions": { - "json": { - "name": "model" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3418", - "kind": "property", - "name": "encoding_format", - "serializedName": "encoding_format", - "doc": "The format to return the embeddings in. Can be either `float` or [`base64`](https://pypi.org/project/pybase64/).", - "type": { - "$ref": "279" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.encoding_format", - "serializationOptions": { - "json": { - "name": "encoding_format" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3419", - "kind": "property", - "name": "dimensions", - "serializedName": "dimensions", - "doc": "The number of dimensions the resulting output embeddings should have. Only supported in `text-embedding-3` and later models.", - "type": { - "$id": "3420", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.dimensions", + "crossLanguageDefinitionId": "OpenAI.ListFilesResponse.object", "serializationOptions": { "json": { - "name": "dimensions" + "name": "object" } }, "isHttpMetadata": false }, { - "$id": "3421", - "kind": "property", - "name": "user", - "serializedName": "user", - "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", - "type": { - "$id": "3422", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.user", - "serializationOptions": { - "json": { - "name": "user" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "3423", - "kind": "model", - "name": "CreateEmbeddingResponse", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse", - "usage": "Output,Json", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "properties": [ - { - "$id": "3424", + "$id": "3524", "kind": "property", "name": "data", "serializedName": "data", - "doc": "The list of embeddings generated by the model.", "type": { - "$id": "3425", + "$id": "3525", "kind": "array", - "name": "ArrayEmbedding", + "name": "ArrayOpenAiFile", "valueType": { - "$id": "3426", + "$id": "3526", "kind": "model", - "name": "Embedding", + "name": "OpenAIFile", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.Embedding", + "crossLanguageDefinitionId": "OpenAI.OpenAIFile", "usage": "Output,Json", - "doc": "Represents an embedding vector returned by embedding endpoint.", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], + "doc": "The `File` object represents a document that has been uploaded to OpenAI.", + "decorators": [], "properties": [ { - "$id": "3427", + "$id": "3527", "kind": "property", - "name": "index", - "serializedName": "index", - "doc": "The index of the embedding in the list of embeddings.", + "name": "id", + "serializedName": "id", + "doc": "The file identifier, which can be referenced in the API endpoints.", "type": { - "$id": "3428", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", + "$id": "3528", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "optional": false, @@ -39559,48 +40772,64 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Embedding.index", + "crossLanguageDefinitionId": "OpenAI.OpenAIFile.id", "serializationOptions": { "json": { - "name": "index" + "name": "id" } }, "isHttpMetadata": false }, { - "$id": "3429", + "$id": "3529", "kind": "property", - "name": "embedding", - "serializedName": "embedding", - "doc": "The embedding vector, which is a list of floats. The length of vector depends on the model as listed in the [embedding guide](/docs/guides/embeddings).", + "name": "bytes", + "serializedName": "bytes", + "doc": "The size of the file, in bytes.", "type": { - "$id": "3430", - "kind": "union", - "name": "EmbeddingEmbedding", - "variantTypes": [ - { - "$id": "3431", - "kind": "array", - "name": "Array14", - "valueType": { - "$id": "3432", - "kind": "float", - "name": "float", - "crossLanguageDefinitionId": "TypeSpec.float", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - { - "$id": "3433", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - } - ], - "namespace": "OpenAI", + "$id": "3530", + "kind": "nullable", + "type": { + "$id": "3531", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.OpenAIFile.bytes", + "serializationOptions": { + "json": { + "name": "bytes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "3532", + "kind": "property", + "name": "created_at", + "serializedName": "created_at", + "doc": "The Unix timestamp (in seconds) for when the file was created.", + "type": { + "$id": "3533", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "3534", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, "optional": false, @@ -39608,422 +40837,104 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Embedding.embedding", + "crossLanguageDefinitionId": "OpenAI.OpenAIFile.created_at", "serializationOptions": { "json": { - "name": "embedding" + "name": "created_at" } }, "isHttpMetadata": false }, { - "$id": "3434", + "$id": "3535", + "kind": "property", + "name": "expires_at", + "serializedName": "expires_at", + "doc": "The Unix timestamp (in seconds) for when the file will expire.", + "type": { + "$id": "3536", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "3537", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.OpenAIFile.expires_at", + "serializationOptions": { + "json": { + "name": "expires_at" + } + }, + "isHttpMetadata": false + }, + { + "$id": "3538", + "kind": "property", + "name": "filename", + "serializedName": "filename", + "doc": "The name of the file.", + "type": { + "$id": "3539", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.OpenAIFile.filename", + "serializationOptions": { + "json": { + "name": "filename" + } + }, + "isHttpMetadata": false + }, + { + "$id": "3540", "kind": "property", "name": "object", "serializedName": "object", - "doc": "The object type, which is always \"embedding\".", + "doc": "The object type, which is always `file`.", "type": { - "$ref": "1574" + "$ref": "1702" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Embedding.object", + "crossLanguageDefinitionId": "OpenAI.OpenAIFile.object", "serializationOptions": { "json": { "name": "object" } }, "isHttpMetadata": false - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.data", - "serializationOptions": { - "json": { - "name": "data" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3435", - "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "The name of the model used to generate the embedding.", - "type": { - "$id": "3436", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.model", - "serializationOptions": { - "json": { - "name": "model" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3437", - "kind": "property", - "name": "object", - "serializedName": "object", - "doc": "The object type, which is always \"list\".", - "type": { - "$ref": "1576" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.object", - "serializationOptions": { - "json": { - "name": "object" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3438", - "kind": "property", - "name": "usage", - "serializedName": "usage", - "doc": "The usage information for the request.", - "type": { - "$id": "3439", - "kind": "model", - "name": "CreateEmbeddingResponseUsage", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.usage.anonymous", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "3440", - "kind": "property", - "name": "prompt_tokens", - "serializedName": "prompt_tokens", - "doc": "The number of tokens used by the prompt.", - "type": { - "$id": "3441", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.usage.anonymous.prompt_tokens", - "serializationOptions": { - "json": { - "name": "prompt_tokens" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3442", - "kind": "property", - "name": "total_tokens", - "serializedName": "total_tokens", - "doc": "The total number of tokens used by the request.", - "type": { - "$id": "3443", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.usage.anonymous.total_tokens", - "serializationOptions": { - "json": { - "name": "total_tokens" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.usage", - "serializationOptions": { - "json": { - "name": "usage" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$ref": "3426" - }, - { - "$ref": "3439" - }, - { - "$id": "3444", - "kind": "model", - "name": "ListFilesResponse", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ListFilesResponse", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "3445", - "kind": "property", - "name": "object", - "serializedName": "object", - "type": { - "$ref": "1578" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ListFilesResponse.object", - "serializationOptions": { - "json": { - "name": "object" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3446", - "kind": "property", - "name": "data", - "serializedName": "data", - "type": { - "$id": "3447", - "kind": "array", - "name": "ArrayOpenAiFile", - "valueType": { - "$id": "3448", - "kind": "model", - "name": "OpenAIFile", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.OpenAIFile", - "usage": "Output,Json", - "doc": "The `File` object represents a document that has been uploaded to OpenAI.", - "decorators": [], - "properties": [ - { - "$id": "3449", - "kind": "property", - "name": "id", - "serializedName": "id", - "doc": "The file identifier, which can be referenced in the API endpoints.", - "type": { - "$id": "3450", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.OpenAIFile.id", - "serializationOptions": { - "json": { - "name": "id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3451", - "kind": "property", - "name": "bytes", - "serializedName": "bytes", - "doc": "The size of the file, in bytes.", - "type": { - "$id": "3452", - "kind": "nullable", - "type": { - "$id": "3453", - "kind": "int64", - "name": "int64", - "crossLanguageDefinitionId": "TypeSpec.int64", - "decorators": [] - }, - "namespace": "OpenAI" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.OpenAIFile.bytes", - "serializationOptions": { - "json": { - "name": "bytes" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3454", - "kind": "property", - "name": "created_at", - "serializedName": "created_at", - "doc": "The Unix timestamp (in seconds) for when the file was created.", - "type": { - "$id": "3455", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "3456", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.OpenAIFile.created_at", - "serializationOptions": { - "json": { - "name": "created_at" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3457", - "kind": "property", - "name": "expires_at", - "serializedName": "expires_at", - "doc": "The Unix timestamp (in seconds) for when the file will expire.", - "type": { - "$id": "3458", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "3459", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.OpenAIFile.expires_at", - "serializationOptions": { - "json": { - "name": "expires_at" - } - }, - "isHttpMetadata": false }, { - "$id": "3460", - "kind": "property", - "name": "filename", - "serializedName": "filename", - "doc": "The name of the file.", - "type": { - "$id": "3461", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.OpenAIFile.filename", - "serializationOptions": { - "json": { - "name": "filename" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3462", - "kind": "property", - "name": "object", - "serializedName": "object", - "doc": "The object type, which is always `file`.", - "type": { - "$ref": "1580" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.OpenAIFile.object", - "serializationOptions": { - "json": { - "name": "object" - } - }, - "isHttpMetadata": false - }, - { - "$id": "3463", + "$id": "3541", "kind": "property", "name": "purpose", "serializedName": "purpose", "doc": "The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results` and `vision`.", "type": { - "$ref": "283" + "$ref": "274" }, "optional": false, "readOnly": false, @@ -40039,13 +40950,13 @@ "isHttpMetadata": false }, { - "$id": "3464", + "$id": "3542", "kind": "property", "name": "status", "serializedName": "status", "doc": "Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`.", "type": { - "$ref": "294" + "$ref": "285" }, "optional": false, "readOnly": false, @@ -40061,13 +40972,13 @@ "isHttpMetadata": false }, { - "$id": "3465", + "$id": "3543", "kind": "property", "name": "status_details", "serializedName": "status_details", "doc": "Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`.", "type": { - "$id": "3466", + "$id": "3544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40105,12 +41016,12 @@ "isHttpMetadata": false }, { - "$id": "3467", + "$id": "3545", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "3468", + "$id": "3546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40130,12 +41041,12 @@ "isHttpMetadata": false }, { - "$id": "3469", + "$id": "3547", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "3470", + "$id": "3548", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40155,12 +41066,12 @@ "isHttpMetadata": false }, { - "$id": "3471", + "$id": "3549", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3472", + "$id": "3550", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -40182,10 +41093,10 @@ ] }, { - "$ref": "3448" + "$ref": "3526" }, { - "$id": "3473", + "$id": "3551", "kind": "model", "name": "CreateFileRequest", "namespace": "OpenAI", @@ -40194,13 +41105,13 @@ "decorators": [], "properties": [ { - "$id": "3474", + "$id": "3552", "kind": "property", "name": "file", "serializedName": "file", "doc": "The File object (not file name) to be uploaded.", "type": { - "$id": "3475", + "$id": "3553", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -40227,13 +41138,13 @@ "isHttpMetadata": false }, { - "$id": "3476", + "$id": "3554", "kind": "property", "name": "purpose", "serializedName": "purpose", "doc": "The intended purpose of the uploaded file. One of: - `assistants`: Used in the Assistants API - `batch`: Used in the Batch API - `fine-tune`: Used for fine-tuning - `vision`: Images used for vision fine-tuning - `user_data`: Flexible file type for any purpose - `evals`: Used for eval data sets", "type": { - "$ref": "299" + "$ref": "290" }, "optional": false, "readOnly": false, @@ -40257,7 +41168,7 @@ ] }, { - "$id": "3477", + "$id": "3555", "kind": "model", "name": "DeleteFileResponse", "namespace": "OpenAI", @@ -40266,12 +41177,12 @@ "decorators": [], "properties": [ { - "$id": "3478", + "$id": "3556", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "3479", + "$id": "3557", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40291,12 +41202,12 @@ "isHttpMetadata": false }, { - "$id": "3480", + "$id": "3558", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1582" + "$ref": "1704" }, "optional": false, "readOnly": false, @@ -40312,12 +41223,12 @@ "isHttpMetadata": false }, { - "$id": "3481", + "$id": "3559", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "3482", + "$id": "3560", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -40339,7 +41250,7 @@ ] }, { - "$id": "3483", + "$id": "3561", "kind": "model", "name": "ListFineTuningCheckpointPermissionResponse", "namespace": "OpenAI", @@ -40348,16 +41259,16 @@ "decorators": [], "properties": [ { - "$id": "3484", + "$id": "3562", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "3485", + "$id": "3563", "kind": "array", "name": "ArrayFineTuningCheckpointPermission", "valueType": { - "$id": "3486", + "$id": "3564", "kind": "model", "name": "FineTuningCheckpointPermission", "namespace": "OpenAI", @@ -40367,13 +41278,13 @@ "decorators": [], "properties": [ { - "$id": "3487", + "$id": "3565", "kind": "property", "name": "id", "serializedName": "id", "doc": "The permission identifier, which can be referenced in the API endpoints.", "type": { - "$id": "3488", + "$id": "3566", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40393,18 +41304,18 @@ "isHttpMetadata": false }, { - "$id": "3489", + "$id": "3567", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the permission was created.", "type": { - "$id": "3490", + "$id": "3568", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3491", + "$id": "3569", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40427,13 +41338,13 @@ "isHttpMetadata": false }, { - "$id": "3492", + "$id": "3570", "kind": "property", "name": "project_id", "serializedName": "project_id", "doc": "The project identifier that the permission is for.", "type": { - "$id": "3493", + "$id": "3571", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40453,13 +41364,13 @@ "isHttpMetadata": false }, { - "$id": "3494", + "$id": "3572", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"checkpoint.permission\".", "type": { - "$ref": "1584" + "$ref": "1706" }, "optional": false, "readOnly": false, @@ -40493,12 +41404,12 @@ "isHttpMetadata": false }, { - "$id": "3495", + "$id": "3573", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1586" + "$ref": "1708" }, "optional": false, "readOnly": false, @@ -40514,15 +41425,15 @@ "isHttpMetadata": false }, { - "$id": "3496", + "$id": "3574", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "3497", + "$id": "3575", "kind": "nullable", "type": { - "$id": "3498", + "$id": "3576", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40544,15 +41455,15 @@ "isHttpMetadata": false }, { - "$id": "3499", + "$id": "3577", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "3500", + "$id": "3578", "kind": "nullable", "type": { - "$id": "3501", + "$id": "3579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40574,12 +41485,12 @@ "isHttpMetadata": false }, { - "$id": "3502", + "$id": "3580", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3503", + "$id": "3581", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -40601,10 +41512,10 @@ ] }, { - "$ref": "3486" + "$ref": "3564" }, { - "$id": "3504", + "$id": "3582", "kind": "model", "name": "CreateFineTuningCheckpointPermissionRequest", "namespace": "OpenAI", @@ -40613,13 +41524,13 @@ "decorators": [], "properties": [ { - "$id": "3505", + "$id": "3583", "kind": "property", "name": "project_ids", "serializedName": "project_ids", "doc": "The project identifiers to grant access to.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -40637,7 +41548,7 @@ ] }, { - "$id": "3506", + "$id": "3584", "kind": "model", "name": "DeleteFineTuningCheckpointPermissionResponse", "namespace": "OpenAI", @@ -40646,13 +41557,13 @@ "decorators": [], "properties": [ { - "$id": "3507", + "$id": "3585", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the fine-tuned model checkpoint permission that was deleted.", "type": { - "$id": "3508", + "$id": "3586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40672,13 +41583,13 @@ "isHttpMetadata": false }, { - "$id": "3509", + "$id": "3587", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"checkpoint.permission\".", "type": { - "$ref": "1588" + "$ref": "1710" }, "optional": false, "readOnly": false, @@ -40694,13 +41605,13 @@ "isHttpMetadata": false }, { - "$id": "3510", + "$id": "3588", "kind": "property", "name": "deleted", "serializedName": "deleted", "doc": "Whether the fine-tuned model checkpoint permission was successfully deleted.", "type": { - "$id": "3511", + "$id": "3589", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -40722,7 +41633,7 @@ ] }, { - "$id": "3512", + "$id": "3590", "kind": "model", "name": "CreateFineTuningJobRequest", "namespace": "OpenAI", @@ -40731,13 +41642,13 @@ "decorators": [], "properties": [ { - "$id": "3513", + "$id": "3591", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to fine-tune. You can select one of the\n[supported models](/docs/guides/fine-tuning#which-models-can-be-fine-tuned).", "type": { - "$ref": "307" + "$ref": "298" }, "optional": false, "readOnly": false, @@ -40753,13 +41664,13 @@ "isHttpMetadata": false }, { - "$id": "3514", + "$id": "3592", "kind": "property", "name": "training_file", "serializedName": "training_file", "doc": "The ID of an uploaded file that contains training data.\n\nSee [upload file](/docs/api-reference/files/create) for how to upload a file.\n\nYour dataset must be formatted as a JSONL file. Additionally, you must upload your file with the purpose `fine-tune`.\n\nThe contents of the file should differ depending on if the model uses the [chat](/docs/api-reference/fine-tuning/chat-input), [completions](/docs/api-reference/fine-tuning/completions-input) format, or if the fine-tuning method uses the [preference](/docs/api-reference/fine-tuning/preference-input) format.\n\nSee the [fine-tuning guide](/docs/guides/model-optimization) for more details.", "type": { - "$id": "3515", + "$id": "3593", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40779,13 +41690,13 @@ "isHttpMetadata": false }, { - "$id": "3516", + "$id": "3594", "kind": "property", "name": "hyperparameters", "serializedName": "hyperparameters", "doc": "The hyperparameters used for the fine-tuning job.\nThis value is now deprecated in favor of `method`, and should be passed in under the `method` parameter.", "type": { - "$id": "3517", + "$id": "3595", "kind": "model", "name": "CreateFineTuningJobRequestHyperparameters", "namespace": "OpenAI", @@ -40794,21 +41705,21 @@ "decorators": [], "properties": [ { - "$id": "3518", + "$id": "3596", "kind": "property", "name": "batch_size", "serializedName": "batch_size", "doc": "Number of examples in each batch. A larger batch size means that model parameters\nare updated less frequently, but with lower variance.", "type": { - "$id": "3519", + "$id": "3597", "kind": "union", "name": "CreateFineTuningJobRequestHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1590" + "$ref": "1712" }, { - "$id": "3520", + "$id": "3598", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40832,21 +41743,21 @@ "isHttpMetadata": false }, { - "$id": "3521", + "$id": "3599", "kind": "property", "name": "learning_rate_multiplier", "serializedName": "learning_rate_multiplier", "doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid\noverfitting.", "type": { - "$id": "3522", + "$id": "3600", "kind": "union", "name": "CreateFineTuningJobRequestHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1592" + "$ref": "1714" }, { - "$id": "3523", + "$id": "3601", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -40870,21 +41781,21 @@ "isHttpMetadata": false }, { - "$id": "3524", + "$id": "3602", "kind": "property", "name": "n_epochs", "serializedName": "n_epochs", "doc": "The number of epochs to train the model for. An epoch refers to one full cycle\nthrough the training dataset.", "type": { - "$id": "3525", + "$id": "3603", "kind": "union", "name": "CreateFineTuningJobRequestHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1594" + "$ref": "1716" }, { - "$id": "3526", + "$id": "3604", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40923,16 +41834,16 @@ "isHttpMetadata": false }, { - "$id": "3527", + "$id": "3605", "kind": "property", "name": "suffix", "serializedName": "suffix", "doc": "A string of up to 64 characters that will be added to your fine-tuned model name.\n\nFor example, a `suffix` of \"custom-model-name\" would produce a model name like `ft:gpt-4o-mini:openai:custom-model-name:7p4lURel`.", "type": { - "$id": "3528", + "$id": "3606", "kind": "nullable", "type": { - "$id": "3529", + "$id": "3607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40954,16 +41865,16 @@ "isHttpMetadata": false }, { - "$id": "3530", + "$id": "3608", "kind": "property", "name": "validation_file", "serializedName": "validation_file", "doc": "The ID of an uploaded file that contains validation data.\n\nIf you provide this file, the data is used to generate validation\nmetrics periodically during fine-tuning. These metrics can be viewed in\nthe fine-tuning results file.\nThe same data should not be present in both train and validation files.\n\nYour dataset must be formatted as a JSONL file. You must upload your file with the purpose `fine-tune`.\n\nSee the [fine-tuning guide](/docs/guides/model-optimization) for more details.", "type": { - "$id": "3531", + "$id": "3609", "kind": "nullable", "type": { - "$id": "3532", + "$id": "3610", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40985,20 +41896,20 @@ "isHttpMetadata": false }, { - "$id": "3533", + "$id": "3611", "kind": "property", "name": "integrations", "serializedName": "integrations", "doc": "A list of integrations to enable for your fine-tuning job.", "type": { - "$id": "3534", + "$id": "3612", "kind": "nullable", "type": { - "$id": "3535", + "$id": "3613", "kind": "array", "name": "ArrayCreateFineTuningJobRequestIntegration", "valueType": { - "$id": "3536", + "$id": "3614", "kind": "model", "name": "CreateFineTuningJobRequestIntegration", "namespace": "OpenAI", @@ -41006,12 +41917,12 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "3537", + "$id": "3615", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "313" + "$ref": "304" }, "optional": false, "readOnly": false, @@ -41028,12 +41939,12 @@ }, "properties": [ { - "$ref": "3537" + "$ref": "3615" } ], "discriminatedSubtypes": { "wandb": { - "$id": "3538", + "$id": "3616", "kind": "model", "name": "CreateFineTuningJobRequestWandbIntegration", "namespace": "OpenAI", @@ -41042,31 +41953,31 @@ "discriminatorValue": "wandb", "decorators": [], "baseModel": { - "$ref": "3536" + "$ref": "3614" }, "properties": [ { - "$id": "3539", + "$id": "3617", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "3540", + "$id": "3618", "kind": "enumvalue", "name": "wandb", "value": "wandb", "valueType": { - "$ref": "314" + "$ref": "305" }, "enumType": { - "$id": "3541", + "$id": "3619", "kind": "enum", "decorators": [], "name": "CreateFineTuningJobRequestIntegrationType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "3542", + "$id": "3620", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -41075,16 +41986,16 @@ }, "values": [ { - "$id": "3543", + "$id": "3621", "kind": "enumvalue", "decorators": [], "name": "wandb", "value": "wandb", "valueType": { - "$ref": "3542" + "$ref": "3620" }, "enumType": { - "$ref": "3541" + "$ref": "3619" } } ], @@ -41113,12 +42024,12 @@ "isHttpMetadata": false }, { - "$id": "3544", + "$id": "3622", "kind": "property", "name": "wandb", "serializedName": "wandb", "type": { - "$id": "3545", + "$id": "3623", "kind": "model", "name": "CreateFineTuningJobRequestWandbIntegrationWandb", "namespace": "OpenAI", @@ -41127,12 +42038,12 @@ "decorators": [], "properties": [ { - "$id": "3546", + "$id": "3624", "kind": "property", "name": "project", "serializedName": "project", "type": { - "$id": "3547", + "$id": "3625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41152,15 +42063,15 @@ "isHttpMetadata": false }, { - "$id": "3548", + "$id": "3626", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "3549", + "$id": "3627", "kind": "nullable", "type": { - "$id": "3550", + "$id": "3628", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41182,15 +42093,15 @@ "isHttpMetadata": false }, { - "$id": "3551", + "$id": "3629", "kind": "property", "name": "entity", "serializedName": "entity", "type": { - "$id": "3552", + "$id": "3630", "kind": "nullable", "type": { - "$id": "3553", + "$id": "3631", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41212,12 +42123,12 @@ "isHttpMetadata": false }, { - "$id": "3554", + "$id": "3632", "kind": "property", "name": "tags", "serializedName": "tags", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -41270,16 +42181,16 @@ "isHttpMetadata": false }, { - "$id": "3555", + "$id": "3633", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "The seed controls the reproducibility of the job. Passing in the same seed and job parameters should produce the same results, but may differ in rare cases.\nIf a seed is not specified, one will be generated for you.", "type": { - "$id": "3556", + "$id": "3634", "kind": "nullable", "type": { - "$id": "3557", + "$id": "3635", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -41301,12 +42212,12 @@ "isHttpMetadata": false }, { - "$id": "3558", + "$id": "3636", "kind": "property", "name": "method", "serializedName": "method", "type": { - "$id": "3559", + "$id": "3637", "kind": "model", "name": "FineTuneMethod", "namespace": "OpenAI", @@ -41316,13 +42227,13 @@ "decorators": [], "properties": [ { - "$id": "3560", + "$id": "3638", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of method. Is either `supervised`, `dpo`, or `reinforcement`.", "type": { - "$ref": "316" + "$ref": "307" }, "optional": false, "readOnly": false, @@ -41338,12 +42249,12 @@ "isHttpMetadata": false }, { - "$id": "3561", + "$id": "3639", "kind": "property", "name": "supervised", "serializedName": "supervised", "type": { - "$id": "3562", + "$id": "3640", "kind": "model", "name": "FineTuneSupervisedMethod", "namespace": "OpenAI", @@ -41353,12 +42264,12 @@ "decorators": [], "properties": [ { - "$id": "3563", + "$id": "3641", "kind": "property", "name": "hyperparameters", "serializedName": "hyperparameters", "type": { - "$id": "3564", + "$id": "3642", "kind": "model", "name": "FineTuneSupervisedHyperparameters", "namespace": "OpenAI", @@ -41368,21 +42279,21 @@ "decorators": [], "properties": [ { - "$id": "3565", + "$id": "3643", "kind": "property", "name": "batch_size", "serializedName": "batch_size", "doc": "Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.", "type": { - "$id": "3566", + "$id": "3644", "kind": "union", "name": "FineTuneSupervisedHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1596" + "$ref": "1718" }, { - "$id": "3567", + "$id": "3645", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -41406,21 +42317,21 @@ "isHttpMetadata": false }, { - "$id": "3568", + "$id": "3646", "kind": "property", "name": "learning_rate_multiplier", "serializedName": "learning_rate_multiplier", "doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.", "type": { - "$id": "3569", + "$id": "3647", "kind": "union", "name": "FineTuneSupervisedHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1598" + "$ref": "1720" }, { - "$id": "3570", + "$id": "3648", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -41444,21 +42355,21 @@ "isHttpMetadata": false }, { - "$id": "3571", + "$id": "3649", "kind": "property", "name": "n_epochs", "serializedName": "n_epochs", "doc": "The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.", "type": { - "$id": "3572", + "$id": "3650", "kind": "union", "name": "FineTuneSupervisedHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1600" + "$ref": "1722" }, { - "$id": "3573", + "$id": "3651", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -41512,12 +42423,12 @@ "isHttpMetadata": false }, { - "$id": "3574", + "$id": "3652", "kind": "property", "name": "dpo", "serializedName": "dpo", "type": { - "$id": "3575", + "$id": "3653", "kind": "model", "name": "FineTuneDPOMethod", "namespace": "OpenAI", @@ -41527,12 +42438,12 @@ "decorators": [], "properties": [ { - "$id": "3576", + "$id": "3654", "kind": "property", "name": "hyperparameters", "serializedName": "hyperparameters", "type": { - "$id": "3577", + "$id": "3655", "kind": "model", "name": "FineTuneDPOHyperparameters", "namespace": "OpenAI", @@ -41542,21 +42453,21 @@ "decorators": [], "properties": [ { - "$id": "3578", + "$id": "3656", "kind": "property", "name": "beta", "serializedName": "beta", "doc": "The beta value for the DPO method. A higher beta value will increase the weight of the penalty between the policy and reference model.", "type": { - "$id": "3579", + "$id": "3657", "kind": "union", "name": "FineTuneDPOHyperparametersBeta", "variantTypes": [ { - "$ref": "1602" + "$ref": "1724" }, { - "$id": "3580", + "$id": "3658", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -41580,21 +42491,21 @@ "isHttpMetadata": false }, { - "$id": "3581", + "$id": "3659", "kind": "property", "name": "batch_size", "serializedName": "batch_size", "doc": "Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.", "type": { - "$id": "3582", + "$id": "3660", "kind": "union", "name": "FineTuneDPOHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1604" + "$ref": "1726" }, { - "$id": "3583", + "$id": "3661", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -41618,21 +42529,21 @@ "isHttpMetadata": false }, { - "$id": "3584", + "$id": "3662", "kind": "property", "name": "learning_rate_multiplier", "serializedName": "learning_rate_multiplier", "doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.", "type": { - "$id": "3585", + "$id": "3663", "kind": "union", "name": "FineTuneDPOHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1606" + "$ref": "1728" }, { - "$id": "3586", + "$id": "3664", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -41656,21 +42567,21 @@ "isHttpMetadata": false }, { - "$id": "3587", + "$id": "3665", "kind": "property", "name": "n_epochs", "serializedName": "n_epochs", "doc": "The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.", "type": { - "$id": "3588", + "$id": "3666", "kind": "union", "name": "FineTuneDPOHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1608" + "$ref": "1730" }, { - "$id": "3589", + "$id": "3667", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -41724,12 +42635,12 @@ "isHttpMetadata": false }, { - "$id": "3590", + "$id": "3668", "kind": "property", "name": "reinforcement", "serializedName": "reinforcement", "type": { - "$id": "3591", + "$id": "3669", "kind": "model", "name": "FineTuneReinforcementMethod", "namespace": "OpenAI", @@ -41739,18 +42650,18 @@ "decorators": [], "properties": [ { - "$id": "3592", + "$id": "3670", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "3593", + "$id": "3671", "kind": "union", "name": "FineTuneReinforcementMethodGrader", "variantTypes": [ { - "$id": "3594", + "$id": "3672", "kind": "model", "name": "GraderStringCheck", "namespace": "OpenAI", @@ -41760,7 +42671,7 @@ "discriminatorValue": "string_check", "decorators": [], "baseModel": { - "$id": "3595", + "$id": "3673", "kind": "model", "name": "Grader", "namespace": "OpenAI", @@ -41768,12 +42679,12 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "3596", + "$id": "3674", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "327" + "$ref": "318" }, "optional": false, "readOnly": false, @@ -41790,15 +42701,15 @@ }, "properties": [ { - "$ref": "3596" + "$ref": "3674" } ], "discriminatedSubtypes": { "string_check": { - "$ref": "3594" + "$ref": "3672" }, "text_similarity": { - "$id": "3597", + "$id": "3675", "kind": "model", "name": "GraderTextSimilarity", "namespace": "OpenAI", @@ -41808,32 +42719,32 @@ "discriminatorValue": "text_similarity", "decorators": [], "baseModel": { - "$ref": "3595" + "$ref": "3673" }, "properties": [ { - "$id": "3598", + "$id": "3676", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of grader.", "type": { - "$id": "3599", + "$id": "3677", "kind": "enumvalue", "name": "text_similarity", "value": "text_similarity", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$id": "3600", + "$id": "3678", "kind": "enum", "decorators": [], "name": "GraderType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3601", + "$id": "3679", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -41842,81 +42753,81 @@ }, "values": [ { - "$id": "3602", + "$id": "3680", "kind": "enumvalue", "decorators": [], "name": "string_check", "value": "string_check", "valueType": { - "$ref": "3601" + "$ref": "3679" }, "enumType": { - "$ref": "3600" + "$ref": "3678" } }, { - "$id": "3603", + "$id": "3681", "kind": "enumvalue", "decorators": [], "name": "text_similarity", "value": "text_similarity", "valueType": { - "$ref": "3601" + "$ref": "3679" }, "enumType": { - "$ref": "3600" + "$ref": "3678" } }, { - "$id": "3604", + "$id": "3682", "kind": "enumvalue", "decorators": [], "name": "score_model", "value": "score_model", "valueType": { - "$ref": "3601" + "$ref": "3679" }, "enumType": { - "$ref": "3600" + "$ref": "3678" } }, { - "$id": "3605", + "$id": "3683", "kind": "enumvalue", "decorators": [], "name": "label_model", "value": "label_model", "valueType": { - "$ref": "3601" + "$ref": "3679" }, "enumType": { - "$ref": "3600" + "$ref": "3678" } }, { - "$id": "3606", + "$id": "3684", "kind": "enumvalue", "decorators": [], "name": "python", "value": "python", "valueType": { - "$ref": "3601" + "$ref": "3679" }, "enumType": { - "$ref": "3600" + "$ref": "3678" } }, { - "$id": "3607", + "$id": "3685", "kind": "enumvalue", "decorators": [], "name": "multi", "value": "multi", "valueType": { - "$ref": "3601" + "$ref": "3679" }, "enumType": { - "$ref": "3600" + "$ref": "3678" } } ], @@ -41945,13 +42856,13 @@ "isHttpMetadata": false }, { - "$id": "3608", + "$id": "3686", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3609", + "$id": "3687", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41971,13 +42882,13 @@ "isHttpMetadata": false }, { - "$id": "3610", + "$id": "3688", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text being graded.", "type": { - "$id": "3611", + "$id": "3689", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41997,13 +42908,13 @@ "isHttpMetadata": false }, { - "$id": "3612", + "$id": "3690", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The text being graded against.", "type": { - "$id": "3613", + "$id": "3691", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42023,13 +42934,13 @@ "isHttpMetadata": false }, { - "$id": "3614", + "$id": "3692", "kind": "property", "name": "evaluation_metric", "serializedName": "evaluation_metric", "doc": "The evaluation metric to use. One of `fuzzy_match`, `bleu`, `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`.", "type": { - "$ref": "335" + "$ref": "326" }, "optional": false, "readOnly": false, @@ -42047,7 +42958,7 @@ ] }, "python": { - "$id": "3615", + "$id": "3693", "kind": "model", "name": "GraderPython", "namespace": "OpenAI", @@ -42057,25 +42968,25 @@ "discriminatorValue": "python", "decorators": [], "baseModel": { - "$ref": "3595" + "$ref": "3673" }, "properties": [ { - "$id": "3616", + "$id": "3694", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `python`.", "type": { - "$id": "3617", + "$id": "3695", "kind": "enumvalue", "name": "python", "value": "python", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "3600" + "$ref": "3678" }, "decorators": [] }, @@ -42093,13 +43004,13 @@ "isHttpMetadata": false }, { - "$id": "3618", + "$id": "3696", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3619", + "$id": "3697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42119,13 +43030,13 @@ "isHttpMetadata": false }, { - "$id": "3620", + "$id": "3698", "kind": "property", "name": "source", "serializedName": "source", "doc": "The source code of the python script.", "type": { - "$id": "3621", + "$id": "3699", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42145,13 +43056,13 @@ "isHttpMetadata": false }, { - "$id": "3622", + "$id": "3700", "kind": "property", "name": "image_tag", "serializedName": "image_tag", "doc": "The image tag to use for the python script.", "type": { - "$id": "3623", + "$id": "3701", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42173,7 +43084,7 @@ ] }, "score_model": { - "$id": "3624", + "$id": "3702", "kind": "model", "name": "GraderScoreModel", "namespace": "OpenAI", @@ -42183,25 +43094,25 @@ "discriminatorValue": "score_model", "decorators": [], "baseModel": { - "$ref": "3595" + "$ref": "3673" }, "properties": [ { - "$id": "3625", + "$id": "3703", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `score_model`.", "type": { - "$id": "3626", + "$id": "3704", "kind": "enumvalue", "name": "score_model", "value": "score_model", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "3600" + "$ref": "3678" }, "decorators": [] }, @@ -42219,13 +43130,13 @@ "isHttpMetadata": false }, { - "$id": "3627", + "$id": "3705", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3628", + "$id": "3706", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42245,13 +43156,13 @@ "isHttpMetadata": false }, { - "$id": "3629", + "$id": "3707", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation.", "type": { - "$id": "3630", + "$id": "3708", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42271,13 +43182,13 @@ "isHttpMetadata": false }, { - "$id": "3631", + "$id": "3709", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "doc": "The sampling parameters for the model.", "type": { - "$id": "3632", + "$id": "3710", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -42297,17 +43208,17 @@ "isHttpMetadata": false }, { - "$id": "3633", + "$id": "3711", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$id": "3634", + "$id": "3712", "kind": "array", "name": "ArrayEvalItem", "valueType": { - "$id": "3635", + "$id": "3713", "kind": "model", "name": "EvalItem", "namespace": "OpenAI", @@ -42317,13 +43228,13 @@ "decorators": [], "properties": [ { - "$id": "3636", + "$id": "3714", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.", "type": { - "$ref": "347" + "$ref": "338" }, "optional": false, "readOnly": false, @@ -42339,25 +43250,25 @@ "isHttpMetadata": false }, { - "$id": "3637", + "$id": "3715", "kind": "property", "name": "content", "serializedName": "content", "doc": "Text inputs to the model - can contain template strings.", "type": { - "$id": "3638", + "$id": "3716", "kind": "union", "name": "EvalItemContent1", "variantTypes": [ { - "$id": "3639", + "$id": "3717", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3640", + "$id": "3718", "kind": "model", "name": "EvalItemContent", "namespace": "OpenAI", @@ -42365,12 +43276,12 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "3641", + "$id": "3719", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "353" + "$ref": "344" }, "optional": false, "readOnly": false, @@ -42387,12 +43298,12 @@ }, "properties": [ { - "$ref": "3641" + "$ref": "3719" } ], "discriminatedSubtypes": { "input_text": { - "$id": "3642", + "$id": "3720", "kind": "model", "name": "EvalItemContentInputText", "namespace": "OpenAI", @@ -42401,31 +43312,31 @@ "discriminatorValue": "input_text", "decorators": [], "baseModel": { - "$ref": "3640" + "$ref": "3718" }, "properties": [ { - "$id": "3643", + "$id": "3721", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "3644", + "$id": "3722", "kind": "enumvalue", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "354" + "$ref": "345" }, "enumType": { - "$id": "3645", + "$id": "3723", "kind": "enum", "decorators": [], "name": "EvalItemContentType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3646", + "$id": "3724", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -42434,29 +43345,29 @@ }, "values": [ { - "$id": "3647", + "$id": "3725", "kind": "enumvalue", "decorators": [], "name": "input_text", "value": "input_text", "valueType": { - "$ref": "3646" + "$ref": "3724" }, "enumType": { - "$ref": "3645" + "$ref": "3723" } }, { - "$id": "3648", + "$id": "3726", "kind": "enumvalue", "decorators": [], "name": "output_text", "value": "output_text", "valueType": { - "$ref": "3646" + "$ref": "3724" }, "enumType": { - "$ref": "3645" + "$ref": "3723" } } ], @@ -42485,12 +43396,12 @@ "isHttpMetadata": false }, { - "$id": "3649", + "$id": "3727", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "3650", + "$id": "3728", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42512,7 +43423,7 @@ ] }, "output_text": { - "$id": "3651", + "$id": "3729", "kind": "model", "name": "EvalItemContentOutputText", "namespace": "OpenAI", @@ -42521,24 +43432,24 @@ "discriminatorValue": "output_text", "decorators": [], "baseModel": { - "$ref": "3640" + "$ref": "3718" }, "properties": [ { - "$id": "3652", + "$id": "3730", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "3653", + "$id": "3731", "kind": "enumvalue", "name": "output_text", "value": "output_text", "valueType": { - "$ref": "354" + "$ref": "345" }, "enumType": { - "$ref": "3645" + "$ref": "3723" }, "decorators": [] }, @@ -42556,12 +43467,12 @@ "isHttpMetadata": false }, { - "$id": "3654", + "$id": "3732", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "3655", + "$id": "3733", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42602,13 +43513,13 @@ "isHttpMetadata": false }, { - "$id": "3656", + "$id": "3734", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the message input. Always `message`.", "type": { - "$ref": "357" + "$ref": "348" }, "optional": true, "readOnly": false, @@ -42642,13 +43553,13 @@ "isHttpMetadata": false }, { - "$id": "3657", + "$id": "3735", "kind": "property", "name": "range", "serializedName": "range", "doc": "The range of the score. Defaults to `[0, 1]`.", "type": { - "$ref": "2692" + "$ref": "2802" }, "optional": true, "readOnly": false, @@ -42666,7 +43577,7 @@ ] }, "multi": { - "$id": "3658", + "$id": "3736", "kind": "model", "name": "GraderMulti", "namespace": "OpenAI", @@ -42676,25 +43587,25 @@ "discriminatorValue": "multi", "decorators": [], "baseModel": { - "$ref": "3595" + "$ref": "3673" }, "properties": [ { - "$id": "3659", + "$id": "3737", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `multi`.", "type": { - "$id": "3660", + "$id": "3738", "kind": "enumvalue", "name": "multi", "value": "multi", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "3600" + "$ref": "3678" }, "decorators": [] }, @@ -42712,13 +43623,13 @@ "isHttpMetadata": false }, { - "$id": "3661", + "$id": "3739", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3662", + "$id": "3740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42738,29 +43649,29 @@ "isHttpMetadata": false }, { - "$id": "3663", + "$id": "3741", "kind": "property", "name": "graders", "serializedName": "graders", "type": { - "$id": "3664", + "$id": "3742", "kind": "union", "name": "GraderMultiGraders", "variantTypes": [ { - "$ref": "3594" + "$ref": "3672" }, { - "$ref": "3597" + "$ref": "3675" }, { - "$ref": "3615" + "$ref": "3693" }, { - "$ref": "3624" + "$ref": "3702" }, { - "$id": "3665", + "$id": "3743", "kind": "model", "name": "GraderLabelModel", "namespace": "OpenAI", @@ -42770,25 +43681,25 @@ "discriminatorValue": "label_model", "decorators": [], "baseModel": { - "$ref": "3595" + "$ref": "3673" }, "properties": [ { - "$id": "3666", + "$id": "3744", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `label_model`.", "type": { - "$id": "3667", + "$id": "3745", "kind": "enumvalue", "name": "label_model", "value": "label_model", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "3600" + "$ref": "3678" }, "decorators": [] }, @@ -42806,13 +43717,13 @@ "isHttpMetadata": false }, { - "$id": "3668", + "$id": "3746", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3669", + "$id": "3747", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42832,13 +43743,13 @@ "isHttpMetadata": false }, { - "$id": "3670", + "$id": "3748", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation. Must support structured outputs.", "type": { - "$id": "3671", + "$id": "3749", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42858,12 +43769,12 @@ "isHttpMetadata": false }, { - "$id": "3672", + "$id": "3750", "kind": "property", "name": "input", "serializedName": "input", "type": { - "$ref": "3634" + "$ref": "3712" }, "optional": false, "readOnly": false, @@ -42879,13 +43790,13 @@ "isHttpMetadata": false }, { - "$id": "3673", + "$id": "3751", "kind": "property", "name": "labels", "serializedName": "labels", "doc": "The labels to assign to each item in the evaluation.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -42901,13 +43812,13 @@ "isHttpMetadata": false }, { - "$id": "3674", + "$id": "3752", "kind": "property", "name": "passing_labels", "serializedName": "passing_labels", "doc": "The labels that indicate a passing result. Must be a subset of labels.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -42942,13 +43853,13 @@ "isHttpMetadata": false }, { - "$id": "3675", + "$id": "3753", "kind": "property", "name": "calculate_output", "serializedName": "calculate_output", "doc": "A formula to calculate the output based on grader results.", "type": { - "$id": "3676", + "$id": "3754", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42970,27 +43881,27 @@ ] }, "label_model": { - "$ref": "3665" + "$ref": "3743" } } }, "properties": [ { - "$id": "3677", + "$id": "3755", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `string_check`.", "type": { - "$id": "3678", + "$id": "3756", "kind": "enumvalue", "name": "string_check", "value": "string_check", "valueType": { - "$ref": "328" + "$ref": "319" }, "enumType": { - "$ref": "3600" + "$ref": "3678" }, "decorators": [] }, @@ -43008,13 +43919,13 @@ "isHttpMetadata": false }, { - "$id": "3679", + "$id": "3757", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3680", + "$id": "3758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43034,13 +43945,13 @@ "isHttpMetadata": false }, { - "$id": "3681", + "$id": "3759", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$id": "3682", + "$id": "3760", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43060,13 +43971,13 @@ "isHttpMetadata": false }, { - "$id": "3683", + "$id": "3761", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The reference text. This may include template strings.", "type": { - "$id": "3684", + "$id": "3762", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43086,13 +43997,13 @@ "isHttpMetadata": false }, { - "$id": "3685", + "$id": "3763", "kind": "property", "name": "operation", "serializedName": "operation", "doc": "The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`.", "type": { - "$ref": "321" + "$ref": "312" }, "optional": false, "readOnly": false, @@ -43110,16 +44021,16 @@ ] }, { - "$ref": "3597" + "$ref": "3675" }, { - "$ref": "3615" + "$ref": "3693" }, { - "$ref": "3624" + "$ref": "3702" }, { - "$ref": "3658" + "$ref": "3736" } ], "namespace": "OpenAI", @@ -43139,12 +44050,12 @@ "isHttpMetadata": false }, { - "$id": "3686", + "$id": "3764", "kind": "property", "name": "hyperparameters", "serializedName": "hyperparameters", "type": { - "$id": "3687", + "$id": "3765", "kind": "model", "name": "FineTuneReinforcementHyperparameters", "namespace": "OpenAI", @@ -43154,21 +44065,21 @@ "decorators": [], "properties": [ { - "$id": "3688", + "$id": "3766", "kind": "property", "name": "batch_size", "serializedName": "batch_size", "doc": "Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.", "type": { - "$id": "3689", + "$id": "3767", "kind": "union", "name": "FineTuneReinforcementHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1610" + "$ref": "1732" }, { - "$id": "3690", + "$id": "3768", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43192,21 +44103,21 @@ "isHttpMetadata": false }, { - "$id": "3691", + "$id": "3769", "kind": "property", "name": "learning_rate_multiplier", "serializedName": "learning_rate_multiplier", "doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.", "type": { - "$id": "3692", + "$id": "3770", "kind": "union", "name": "FineTuneReinforcementHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1612" + "$ref": "1734" }, { - "$id": "3693", + "$id": "3771", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -43230,21 +44141,21 @@ "isHttpMetadata": false }, { - "$id": "3694", + "$id": "3772", "kind": "property", "name": "n_epochs", "serializedName": "n_epochs", "doc": "The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.", "type": { - "$id": "3695", + "$id": "3773", "kind": "union", "name": "FineTuneReinforcementHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1614" + "$ref": "1736" }, { - "$id": "3696", + "$id": "3774", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43268,13 +44179,13 @@ "isHttpMetadata": false }, { - "$id": "3697", + "$id": "3775", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "doc": "Level of reasoning effort.", "type": { - "$ref": "361" + "$ref": "352" }, "optional": true, "readOnly": false, @@ -43290,21 +44201,21 @@ "isHttpMetadata": false }, { - "$id": "3698", + "$id": "3776", "kind": "property", "name": "compute_multiplier", "serializedName": "compute_multiplier", "doc": "Multiplier on amount of compute used for exploring search space during training.", "type": { - "$id": "3699", + "$id": "3777", "kind": "union", "name": "FineTuneReinforcementHyperparametersComputeMultiplier", "variantTypes": [ { - "$ref": "1616" + "$ref": "1738" }, { - "$id": "3700", + "$id": "3778", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -43328,21 +44239,21 @@ "isHttpMetadata": false }, { - "$id": "3701", + "$id": "3779", "kind": "property", "name": "eval_interval", "serializedName": "eval_interval", "doc": "The number of training steps between evaluation runs.", "type": { - "$id": "3702", + "$id": "3780", "kind": "union", "name": "FineTuneReinforcementHyperparametersEvalInterval", "variantTypes": [ { - "$ref": "1618" + "$ref": "1740" }, { - "$id": "3703", + "$id": "3781", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43366,21 +44277,21 @@ "isHttpMetadata": false }, { - "$id": "3704", + "$id": "3782", "kind": "property", "name": "eval_samples", "serializedName": "eval_samples", "doc": "Number of evaluation samples to generate per training step.", "type": { - "$id": "3705", + "$id": "3783", "kind": "union", "name": "FineTuneReinforcementHyperparametersEvalSamples", "variantTypes": [ { - "$ref": "1620" + "$ref": "1742" }, { - "$id": "3706", + "$id": "3784", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43449,13 +44360,13 @@ "isHttpMetadata": false }, { - "$id": "3707", + "$id": "3785", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -43473,73 +44384,73 @@ ] }, { - "$ref": "3517" + "$ref": "3595" }, { - "$ref": "3536" + "$ref": "3614" }, { - "$ref": "3538" + "$ref": "3616" }, { - "$ref": "3545" + "$ref": "3623" }, { - "$ref": "3559" + "$ref": "3637" }, { - "$ref": "3562" + "$ref": "3640" }, { - "$ref": "3564" + "$ref": "3642" }, { - "$ref": "3575" + "$ref": "3653" }, { - "$ref": "3577" + "$ref": "3655" }, { - "$ref": "3591" + "$ref": "3669" }, { - "$ref": "3594" + "$ref": "3672" }, { - "$ref": "3595" + "$ref": "3673" }, { - "$ref": "3597" + "$ref": "3675" }, { - "$ref": "3615" + "$ref": "3693" }, { - "$ref": "3624" + "$ref": "3702" }, { - "$ref": "3635" + "$ref": "3713" }, { - "$ref": "3640" + "$ref": "3718" }, { - "$ref": "3642" + "$ref": "3720" }, { - "$ref": "3651" + "$ref": "3729" }, { - "$ref": "3658" + "$ref": "3736" }, { - "$ref": "3665" + "$ref": "3743" }, { - "$ref": "3687" + "$ref": "3765" }, { - "$id": "3708", + "$id": "3786", "kind": "model", "name": "FineTuningJob", "namespace": "OpenAI", @@ -43549,16 +44460,16 @@ "decorators": [], "properties": [ { - "$id": "3709", + "$id": "3787", "kind": "property", "name": "user_provided_suffix", "serializedName": "user_provided_suffix", "doc": "The descriptive suffix applied to the job, as specified in the job creation request.", "type": { - "$id": "3710", + "$id": "3788", "kind": "nullable", "type": { - "$id": "3711", + "$id": "3789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43580,13 +44491,13 @@ "isHttpMetadata": false }, { - "$id": "3712", + "$id": "3790", "kind": "property", "name": "id", "serializedName": "id", "doc": "The object identifier, which can be referenced in the API endpoints.", "type": { - "$id": "3713", + "$id": "3791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43606,18 +44517,18 @@ "isHttpMetadata": false }, { - "$id": "3714", + "$id": "3792", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the fine-tuning job was created.", "type": { - "$id": "3715", + "$id": "3793", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3716", + "$id": "3794", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43640,16 +44551,16 @@ "isHttpMetadata": false }, { - "$id": "3717", + "$id": "3795", "kind": "property", "name": "error", "serializedName": "error", "doc": "For fine-tuning jobs that have `failed`, this will contain more information on the cause of the failure.", "type": { - "$id": "3718", + "$id": "3796", "kind": "nullable", "type": { - "$id": "3719", + "$id": "3797", "kind": "model", "name": "FineTuningJobError1", "namespace": "OpenAI", @@ -43658,13 +44569,13 @@ "decorators": [], "properties": [ { - "$id": "3720", + "$id": "3798", "kind": "property", "name": "code", "serializedName": "code", "doc": "A machine-readable error code.", "type": { - "$id": "3721", + "$id": "3799", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43684,13 +44595,13 @@ "isHttpMetadata": false }, { - "$id": "3722", + "$id": "3800", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "3723", + "$id": "3801", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43710,16 +44621,16 @@ "isHttpMetadata": false }, { - "$id": "3724", + "$id": "3802", "kind": "property", "name": "param", "serializedName": "param", "doc": "The parameter that was invalid, usually `training_file` or `validation_file`. This field will be null if the failure was not parameter-specific.", "type": { - "$id": "3725", + "$id": "3803", "kind": "nullable", "type": { - "$id": "3726", + "$id": "3804", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43758,16 +44669,16 @@ "isHttpMetadata": false }, { - "$id": "3727", + "$id": "3805", "kind": "property", "name": "fine_tuned_model", "serializedName": "fine_tuned_model", "doc": "The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.", "type": { - "$id": "3728", + "$id": "3806", "kind": "nullable", "type": { - "$id": "3729", + "$id": "3807", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43789,21 +44700,21 @@ "isHttpMetadata": false }, { - "$id": "3730", + "$id": "3808", "kind": "property", "name": "finished_at", "serializedName": "finished_at", "doc": "The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.", "type": { - "$id": "3731", + "$id": "3809", "kind": "nullable", "type": { - "$id": "3732", + "$id": "3810", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3733", + "$id": "3811", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43828,13 +44739,13 @@ "isHttpMetadata": false }, { - "$id": "3734", + "$id": "3812", "kind": "property", "name": "hyperparameters", "serializedName": "hyperparameters", "doc": "The hyperparameters used for the fine-tuning job. This value will only be returned when running `supervised` jobs.", "type": { - "$id": "3735", + "$id": "3813", "kind": "model", "name": "FineTuningJobHyperparameters", "namespace": "OpenAI", @@ -43843,24 +44754,24 @@ "decorators": [], "properties": [ { - "$id": "3736", + "$id": "3814", "kind": "property", "name": "batch_size", "serializedName": "batch_size", "doc": "Number of examples in each batch. A larger batch size means that model parameters\nare updated less frequently, but with lower variance.", "type": { - "$id": "3737", + "$id": "3815", "kind": "nullable", "type": { - "$id": "3738", + "$id": "3816", "kind": "union", "name": "FineTuningJobHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1622" + "$ref": "1744" }, { - "$id": "3739", + "$id": "3817", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43886,21 +44797,21 @@ "isHttpMetadata": false }, { - "$id": "3740", + "$id": "3818", "kind": "property", "name": "learning_rate_multiplier", "serializedName": "learning_rate_multiplier", "doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid\noverfitting.", "type": { - "$id": "3741", + "$id": "3819", "kind": "union", "name": "FineTuningJobHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1624" + "$ref": "1746" }, { - "$id": "3742", + "$id": "3820", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -43924,21 +44835,21 @@ "isHttpMetadata": false }, { - "$id": "3743", + "$id": "3821", "kind": "property", "name": "n_epochs", "serializedName": "n_epochs", "doc": "The number of epochs to train the model for. An epoch refers to one full cycle\nthrough the training dataset.", "type": { - "$id": "3744", + "$id": "3822", "kind": "union", "name": "FineTuningJobHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1626" + "$ref": "1748" }, { - "$id": "3745", + "$id": "3823", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43977,13 +44888,13 @@ "isHttpMetadata": false }, { - "$id": "3746", + "$id": "3824", "kind": "property", "name": "model", "serializedName": "model", "doc": "The base model that is being fine-tuned.", "type": { - "$id": "3747", + "$id": "3825", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44003,13 +44914,13 @@ "isHttpMetadata": false }, { - "$id": "3748", + "$id": "3826", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"fine_tuning.job\".", "type": { - "$ref": "1628" + "$ref": "1750" }, "optional": false, "readOnly": false, @@ -44025,13 +44936,13 @@ "isHttpMetadata": false }, { - "$id": "3749", + "$id": "3827", "kind": "property", "name": "organization_id", "serializedName": "organization_id", "doc": "The organization that owns the fine-tuning job.", "type": { - "$id": "3750", + "$id": "3828", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44051,13 +44962,13 @@ "isHttpMetadata": false }, { - "$id": "3751", + "$id": "3829", "kind": "property", "name": "result_files", "serializedName": "result_files", "doc": "The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the [Files API](/docs/api-reference/files/retrieve-contents).", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -44073,13 +44984,13 @@ "isHttpMetadata": false }, { - "$id": "3752", + "$id": "3830", "kind": "property", "name": "status", "serializedName": "status", "doc": "The current status of the fine-tuning job, which can be either `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`.", "type": { - "$ref": "367" + "$ref": "358" }, "optional": false, "readOnly": false, @@ -44095,16 +45006,16 @@ "isHttpMetadata": false }, { - "$id": "3753", + "$id": "3831", "kind": "property", "name": "trained_tokens", "serializedName": "trained_tokens", "doc": "The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.", "type": { - "$id": "3754", + "$id": "3832", "kind": "nullable", "type": { - "$id": "3755", + "$id": "3833", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -44126,13 +45037,13 @@ "isHttpMetadata": false }, { - "$id": "3756", + "$id": "3834", "kind": "property", "name": "training_file", "serializedName": "training_file", "doc": "The file ID used for training. You can retrieve the training data with the [Files API](/docs/api-reference/files/retrieve-contents).", "type": { - "$id": "3757", + "$id": "3835", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44152,16 +45063,16 @@ "isHttpMetadata": false }, { - "$id": "3758", + "$id": "3836", "kind": "property", "name": "validation_file", "serializedName": "validation_file", "doc": "The file ID used for validation. You can retrieve the validation results with the [Files API](/docs/api-reference/files/retrieve-contents).", "type": { - "$id": "3759", + "$id": "3837", "kind": "nullable", "type": { - "$id": "3760", + "$id": "3838", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44183,20 +45094,20 @@ "isHttpMetadata": false }, { - "$id": "3761", + "$id": "3839", "kind": "property", "name": "integrations", "serializedName": "integrations", "doc": "A list of integrations to enable for this fine-tuning job.", "type": { - "$id": "3762", + "$id": "3840", "kind": "nullable", "type": { - "$id": "3763", + "$id": "3841", "kind": "array", "name": "ArrayFineTuningIntegration", "valueType": { - "$id": "3764", + "$id": "3842", "kind": "model", "name": "FineTuningIntegration", "namespace": "OpenAI", @@ -44204,12 +45115,12 @@ "usage": "Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "3765", + "$id": "3843", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "375" + "$ref": "366" }, "optional": false, "readOnly": false, @@ -44226,12 +45137,12 @@ }, "properties": [ { - "$ref": "3765" + "$ref": "3843" } ], "discriminatedSubtypes": { "wandb": { - "$id": "3766", + "$id": "3844", "kind": "model", "name": "FineTuningIntegrationWandb", "namespace": "OpenAI", @@ -44240,32 +45151,32 @@ "discriminatorValue": "wandb", "decorators": [], "baseModel": { - "$ref": "3764" + "$ref": "3842" }, "properties": [ { - "$id": "3767", + "$id": "3845", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the integration being enabled for the fine-tuning job", "type": { - "$id": "3768", + "$id": "3846", "kind": "enumvalue", "name": "wandb", "value": "wandb", "valueType": { - "$ref": "376" + "$ref": "367" }, "enumType": { - "$id": "3769", + "$id": "3847", "kind": "enum", "decorators": [], "name": "FineTuningIntegrationType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "3770", + "$id": "3848", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -44274,16 +45185,16 @@ }, "values": [ { - "$id": "3771", + "$id": "3849", "kind": "enumvalue", "decorators": [], "name": "wandb", "value": "wandb", "valueType": { - "$ref": "3770" + "$ref": "3848" }, "enumType": { - "$ref": "3769" + "$ref": "3847" } } ], @@ -44312,13 +45223,13 @@ "isHttpMetadata": false }, { - "$id": "3772", + "$id": "3850", "kind": "property", "name": "wandb", "serializedName": "wandb", "doc": "The settings for your integration with Weights and Biases. This payload specifies the project that\nmetrics will be sent to. Optionally, you can set an explicit display name for your run, add tags\nto your run, and set a default entity (team, username, etc) to be associated with your run.", "type": { - "$id": "3773", + "$id": "3851", "kind": "model", "name": "FineTuningIntegrationWandbWandb", "namespace": "OpenAI", @@ -44327,13 +45238,13 @@ "decorators": [], "properties": [ { - "$id": "3774", + "$id": "3852", "kind": "property", "name": "project", "serializedName": "project", "doc": "The name of the project that the new run will be created under.", "type": { - "$id": "3775", + "$id": "3853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44353,16 +45264,16 @@ "isHttpMetadata": false }, { - "$id": "3776", + "$id": "3854", "kind": "property", "name": "name", "serializedName": "name", "doc": "A display name to set for the run. If not set, we will use the Job ID as the name.", "type": { - "$id": "3777", + "$id": "3855", "kind": "nullable", "type": { - "$id": "3778", + "$id": "3856", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44384,16 +45295,16 @@ "isHttpMetadata": false }, { - "$id": "3779", + "$id": "3857", "kind": "property", "name": "entity", "serializedName": "entity", "doc": "The entity to use for the run. This allows you to set the team or username of the WandB user that you would\nlike associated with the run. If not set, the default entity for the registered WandB API key is used.", "type": { - "$id": "3780", + "$id": "3858", "kind": "nullable", "type": { - "$id": "3781", + "$id": "3859", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44415,13 +45326,13 @@ "isHttpMetadata": false }, { - "$id": "3782", + "$id": "3860", "kind": "property", "name": "tags", "serializedName": "tags", "doc": "A list of tags to be attached to the newly created run. These tags are passed through directly to WandB. Some\ndefault tags are generated by OpenAI: \"openai/finetune\", \"openai/{base-model}\", \"openai/{ftjob-abcdef}\".", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -44474,13 +45385,13 @@ "isHttpMetadata": false }, { - "$id": "3783", + "$id": "3861", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "The seed used for the fine-tuning job.", "type": { - "$id": "3784", + "$id": "3862", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -44500,21 +45411,21 @@ "isHttpMetadata": false }, { - "$id": "3785", + "$id": "3863", "kind": "property", "name": "estimated_finish", "serializedName": "estimated_finish", "doc": "The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. The value will be null if the fine-tuning job is not running.", "type": { - "$id": "3786", + "$id": "3864", "kind": "nullable", "type": { - "$id": "3787", + "$id": "3865", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3788", + "$id": "3866", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -44539,12 +45450,12 @@ "isHttpMetadata": false }, { - "$id": "3789", + "$id": "3867", "kind": "property", "name": "method", "serializedName": "method", "type": { - "$ref": "3559" + "$ref": "3637" }, "optional": true, "readOnly": false, @@ -44560,13 +45471,13 @@ "isHttpMetadata": false }, { - "$id": "3790", + "$id": "3868", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -44584,22 +45495,22 @@ ] }, { - "$ref": "3719" + "$ref": "3797" }, { - "$ref": "3735" + "$ref": "3813" }, { - "$ref": "3764" + "$ref": "3842" }, { - "$ref": "3766" + "$ref": "3844" }, { - "$ref": "3773" + "$ref": "3851" }, { - "$id": "3791", + "$id": "3869", "kind": "model", "name": "ListPaginatedFineTuningJobsResponse", "namespace": "OpenAI", @@ -44608,16 +45519,16 @@ "decorators": [], "properties": [ { - "$id": "3792", + "$id": "3870", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "3793", + "$id": "3871", "kind": "array", "name": "ArrayFineTuningJob", "valueType": { - "$ref": "3708" + "$ref": "3786" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -44636,12 +45547,12 @@ "isHttpMetadata": false }, { - "$id": "3794", + "$id": "3872", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3795", + "$id": "3873", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -44661,12 +45572,12 @@ "isHttpMetadata": false }, { - "$id": "3796", + "$id": "3874", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1630" + "$ref": "1752" }, "optional": false, "readOnly": false, @@ -44684,7 +45595,7 @@ ] }, { - "$id": "3797", + "$id": "3875", "kind": "model", "name": "ListFineTuningJobCheckpointsResponse", "namespace": "OpenAI", @@ -44693,16 +45604,16 @@ "decorators": [], "properties": [ { - "$id": "3798", + "$id": "3876", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "3799", + "$id": "3877", "kind": "array", "name": "ArrayFineTuningJobCheckpoint", "valueType": { - "$id": "3800", + "$id": "3878", "kind": "model", "name": "FineTuningJobCheckpoint", "namespace": "OpenAI", @@ -44712,13 +45623,13 @@ "decorators": [], "properties": [ { - "$id": "3801", + "$id": "3879", "kind": "property", "name": "id", "serializedName": "id", "doc": "The checkpoint identifier, which can be referenced in the API endpoints.", "type": { - "$id": "3802", + "$id": "3880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44738,18 +45649,18 @@ "isHttpMetadata": false }, { - "$id": "3803", + "$id": "3881", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the checkpoint was created.", "type": { - "$id": "3804", + "$id": "3882", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3805", + "$id": "3883", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -44772,13 +45683,13 @@ "isHttpMetadata": false }, { - "$id": "3806", + "$id": "3884", "kind": "property", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The name of the fine-tuned checkpoint model that is created.", "type": { - "$id": "3807", + "$id": "3885", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44798,13 +45709,13 @@ "isHttpMetadata": false }, { - "$id": "3808", + "$id": "3886", "kind": "property", "name": "step_number", "serializedName": "step_number", "doc": "The step number that the checkpoint was created at.", "type": { - "$id": "3809", + "$id": "3887", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -44824,13 +45735,13 @@ "isHttpMetadata": false }, { - "$id": "3810", + "$id": "3888", "kind": "property", "name": "metrics", "serializedName": "metrics", "doc": "Metrics at the step number during the fine-tuning job.", "type": { - "$id": "3811", + "$id": "3889", "kind": "model", "name": "FineTuningJobCheckpointMetrics", "namespace": "OpenAI", @@ -44839,12 +45750,12 @@ "decorators": [], "properties": [ { - "$id": "3812", + "$id": "3890", "kind": "property", "name": "step", "serializedName": "step", "type": { - "$id": "3813", + "$id": "3891", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44864,12 +45775,12 @@ "isHttpMetadata": false }, { - "$id": "3814", + "$id": "3892", "kind": "property", "name": "train_loss", "serializedName": "train_loss", "type": { - "$id": "3815", + "$id": "3893", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44889,12 +45800,12 @@ "isHttpMetadata": false }, { - "$id": "3816", + "$id": "3894", "kind": "property", "name": "train_mean_token_accuracy", "serializedName": "train_mean_token_accuracy", "type": { - "$id": "3817", + "$id": "3895", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44914,12 +45825,12 @@ "isHttpMetadata": false }, { - "$id": "3818", + "$id": "3896", "kind": "property", "name": "valid_loss", "serializedName": "valid_loss", "type": { - "$id": "3819", + "$id": "3897", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44939,12 +45850,12 @@ "isHttpMetadata": false }, { - "$id": "3820", + "$id": "3898", "kind": "property", "name": "valid_mean_token_accuracy", "serializedName": "valid_mean_token_accuracy", "type": { - "$id": "3821", + "$id": "3899", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44964,12 +45875,12 @@ "isHttpMetadata": false }, { - "$id": "3822", + "$id": "3900", "kind": "property", "name": "full_valid_loss", "serializedName": "full_valid_loss", "type": { - "$id": "3823", + "$id": "3901", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44989,12 +45900,12 @@ "isHttpMetadata": false }, { - "$id": "3824", + "$id": "3902", "kind": "property", "name": "full_valid_mean_token_accuracy", "serializedName": "full_valid_mean_token_accuracy", "type": { - "$id": "3825", + "$id": "3903", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -45029,13 +45940,13 @@ "isHttpMetadata": false }, { - "$id": "3826", + "$id": "3904", "kind": "property", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The name of the fine-tuning job that this checkpoint was created from.", "type": { - "$id": "3827", + "$id": "3905", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45055,13 +45966,13 @@ "isHttpMetadata": false }, { - "$id": "3828", + "$id": "3906", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"fine_tuning.job.checkpoint\".", "type": { - "$ref": "1632" + "$ref": "1754" }, "optional": false, "readOnly": false, @@ -45095,12 +46006,12 @@ "isHttpMetadata": false }, { - "$id": "3829", + "$id": "3907", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1634" + "$ref": "1756" }, "optional": false, "readOnly": false, @@ -45116,15 +46027,15 @@ "isHttpMetadata": false }, { - "$id": "3830", + "$id": "3908", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "3831", + "$id": "3909", "kind": "nullable", "type": { - "$id": "3832", + "$id": "3910", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45146,15 +46057,15 @@ "isHttpMetadata": false }, { - "$id": "3833", + "$id": "3911", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "3834", + "$id": "3912", "kind": "nullable", "type": { - "$id": "3835", + "$id": "3913", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45176,12 +46087,12 @@ "isHttpMetadata": false }, { - "$id": "3836", + "$id": "3914", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3837", + "$id": "3915", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45203,13 +46114,13 @@ ] }, { - "$ref": "3800" + "$ref": "3878" }, { - "$ref": "3811" + "$ref": "3889" }, { - "$id": "3838", + "$id": "3916", "kind": "model", "name": "ListFineTuningJobEventsResponse", "namespace": "OpenAI", @@ -45218,16 +46129,16 @@ "decorators": [], "properties": [ { - "$id": "3839", + "$id": "3917", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "3840", + "$id": "3918", "kind": "array", "name": "ArrayFineTuningJobEvent", "valueType": { - "$id": "3841", + "$id": "3919", "kind": "model", "name": "FineTuningJobEvent", "namespace": "OpenAI", @@ -45237,13 +46148,13 @@ "decorators": [], "properties": [ { - "$id": "3842", + "$id": "3920", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"fine_tuning.job.event\".", "type": { - "$ref": "1636" + "$ref": "1758" }, "optional": false, "readOnly": false, @@ -45259,13 +46170,13 @@ "isHttpMetadata": false }, { - "$id": "3843", + "$id": "3921", "kind": "property", "name": "id", "serializedName": "id", "doc": "The object identifier.", "type": { - "$id": "3844", + "$id": "3922", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45285,18 +46196,18 @@ "isHttpMetadata": false }, { - "$id": "3845", + "$id": "3923", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the fine-tuning job was created.", "type": { - "$id": "3846", + "$id": "3924", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3847", + "$id": "3925", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45319,13 +46230,13 @@ "isHttpMetadata": false }, { - "$id": "3848", + "$id": "3926", "kind": "property", "name": "level", "serializedName": "level", "doc": "The log level of the event.", "type": { - "$ref": "378" + "$ref": "369" }, "optional": false, "readOnly": false, @@ -45341,13 +46252,13 @@ "isHttpMetadata": false }, { - "$id": "3849", + "$id": "3927", "kind": "property", "name": "message", "serializedName": "message", "doc": "The message of the event.", "type": { - "$id": "3850", + "$id": "3928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45367,13 +46278,13 @@ "isHttpMetadata": false }, { - "$id": "3851", + "$id": "3929", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of event.", "type": { - "$ref": "383" + "$ref": "374" }, "optional": true, "readOnly": false, @@ -45389,13 +46300,13 @@ "isHttpMetadata": false }, { - "$id": "3852", + "$id": "3930", "kind": "property", "name": "data", "serializedName": "data", "doc": "The data associated with the event.", "type": { - "$id": "3853", + "$id": "3931", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -45433,12 +46344,12 @@ "isHttpMetadata": false }, { - "$id": "3854", + "$id": "3932", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1638" + "$ref": "1760" }, "optional": false, "readOnly": false, @@ -45454,12 +46365,12 @@ "isHttpMetadata": false }, { - "$id": "3855", + "$id": "3933", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3856", + "$id": "3934", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45481,10 +46392,10 @@ ] }, { - "$ref": "3841" + "$ref": "3919" }, { - "$id": "3857", + "$id": "3935", "kind": "model", "name": "RunGraderRequest", "namespace": "OpenAI", @@ -45493,30 +46404,30 @@ "decorators": [], "properties": [ { - "$id": "3858", + "$id": "3936", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "3859", + "$id": "3937", "kind": "union", "name": "RunGraderRequestGrader", "variantTypes": [ { - "$ref": "3594" + "$ref": "3672" }, { - "$ref": "3597" + "$ref": "3675" }, { - "$ref": "3615" + "$ref": "3693" }, { - "$ref": "3624" + "$ref": "3702" }, { - "$ref": "3658" + "$ref": "3736" } ], "namespace": "OpenAI", @@ -45536,13 +46447,13 @@ "isHttpMetadata": false }, { - "$id": "3860", + "$id": "3938", "kind": "property", "name": "item", "serializedName": "item", "doc": "The dataset item provided to the grader. This will be used to populate\nthe `item` namespace. See [the guide](/docs/guides/graders) for more details.", "type": { - "$id": "3861", + "$id": "3939", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -45562,13 +46473,13 @@ "isHttpMetadata": false }, { - "$id": "3862", + "$id": "3940", "kind": "property", "name": "model_sample", "serializedName": "model_sample", "doc": "The model sample to be evaluated. This value will be used to populate\nthe `sample` namespace. See [the guide](/docs/guides/graders) for more details.\nThe `output_json` variable will be populated if the model sample is a\nvalid JSON string.", "type": { - "$id": "3863", + "$id": "3941", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45590,7 +46501,7 @@ ] }, { - "$id": "3864", + "$id": "3942", "kind": "model", "name": "RunGraderResponse", "namespace": "OpenAI", @@ -45599,11 +46510,11 @@ "decorators": [], "properties": [ { - "$id": "3865", + "$id": "3943", "kind": "property", "name": "reward", "type": { - "$id": "3866", + "$id": "3944", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -45619,11 +46530,11 @@ "isHttpMetadata": false }, { - "$id": "3867", + "$id": "3945", "kind": "property", "name": "metadata", "type": { - "$id": "3868", + "$id": "3946", "kind": "model", "name": "RunGraderResponseMetadata", "namespace": "OpenAI", @@ -45632,11 +46543,11 @@ "decorators": [], "properties": [ { - "$id": "3869", + "$id": "3947", "kind": "property", "name": "name", "type": { - "$id": "3870", + "$id": "3948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45652,11 +46563,11 @@ "isHttpMetadata": false }, { - "$id": "3871", + "$id": "3949", "kind": "property", "name": "type", "type": { - "$id": "3872", + "$id": "3950", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45672,11 +46583,11 @@ "isHttpMetadata": false }, { - "$id": "3873", + "$id": "3951", "kind": "property", "name": "errors", "type": { - "$id": "3874", + "$id": "3952", "kind": "model", "name": "RunGraderResponseMetadataErrors", "namespace": "OpenAI", @@ -45685,11 +46596,11 @@ "decorators": [], "properties": [ { - "$id": "3875", + "$id": "3953", "kind": "property", "name": "formula_parse_error", "type": { - "$id": "3876", + "$id": "3954", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45705,11 +46616,11 @@ "isHttpMetadata": false }, { - "$id": "3877", + "$id": "3955", "kind": "property", "name": "sample_parse_error", "type": { - "$id": "3878", + "$id": "3956", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45725,11 +46636,11 @@ "isHttpMetadata": false }, { - "$id": "3879", + "$id": "3957", "kind": "property", "name": "truncated_observation_error", "type": { - "$id": "3880", + "$id": "3958", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45745,11 +46656,11 @@ "isHttpMetadata": false }, { - "$id": "3881", + "$id": "3959", "kind": "property", "name": "unresponsive_reward_error", "type": { - "$id": "3882", + "$id": "3960", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45765,11 +46676,11 @@ "isHttpMetadata": false }, { - "$id": "3883", + "$id": "3961", "kind": "property", "name": "invalid_variable_error", "type": { - "$id": "3884", + "$id": "3962", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45785,11 +46696,11 @@ "isHttpMetadata": false }, { - "$id": "3885", + "$id": "3963", "kind": "property", "name": "other_error", "type": { - "$id": "3886", + "$id": "3964", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45805,11 +46716,11 @@ "isHttpMetadata": false }, { - "$id": "3887", + "$id": "3965", "kind": "property", "name": "python_grader_server_error", "type": { - "$id": "3888", + "$id": "3966", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45825,14 +46736,14 @@ "isHttpMetadata": false }, { - "$id": "3889", + "$id": "3967", "kind": "property", "name": "python_grader_server_error_type", "type": { - "$id": "3890", + "$id": "3968", "kind": "nullable", "type": { - "$id": "3891", + "$id": "3969", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45850,11 +46761,11 @@ "isHttpMetadata": false }, { - "$id": "3892", + "$id": "3970", "kind": "property", "name": "python_grader_runtime_error", "type": { - "$id": "3893", + "$id": "3971", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45870,14 +46781,14 @@ "isHttpMetadata": false }, { - "$id": "3894", + "$id": "3972", "kind": "property", "name": "python_grader_runtime_error_details", "type": { - "$id": "3895", + "$id": "3973", "kind": "nullable", "type": { - "$id": "3896", + "$id": "3974", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45895,11 +46806,11 @@ "isHttpMetadata": false }, { - "$id": "3897", + "$id": "3975", "kind": "property", "name": "model_grader_server_error", "type": { - "$id": "3898", + "$id": "3976", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45915,11 +46826,11 @@ "isHttpMetadata": false }, { - "$id": "3899", + "$id": "3977", "kind": "property", "name": "model_grader_refusal_error", "type": { - "$id": "3900", + "$id": "3978", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45935,11 +46846,11 @@ "isHttpMetadata": false }, { - "$id": "3901", + "$id": "3979", "kind": "property", "name": "model_grader_parse_error", "type": { - "$id": "3902", + "$id": "3980", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45955,14 +46866,14 @@ "isHttpMetadata": false }, { - "$id": "3903", + "$id": "3981", "kind": "property", "name": "model_grader_server_error_details", "type": { - "$id": "3904", + "$id": "3982", "kind": "nullable", "type": { - "$id": "3905", + "$id": "3983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45991,11 +46902,11 @@ "isHttpMetadata": false }, { - "$id": "3906", + "$id": "3984", "kind": "property", "name": "execution_time", "type": { - "$id": "3907", + "$id": "3985", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -46011,11 +46922,11 @@ "isHttpMetadata": false }, { - "$id": "3908", + "$id": "3986", "kind": "property", "name": "scores", "type": { - "$id": "3909", + "$id": "3987", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -46031,14 +46942,14 @@ "isHttpMetadata": false }, { - "$id": "3910", + "$id": "3988", "kind": "property", "name": "token_usage", "type": { - "$id": "3911", + "$id": "3989", "kind": "nullable", "type": { - "$id": "3912", + "$id": "3990", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -46056,14 +46967,14 @@ "isHttpMetadata": false }, { - "$id": "3913", + "$id": "3991", "kind": "property", "name": "sampled_model_name", "type": { - "$id": "3914", + "$id": "3992", "kind": "nullable", "type": { - "$id": "3915", + "$id": "3993", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46092,11 +47003,11 @@ "isHttpMetadata": false }, { - "$id": "3916", + "$id": "3994", "kind": "property", "name": "sub_rewards", "type": { - "$id": "3917", + "$id": "3995", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -46112,11 +47023,11 @@ "isHttpMetadata": false }, { - "$id": "3918", + "$id": "3996", "kind": "property", "name": "model_grader_token_usage_per_model", "type": { - "$id": "3919", + "$id": "3997", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -46134,13 +47045,13 @@ ] }, { - "$ref": "3868" + "$ref": "3946" }, { - "$ref": "3874" + "$ref": "3952" }, { - "$id": "3920", + "$id": "3998", "kind": "model", "name": "ValidateGraderRequest", "namespace": "OpenAI", @@ -46149,30 +47060,30 @@ "decorators": [], "properties": [ { - "$id": "3921", + "$id": "3999", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "3922", + "$id": "4000", "kind": "union", "name": "ValidateGraderRequestGrader", "variantTypes": [ { - "$ref": "3594" + "$ref": "3672" }, { - "$ref": "3597" + "$ref": "3675" }, { - "$ref": "3615" + "$ref": "3693" }, { - "$ref": "3624" + "$ref": "3702" }, { - "$ref": "3658" + "$ref": "3736" } ], "namespace": "OpenAI", @@ -46194,7 +47105,7 @@ ] }, { - "$id": "3923", + "$id": "4001", "kind": "model", "name": "ValidateGraderResponse", "namespace": "OpenAI", @@ -46203,29 +47114,29 @@ "decorators": [], "properties": [ { - "$id": "3924", + "$id": "4002", "kind": "property", "name": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "3925", + "$id": "4003", "kind": "union", "name": "ValidateGraderResponseGrader", "variantTypes": [ { - "$ref": "3594" + "$ref": "3672" }, { - "$ref": "3597" + "$ref": "3675" }, { - "$ref": "3615" + "$ref": "3693" }, { - "$ref": "3624" + "$ref": "3702" }, { - "$ref": "3658" + "$ref": "3736" } ], "namespace": "OpenAI", @@ -46243,7 +47154,7 @@ ] }, { - "$id": "3926", + "$id": "4004", "kind": "model", "name": "EvalList", "namespace": "OpenAI", @@ -46253,13 +47164,13 @@ "decorators": [], "properties": [ { - "$id": "3927", + "$id": "4005", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1640" + "$ref": "1762" }, "optional": false, "readOnly": false, @@ -46275,17 +47186,17 @@ "isHttpMetadata": false }, { - "$id": "3928", + "$id": "4006", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of eval objects.", "type": { - "$id": "3929", + "$id": "4007", "kind": "array", "name": "ArrayEval", "valueType": { - "$id": "3930", + "$id": "4008", "kind": "model", "name": "Eval", "namespace": "OpenAI", @@ -46295,13 +47206,13 @@ "decorators": [], "properties": [ { - "$id": "3931", + "$id": "4009", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type.", "type": { - "$ref": "1642" + "$ref": "1764" }, "optional": false, "readOnly": false, @@ -46317,13 +47228,13 @@ "isHttpMetadata": false }, { - "$id": "3932", + "$id": "4010", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the evaluation.", "type": { - "$id": "3933", + "$id": "4011", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46343,13 +47254,13 @@ "isHttpMetadata": false }, { - "$id": "3934", + "$id": "4012", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the evaluation.", "type": { - "$id": "3935", + "$id": "4013", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46369,13 +47280,13 @@ "isHttpMetadata": false }, { - "$id": "3936", + "$id": "4014", "kind": "property", "name": "data_source_config", "serializedName": "data_source_config", "doc": "Configuration of data sources used in runs of the evaluation.", "type": { - "$id": "3937", + "$id": "4015", "kind": "model", "name": "EvalDataSourceConfigResource", "namespace": "OpenAI", @@ -46383,12 +47294,12 @@ "usage": "Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "3938", + "$id": "4016", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "387" + "$ref": "378" }, "optional": false, "readOnly": false, @@ -46405,12 +47316,12 @@ }, "properties": [ { - "$ref": "3938" + "$ref": "4016" } ], "discriminatedSubtypes": { "custom": { - "$id": "3939", + "$id": "4017", "kind": "model", "name": "EvalCustomDataSourceConfigResource", "namespace": "OpenAI", @@ -46420,32 +47331,32 @@ "discriminatorValue": "custom", "decorators": [], "baseModel": { - "$ref": "3937" + "$ref": "4015" }, "properties": [ { - "$id": "3940", + "$id": "4018", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `custom`.", "type": { - "$id": "3941", + "$id": "4019", "kind": "enumvalue", "name": "custom", "value": "custom", "valueType": { - "$ref": "388" + "$ref": "379" }, "enumType": { - "$id": "3942", + "$id": "4020", "kind": "enum", "decorators": [], "name": "EvalDataSourceConfigType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3943", + "$id": "4021", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -46454,42 +47365,42 @@ }, "values": [ { - "$id": "3944", + "$id": "4022", "kind": "enumvalue", "decorators": [], "name": "custom", "value": "custom", "valueType": { - "$ref": "3943" + "$ref": "4021" }, "enumType": { - "$ref": "3942" + "$ref": "4020" } }, { - "$id": "3945", + "$id": "4023", "kind": "enumvalue", "decorators": [], "name": "logs", "value": "logs", "valueType": { - "$ref": "3943" + "$ref": "4021" }, "enumType": { - "$ref": "3942" + "$ref": "4020" } }, { - "$id": "3946", + "$id": "4024", "kind": "enumvalue", "decorators": [], "name": "stored_completions", "value": "stored_completions", "valueType": { - "$ref": "3943" + "$ref": "4021" }, "enumType": { - "$ref": "3942" + "$ref": "4020" } } ], @@ -46518,23 +47429,23 @@ "isHttpMetadata": false }, { - "$id": "3947", + "$id": "4025", "kind": "property", "name": "schema", "serializedName": "schema", "doc": "The json schema for the run data source items.\nLearn how to build JSON schemas [here](https://json-schema.org/).", "type": { - "$id": "3948", + "$id": "4026", "kind": "dict", "keyType": { - "$id": "3949", + "$id": "4027", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "3950", + "$id": "4028", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -46558,7 +47469,7 @@ ] }, "stored_completions": { - "$id": "3951", + "$id": "4029", "kind": "model", "name": "EvalStoredCompletionsDataSourceConfigResource", "namespace": "OpenAI", @@ -46569,25 +47480,25 @@ "discriminatorValue": "stored_completions", "decorators": [], "baseModel": { - "$ref": "3937" + "$ref": "4015" }, "properties": [ { - "$id": "3952", + "$id": "4030", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `stored_completions`.", "type": { - "$id": "3953", + "$id": "4031", "kind": "enumvalue", "name": "stored_completions", "value": "stored_completions", "valueType": { - "$ref": "388" + "$ref": "379" }, "enumType": { - "$ref": "3942" + "$ref": "4020" }, "decorators": [] }, @@ -46605,13 +47516,13 @@ "isHttpMetadata": false }, { - "$id": "3954", + "$id": "4032", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -46627,13 +47538,13 @@ "isHttpMetadata": false }, { - "$id": "3955", + "$id": "4033", "kind": "property", "name": "schema", "serializedName": "schema", "doc": "The json schema for the run data source items.\nLearn how to build JSON schemas [here](https://json-schema.org/).", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": false, "readOnly": false, @@ -46651,7 +47562,7 @@ ] }, "logs": { - "$id": "3956", + "$id": "4034", "kind": "model", "name": "EvalLogsDataSourceConfigResource", "namespace": "OpenAI", @@ -46661,25 +47572,25 @@ "discriminatorValue": "logs", "decorators": [], "baseModel": { - "$ref": "3937" + "$ref": "4015" }, "properties": [ { - "$id": "3957", + "$id": "4035", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `logs`.", "type": { - "$id": "3958", + "$id": "4036", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "388" + "$ref": "379" }, "enumType": { - "$ref": "3942" + "$ref": "4020" }, "decorators": [] }, @@ -46697,13 +47608,13 @@ "isHttpMetadata": false }, { - "$id": "3959", + "$id": "4037", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -46719,13 +47630,13 @@ "isHttpMetadata": false }, { - "$id": "3960", + "$id": "4038", "kind": "property", "name": "schema", "serializedName": "schema", "doc": "The json schema for the run data source items.\nLearn how to build JSON schemas [here](https://json-schema.org/).", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": false, "readOnly": false, @@ -46758,20 +47669,20 @@ "isHttpMetadata": false }, { - "$id": "3961", + "$id": "4039", "kind": "property", "name": "testing_criteria", "serializedName": "testing_criteria", "doc": "A list of testing criteria.", "type": { - "$id": "3962", + "$id": "4040", "kind": "nullable", "type": { - "$id": "3963", + "$id": "4041", "kind": "array", "name": "ArrayEvalGraderResource", "valueType": { - "$id": "3964", + "$id": "4042", "kind": "model", "name": "EvalGraderResource", "namespace": "OpenAI", @@ -46779,12 +47690,12 @@ "usage": "Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "3965", + "$id": "4043", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "327" + "$ref": "318" }, "optional": false, "readOnly": false, @@ -46801,12 +47712,12 @@ }, "properties": [ { - "$ref": "3965" + "$ref": "4043" } ], "discriminatedSubtypes": { "label_model": { - "$id": "3966", + "$id": "4044", "kind": "model", "name": "EvalGraderLabelModelResource", "namespace": "OpenAI", @@ -46815,17 +47726,17 @@ "discriminatorValue": "label_model", "decorators": [], "baseModel": { - "$ref": "3964" + "$ref": "4042" }, "properties": [ { - "$id": "3967", + "$id": "4045", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `label_model`.", "type": { - "$ref": "3667" + "$ref": "3745" }, "optional": false, "readOnly": false, @@ -46841,13 +47752,13 @@ "isHttpMetadata": false }, { - "$id": "3968", + "$id": "4046", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3969", + "$id": "4047", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46867,13 +47778,13 @@ "isHttpMetadata": false }, { - "$id": "3970", + "$id": "4048", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation. Must support structured outputs.", "type": { - "$id": "3971", + "$id": "4049", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46893,12 +47804,12 @@ "isHttpMetadata": false }, { - "$id": "3972", + "$id": "4050", "kind": "property", "name": "input", "serializedName": "input", "type": { - "$ref": "3634" + "$ref": "3712" }, "optional": false, "readOnly": false, @@ -46914,13 +47825,13 @@ "isHttpMetadata": false }, { - "$id": "3973", + "$id": "4051", "kind": "property", "name": "labels", "serializedName": "labels", "doc": "The labels to assign to each item in the evaluation.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -46936,13 +47847,13 @@ "isHttpMetadata": false }, { - "$id": "3974", + "$id": "4052", "kind": "property", "name": "passing_labels", "serializedName": "passing_labels", "doc": "The labels that indicate a passing result. Must be a subset of labels.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -46960,7 +47871,7 @@ ] }, "text_similarity": { - "$id": "3975", + "$id": "4053", "kind": "model", "name": "EvalGraderTextSimilarityResource", "namespace": "OpenAI", @@ -46969,17 +47880,17 @@ "discriminatorValue": "text_similarity", "decorators": [], "baseModel": { - "$ref": "3964" + "$ref": "4042" }, "properties": [ { - "$id": "3976", + "$id": "4054", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of grader.", "type": { - "$ref": "3599" + "$ref": "3677" }, "optional": false, "readOnly": false, @@ -46995,13 +47906,13 @@ "isHttpMetadata": false }, { - "$id": "3977", + "$id": "4055", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3978", + "$id": "4056", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47021,13 +47932,13 @@ "isHttpMetadata": false }, { - "$id": "3979", + "$id": "4057", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text being graded.", "type": { - "$id": "3980", + "$id": "4058", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47047,13 +47958,13 @@ "isHttpMetadata": false }, { - "$id": "3981", + "$id": "4059", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The text being graded against.", "type": { - "$id": "3982", + "$id": "4060", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47073,13 +47984,13 @@ "isHttpMetadata": false }, { - "$id": "3983", + "$id": "4061", "kind": "property", "name": "evaluation_metric", "serializedName": "evaluation_metric", "doc": "The evaluation metric to use. One of `fuzzy_match`, `bleu`, `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`.", "type": { - "$ref": "335" + "$ref": "326" }, "optional": false, "readOnly": false, @@ -47095,13 +48006,13 @@ "isHttpMetadata": false }, { - "$id": "3984", + "$id": "4062", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3985", + "$id": "4063", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -47123,7 +48034,7 @@ ] }, "python": { - "$id": "3986", + "$id": "4064", "kind": "model", "name": "EvalGraderPythonResource", "namespace": "OpenAI", @@ -47132,17 +48043,17 @@ "discriminatorValue": "python", "decorators": [], "baseModel": { - "$ref": "3964" + "$ref": "4042" }, "properties": [ { - "$id": "3987", + "$id": "4065", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `python`.", "type": { - "$ref": "3617" + "$ref": "3695" }, "optional": false, "readOnly": false, @@ -47158,13 +48069,13 @@ "isHttpMetadata": false }, { - "$id": "3988", + "$id": "4066", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3989", + "$id": "4067", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47184,13 +48095,13 @@ "isHttpMetadata": false }, { - "$id": "3990", + "$id": "4068", "kind": "property", "name": "source", "serializedName": "source", "doc": "The source code of the python script.", "type": { - "$id": "3991", + "$id": "4069", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47210,13 +48121,13 @@ "isHttpMetadata": false }, { - "$id": "3992", + "$id": "4070", "kind": "property", "name": "image_tag", "serializedName": "image_tag", "doc": "The image tag to use for the python script.", "type": { - "$id": "3993", + "$id": "4071", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47236,13 +48147,13 @@ "isHttpMetadata": false }, { - "$id": "3994", + "$id": "4072", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3995", + "$id": "4073", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -47264,7 +48175,7 @@ ] }, "score_model": { - "$id": "3996", + "$id": "4074", "kind": "model", "name": "EvalGraderScoreModelResource", "namespace": "OpenAI", @@ -47273,17 +48184,17 @@ "discriminatorValue": "score_model", "decorators": [], "baseModel": { - "$ref": "3964" + "$ref": "4042" }, "properties": [ { - "$id": "3997", + "$id": "4075", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `score_model`.", "type": { - "$ref": "3626" + "$ref": "3704" }, "optional": false, "readOnly": false, @@ -47299,13 +48210,13 @@ "isHttpMetadata": false }, { - "$id": "3998", + "$id": "4076", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3999", + "$id": "4077", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47325,13 +48236,13 @@ "isHttpMetadata": false }, { - "$id": "4000", + "$id": "4078", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation.", "type": { - "$id": "4001", + "$id": "4079", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47351,13 +48262,13 @@ "isHttpMetadata": false }, { - "$id": "4002", + "$id": "4080", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "doc": "The sampling parameters for the model.", "type": { - "$id": "4003", + "$id": "4081", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -47377,13 +48288,13 @@ "isHttpMetadata": false }, { - "$id": "4004", + "$id": "4082", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$ref": "3634" + "$ref": "3712" }, "optional": false, "readOnly": false, @@ -47399,13 +48310,13 @@ "isHttpMetadata": false }, { - "$id": "4005", + "$id": "4083", "kind": "property", "name": "range", "serializedName": "range", "doc": "The range of the score. Defaults to `[0, 1]`.", "type": { - "$ref": "2692" + "$ref": "2802" }, "optional": true, "readOnly": false, @@ -47421,13 +48332,13 @@ "isHttpMetadata": false }, { - "$id": "4006", + "$id": "4084", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "4007", + "$id": "4085", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -47469,18 +48380,18 @@ "isHttpMetadata": false }, { - "$id": "4008", + "$id": "4086", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the eval was created.", "type": { - "$id": "4009", + "$id": "4087", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "4010", + "$id": "4088", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -47503,13 +48414,13 @@ "isHttpMetadata": false }, { - "$id": "4011", + "$id": "4089", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -47543,13 +48454,13 @@ "isHttpMetadata": false }, { - "$id": "4012", + "$id": "4090", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval in the data array.", "type": { - "$id": "4013", + "$id": "4091", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47569,13 +48480,13 @@ "isHttpMetadata": false }, { - "$id": "4014", + "$id": "4092", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval in the data array.", "type": { - "$id": "4015", + "$id": "4093", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47595,13 +48506,13 @@ "isHttpMetadata": false }, { - "$id": "4016", + "$id": "4094", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more evals available.", "type": { - "$id": "4017", + "$id": "4095", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -47623,37 +48534,37 @@ ] }, { - "$ref": "3930" + "$ref": "4008" }, { - "$ref": "3937" + "$ref": "4015" }, { - "$ref": "3939" + "$ref": "4017" }, { - "$ref": "3951" + "$ref": "4029" }, { - "$ref": "3956" + "$ref": "4034" }, { - "$ref": "3964" + "$ref": "4042" }, { - "$ref": "3966" + "$ref": "4044" }, { - "$ref": "3975" + "$ref": "4053" }, { - "$ref": "3986" + "$ref": "4064" }, { - "$ref": "3996" + "$ref": "4074" }, { - "$id": "4018", + "$id": "4096", "kind": "model", "name": "CreateEvalRequest", "namespace": "OpenAI", @@ -47662,13 +48573,13 @@ "decorators": [], "properties": [ { - "$id": "4019", + "$id": "4097", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the evaluation.", "type": { - "$id": "4020", + "$id": "4098", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47688,13 +48599,13 @@ "isHttpMetadata": false }, { - "$id": "4021", + "$id": "4099", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -47710,13 +48621,13 @@ "isHttpMetadata": false }, { - "$id": "4022", + "$id": "4100", "kind": "property", "name": "data_source_config", "serializedName": "data_source_config", "doc": "The configuration for the data source used for the evaluation runs. Dictates the schema of the data used in the evaluation.", "type": { - "$id": "4023", + "$id": "4101", "kind": "model", "name": "EvalDataSourceConfigParams", "namespace": "OpenAI", @@ -47724,12 +48635,12 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "4024", + "$id": "4102", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "387" + "$ref": "378" }, "optional": false, "readOnly": false, @@ -47746,12 +48657,12 @@ }, "properties": [ { - "$ref": "4024" + "$ref": "4102" } ], "discriminatedSubtypes": { "custom": { - "$id": "4025", + "$id": "4103", "kind": "model", "name": "EvalCustomDataSourceConfigParams", "namespace": "OpenAI", @@ -47761,17 +48672,17 @@ "discriminatorValue": "custom", "decorators": [], "baseModel": { - "$ref": "4023" + "$ref": "4101" }, "properties": [ { - "$id": "4026", + "$id": "4104", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `custom`.", "type": { - "$ref": "3941" + "$ref": "4019" }, "optional": false, "readOnly": false, @@ -47787,13 +48698,13 @@ "isHttpMetadata": false }, { - "$id": "4027", + "$id": "4105", "kind": "property", "name": "item_schema", "serializedName": "item_schema", "doc": "The json schema for each row in the data source.", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": false, "readOnly": false, @@ -47809,13 +48720,13 @@ "isHttpMetadata": false }, { - "$id": "4028", + "$id": "4106", "kind": "property", "name": "include_sample_schema", "serializedName": "include_sample_schema", "doc": "Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)", "type": { - "$id": "4029", + "$id": "4107", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -47837,7 +48748,7 @@ ] }, "logs": { - "$id": "4030", + "$id": "4108", "kind": "model", "name": "EvalLogsDataSourceConfigParams", "namespace": "OpenAI", @@ -47847,17 +48758,17 @@ "discriminatorValue": "logs", "decorators": [], "baseModel": { - "$ref": "4023" + "$ref": "4101" }, "properties": [ { - "$id": "4031", + "$id": "4109", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `logs`.", "type": { - "$ref": "3958" + "$ref": "4036" }, "optional": false, "readOnly": false, @@ -47873,13 +48784,13 @@ "isHttpMetadata": false }, { - "$id": "4032", + "$id": "4110", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -47897,7 +48808,7 @@ ] }, "stored_completions": { - "$id": "4033", + "$id": "4111", "kind": "model", "name": "EvalStoredCompletionsDataSourceConfigParams", "namespace": "OpenAI", @@ -47908,17 +48819,17 @@ "discriminatorValue": "stored_completions", "decorators": [], "baseModel": { - "$ref": "4023" + "$ref": "4101" }, "properties": [ { - "$id": "4034", + "$id": "4112", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `stored_completions`.", "type": { - "$ref": "3953" + "$ref": "4031" }, "optional": false, "readOnly": false, @@ -47934,13 +48845,13 @@ "isHttpMetadata": false }, { - "$id": "4035", + "$id": "4113", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Metadata filters for the stored completions data source.", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": true, "readOnly": false, @@ -47973,17 +48884,17 @@ "isHttpMetadata": false }, { - "$id": "4036", + "$id": "4114", "kind": "property", "name": "testing_criteria", "serializedName": "testing_criteria", "doc": "A list of graders for all eval runs in this group. Graders can reference variables in the data source using double curly braces notation, like `{{item.variable_name}}`. To reference the model's output, use the `sample` namespace (ie, `{{sample.output_text}}`).", "type": { - "$id": "4037", + "$id": "4115", "kind": "array", "name": "ArrayEvalGraderParams", "valueType": { - "$id": "4038", + "$id": "4116", "kind": "model", "name": "EvalGraderParams", "namespace": "OpenAI", @@ -47991,12 +48902,12 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "4039", + "$id": "4117", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "327" + "$ref": "318" }, "optional": false, "readOnly": false, @@ -48013,12 +48924,12 @@ }, "properties": [ { - "$ref": "4039" + "$ref": "4117" } ], "discriminatedSubtypes": { "label_model": { - "$id": "4040", + "$id": "4118", "kind": "model", "name": "EvalGraderLabelModelParams", "namespace": "OpenAI", @@ -48028,17 +48939,17 @@ "discriminatorValue": "label_model", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4116" }, "properties": [ { - "$id": "4041", + "$id": "4119", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `label_model`.", "type": { - "$ref": "3667" + "$ref": "3745" }, "optional": false, "readOnly": false, @@ -48054,13 +48965,13 @@ "isHttpMetadata": false }, { - "$id": "4042", + "$id": "4120", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "4043", + "$id": "4121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48080,13 +48991,13 @@ "isHttpMetadata": false }, { - "$id": "4044", + "$id": "4122", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation. Must support structured outputs.", "type": { - "$id": "4045", + "$id": "4123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48106,22 +49017,22 @@ "isHttpMetadata": false }, { - "$id": "4046", + "$id": "4124", "kind": "property", "name": "input", "serializedName": "input", "doc": "A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}.", "type": { - "$id": "4047", + "$id": "4125", "kind": "array", "name": "ArrayCreateEvalItem", "valueType": { - "$id": "4048", + "$id": "4126", "kind": "union", "name": "CreateEvalItem", "variantTypes": [ { - "$id": "4049", + "$id": "4127", "kind": "model", "name": "EvalGraderLabelModelParamsInput", "namespace": "OpenAI", @@ -48130,13 +49041,13 @@ "decorators": [], "properties": [ { - "$id": "4050", + "$id": "4128", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "4051", + "$id": "4129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48156,13 +49067,13 @@ "isHttpMetadata": false }, { - "$id": "4052", + "$id": "4130", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4053", + "$id": "4131", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48184,7 +49095,7 @@ ] }, { - "$ref": "3635" + "$ref": "3713" } ], "namespace": "OpenAI", @@ -48207,13 +49118,13 @@ "isHttpMetadata": false }, { - "$id": "4054", + "$id": "4132", "kind": "property", "name": "labels", "serializedName": "labels", "doc": "The labels to classify to each item in the evaluation.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -48229,13 +49140,13 @@ "isHttpMetadata": false }, { - "$id": "4055", + "$id": "4133", "kind": "property", "name": "passing_labels", "serializedName": "passing_labels", "doc": "The labels that indicate a passing result. Must be a subset of labels.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -48253,7 +49164,7 @@ ] }, "string_check": { - "$id": "4056", + "$id": "4134", "kind": "model", "name": "EvalGraderStringCheckParams", "namespace": "OpenAI", @@ -48262,17 +49173,17 @@ "discriminatorValue": "string_check", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4116" }, "properties": [ { - "$id": "4057", + "$id": "4135", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `string_check`.", "type": { - "$ref": "3678" + "$ref": "3756" }, "optional": false, "readOnly": false, @@ -48288,13 +49199,13 @@ "isHttpMetadata": false }, { - "$id": "4058", + "$id": "4136", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "4059", + "$id": "4137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48314,13 +49225,13 @@ "isHttpMetadata": false }, { - "$id": "4060", + "$id": "4138", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$id": "4061", + "$id": "4139", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48340,13 +49251,13 @@ "isHttpMetadata": false }, { - "$id": "4062", + "$id": "4140", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The reference text. This may include template strings.", "type": { - "$id": "4063", + "$id": "4141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48366,13 +49277,13 @@ "isHttpMetadata": false }, { - "$id": "4064", + "$id": "4142", "kind": "property", "name": "operation", "serializedName": "operation", "doc": "The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`.", "type": { - "$ref": "321" + "$ref": "312" }, "optional": false, "readOnly": false, @@ -48390,7 +49301,7 @@ ] }, "text_similarity": { - "$id": "4065", + "$id": "4143", "kind": "model", "name": "EvalGraderTextSimilarityParams", "namespace": "OpenAI", @@ -48399,17 +49310,17 @@ "discriminatorValue": "text_similarity", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4116" }, "properties": [ { - "$id": "4066", + "$id": "4144", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of grader.", "type": { - "$ref": "3599" + "$ref": "3677" }, "optional": false, "readOnly": false, @@ -48425,13 +49336,13 @@ "isHttpMetadata": false }, { - "$id": "4067", + "$id": "4145", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "4068", + "$id": "4146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48451,13 +49362,13 @@ "isHttpMetadata": false }, { - "$id": "4069", + "$id": "4147", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text being graded.", "type": { - "$id": "4070", + "$id": "4148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48477,13 +49388,13 @@ "isHttpMetadata": false }, { - "$id": "4071", + "$id": "4149", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The text being graded against.", "type": { - "$id": "4072", + "$id": "4150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48503,13 +49414,13 @@ "isHttpMetadata": false }, { - "$id": "4073", + "$id": "4151", "kind": "property", "name": "evaluation_metric", "serializedName": "evaluation_metric", "doc": "The evaluation metric to use. One of `fuzzy_match`, `bleu`, `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`.", "type": { - "$ref": "335" + "$ref": "326" }, "optional": false, "readOnly": false, @@ -48525,13 +49436,13 @@ "isHttpMetadata": false }, { - "$id": "4074", + "$id": "4152", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "4075", + "$id": "4153", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -48553,7 +49464,7 @@ ] }, "python": { - "$id": "4076", + "$id": "4154", "kind": "model", "name": "EvalGraderPythonParams", "namespace": "OpenAI", @@ -48562,17 +49473,17 @@ "discriminatorValue": "python", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4116" }, "properties": [ { - "$id": "4077", + "$id": "4155", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `python`.", "type": { - "$ref": "3617" + "$ref": "3695" }, "optional": false, "readOnly": false, @@ -48588,13 +49499,13 @@ "isHttpMetadata": false }, { - "$id": "4078", + "$id": "4156", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "4079", + "$id": "4157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48614,13 +49525,13 @@ "isHttpMetadata": false }, { - "$id": "4080", + "$id": "4158", "kind": "property", "name": "source", "serializedName": "source", "doc": "The source code of the python script.", "type": { - "$id": "4081", + "$id": "4159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48640,13 +49551,13 @@ "isHttpMetadata": false }, { - "$id": "4082", + "$id": "4160", "kind": "property", "name": "image_tag", "serializedName": "image_tag", "doc": "The image tag to use for the python script.", "type": { - "$id": "4083", + "$id": "4161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48666,13 +49577,13 @@ "isHttpMetadata": false }, { - "$id": "4084", + "$id": "4162", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "4085", + "$id": "4163", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -48694,7 +49605,7 @@ ] }, "score_model": { - "$id": "4086", + "$id": "4164", "kind": "model", "name": "EvalGraderScoreModelParams", "namespace": "OpenAI", @@ -48703,17 +49614,17 @@ "discriminatorValue": "score_model", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4116" }, "properties": [ { - "$id": "4087", + "$id": "4165", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `score_model`.", "type": { - "$ref": "3626" + "$ref": "3704" }, "optional": false, "readOnly": false, @@ -48729,13 +49640,13 @@ "isHttpMetadata": false }, { - "$id": "4088", + "$id": "4166", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "4089", + "$id": "4167", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48755,13 +49666,13 @@ "isHttpMetadata": false }, { - "$id": "4090", + "$id": "4168", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation.", "type": { - "$id": "4091", + "$id": "4169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48781,13 +49692,13 @@ "isHttpMetadata": false }, { - "$id": "4092", + "$id": "4170", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "doc": "The sampling parameters for the model.", "type": { - "$id": "4093", + "$id": "4171", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -48807,13 +49718,13 @@ "isHttpMetadata": false }, { - "$id": "4094", + "$id": "4172", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$ref": "3634" + "$ref": "3712" }, "optional": false, "readOnly": false, @@ -48829,13 +49740,13 @@ "isHttpMetadata": false }, { - "$id": "4095", + "$id": "4173", "kind": "property", "name": "range", "serializedName": "range", "doc": "The range of the score. Defaults to `[0, 1]`.", "type": { - "$ref": "2692" + "$ref": "2802" }, "optional": true, "readOnly": false, @@ -48851,13 +49762,13 @@ "isHttpMetadata": false }, { - "$id": "4096", + "$id": "4174", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "4097", + "$id": "4175", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -48899,40 +49810,40 @@ ] }, { - "$ref": "4023" + "$ref": "4101" }, { - "$ref": "4025" + "$ref": "4103" }, { - "$ref": "4030" + "$ref": "4108" }, { - "$ref": "4033" + "$ref": "4111" }, { - "$ref": "4038" + "$ref": "4116" }, { - "$ref": "4040" + "$ref": "4118" }, { - "$ref": "4049" + "$ref": "4127" }, { - "$ref": "4056" + "$ref": "4134" }, { - "$ref": "4065" + "$ref": "4143" }, { - "$ref": "4076" + "$ref": "4154" }, { - "$ref": "4086" + "$ref": "4164" }, { - "$id": "4098", + "$id": "4176", "kind": "model", "name": "UpdateEvalRequest", "namespace": "OpenAI", @@ -48941,12 +49852,12 @@ "decorators": [], "properties": [ { - "$id": "4099", + "$id": "4177", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4100", + "$id": "4178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48966,12 +49877,12 @@ "isHttpMetadata": false }, { - "$id": "4101", + "$id": "4179", "kind": "property", "name": "metadata", "serializedName": "metadata", "type": { - "$id": "4102", + "$id": "4180", "kind": "model", "name": "MetadataPropertyForRequest", "namespace": "OpenAI", @@ -48981,13 +49892,13 @@ "decorators": [], "properties": [ { - "$id": "4103", + "$id": "4181", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -49020,10 +49931,10 @@ ] }, { - "$ref": "4102" + "$ref": "4180" }, { - "$id": "4104", + "$id": "4182", "kind": "model", "name": "DeleteEvalResponse", "namespace": "OpenAI", @@ -49032,12 +49943,12 @@ "decorators": [], "properties": [ { - "$id": "4105", + "$id": "4183", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1644" + "$ref": "1766" }, "optional": false, "readOnly": false, @@ -49053,12 +49964,12 @@ "isHttpMetadata": false }, { - "$id": "4106", + "$id": "4184", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "4107", + "$id": "4185", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -49078,12 +49989,12 @@ "isHttpMetadata": false }, { - "$id": "4108", + "$id": "4186", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "4109", + "$id": "4187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49105,7 +50016,7 @@ ] }, { - "$id": "4110", + "$id": "4188", "kind": "model", "name": "EvalRunList", "namespace": "OpenAI", @@ -49115,13 +50026,13 @@ "decorators": [], "properties": [ { - "$id": "4111", + "$id": "4189", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1646" + "$ref": "1768" }, "optional": false, "readOnly": false, @@ -49137,17 +50048,17 @@ "isHttpMetadata": false }, { - "$id": "4112", + "$id": "4190", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of eval run objects.", "type": { - "$id": "4113", + "$id": "4191", "kind": "array", "name": "ArrayEvalRun", "valueType": { - "$id": "4114", + "$id": "4192", "kind": "model", "name": "EvalRun", "namespace": "OpenAI", @@ -49157,13 +50068,13 @@ "decorators": [], "properties": [ { - "$id": "4115", + "$id": "4193", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of the object. Always \"eval.run\".", "type": { - "$ref": "1648" + "$ref": "1770" }, "optional": false, "readOnly": false, @@ -49179,13 +50090,13 @@ "isHttpMetadata": false }, { - "$id": "4116", + "$id": "4194", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the evaluation run.", "type": { - "$id": "4117", + "$id": "4195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49205,13 +50116,13 @@ "isHttpMetadata": false }, { - "$id": "4118", + "$id": "4196", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "doc": "The identifier of the associated evaluation.", "type": { - "$id": "4119", + "$id": "4197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49231,13 +50142,13 @@ "isHttpMetadata": false }, { - "$id": "4120", + "$id": "4198", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the evaluation run.", "type": { - "$id": "4121", + "$id": "4199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49257,13 +50168,13 @@ "isHttpMetadata": false }, { - "$id": "4122", + "$id": "4200", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model that is evaluated, if applicable.", "type": { - "$id": "4123", + "$id": "4201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49283,13 +50194,13 @@ "isHttpMetadata": false }, { - "$id": "4124", + "$id": "4202", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the evaluation run.", "type": { - "$id": "4125", + "$id": "4203", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49309,18 +50220,18 @@ "isHttpMetadata": false }, { - "$id": "4126", + "$id": "4204", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the evaluation run was created.", "type": { - "$id": "4127", + "$id": "4205", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "4128", + "$id": "4206", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49343,13 +50254,13 @@ "isHttpMetadata": false }, { - "$id": "4129", + "$id": "4207", "kind": "property", "name": "report_url", "serializedName": "report_url", "doc": "The URL to the rendered evaluation run report on the UI dashboard.", "type": { - "$id": "4130", + "$id": "4208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49369,13 +50280,13 @@ "isHttpMetadata": false }, { - "$id": "4131", + "$id": "4209", "kind": "property", "name": "result_counts", "serializedName": "result_counts", "doc": "Counters summarizing the outcomes of the evaluation run.", "type": { - "$id": "4132", + "$id": "4210", "kind": "model", "name": "EvalRunResultCounts", "namespace": "OpenAI", @@ -49384,13 +50295,13 @@ "decorators": [], "properties": [ { - "$id": "4133", + "$id": "4211", "kind": "property", "name": "total", "serializedName": "total", "doc": "Total number of executed output items.", "type": { - "$id": "4134", + "$id": "4212", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49410,13 +50321,13 @@ "isHttpMetadata": false }, { - "$id": "4135", + "$id": "4213", "kind": "property", "name": "errored", "serializedName": "errored", "doc": "Number of output items that resulted in an error.", "type": { - "$id": "4136", + "$id": "4214", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49436,13 +50347,13 @@ "isHttpMetadata": false }, { - "$id": "4137", + "$id": "4215", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "Number of output items that failed to pass the evaluation.", "type": { - "$id": "4138", + "$id": "4216", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49462,13 +50373,13 @@ "isHttpMetadata": false }, { - "$id": "4139", + "$id": "4217", "kind": "property", "name": "passed", "serializedName": "passed", "doc": "Number of output items that passed the evaluation.", "type": { - "$id": "4140", + "$id": "4218", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49503,17 +50414,17 @@ "isHttpMetadata": false }, { - "$id": "4141", + "$id": "4219", "kind": "property", "name": "per_model_usage", "serializedName": "per_model_usage", "doc": "Usage statistics for each model during the evaluation run.", "type": { - "$id": "4142", + "$id": "4220", "kind": "array", - "name": "Array15", + "name": "Array14", "valueType": { - "$id": "4143", + "$id": "4221", "kind": "model", "name": "EvalRunPerModelUsage", "namespace": "OpenAI", @@ -49522,13 +50433,13 @@ "decorators": [], "properties": [ { - "$id": "4144", + "$id": "4222", "kind": "property", "name": "model_name", "serializedName": "model_name", "doc": "The name of the model.", "type": { - "$id": "4145", + "$id": "4223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49548,13 +50459,13 @@ "isHttpMetadata": false }, { - "$id": "4146", + "$id": "4224", "kind": "property", "name": "invocation_count", "serializedName": "invocation_count", "doc": "The number of invocations.", "type": { - "$id": "4147", + "$id": "4225", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49574,13 +50485,13 @@ "isHttpMetadata": false }, { - "$id": "4148", + "$id": "4226", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "The number of prompt tokens used.", "type": { - "$id": "4149", + "$id": "4227", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49600,13 +50511,13 @@ "isHttpMetadata": false }, { - "$id": "4150", + "$id": "4228", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "The number of completion tokens generated.", "type": { - "$id": "4151", + "$id": "4229", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49626,13 +50537,13 @@ "isHttpMetadata": false }, { - "$id": "4152", + "$id": "4230", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "4153", + "$id": "4231", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49652,13 +50563,13 @@ "isHttpMetadata": false }, { - "$id": "4154", + "$id": "4232", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of tokens retrieved from cache.", "type": { - "$id": "4155", + "$id": "4233", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49696,17 +50607,17 @@ "isHttpMetadata": false }, { - "$id": "4156", + "$id": "4234", "kind": "property", "name": "per_testing_criteria_results", "serializedName": "per_testing_criteria_results", "doc": "Results per testing criteria applied during the evaluation run.", "type": { - "$id": "4157", + "$id": "4235", "kind": "array", - "name": "Array16", + "name": "Array15", "valueType": { - "$id": "4158", + "$id": "4236", "kind": "model", "name": "EvalRunPerTestingCriteriaResult", "namespace": "OpenAI", @@ -49715,13 +50626,13 @@ "decorators": [], "properties": [ { - "$id": "4159", + "$id": "4237", "kind": "property", "name": "testing_criteria", "serializedName": "testing_criteria", "doc": "A description of the testing criteria.", "type": { - "$id": "4160", + "$id": "4238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49741,13 +50652,13 @@ "isHttpMetadata": false }, { - "$id": "4161", + "$id": "4239", "kind": "property", "name": "passed", "serializedName": "passed", "doc": "Number of tests passed for this criteria.", "type": { - "$id": "4162", + "$id": "4240", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49767,13 +50678,13 @@ "isHttpMetadata": false }, { - "$id": "4163", + "$id": "4241", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "Number of tests failed for this criteria.", "type": { - "$id": "4164", + "$id": "4242", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49811,13 +50722,13 @@ "isHttpMetadata": false }, { - "$id": "4165", + "$id": "4243", "kind": "property", "name": "data_source", "serializedName": "data_source", "doc": "Information about the run's data source.", "type": { - "$id": "4166", + "$id": "4244", "kind": "model", "name": "EvalRunDataSourceResource", "namespace": "OpenAI", @@ -49826,12 +50737,12 @@ "decorators": [], "properties": [ { - "$id": "4167", + "$id": "4245", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "392" + "$ref": "383" }, "optional": false, "readOnly": false, @@ -49862,13 +50773,13 @@ "isHttpMetadata": false }, { - "$id": "4168", + "$id": "4246", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -49884,12 +50795,12 @@ "isHttpMetadata": false }, { - "$id": "4169", + "$id": "4247", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "4170", + "$id": "4248", "kind": "model", "name": "EvalApiError", "namespace": "OpenAI", @@ -49899,13 +50810,13 @@ "decorators": [], "properties": [ { - "$id": "4171", + "$id": "4249", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "4172", + "$id": "4250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49925,13 +50836,13 @@ "isHttpMetadata": false }, { - "$id": "4173", + "$id": "4251", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "4174", + "$id": "4252", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49984,13 +50895,13 @@ "isHttpMetadata": false }, { - "$id": "4175", + "$id": "4253", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval run in the data array.", "type": { - "$id": "4176", + "$id": "4254", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50010,13 +50921,13 @@ "isHttpMetadata": false }, { - "$id": "4177", + "$id": "4255", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval run in the data array.", "type": { - "$id": "4178", + "$id": "4256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50036,13 +50947,13 @@ "isHttpMetadata": false }, { - "$id": "4179", + "$id": "4257", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more evals available.", "type": { - "$id": "4180", + "$id": "4258", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -50064,25 +50975,25 @@ ] }, { - "$ref": "4114" + "$ref": "4192" }, { - "$ref": "4132" + "$ref": "4210" }, { - "$ref": "4143" + "$ref": "4221" }, { - "$ref": "4158" + "$ref": "4236" }, { - "$ref": "4166" + "$ref": "4244" }, { - "$ref": "4170" + "$ref": "4248" }, { - "$id": "4181", + "$id": "4259", "kind": "model", "name": "CreateEvalRunRequest", "namespace": "OpenAI", @@ -50091,13 +51002,13 @@ "decorators": [], "properties": [ { - "$id": "4182", + "$id": "4260", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the run.", "type": { - "$id": "4183", + "$id": "4261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50117,13 +51028,13 @@ "isHttpMetadata": false }, { - "$id": "4184", + "$id": "4262", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -50139,13 +51050,13 @@ "isHttpMetadata": false }, { - "$id": "4185", + "$id": "4263", "kind": "property", "name": "data_source", "serializedName": "data_source", "doc": "Details about the run's data source.", "type": { - "$id": "4186", + "$id": "4264", "kind": "model", "name": "EvalRunDataSourceParams", "namespace": "OpenAI", @@ -50153,12 +51064,12 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "4187", + "$id": "4265", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "392" + "$ref": "383" }, "optional": false, "readOnly": false, @@ -50175,12 +51086,12 @@ }, "properties": [ { - "$ref": "4187" + "$ref": "4265" } ], "discriminatedSubtypes": { "jsonl": { - "$id": "4188", + "$id": "4266", "kind": "model", "name": "EvalJsonlRunDataSourceParams", "namespace": "OpenAI", @@ -50190,32 +51101,32 @@ "discriminatorValue": "jsonl", "decorators": [], "baseModel": { - "$ref": "4186" + "$ref": "4264" }, "properties": [ { - "$id": "4189", + "$id": "4267", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `jsonl`.", "type": { - "$id": "4190", + "$id": "4268", "kind": "enumvalue", "name": "jsonl", "value": "jsonl", "valueType": { - "$ref": "393" + "$ref": "384" }, "enumType": { - "$id": "4191", + "$id": "4269", "kind": "enum", "decorators": [], "name": "EvalRunDataSourceType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4192", + "$id": "4270", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -50224,42 +51135,42 @@ }, "values": [ { - "$id": "4193", + "$id": "4271", "kind": "enumvalue", "decorators": [], "name": "jsonl", "value": "jsonl", "valueType": { - "$ref": "4192" + "$ref": "4270" }, "enumType": { - "$ref": "4191" + "$ref": "4269" } }, { - "$id": "4194", + "$id": "4272", "kind": "enumvalue", "decorators": [], "name": "completions", "value": "completions", "valueType": { - "$ref": "4192" + "$ref": "4270" }, "enumType": { - "$ref": "4191" + "$ref": "4269" } }, { - "$id": "4195", + "$id": "4273", "kind": "enumvalue", "decorators": [], "name": "responses", "value": "responses", "valueType": { - "$ref": "4192" + "$ref": "4270" }, "enumType": { - "$ref": "4191" + "$ref": "4269" } } ], @@ -50288,18 +51199,18 @@ "isHttpMetadata": false }, { - "$id": "4196", + "$id": "4274", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in the data source.", "type": { - "$id": "4197", + "$id": "4275", "kind": "union", "name": "EvalJsonlRunDataSourceParamsSource", "variantTypes": [ { - "$id": "4198", + "$id": "4276", "kind": "model", "name": "EvalRunFileContentDataContentSource", "namespace": "OpenAI", @@ -50308,7 +51219,7 @@ "discriminatorValue": "file_content", "decorators": [], "baseModel": { - "$id": "4199", + "$id": "4277", "kind": "model", "name": "EvalRunDataContentSource", "namespace": "OpenAI", @@ -50316,12 +51227,12 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "4200", + "$id": "4278", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "397" + "$ref": "388" }, "optional": false, "readOnly": false, @@ -50338,15 +51249,15 @@ }, "properties": [ { - "$ref": "4200" + "$ref": "4278" } ], "discriminatedSubtypes": { "file_content": { - "$ref": "4198" + "$ref": "4276" }, "file_id": { - "$id": "4201", + "$id": "4279", "kind": "model", "name": "EvalRunFileIdDataContentSource", "namespace": "OpenAI", @@ -50355,32 +51266,32 @@ "discriminatorValue": "file_id", "decorators": [], "baseModel": { - "$ref": "4199" + "$ref": "4277" }, "properties": [ { - "$id": "4202", + "$id": "4280", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of jsonl source. Always `file_id`.", "type": { - "$id": "4203", + "$id": "4281", "kind": "enumvalue", "name": "file_id", "value": "file_id", "valueType": { - "$ref": "398" + "$ref": "389" }, "enumType": { - "$id": "4204", + "$id": "4282", "kind": "enum", "decorators": [], "name": "EvalRunDataContentSourceType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4205", + "$id": "4283", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -50389,55 +51300,55 @@ }, "values": [ { - "$id": "4206", + "$id": "4284", "kind": "enumvalue", "decorators": [], "name": "file_id", "value": "file_id", "valueType": { - "$ref": "4205" + "$ref": "4283" }, "enumType": { - "$ref": "4204" + "$ref": "4282" } }, { - "$id": "4207", + "$id": "4285", "kind": "enumvalue", "decorators": [], "name": "file_content", "value": "file_content", "valueType": { - "$ref": "4205" + "$ref": "4283" }, "enumType": { - "$ref": "4204" + "$ref": "4282" } }, { - "$id": "4208", + "$id": "4286", "kind": "enumvalue", "decorators": [], "name": "stored_completions", "value": "stored_completions", "valueType": { - "$ref": "4205" + "$ref": "4283" }, "enumType": { - "$ref": "4204" + "$ref": "4282" } }, { - "$id": "4209", + "$id": "4287", "kind": "enumvalue", "decorators": [], "name": "responses", "value": "responses", "valueType": { - "$ref": "4205" + "$ref": "4283" }, "enumType": { - "$ref": "4204" + "$ref": "4282" } } ], @@ -50466,13 +51377,13 @@ "isHttpMetadata": false }, { - "$id": "4210", + "$id": "4288", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier of the file.", "type": { - "$id": "4211", + "$id": "4289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50494,7 +51405,7 @@ ] }, "stored_completions": { - "$id": "4212", + "$id": "4290", "kind": "model", "name": "EvalRunStoredCompletionsDataContentSource", "namespace": "OpenAI", @@ -50504,25 +51415,25 @@ "discriminatorValue": "stored_completions", "decorators": [], "baseModel": { - "$ref": "4199" + "$ref": "4277" }, "properties": [ { - "$id": "4213", + "$id": "4291", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of source. Always `stored_completions`.", "type": { - "$id": "4214", + "$id": "4292", "kind": "enumvalue", "name": "stored_completions", "value": "stored_completions", "valueType": { - "$ref": "398" + "$ref": "389" }, "enumType": { - "$ref": "4204" + "$ref": "4282" }, "decorators": [] }, @@ -50540,13 +51451,13 @@ "isHttpMetadata": false }, { - "$id": "4215", + "$id": "4293", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -50562,16 +51473,16 @@ "isHttpMetadata": false }, { - "$id": "4216", + "$id": "4294", "kind": "property", "name": "model", "serializedName": "model", "doc": "An optional model to filter by (e.g., 'gpt-4o').", "type": { - "$id": "4217", + "$id": "4295", "kind": "nullable", "type": { - "$id": "4218", + "$id": "4296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50593,16 +51504,16 @@ "isHttpMetadata": false }, { - "$id": "4219", + "$id": "4297", "kind": "property", "name": "created_after", "serializedName": "created_after", "doc": "An optional Unix timestamp to filter items created after this time.", "type": { - "$id": "4220", + "$id": "4298", "kind": "nullable", "type": { - "$id": "4221", + "$id": "4299", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50624,16 +51535,16 @@ "isHttpMetadata": false }, { - "$id": "4222", + "$id": "4300", "kind": "property", "name": "created_before", "serializedName": "created_before", "doc": "An optional Unix timestamp to filter items created before this time.", "type": { - "$id": "4223", + "$id": "4301", "kind": "nullable", "type": { - "$id": "4224", + "$id": "4302", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50655,16 +51566,16 @@ "isHttpMetadata": false }, { - "$id": "4225", + "$id": "4303", "kind": "property", "name": "limit", "serializedName": "limit", "doc": "An optional maximum number of items to return.", "type": { - "$id": "4226", + "$id": "4304", "kind": "nullable", "type": { - "$id": "4227", + "$id": "4305", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50688,7 +51599,7 @@ ] }, "responses": { - "$id": "4228", + "$id": "4306", "kind": "model", "name": "EvalRunResponsesDataContentSource", "namespace": "OpenAI", @@ -50698,25 +51609,25 @@ "discriminatorValue": "responses", "decorators": [], "baseModel": { - "$ref": "4199" + "$ref": "4277" }, "properties": [ { - "$id": "4229", + "$id": "4307", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of run data source. Always `responses`.", "type": { - "$id": "4230", + "$id": "4308", "kind": "enumvalue", "name": "responses", "value": "responses", "valueType": { - "$ref": "398" + "$ref": "389" }, "enumType": { - "$ref": "4204" + "$ref": "4282" }, "decorators": [] }, @@ -50734,13 +51645,13 @@ "isHttpMetadata": false }, { - "$id": "4231", + "$id": "4309", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -50756,16 +51667,16 @@ "isHttpMetadata": false }, { - "$id": "4232", + "$id": "4310", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to find responses for. This is a query parameter used to select responses.", "type": { - "$id": "4233", + "$id": "4311", "kind": "nullable", "type": { - "$id": "4234", + "$id": "4312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50787,16 +51698,16 @@ "isHttpMetadata": false }, { - "$id": "4235", + "$id": "4313", "kind": "property", "name": "instructions_search", "serializedName": "instructions_search", "doc": "Optional string to search the 'instructions' field. This is a query parameter used to select responses.", "type": { - "$id": "4236", + "$id": "4314", "kind": "nullable", "type": { - "$id": "4237", + "$id": "4315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50818,16 +51729,16 @@ "isHttpMetadata": false }, { - "$id": "4238", + "$id": "4316", "kind": "property", "name": "created_after", "serializedName": "created_after", "doc": "Only include items created after this timestamp (inclusive). This is a query parameter used to select responses.", "type": { - "$id": "4239", + "$id": "4317", "kind": "nullable", "type": { - "$id": "4240", + "$id": "4318", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50849,16 +51760,16 @@ "isHttpMetadata": false }, { - "$id": "4241", + "$id": "4319", "kind": "property", "name": "created_before", "serializedName": "created_before", "doc": "Only include items created before this timestamp (inclusive). This is a query parameter used to select responses.", "type": { - "$id": "4242", + "$id": "4320", "kind": "nullable", "type": { - "$id": "4243", + "$id": "4321", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50880,13 +51791,13 @@ "isHttpMetadata": false }, { - "$id": "4244", + "$id": "4322", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "doc": "Optional reasoning effort parameter. This is a query parameter used to select responses.", "type": { - "$id": "4245", + "$id": "4323", "kind": "nullable", "type": { "$ref": "53" @@ -50907,16 +51818,16 @@ "isHttpMetadata": false }, { - "$id": "4246", + "$id": "4324", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature. This is a query parameter used to select responses.", "type": { - "$id": "4247", + "$id": "4325", "kind": "nullable", "type": { - "$id": "4248", + "$id": "4326", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -50938,16 +51849,16 @@ "isHttpMetadata": false }, { - "$id": "4249", + "$id": "4327", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "Nucleus sampling parameter. This is a query parameter used to select responses.", "type": { - "$id": "4250", + "$id": "4328", "kind": "nullable", "type": { - "$id": "4251", + "$id": "4329", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -50969,16 +51880,16 @@ "isHttpMetadata": false }, { - "$id": "4252", + "$id": "4330", "kind": "property", "name": "users", "serializedName": "users", "doc": "List of user identifiers. This is a query parameter used to select responses.", "type": { - "$id": "4253", + "$id": "4331", "kind": "nullable", "type": { - "$ref": "2438" + "$ref": "2548" }, "namespace": "OpenAI" }, @@ -50996,16 +51907,16 @@ "isHttpMetadata": false }, { - "$id": "4254", + "$id": "4332", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "List of tool names. This is a query parameter used to select responses.", "type": { - "$id": "4255", + "$id": "4333", "kind": "nullable", "type": { - "$ref": "2438" + "$ref": "2548" }, "namespace": "OpenAI" }, @@ -51028,21 +51939,21 @@ }, "properties": [ { - "$id": "4256", + "$id": "4334", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of jsonl source. Always `file_content`.", "type": { - "$id": "4257", + "$id": "4335", "kind": "enumvalue", "name": "file_content", "value": "file_content", "valueType": { - "$ref": "398" + "$ref": "389" }, "enumType": { - "$ref": "4204" + "$ref": "4282" }, "decorators": [] }, @@ -51060,17 +51971,17 @@ "isHttpMetadata": false }, { - "$id": "4258", + "$id": "4336", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the jsonl file.", "type": { - "$id": "4259", + "$id": "4337", "kind": "array", - "name": "Array17", + "name": "Array16", "valueType": { - "$id": "4260", + "$id": "4338", "kind": "model", "name": "EvalRunFileContentDataContentSourceContent", "namespace": "OpenAI", @@ -51079,12 +51990,12 @@ "decorators": [], "properties": [ { - "$id": "4261", + "$id": "4339", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": false, "readOnly": false, @@ -51100,12 +52011,12 @@ "isHttpMetadata": false }, { - "$id": "4262", + "$id": "4340", "kind": "property", "name": "sample", "serializedName": "sample", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": true, "readOnly": false, @@ -51141,7 +52052,7 @@ ] }, { - "$ref": "4201" + "$ref": "4279" } ], "namespace": "OpenAI", @@ -51163,7 +52074,7 @@ ] }, "completions": { - "$id": "4263", + "$id": "4341", "kind": "model", "name": "EvalCompletionsRunDataSourceParams", "namespace": "OpenAI", @@ -51173,25 +52084,25 @@ "discriminatorValue": "completions", "decorators": [], "baseModel": { - "$ref": "4186" + "$ref": "4264" }, "properties": [ { - "$id": "4264", + "$id": "4342", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of run data source. Always `completions`.", "type": { - "$id": "4265", + "$id": "4343", "kind": "enumvalue", "name": "completions", "value": "completions", "valueType": { - "$ref": "393" + "$ref": "384" }, "enumType": { - "$ref": "4191" + "$ref": "4269" }, "decorators": [] }, @@ -51209,18 +52120,18 @@ "isHttpMetadata": false }, { - "$id": "4266", + "$id": "4344", "kind": "property", "name": "input_messages", "serializedName": "input_messages", "doc": "Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, `item.input_trajectory`), or a template with variable references to the `item` namespace.", "type": { - "$id": "4267", + "$id": "4345", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsInputMessages", "variantTypes": [ { - "$id": "4268", + "$id": "4346", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsInputMessages1", "namespace": "OpenAI", @@ -51229,13 +52140,13 @@ "decorators": [], "properties": [ { - "$id": "4269", + "$id": "4347", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of input messages. Always `template`.", "type": { - "$ref": "1650" + "$ref": "1772" }, "optional": false, "readOnly": false, @@ -51251,29 +52162,29 @@ "isHttpMetadata": false }, { - "$id": "4270", + "$id": "4348", "kind": "property", "name": "template", "serializedName": "template", "doc": "A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}.", "type": { - "$id": "4271", + "$id": "4349", "kind": "array", - "name": "Array18", + "name": "Array17", "valueType": { - "$id": "4272", + "$id": "4350", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsInputMessagesTemplate", "variantTypes": [ { - "$id": "4273", + "$id": "4351", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", "decorators": [] }, { - "$ref": "3635" + "$ref": "3713" } ], "namespace": "OpenAI", @@ -51298,7 +52209,7 @@ ] }, { - "$id": "4274", + "$id": "4352", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsInputMessages2", "namespace": "OpenAI", @@ -51307,13 +52218,13 @@ "decorators": [], "properties": [ { - "$id": "4275", + "$id": "4353", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of input messages. Always `item_reference`.", "type": { - "$ref": "1652" + "$ref": "1774" }, "optional": false, "readOnly": false, @@ -51329,13 +52240,13 @@ "isHttpMetadata": false }, { - "$id": "4276", + "$id": "4354", "kind": "property", "name": "item_reference", "serializedName": "item_reference", "doc": "A reference to a variable in the `item` namespace. Ie, \"item.input_trajectory\"", "type": { - "$id": "4277", + "$id": "4355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51374,12 +52285,12 @@ "isHttpMetadata": false }, { - "$id": "4278", + "$id": "4356", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "type": { - "$id": "4279", + "$id": "4357", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsSamplingParams", "namespace": "OpenAI", @@ -51388,13 +52299,13 @@ "decorators": [], "properties": [ { - "$id": "4280", + "$id": "4358", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "A higher temperature increases randomness in the outputs.", "type": { - "$id": "4281", + "$id": "4359", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -51414,13 +52325,13 @@ "isHttpMetadata": false }, { - "$id": "4282", + "$id": "4360", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens in the generated output.", "type": { - "$id": "4283", + "$id": "4361", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -51440,13 +52351,13 @@ "isHttpMetadata": false }, { - "$id": "4284", + "$id": "4362", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to temperature for nucleus sampling; 1.0 includes all tokens.", "type": { - "$id": "4285", + "$id": "4363", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -51466,13 +52377,13 @@ "isHttpMetadata": false }, { - "$id": "4286", + "$id": "4364", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "A seed value to initialize the randomness, during sampling.", "type": { - "$id": "4287", + "$id": "4365", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -51492,13 +52403,13 @@ "isHttpMetadata": false }, { - "$id": "4288", + "$id": "4366", "kind": "property", "name": "response_format", "serializedName": "response_format", "doc": "An object specifying the format that the model must output.\n\nSetting to `{ \"type\": \"json_schema\", \"json_schema\": {...} }` enables\nStructured Outputs which ensures the model will match your supplied JSON\nschema. Learn more in the [Structured Outputs\nguide](/docs/guides/structured-outputs).\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.", "type": { - "$id": "4289", + "$id": "4367", "kind": "model", "name": "ResponseTextFormatConfiguration", "namespace": "OpenAI", @@ -51511,12 +52422,12 @@ } ], "discriminatorProperty": { - "$id": "4290", + "$id": "4368", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "403" + "$ref": "394" }, "optional": false, "readOnly": false, @@ -51533,12 +52444,12 @@ }, "properties": [ { - "$ref": "4290" + "$ref": "4368" } ], "discriminatedSubtypes": { "text": { - "$id": "4291", + "$id": "4369", "kind": "model", "name": "ResponseTextFormatConfigurationText", "namespace": "OpenAI", @@ -51552,24 +52463,24 @@ } ], "baseModel": { - "$ref": "4289" + "$ref": "4367" }, "properties": [ { - "$id": "4292", + "$id": "4370", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4293", + "$id": "4371", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "404" + "$ref": "395" }, "enumType": { - "$id": "4294", + "$id": "4372", "kind": "enum", "decorators": [], "doc": "An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.", @@ -51577,7 +52488,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4295", + "$id": "4373", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -51586,42 +52497,42 @@ }, "values": [ { - "$id": "4296", + "$id": "4374", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "4295" + "$ref": "4373" }, "enumType": { - "$ref": "4294" + "$ref": "4372" } }, { - "$id": "4297", + "$id": "4375", "kind": "enumvalue", "decorators": [], "name": "json_schema", "value": "json_schema", "valueType": { - "$ref": "4295" + "$ref": "4373" }, "enumType": { - "$ref": "4294" + "$ref": "4372" } }, { - "$id": "4298", + "$id": "4376", "kind": "enumvalue", "decorators": [], "name": "json_object", "value": "json_object", "valueType": { - "$ref": "4295" + "$ref": "4373" }, "enumType": { - "$ref": "4294" + "$ref": "4372" } } ], @@ -51652,7 +52563,7 @@ ] }, "json_object": { - "$id": "4299", + "$id": "4377", "kind": "model", "name": "ResponseTextFormatConfigurationJsonObject", "namespace": "OpenAI", @@ -51666,24 +52577,24 @@ } ], "baseModel": { - "$ref": "4289" + "$ref": "4367" }, "properties": [ { - "$id": "4300", + "$id": "4378", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4301", + "$id": "4379", "kind": "enumvalue", "name": "json_object", "value": "json_object", "valueType": { - "$ref": "404" + "$ref": "395" }, "enumType": { - "$ref": "4294" + "$ref": "4372" }, "decorators": [] }, @@ -51703,7 +52614,7 @@ ] }, "json_schema": { - "$id": "4302", + "$id": "4380", "kind": "model", "name": "ResponseTextFormatConfigurationJsonSchema", "namespace": "OpenAI", @@ -51718,25 +52629,25 @@ } ], "baseModel": { - "$ref": "4289" + "$ref": "4367" }, "properties": [ { - "$id": "4303", + "$id": "4381", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of response format being defined. Always `json_schema`.", "type": { - "$id": "4304", + "$id": "4382", "kind": "enumvalue", "name": "json_schema", "value": "json_schema", "valueType": { - "$ref": "404" + "$ref": "395" }, "enumType": { - "$ref": "4294" + "$ref": "4372" }, "decorators": [] }, @@ -51754,13 +52665,13 @@ "isHttpMetadata": false }, { - "$id": "4305", + "$id": "4383", "kind": "property", "name": "description", "serializedName": "description", "doc": "A description of what the response format is for, used by the model to\ndetermine how to respond in the format.", "type": { - "$id": "4306", + "$id": "4384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51780,13 +52691,13 @@ "isHttpMetadata": false }, { - "$id": "4307", + "$id": "4385", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.", "type": { - "$id": "4308", + "$id": "4386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51806,12 +52717,12 @@ "isHttpMetadata": false }, { - "$id": "4309", + "$id": "4387", "kind": "property", "name": "schema", "serializedName": "schema", "type": { - "$ref": "2478" + "$ref": "2588" }, "optional": false, "readOnly": false, @@ -51827,16 +52738,16 @@ "isHttpMetadata": false }, { - "$id": "4310", + "$id": "4388", "kind": "property", "name": "strict", "serializedName": "strict", "doc": "Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](/docs/guides/structured-outputs).", "type": { - "$id": "4311", + "$id": "4389", "kind": "nullable", "type": { - "$id": "4312", + "$id": "4390", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -51875,13 +52786,13 @@ "isHttpMetadata": false }, { - "$id": "4313", + "$id": "4391", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported.", "type": { - "$ref": "3203" + "$ref": "3313" }, "optional": true, "readOnly": false, @@ -51912,13 +52823,13 @@ "isHttpMetadata": false }, { - "$id": "4314", + "$id": "4392", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to use for generating completions (e.g. \"o3-mini\").", "type": { - "$id": "4315", + "$id": "4393", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51938,24 +52849,24 @@ "isHttpMetadata": false }, { - "$id": "4316", + "$id": "4394", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in this run's data source.", "type": { - "$id": "4317", + "$id": "4395", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsSource", "variantTypes": [ { - "$ref": "4198" + "$ref": "4276" }, { - "$ref": "4201" + "$ref": "4279" }, { - "$ref": "4212" + "$ref": "4290" } ], "namespace": "OpenAI", @@ -51977,7 +52888,7 @@ ] }, "responses": { - "$id": "4318", + "$id": "4396", "kind": "model", "name": "EvalResponsesRunDataSourceParams", "namespace": "OpenAI", @@ -51987,25 +52898,25 @@ "discriminatorValue": "responses", "decorators": [], "baseModel": { - "$ref": "4186" + "$ref": "4264" }, "properties": [ { - "$id": "4319", + "$id": "4397", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of run data source. Always `responses`.", "type": { - "$id": "4320", + "$id": "4398", "kind": "enumvalue", "name": "responses", "value": "responses", "valueType": { - "$ref": "393" + "$ref": "384" }, "enumType": { - "$ref": "4191" + "$ref": "4269" }, "decorators": [] }, @@ -52023,18 +52934,18 @@ "isHttpMetadata": false }, { - "$id": "4321", + "$id": "4399", "kind": "property", "name": "input_messages", "serializedName": "input_messages", "doc": "Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, `item.input_trajectory`), or a template with variable references to the `item` namespace.", "type": { - "$id": "4322", + "$id": "4400", "kind": "union", "name": "EvalResponsesRunDataSourceParamsInputMessages", "variantTypes": [ { - "$id": "4323", + "$id": "4401", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessages1", "namespace": "OpenAI", @@ -52043,13 +52954,13 @@ "decorators": [], "properties": [ { - "$id": "4324", + "$id": "4402", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of input messages. Always `template`.", "type": { - "$ref": "1654" + "$ref": "1776" }, "optional": false, "readOnly": false, @@ -52065,22 +52976,22 @@ "isHttpMetadata": false }, { - "$id": "4325", + "$id": "4403", "kind": "property", "name": "template", "serializedName": "template", "doc": "A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}.", "type": { - "$id": "4326", + "$id": "4404", "kind": "array", - "name": "Array19", + "name": "Array18", "valueType": { - "$id": "4327", + "$id": "4405", "kind": "union", "name": "EvalResponsesRunDataSourceParamsInputMessagesTemplate", "variantTypes": [ { - "$id": "4328", + "$id": "4406", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessagesTemplate1", "namespace": "OpenAI", @@ -52089,13 +53000,13 @@ "decorators": [], "properties": [ { - "$id": "4329", + "$id": "4407", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "4330", + "$id": "4408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52115,13 +53026,13 @@ "isHttpMetadata": false }, { - "$id": "4331", + "$id": "4409", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4332", + "$id": "4410", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52143,7 +53054,7 @@ ] }, { - "$ref": "3635" + "$ref": "3713" } ], "namespace": "OpenAI", @@ -52168,7 +53079,7 @@ ] }, { - "$id": "4333", + "$id": "4411", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessages2", "namespace": "OpenAI", @@ -52177,13 +53088,13 @@ "decorators": [], "properties": [ { - "$id": "4334", + "$id": "4412", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of input messages. Always `item_reference`.", "type": { - "$ref": "1656" + "$ref": "1778" }, "optional": false, "readOnly": false, @@ -52199,13 +53110,13 @@ "isHttpMetadata": false }, { - "$id": "4335", + "$id": "4413", "kind": "property", "name": "item_reference", "serializedName": "item_reference", "doc": "A reference to a variable in the `item` namespace. Ie, \"item.name\"", "type": { - "$id": "4336", + "$id": "4414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52244,12 +53155,12 @@ "isHttpMetadata": false }, { - "$id": "4337", + "$id": "4415", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "type": { - "$id": "4338", + "$id": "4416", "kind": "model", "name": "EvalResponsesRunDataSourceParamsSamplingParams", "namespace": "OpenAI", @@ -52258,13 +53169,13 @@ "decorators": [], "properties": [ { - "$id": "4339", + "$id": "4417", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "A higher temperature increases randomness in the outputs.", "type": { - "$id": "4340", + "$id": "4418", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -52284,13 +53195,13 @@ "isHttpMetadata": false }, { - "$id": "4341", + "$id": "4419", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens in the generated output.", "type": { - "$id": "4342", + "$id": "4420", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -52310,13 +53221,13 @@ "isHttpMetadata": false }, { - "$id": "4343", + "$id": "4421", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to temperature for nucleus sampling; 1.0 includes all tokens.", "type": { - "$id": "4344", + "$id": "4422", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -52336,13 +53247,13 @@ "isHttpMetadata": false }, { - "$id": "4345", + "$id": "4423", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "A seed value to initialize the randomness, during sampling.", "type": { - "$id": "4346", + "$id": "4424", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -52362,17 +53273,17 @@ "isHttpMetadata": false }, { - "$id": "4347", + "$id": "4425", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nThe two categories of tools you can provide the model are:\n\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](/docs/guides/tools-web-search)\n or [file search](/docs/guides/tools-file-search). Learn more about\n [built-in tools](/docs/guides/tools).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code. Learn more about\n [function calling](/docs/guides/function-calling).", "type": { - "$id": "4348", + "$id": "4426", "kind": "array", "name": "ArrayTool", "valueType": { - "$id": "4349", + "$id": "4427", "kind": "model", "name": "Tool", "namespace": "OpenAI", @@ -52385,12 +53296,12 @@ } ], "discriminatorProperty": { - "$id": "4350", + "$id": "4428", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "408" + "$ref": "399" }, "optional": false, "readOnly": false, @@ -52407,12 +53318,12 @@ }, "properties": [ { - "$ref": "4350" + "$ref": "4428" } ], "discriminatedSubtypes": { "function": { - "$id": "4351", + "$id": "4429", "kind": "model", "name": "FunctionTool", "namespace": "OpenAI", @@ -52427,25 +53338,25 @@ } ], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4352", + "$id": "4430", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the function tool. Always `function`.", "type": { - "$id": "4353", + "$id": "4431", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$id": "4354", + "$id": "4432", "kind": "enum", "decorators": [], "doc": "A tool that can be used to generate a response.", @@ -52453,7 +53364,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4355", + "$id": "4433", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -52462,120 +53373,120 @@ }, "values": [ { - "$id": "4356", + "$id": "4434", "kind": "enumvalue", "decorators": [], "name": "file_search", "value": "file_search", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } }, { - "$id": "4357", + "$id": "4435", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } }, { - "$id": "4358", + "$id": "4436", "kind": "enumvalue", "decorators": [], "name": "computer_use_preview", "value": "computer_use_preview", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } }, { - "$id": "4359", + "$id": "4437", "kind": "enumvalue", "decorators": [], "name": "web_search", "value": "web_search", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } }, { - "$id": "4360", + "$id": "4438", "kind": "enumvalue", "decorators": [], "name": "web_search_preview", "value": "web_search_preview", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } }, { - "$id": "4361", + "$id": "4439", "kind": "enumvalue", "decorators": [], "name": "mcp", "value": "mcp", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } }, { - "$id": "4362", + "$id": "4440", "kind": "enumvalue", "decorators": [], "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } }, { - "$id": "4363", + "$id": "4441", "kind": "enumvalue", "decorators": [], "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } }, { - "$id": "4364", + "$id": "4442", "kind": "enumvalue", "decorators": [], "name": "local_shell", "value": "local_shell", "valueType": { - "$ref": "4355" + "$ref": "4433" }, "enumType": { - "$ref": "4354" + "$ref": "4432" } } ], @@ -52604,13 +53515,13 @@ "isHttpMetadata": false }, { - "$id": "4365", + "$id": "4443", "kind": "property", "name": "FunctionName", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "4366", + "$id": "4444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52630,16 +53541,16 @@ "isHttpMetadata": false }, { - "$id": "4367", + "$id": "4445", "kind": "property", "name": "FunctionDescription", "serializedName": "description", "doc": "A description of the function. Used by the model to determine whether or not to call the function.", "type": { - "$id": "4368", + "$id": "4446", "kind": "nullable", "type": { - "$id": "4369", + "$id": "4447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52661,16 +53572,16 @@ "isHttpMetadata": false }, { - "$id": "4370", + "$id": "4448", "kind": "property", "name": "FunctionParameters", "serializedName": "parameters", "doc": "A JSON schema object describing the parameters of the function.", "type": { - "$id": "4371", + "$id": "4449", "kind": "nullable", "type": { - "$id": "4372", + "$id": "4450", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -52692,16 +53603,16 @@ "isHttpMetadata": false }, { - "$id": "4373", + "$id": "4451", "kind": "property", "name": "StrictModeEnabled", "serializedName": "strict", "doc": "Whether to enforce strict parameter validation. Default `true`.", "type": { - "$id": "4374", + "$id": "4452", "kind": "nullable", "type": { - "$id": "4375", + "$id": "4453", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -52725,7 +53636,7 @@ ] }, "file_search": { - "$id": "4376", + "$id": "4454", "kind": "model", "name": "FileSearchTool", "namespace": "OpenAI", @@ -52740,25 +53651,25 @@ } ], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4377", + "$id": "4455", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the file search tool. Always `file_search`.", "type": { - "$id": "4378", + "$id": "4456", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "4354" + "$ref": "4432" }, "decorators": [] }, @@ -52776,13 +53687,13 @@ "isHttpMetadata": false }, { - "$id": "4379", + "$id": "4457", "kind": "property", "name": "vector_store_ids", "serializedName": "vector_store_ids", "doc": "The IDs of the vector stores to search.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -52798,13 +53709,13 @@ "isHttpMetadata": false }, { - "$id": "4380", + "$id": "4458", "kind": "property", "name": "MaxResultCount", "serializedName": "max_num_results", "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", "type": { - "$id": "4381", + "$id": "4459", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -52824,13 +53735,13 @@ "isHttpMetadata": false }, { - "$id": "4382", + "$id": "4460", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "doc": "Ranking options for search.", "type": { - "$id": "4383", + "$id": "4461", "kind": "model", "name": "RankingOptions", "namespace": "OpenAI", @@ -52844,13 +53755,13 @@ ], "properties": [ { - "$id": "4384", + "$id": "4462", "kind": "property", "name": "ranker", "serializedName": "ranker", "doc": "The ranker to use for the file search.", "type": { - "$ref": "419" + "$ref": "410" }, "optional": true, "readOnly": false, @@ -52866,13 +53777,13 @@ "isHttpMetadata": false }, { - "$id": "4385", + "$id": "4463", "kind": "property", "name": "score_threshold", "serializedName": "score_threshold", "doc": "The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.", "type": { - "$id": "4386", + "$id": "4464", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -52907,21 +53818,21 @@ "isHttpMetadata": false }, { - "$id": "4387", + "$id": "4465", "kind": "property", "name": "filters", "serializedName": "filters", "doc": "A filter to apply.", "type": { - "$id": "4388", + "$id": "4466", "kind": "nullable", "type": { - "$id": "4389", + "$id": "4467", "kind": "union", "name": "Filters", "variantTypes": [ { - "$id": "4390", + "$id": "4468", "kind": "model", "name": "ComparisonFilter", "namespace": "OpenAI", @@ -52934,12 +53845,12 @@ } ], "discriminatorProperty": { - "$id": "4391", + "$id": "4469", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "423" + "$ref": "414" }, "optional": false, "readOnly": false, @@ -52956,15 +53867,15 @@ }, "properties": [ { - "$ref": "4391" + "$ref": "4469" }, { - "$id": "4392", + "$id": "4470", "kind": "property", "name": "key", "serializedName": "key", "type": { - "$id": "4393", + "$id": "4471", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52984,31 +53895,31 @@ "isHttpMetadata": false }, { - "$id": "4394", + "$id": "4472", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "4395", + "$id": "4473", "kind": "union", "name": "ComparisonFilterValue", "variantTypes": [ { - "$id": "4396", + "$id": "4474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4397", + "$id": "4475", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, { - "$id": "4398", + "$id": "4476", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -53034,7 +53945,7 @@ ], "discriminatedSubtypes": { "eq": { - "$id": "4399", + "$id": "4477", "kind": "model", "name": "ComparisonFilterEquals", "namespace": "OpenAI", @@ -53048,31 +53959,31 @@ } ], "baseModel": { - "$ref": "4390" + "$ref": "4468" }, "properties": [ { - "$id": "4400", + "$id": "4478", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4401", + "$id": "4479", "kind": "enumvalue", "name": "eq", "value": "eq", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$id": "4402", + "$id": "4480", "kind": "enum", "decorators": [], "name": "ComparisonFilterType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "4403", + "$id": "4481", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -53081,81 +53992,81 @@ }, "values": [ { - "$id": "4404", + "$id": "4482", "kind": "enumvalue", "decorators": [], "name": "eq", "value": "eq", "valueType": { - "$ref": "4403" + "$ref": "4481" }, "enumType": { - "$ref": "4402" + "$ref": "4480" } }, { - "$id": "4405", + "$id": "4483", "kind": "enumvalue", "decorators": [], "name": "ne", "value": "ne", "valueType": { - "$ref": "4403" + "$ref": "4481" }, "enumType": { - "$ref": "4402" + "$ref": "4480" } }, { - "$id": "4406", + "$id": "4484", "kind": "enumvalue", "decorators": [], "name": "gt", "value": "gt", "valueType": { - "$ref": "4403" + "$ref": "4481" }, "enumType": { - "$ref": "4402" + "$ref": "4480" } }, { - "$id": "4407", + "$id": "4485", "kind": "enumvalue", "decorators": [], "name": "gte", "value": "gte", "valueType": { - "$ref": "4403" + "$ref": "4481" }, "enumType": { - "$ref": "4402" + "$ref": "4480" } }, { - "$id": "4408", + "$id": "4486", "kind": "enumvalue", "decorators": [], "name": "lt", "value": "lt", "valueType": { - "$ref": "4403" + "$ref": "4481" }, "enumType": { - "$ref": "4402" + "$ref": "4480" } }, { - "$id": "4409", + "$id": "4487", "kind": "enumvalue", "decorators": [], "name": "lte", "value": "lte", "valueType": { - "$ref": "4403" + "$ref": "4481" }, "enumType": { - "$ref": "4402" + "$ref": "4480" } } ], @@ -53186,7 +54097,7 @@ ] }, "ne": { - "$id": "4410", + "$id": "4488", "kind": "model", "name": "ComparisonFilterNotEquals", "namespace": "OpenAI", @@ -53200,24 +54111,24 @@ } ], "baseModel": { - "$ref": "4390" + "$ref": "4468" }, "properties": [ { - "$id": "4411", + "$id": "4489", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4412", + "$id": "4490", "kind": "enumvalue", "name": "ne", "value": "ne", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "4402" + "$ref": "4480" }, "decorators": [] }, @@ -53237,7 +54148,7 @@ ] }, "gt": { - "$id": "4413", + "$id": "4491", "kind": "model", "name": "ComparisonFilterGreaterThan", "namespace": "OpenAI", @@ -53251,24 +54162,24 @@ } ], "baseModel": { - "$ref": "4390" + "$ref": "4468" }, "properties": [ { - "$id": "4414", + "$id": "4492", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4415", + "$id": "4493", "kind": "enumvalue", "name": "gt", "value": "gt", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "4402" + "$ref": "4480" }, "decorators": [] }, @@ -53288,7 +54199,7 @@ ] }, "gte": { - "$id": "4416", + "$id": "4494", "kind": "model", "name": "ComparisonFilterGreaterThanOrEquals", "namespace": "OpenAI", @@ -53302,24 +54213,24 @@ } ], "baseModel": { - "$ref": "4390" + "$ref": "4468" }, "properties": [ { - "$id": "4417", + "$id": "4495", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4418", + "$id": "4496", "kind": "enumvalue", "name": "gte", "value": "gte", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "4402" + "$ref": "4480" }, "decorators": [] }, @@ -53339,7 +54250,7 @@ ] }, "lt": { - "$id": "4419", + "$id": "4497", "kind": "model", "name": "ComparisonFilterLessThan", "namespace": "OpenAI", @@ -53353,24 +54264,24 @@ } ], "baseModel": { - "$ref": "4390" + "$ref": "4468" }, "properties": [ { - "$id": "4420", + "$id": "4498", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4421", + "$id": "4499", "kind": "enumvalue", "name": "lt", "value": "lt", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "4402" + "$ref": "4480" }, "decorators": [] }, @@ -53390,7 +54301,7 @@ ] }, "lte": { - "$id": "4422", + "$id": "4500", "kind": "model", "name": "ComparisonFilterLessThanOrEquals", "namespace": "OpenAI", @@ -53404,24 +54315,24 @@ } ], "baseModel": { - "$ref": "4390" + "$ref": "4468" }, "properties": [ { - "$id": "4423", + "$id": "4501", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4424", + "$id": "4502", "kind": "enumvalue", "name": "lte", "value": "lte", "valueType": { - "$ref": "424" + "$ref": "415" }, "enumType": { - "$ref": "4402" + "$ref": "4480" }, "decorators": [] }, @@ -53443,7 +54354,7 @@ } }, { - "$id": "4425", + "$id": "4503", "kind": "model", "name": "CompoundFilter", "namespace": "OpenAI", @@ -53456,12 +54367,12 @@ } ], "discriminatorProperty": { - "$id": "4426", + "$id": "4504", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "431" + "$ref": "422" }, "optional": false, "readOnly": false, @@ -53478,27 +54389,27 @@ }, "properties": [ { - "$ref": "4426" + "$ref": "4504" }, { - "$id": "4427", + "$id": "4505", "kind": "property", "name": "filters", "serializedName": "filters", "type": { - "$id": "4428", + "$id": "4506", "kind": "array", - "name": "Array20", + "name": "Array19", "valueType": { - "$id": "4429", + "$id": "4507", "kind": "union", "name": "CompoundFilterFilter", "variantTypes": [ { - "$ref": "4390" + "$ref": "4468" }, { - "$ref": "4425" + "$ref": "4503" } ], "namespace": "OpenAI", @@ -53523,7 +54434,7 @@ ], "discriminatedSubtypes": { "and": { - "$id": "4430", + "$id": "4508", "kind": "model", "name": "CompoundFilterAnd", "namespace": "OpenAI", @@ -53537,31 +54448,31 @@ } ], "baseModel": { - "$ref": "4425" + "$ref": "4503" }, "properties": [ { - "$id": "4431", + "$id": "4509", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4432", + "$id": "4510", "kind": "enumvalue", "name": "and", "value": "and", "valueType": { - "$ref": "432" + "$ref": "423" }, "enumType": { - "$id": "4433", + "$id": "4511", "kind": "enum", "decorators": [], "name": "CompoundFilterType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "4434", + "$id": "4512", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -53570,29 +54481,29 @@ }, "values": [ { - "$id": "4435", + "$id": "4513", "kind": "enumvalue", "decorators": [], "name": "and", "value": "and", "valueType": { - "$ref": "4434" + "$ref": "4512" }, "enumType": { - "$ref": "4433" + "$ref": "4511" } }, { - "$id": "4436", + "$id": "4514", "kind": "enumvalue", "decorators": [], "name": "or", "value": "or", "valueType": { - "$ref": "4434" + "$ref": "4512" }, "enumType": { - "$ref": "4433" + "$ref": "4511" } } ], @@ -53623,7 +54534,7 @@ ] }, "or": { - "$id": "4437", + "$id": "4515", "kind": "model", "name": "CompoundFilterOr", "namespace": "OpenAI", @@ -53637,24 +54548,24 @@ } ], "baseModel": { - "$ref": "4425" + "$ref": "4503" }, "properties": [ { - "$id": "4438", + "$id": "4516", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4439", + "$id": "4517", "kind": "enumvalue", "name": "or", "value": "or", "valueType": { - "$ref": "432" + "$ref": "423" }, "enumType": { - "$ref": "4433" + "$ref": "4511" }, "decorators": [] }, @@ -53697,7 +54608,7 @@ ] }, "computer_use_preview": { - "$id": "4440", + "$id": "4518", "kind": "model", "name": "ComputerUsePreviewTool", "namespace": "OpenAI", @@ -53712,25 +54623,25 @@ } ], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4441", + "$id": "4519", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the computer use tool. Always `computer_use_preview`.", "type": { - "$id": "4442", + "$id": "4520", "kind": "enumvalue", "name": "computer_use_preview", "value": "computer_use_preview", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "4354" + "$ref": "4432" }, "decorators": [] }, @@ -53748,13 +54659,13 @@ "isHttpMetadata": false }, { - "$id": "4443", + "$id": "4521", "kind": "property", "name": "environment", "serializedName": "environment", "doc": "The type of computer environment to control.", "type": { - "$ref": "435" + "$ref": "426" }, "optional": false, "readOnly": false, @@ -53770,13 +54681,13 @@ "isHttpMetadata": false }, { - "$id": "4444", + "$id": "4522", "kind": "property", "name": "display_width", "serializedName": "display_width", "doc": "The width of the computer display.", "type": { - "$id": "4445", + "$id": "4523", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53796,13 +54707,13 @@ "isHttpMetadata": false }, { - "$id": "4446", + "$id": "4524", "kind": "property", "name": "display_height", "serializedName": "display_height", "doc": "The height of the computer display.", "type": { - "$id": "4447", + "$id": "4525", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53824,7 +54735,7 @@ ] }, "web_search_preview": { - "$id": "4448", + "$id": "4526", "kind": "model", "name": "WebSearchPreviewTool", "namespace": "OpenAI", @@ -53839,25 +54750,25 @@ } ], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4449", + "$id": "4527", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.", "type": { - "$id": "4450", + "$id": "4528", "kind": "enumvalue", "name": "web_search_preview", "value": "web_search_preview", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "4354" + "$ref": "4432" }, "decorators": [] }, @@ -53875,16 +54786,16 @@ "isHttpMetadata": false }, { - "$id": "4451", + "$id": "4529", "kind": "property", "name": "user_location", "serializedName": "user_location", "doc": "The user's location.", "type": { - "$id": "4452", + "$id": "4530", "kind": "nullable", "type": { - "$id": "4453", + "$id": "4531", "kind": "model", "name": "Location", "namespace": "OpenAI", @@ -53897,12 +54808,12 @@ } ], "discriminatorProperty": { - "$id": "4454", + "$id": "4532", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "442" + "$ref": "433" }, "optional": false, "readOnly": false, @@ -53919,12 +54830,12 @@ }, "properties": [ { - "$ref": "4454" + "$ref": "4532" } ], "discriminatedSubtypes": { "approximate": { - "$id": "4455", + "$id": "4533", "kind": "model", "name": "ApproximateLocation", "namespace": "OpenAI", @@ -53938,31 +54849,31 @@ } ], "baseModel": { - "$ref": "4453" + "$ref": "4531" }, "properties": [ { - "$id": "4456", + "$id": "4534", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4457", + "$id": "4535", "kind": "enumvalue", "name": "approximate", "value": "approximate", "valueType": { - "$ref": "443" + "$ref": "434" }, "enumType": { - "$id": "4458", + "$id": "4536", "kind": "enum", "decorators": [], "name": "LocationType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4459", + "$id": "4537", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -53971,16 +54882,16 @@ }, "values": [ { - "$id": "4460", + "$id": "4538", "kind": "enumvalue", "decorators": [], "name": "approximate", "value": "approximate", "valueType": { - "$ref": "4459" + "$ref": "4537" }, "enumType": { - "$ref": "4458" + "$ref": "4536" } } ], @@ -54009,15 +54920,15 @@ "isHttpMetadata": false }, { - "$id": "4461", + "$id": "4539", "kind": "property", "name": "country", "serializedName": "country", "type": { - "$id": "4462", + "$id": "4540", "kind": "nullable", "type": { - "$id": "4463", + "$id": "4541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54039,15 +54950,15 @@ "isHttpMetadata": false }, { - "$id": "4464", + "$id": "4542", "kind": "property", "name": "region", "serializedName": "region", "type": { - "$id": "4465", + "$id": "4543", "kind": "nullable", "type": { - "$id": "4466", + "$id": "4544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54069,15 +54980,15 @@ "isHttpMetadata": false }, { - "$id": "4467", + "$id": "4545", "kind": "property", "name": "city", "serializedName": "city", "type": { - "$id": "4468", + "$id": "4546", "kind": "nullable", "type": { - "$id": "4469", + "$id": "4547", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54099,15 +55010,15 @@ "isHttpMetadata": false }, { - "$id": "4470", + "$id": "4548", "kind": "property", "name": "timezone", "serializedName": "timezone", "type": { - "$id": "4471", + "$id": "4549", "kind": "nullable", "type": { - "$id": "4472", + "$id": "4550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54148,13 +55059,13 @@ "isHttpMetadata": false }, { - "$id": "4473", + "$id": "4551", "kind": "property", "name": "search_context_size", "serializedName": "search_context_size", "doc": "High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.", "type": { - "$ref": "445" + "$ref": "436" }, "optional": true, "readOnly": false, @@ -54172,7 +55083,7 @@ ] }, "web_search": { - "$id": "4474", + "$id": "4552", "kind": "model", "name": "WebSearchTool", "namespace": "OpenAI", @@ -54182,25 +55093,25 @@ "discriminatorValue": "web_search", "decorators": [], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4475", + "$id": "4553", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.", "type": { - "$id": "4476", + "$id": "4554", "kind": "enumvalue", "name": "web_search", "value": "web_search", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "4354" + "$ref": "4432" }, "decorators": [] }, @@ -54218,15 +55129,15 @@ "isHttpMetadata": false }, { - "$id": "4477", + "$id": "4555", "kind": "property", "name": "filters", "serializedName": "filters", "type": { - "$id": "4478", + "$id": "4556", "kind": "nullable", "type": { - "$id": "4479", + "$id": "4557", "kind": "model", "name": "WebSearchToolFilters", "namespace": "OpenAI", @@ -54240,15 +55151,15 @@ ], "properties": [ { - "$id": "4480", + "$id": "4558", "kind": "property", "name": "allowed_domains", "serializedName": "allowed_domains", "type": { - "$id": "4481", + "$id": "4559", "kind": "nullable", "type": { - "$ref": "2438" + "$ref": "2548" }, "namespace": "OpenAI" }, @@ -54283,15 +55194,15 @@ "isHttpMetadata": false }, { - "$id": "4482", + "$id": "4560", "kind": "property", "name": "user_location", "serializedName": "user_location", "type": { - "$id": "4483", + "$id": "4561", "kind": "nullable", "type": { - "$ref": "4453" + "$ref": "4531" }, "namespace": "OpenAI" }, @@ -54309,13 +55220,13 @@ "isHttpMetadata": false }, { - "$id": "4484", + "$id": "4562", "kind": "property", "name": "search_context_size", "serializedName": "search_context_size", "doc": "High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.", "type": { - "$ref": "445" + "$ref": "436" }, "optional": true, "readOnly": false, @@ -54333,7 +55244,7 @@ ] }, "code_interpreter": { - "$id": "4485", + "$id": "4563", "kind": "model", "name": "CodeInterpreterTool", "namespace": "OpenAI", @@ -54348,25 +55259,25 @@ } ], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4486", + "$id": "4564", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the code interpreter tool. Always `code_interpreter`.", "type": { - "$id": "4487", + "$id": "4565", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "4354" + "$ref": "4432" }, "decorators": [] }, @@ -54384,25 +55295,25 @@ "isHttpMetadata": false }, { - "$id": "4488", + "$id": "4566", "kind": "property", "name": "container", "serializedName": "container", "doc": "The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code.", "type": { - "$id": "4489", + "$id": "4567", "kind": "union", "name": "CodeInterpreterToolContainer", "variantTypes": [ { - "$id": "4490", + "$id": "4568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4491", + "$id": "4569", "kind": "model", "name": "CodeInterpreterToolAuto", "namespace": "OpenAI", @@ -54417,7 +55328,7 @@ } ], "baseModel": { - "$id": "4492", + "$id": "4570", "kind": "model", "name": "CodeInterpreterContainerConfiguration", "namespace": "OpenAI", @@ -54430,13 +55341,13 @@ } ], "discriminatorProperty": { - "$id": "4493", + "$id": "4571", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output.", "type": { - "$ref": "450" + "$ref": "441" }, "optional": false, "readOnly": false, @@ -54453,32 +55364,32 @@ }, "properties": [ { - "$ref": "4493" + "$ref": "4571" } ], "discriminatedSubtypes": { "auto": { - "$ref": "4491" + "$ref": "4569" } } }, "properties": [ { - "$id": "4494", + "$id": "4572", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `auto`.", "type": { - "$id": "4495", + "$id": "4573", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "451" + "$ref": "442" }, "enumType": { - "$id": "4496", + "$id": "4574", "kind": "enum", "decorators": [ { @@ -54490,7 +55401,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4497", + "$id": "4575", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -54499,16 +55410,16 @@ }, "values": [ { - "$id": "4498", + "$id": "4576", "kind": "enumvalue", "decorators": [], "name": "auto", "value": "auto", "valueType": { - "$ref": "4497" + "$ref": "4575" }, "enumType": { - "$ref": "4496" + "$ref": "4574" } } ], @@ -54537,13 +55448,13 @@ "isHttpMetadata": false }, { - "$id": "4499", + "$id": "4577", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "An optional list of uploaded files to make available to your code.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -54580,7 +55491,7 @@ ] }, "image_generation": { - "$id": "4500", + "$id": "4578", "kind": "model", "name": "ImageGenTool", "namespace": "OpenAI", @@ -54595,25 +55506,25 @@ } ], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4501", + "$id": "4579", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the image generation tool. Always `image_generation`.", "type": { - "$id": "4502", + "$id": "4580", "kind": "enumvalue", "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "4354" + "$ref": "4432" }, "decorators": [] }, @@ -54631,13 +55542,13 @@ "isHttpMetadata": false }, { - "$id": "4503", + "$id": "4581", "kind": "property", "name": "model", "serializedName": "model", "doc": "The image generation model to use. Default: `gpt-image-1`.", "type": { - "$ref": "453" + "$ref": "444" }, "optional": true, "readOnly": false, @@ -54653,13 +55564,13 @@ "isHttpMetadata": false }, { - "$id": "4504", + "$id": "4582", "kind": "property", "name": "quality", "serializedName": "quality", "doc": "The quality of the generated image. One of `low`, `medium`, `high`,\nor `auto`. Default: `auto`.", "type": { - "$ref": "457" + "$ref": "448" }, "optional": true, "readOnly": false, @@ -54675,13 +55586,13 @@ "isHttpMetadata": false }, { - "$id": "4505", + "$id": "4583", "kind": "property", "name": "size", "serializedName": "size", "doc": "The size of the generated image. One of `1024x1024`, `1024x1536`,\n`1536x1024`, or `auto`. Default: `auto`.", "type": { - "$ref": "463" + "$ref": "454" }, "optional": true, "readOnly": false, @@ -54697,13 +55608,13 @@ "isHttpMetadata": false }, { - "$id": "4506", + "$id": "4584", "kind": "property", "name": "output_format", "serializedName": "output_format", "doc": "The output format of the generated image. One of `png`, `webp`, or\n`jpeg`. Default: `png`.", "type": { - "$ref": "469" + "$ref": "460" }, "optional": true, "readOnly": false, @@ -54719,13 +55630,13 @@ "isHttpMetadata": false }, { - "$id": "4507", + "$id": "4585", "kind": "property", "name": "output_compression", "serializedName": "output_compression", "doc": "Compression level for the output image. Default: 100.", "type": { - "$id": "4508", + "$id": "4586", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54745,13 +55656,13 @@ "isHttpMetadata": false }, { - "$id": "4509", + "$id": "4587", "kind": "property", "name": "moderation", "serializedName": "moderation", "doc": "Moderation level for the generated image. Default: `auto`.", "type": { - "$ref": "474" + "$ref": "465" }, "optional": true, "readOnly": false, @@ -54767,13 +55678,13 @@ "isHttpMetadata": false }, { - "$id": "4510", + "$id": "4588", "kind": "property", "name": "background", "serializedName": "background", "doc": "Background type for the generated image. One of `transparent`,\n`opaque`, or `auto`. Default: `auto`.", "type": { - "$ref": "478" + "$ref": "469" }, "optional": true, "readOnly": false, @@ -54789,13 +55700,13 @@ "isHttpMetadata": false }, { - "$id": "4511", + "$id": "4589", "kind": "property", "name": "input_fidelity", "serializedName": "input_fidelity", "doc": "Control how much effort the model will exert to match the style and features,\nespecially facial features, of input images. This parameter is only supported\nfor `gpt-image-1`. Supports `high` and `low`. Defaults to `low`.", "type": { - "$ref": "483" + "$ref": "474" }, "optional": true, "readOnly": false, @@ -54811,13 +55722,13 @@ "isHttpMetadata": false }, { - "$id": "4512", + "$id": "4590", "kind": "property", "name": "input_image_mask", "serializedName": "input_image_mask", "doc": "Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).", "type": { - "$id": "4513", + "$id": "4591", "kind": "model", "name": "ImageGenToolInputImageMask", "namespace": "OpenAI", @@ -54826,13 +55737,13 @@ "decorators": [], "properties": [ { - "$id": "4514", + "$id": "4592", "kind": "property", "name": "image_url", "serializedName": "image_url", "doc": "Base64-encoded mask image.", "type": { - "$id": "4515", + "$id": "4593", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54852,13 +55763,13 @@ "isHttpMetadata": false }, { - "$id": "4516", + "$id": "4594", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "File ID for the mask image.", "type": { - "$id": "4517", + "$id": "4595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54893,13 +55804,13 @@ "isHttpMetadata": false }, { - "$id": "4518", + "$id": "4596", "kind": "property", "name": "partial_images", "serializedName": "partial_images", "doc": "Number of partial images to generate in streaming mode, from 0 (default value) to 3.", "type": { - "$id": "4519", + "$id": "4597", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54921,7 +55832,7 @@ ] }, "local_shell": { - "$id": "4520", + "$id": "4598", "kind": "model", "name": "LocalShellTool", "namespace": "OpenAI", @@ -54936,25 +55847,25 @@ } ], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4521", + "$id": "4599", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the local shell tool. Always `local_shell`.", "type": { - "$id": "4522", + "$id": "4600", "kind": "enumvalue", "name": "local_shell", "value": "local_shell", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "4354" + "$ref": "4432" }, "decorators": [] }, @@ -54974,7 +55885,7 @@ ] }, "mcp": { - "$id": "4523", + "$id": "4601", "kind": "model", "name": "MCPTool", "namespace": "OpenAI", @@ -54989,25 +55900,25 @@ } ], "baseModel": { - "$ref": "4349" + "$ref": "4427" }, "properties": [ { - "$id": "4524", + "$id": "4602", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the MCP tool. Always `mcp`.", "type": { - "$id": "4525", + "$id": "4603", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "409" + "$ref": "400" }, "enumType": { - "$ref": "4354" + "$ref": "4432" }, "decorators": [] }, @@ -55025,13 +55936,13 @@ "isHttpMetadata": false }, { - "$id": "4526", + "$id": "4604", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "A label for this MCP server, used to identify it in tool calls.", "type": { - "$id": "4527", + "$id": "4605", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55051,13 +55962,13 @@ "isHttpMetadata": false }, { - "$id": "4528", + "$id": "4606", "kind": "property", "name": "ServerUri", "serializedName": "server_url", "doc": "The URL for the MCP server. One of `server_url` or `connector_id` must be\n provided.", "type": { - "$id": "4529", + "$id": "4607", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -55077,13 +55988,13 @@ "isHttpMetadata": false }, { - "$id": "4530", + "$id": "4608", "kind": "property", "name": "connector_id", "serializedName": "connector_id", "doc": "Identifier for service connectors, like those available in ChatGPT. One of\n `server_url` or `connector_id` must be provided. Learn more about service\n connectors [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).\n\n Currently supported `connector_id` values are:\n\n - Dropbox: `connector_dropbox`\n - Gmail: `connector_gmail`\n - Google Calendar: `connector_googlecalendar`\n - Google Drive: `connector_googledrive`\n - Microsoft Teams: `connector_microsoftteams`\n - Outlook Calendar: `connector_outlookcalendar`\n - Outlook Email: `connector_outlookemail`\n - SharePoint: `connector_sharepoint`", "type": { - "$ref": "487" + "$ref": "478" }, "optional": true, "readOnly": false, @@ -55099,13 +56010,13 @@ "isHttpMetadata": false }, { - "$id": "4531", + "$id": "4609", "kind": "property", "name": "AuthorizationToken", "serializedName": "authorization", "doc": "An OAuth access token that can be used with a remote MCP server, either\n with a custom MCP server URL or a service connector. Your application\n must handle the OAuth authorization flow and provide the token here.", "type": { - "$id": "4532", + "$id": "4610", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55125,13 +56036,13 @@ "isHttpMetadata": false }, { - "$id": "4533", + "$id": "4611", "kind": "property", "name": "server_description", "serializedName": "server_description", "doc": "Optional description of the MCP server, used to provide more context.", "type": { - "$id": "4534", + "$id": "4612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55151,16 +56062,16 @@ "isHttpMetadata": false }, { - "$id": "4535", + "$id": "4613", "kind": "property", "name": "headers", "serializedName": "headers", "doc": "Optional HTTP headers to send to the MCP server. Use for authentication\n or other purposes.", "type": { - "$id": "4536", + "$id": "4614", "kind": "nullable", "type": { - "$ref": "2445" + "$ref": "2555" }, "namespace": "OpenAI" }, @@ -55178,16 +56089,16 @@ "isHttpMetadata": false }, { - "$id": "4537", + "$id": "4615", "kind": "property", "name": "allowed_tools", "serializedName": "allowed_tools", "doc": "List of allowed tool names or a filter object.", "type": { - "$id": "4538", + "$id": "4616", "kind": "nullable", "type": { - "$id": "4539", + "$id": "4617", "kind": "model", "name": "MCPToolFilter", "namespace": "OpenAI", @@ -55203,14 +56114,14 @@ ], "properties": [ { - "$id": "4540", + "$id": "4618", "kind": "property", "name": "tool_names", "serializedName": "tool_names", "summary": "MCP allowed tools", "doc": "List of allowed tool names.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -55226,13 +56137,13 @@ "isHttpMetadata": false }, { - "$id": "4541", + "$id": "4619", "kind": "property", "name": "IsReadOnly", "serializedName": "read_only", "doc": "Indicates whether or not a tool modifies data or is read-only. If an\n MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\n it will match this filter.", "type": { - "$id": "4542", + "$id": "4620", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -55269,21 +56180,21 @@ "isHttpMetadata": false }, { - "$id": "4543", + "$id": "4621", "kind": "property", "name": "require_approval", "serializedName": "require_approval", "doc": "Specify which of the MCP server's tools require approval.", "type": { - "$id": "4544", + "$id": "4622", "kind": "nullable", "type": { - "$id": "4545", + "$id": "4623", "kind": "union", "name": "MCPToolRequireApproval", "variantTypes": [ { - "$id": "4546", + "$id": "4624", "kind": "model", "name": "MCPToolRequireApproval1", "namespace": "OpenAI", @@ -55292,12 +56203,12 @@ "decorators": [], "properties": [ { - "$id": "4547", + "$id": "4625", "kind": "property", "name": "always", "serializedName": "always", "type": { - "$ref": "4539" + "$ref": "4617" }, "optional": true, "readOnly": false, @@ -55313,12 +56224,12 @@ "isHttpMetadata": false }, { - "$id": "4548", + "$id": "4626", "kind": "property", "name": "never", "serializedName": "never", "type": { - "$ref": "4539" + "$ref": "4617" }, "optional": true, "readOnly": false, @@ -55336,10 +56247,10 @@ ] }, { - "$ref": "1658" + "$ref": "1780" }, { - "$ref": "1660" + "$ref": "1782" } ], "namespace": "OpenAI", @@ -55381,13 +56292,13 @@ "isHttpMetadata": false }, { - "$id": "4549", + "$id": "4627", "kind": "property", "name": "text", "serializedName": "text", "doc": "Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Structured Outputs](/docs/guides/structured-outputs)", "type": { - "$id": "4550", + "$id": "4628", "kind": "model", "name": "EvalResponsesRunDataSourceParamsSamplingParamsText", "namespace": "OpenAI", @@ -55396,12 +56307,12 @@ "decorators": [], "properties": [ { - "$id": "4551", + "$id": "4629", "kind": "property", "name": "format", "serializedName": "format", "type": { - "$ref": "4289" + "$ref": "4367" }, "optional": true, "readOnly": false, @@ -55447,13 +56358,13 @@ "isHttpMetadata": false }, { - "$id": "4552", + "$id": "4630", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to use for generating completions (e.g. \"o3-mini\").", "type": { - "$id": "4553", + "$id": "4631", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55473,24 +56384,24 @@ "isHttpMetadata": false }, { - "$id": "4554", + "$id": "4632", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in this run's data source.", "type": { - "$id": "4555", + "$id": "4633", "kind": "union", "name": "EvalResponsesRunDataSourceParamsSource", "variantTypes": [ { - "$ref": "4198" + "$ref": "4276" }, { - "$ref": "4201" + "$ref": "4279" }, { - "$ref": "4228" + "$ref": "4306" } ], "namespace": "OpenAI", @@ -55529,160 +56440,160 @@ ] }, { - "$ref": "4186" + "$ref": "4264" }, { - "$ref": "4188" + "$ref": "4266" }, { - "$ref": "4198" + "$ref": "4276" }, { - "$ref": "4260" + "$ref": "4338" }, { - "$ref": "4199" + "$ref": "4277" }, { - "$ref": "4201" + "$ref": "4279" }, { - "$ref": "4212" + "$ref": "4290" }, { - "$ref": "4228" + "$ref": "4306" }, { - "$ref": "4263" + "$ref": "4341" }, { - "$ref": "4268" + "$ref": "4346" }, { - "$ref": "4274" + "$ref": "4352" }, { - "$ref": "4279" + "$ref": "4357" }, { - "$ref": "4289" + "$ref": "4367" }, { - "$ref": "4291" + "$ref": "4369" }, { - "$ref": "4299" + "$ref": "4377" }, { - "$ref": "4302" + "$ref": "4380" }, { - "$ref": "4318" + "$ref": "4396" }, { - "$ref": "4323" + "$ref": "4401" }, { - "$ref": "4328" + "$ref": "4406" }, { - "$ref": "4333" + "$ref": "4411" }, { - "$ref": "4338" + "$ref": "4416" }, { - "$ref": "4349" + "$ref": "4427" }, { - "$ref": "4351" + "$ref": "4429" }, { - "$ref": "4376" + "$ref": "4454" }, { - "$ref": "4383" + "$ref": "4461" }, { - "$ref": "4390" + "$ref": "4468" }, { - "$ref": "4399" + "$ref": "4477" }, { - "$ref": "4410" + "$ref": "4488" }, { - "$ref": "4413" + "$ref": "4491" }, { - "$ref": "4416" + "$ref": "4494" }, { - "$ref": "4419" + "$ref": "4497" }, { - "$ref": "4422" + "$ref": "4500" }, { - "$ref": "4425" + "$ref": "4503" }, { - "$ref": "4430" + "$ref": "4508" }, { - "$ref": "4437" + "$ref": "4515" }, { - "$ref": "4440" + "$ref": "4518" }, { - "$ref": "4448" + "$ref": "4526" }, { - "$ref": "4453" + "$ref": "4531" }, { - "$ref": "4455" + "$ref": "4533" }, { - "$ref": "4474" + "$ref": "4552" }, { - "$ref": "4479" + "$ref": "4557" }, { - "$ref": "4485" + "$ref": "4563" }, { - "$ref": "4491" + "$ref": "4569" }, { - "$ref": "4492" + "$ref": "4570" }, { - "$ref": "4500" + "$ref": "4578" }, { - "$ref": "4513" + "$ref": "4591" }, { - "$ref": "4520" + "$ref": "4598" }, { - "$ref": "4523" + "$ref": "4601" }, { - "$ref": "4539" + "$ref": "4617" }, { - "$ref": "4546" + "$ref": "4624" }, { - "$ref": "4550" + "$ref": "4628" }, { - "$id": "4556", + "$id": "4634", "kind": "model", "name": "DeleteEvalRunResponse", "namespace": "OpenAI", @@ -55691,12 +56602,12 @@ "decorators": [], "properties": [ { - "$id": "4557", + "$id": "4635", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1662" + "$ref": "1784" }, "optional": false, "readOnly": false, @@ -55712,12 +56623,12 @@ "isHttpMetadata": false }, { - "$id": "4558", + "$id": "4636", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "4559", + "$id": "4637", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -55737,12 +56648,12 @@ "isHttpMetadata": false }, { - "$id": "4560", + "$id": "4638", "kind": "property", "name": "eval_run_id", "serializedName": "eval_run_id", "type": { - "$id": "4561", + "$id": "4639", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55764,7 +56675,7 @@ ] }, { - "$id": "4562", + "$id": "4640", "kind": "model", "name": "EvalRunOutputItemList", "namespace": "OpenAI", @@ -55774,13 +56685,13 @@ "decorators": [], "properties": [ { - "$id": "4563", + "$id": "4641", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1664" + "$ref": "1786" }, "optional": false, "readOnly": false, @@ -55796,17 +56707,17 @@ "isHttpMetadata": false }, { - "$id": "4564", + "$id": "4642", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of eval run output item objects.", "type": { - "$id": "4565", + "$id": "4643", "kind": "array", "name": "ArrayEvalRunOutputItem", "valueType": { - "$id": "4566", + "$id": "4644", "kind": "model", "name": "EvalRunOutputItem", "namespace": "OpenAI", @@ -55816,13 +56727,13 @@ "decorators": [], "properties": [ { - "$id": "4567", + "$id": "4645", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of the object. Always \"eval.run.output_item\".", "type": { - "$ref": "1666" + "$ref": "1788" }, "optional": false, "readOnly": false, @@ -55838,13 +56749,13 @@ "isHttpMetadata": false }, { - "$id": "4568", + "$id": "4646", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the evaluation run output item.", "type": { - "$id": "4569", + "$id": "4647", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55864,13 +56775,13 @@ "isHttpMetadata": false }, { - "$id": "4570", + "$id": "4648", "kind": "property", "name": "run_id", "serializedName": "run_id", "doc": "The identifier of the evaluation run associated with this output item.", "type": { - "$id": "4571", + "$id": "4649", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55890,13 +56801,13 @@ "isHttpMetadata": false }, { - "$id": "4572", + "$id": "4650", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "doc": "The identifier of the evaluation group.", "type": { - "$id": "4573", + "$id": "4651", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55916,18 +56827,18 @@ "isHttpMetadata": false }, { - "$id": "4574", + "$id": "4652", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the evaluation run was created.", "type": { - "$id": "4575", + "$id": "4653", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "4576", + "$id": "4654", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -55950,13 +56861,13 @@ "isHttpMetadata": false }, { - "$id": "4577", + "$id": "4655", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the evaluation run.", "type": { - "$id": "4578", + "$id": "4656", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55976,13 +56887,13 @@ "isHttpMetadata": false }, { - "$id": "4579", + "$id": "4657", "kind": "property", "name": "datasource_item_id", "serializedName": "datasource_item_id", "doc": "The identifier for the data source item.", "type": { - "$id": "4580", + "$id": "4658", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56002,13 +56913,13 @@ "isHttpMetadata": false }, { - "$id": "4581", + "$id": "4659", "kind": "property", "name": "datasource_item", "serializedName": "datasource_item", "doc": "Details of the input data source item.", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": false, "readOnly": false, @@ -56024,17 +56935,17 @@ "isHttpMetadata": false }, { - "$id": "4582", + "$id": "4660", "kind": "property", "name": "results", "serializedName": "results", "doc": "A list of results from the evaluation run.", "type": { - "$id": "4583", + "$id": "4661", "kind": "array", "name": "ArrayRecord", "valueType": { - "$ref": "3948" + "$ref": "4026" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -56053,13 +56964,13 @@ "isHttpMetadata": false }, { - "$id": "4584", + "$id": "4662", "kind": "property", "name": "sample", "serializedName": "sample", "doc": "A sample containing the input and output of the evaluation run.", "type": { - "$id": "4585", + "$id": "4663", "kind": "model", "name": "EvalRunOutputItemSample", "namespace": "OpenAI", @@ -56068,17 +56979,17 @@ "decorators": [], "properties": [ { - "$id": "4586", + "$id": "4664", "kind": "property", "name": "input", "serializedName": "input", "doc": "An array of input messages.", "type": { - "$id": "4587", + "$id": "4665", "kind": "array", - "name": "Array21", + "name": "Array20", "valueType": { - "$id": "4588", + "$id": "4666", "kind": "model", "name": "EvalRunOutputItemSampleInput", "namespace": "OpenAI", @@ -56087,13 +56998,13 @@ "decorators": [], "properties": [ { - "$id": "4589", + "$id": "4667", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message sender (e.g., system, user, developer).", "type": { - "$id": "4590", + "$id": "4668", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56113,13 +57024,13 @@ "isHttpMetadata": false }, { - "$id": "4591", + "$id": "4669", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4592", + "$id": "4670", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56157,17 +57068,17 @@ "isHttpMetadata": false }, { - "$id": "4593", + "$id": "4671", "kind": "property", "name": "output", "serializedName": "output", "doc": "An array of output messages.", "type": { - "$id": "4594", + "$id": "4672", "kind": "array", - "name": "Array22", + "name": "Array21", "valueType": { - "$id": "4595", + "$id": "4673", "kind": "model", "name": "EvalRunOutputItemSampleOutput", "namespace": "OpenAI", @@ -56176,13 +57087,13 @@ "decorators": [], "properties": [ { - "$id": "4596", + "$id": "4674", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "4597", + "$id": "4675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56202,13 +57113,13 @@ "isHttpMetadata": false }, { - "$id": "4598", + "$id": "4676", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4599", + "$id": "4677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56246,13 +57157,13 @@ "isHttpMetadata": false }, { - "$id": "4600", + "$id": "4678", "kind": "property", "name": "finish_reason", "serializedName": "finish_reason", "doc": "The reason why the sample generation was finished.", "type": { - "$id": "4601", + "$id": "4679", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56272,13 +57183,13 @@ "isHttpMetadata": false }, { - "$id": "4602", + "$id": "4680", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used for generating the sample.", "type": { - "$id": "4603", + "$id": "4681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56298,13 +57209,13 @@ "isHttpMetadata": false }, { - "$id": "4604", + "$id": "4682", "kind": "property", "name": "usage", "serializedName": "usage", "doc": "Token usage details for the sample.", "type": { - "$id": "4605", + "$id": "4683", "kind": "model", "name": "EvalRunOutputItemSampleUsage", "namespace": "OpenAI", @@ -56313,13 +57224,13 @@ "decorators": [], "properties": [ { - "$id": "4606", + "$id": "4684", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "4607", + "$id": "4685", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56339,13 +57250,13 @@ "isHttpMetadata": false }, { - "$id": "4608", + "$id": "4686", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "The number of completion tokens generated.", "type": { - "$id": "4609", + "$id": "4687", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56365,13 +57276,13 @@ "isHttpMetadata": false }, { - "$id": "4610", + "$id": "4688", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "The number of prompt tokens used.", "type": { - "$id": "4611", + "$id": "4689", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56391,13 +57302,13 @@ "isHttpMetadata": false }, { - "$id": "4612", + "$id": "4690", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of tokens retrieved from cache.", "type": { - "$id": "4613", + "$id": "4691", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56432,12 +57343,12 @@ "isHttpMetadata": false }, { - "$id": "4614", + "$id": "4692", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$ref": "4170" + "$ref": "4248" }, "optional": false, "readOnly": false, @@ -56453,13 +57364,13 @@ "isHttpMetadata": false }, { - "$id": "4615", + "$id": "4693", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "The sampling temperature used.", "type": { - "$id": "4616", + "$id": "4694", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -56479,13 +57390,13 @@ "isHttpMetadata": false }, { - "$id": "4617", + "$id": "4695", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens allowed for completion.", "type": { - "$id": "4618", + "$id": "4696", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56505,13 +57416,13 @@ "isHttpMetadata": false }, { - "$id": "4619", + "$id": "4697", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "The top_p value used for sampling.", "type": { - "$id": "4620", + "$id": "4698", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -56531,13 +57442,13 @@ "isHttpMetadata": false }, { - "$id": "4621", + "$id": "4699", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "The seed used for generating the sample.", "type": { - "$id": "4622", + "$id": "4700", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56590,13 +57501,13 @@ "isHttpMetadata": false }, { - "$id": "4623", + "$id": "4701", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval run output item in the data array.", "type": { - "$id": "4624", + "$id": "4702", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56616,13 +57527,13 @@ "isHttpMetadata": false }, { - "$id": "4625", + "$id": "4703", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval run output item in the data array.", "type": { - "$id": "4626", + "$id": "4704", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56642,13 +57553,13 @@ "isHttpMetadata": false }, { - "$id": "4627", + "$id": "4705", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more eval run output items available.", "type": { - "$id": "4628", + "$id": "4706", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -56670,22 +57581,22 @@ ] }, { - "$ref": "4566" + "$ref": "4644" }, { - "$ref": "4585" + "$ref": "4663" }, { - "$ref": "4588" + "$ref": "4666" }, { - "$ref": "4595" + "$ref": "4673" }, { - "$ref": "4605" + "$ref": "4683" }, { - "$id": "4629", + "$id": "4707", "kind": "model", "name": "CreateResponse", "namespace": "OpenAI", @@ -56699,13 +57610,13 @@ ], "properties": [ { - "$id": "4630", + "$id": "4708", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -56721,13 +57632,13 @@ "isHttpMetadata": false }, { - "$id": "4631", + "$id": "4709", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.", "type": { - "$ref": "2977" + "$ref": "3087" }, "optional": true, "readOnly": false, @@ -56743,13 +57654,13 @@ "isHttpMetadata": false }, { - "$id": "4632", + "$id": "4710", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "doc": "An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability.", "type": { - "$ref": "2980" + "$ref": "3090" }, "optional": true, "readOnly": false, @@ -56765,13 +57676,13 @@ "isHttpMetadata": false }, { - "$id": "4633", + "$id": "4711", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.", "type": { - "$ref": "2983" + "$ref": "3093" }, "optional": true, "readOnly": false, @@ -56787,13 +57698,13 @@ "isHttpMetadata": false }, { - "$id": "4634", + "$id": "4712", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "4635", + "$id": "4713", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56813,13 +57724,13 @@ "isHttpMetadata": false }, { - "$id": "4636", + "$id": "4714", "kind": "property", "name": "safety_identifier", "serializedName": "safety_identifier", "doc": "A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\n The IDs should be a string that uniquely identifies each user. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).", "type": { - "$id": "4637", + "$id": "4715", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56839,12 +57750,12 @@ "isHttpMetadata": false }, { - "$id": "4638", + "$id": "4716", "kind": "property", "name": "service_tier", "serializedName": "service_tier", "type": { - "$ref": "497" + "$ref": "488" }, "optional": true, "readOnly": false, @@ -56860,16 +57771,16 @@ "isHttpMetadata": false }, { - "$id": "4639", + "$id": "4717", "kind": "property", "name": "previous_response_id", "serializedName": "previous_response_id", "doc": "The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](/docs/guides/conversation-state).", "type": { - "$id": "4640", + "$id": "4718", "kind": "nullable", "type": { - "$id": "4641", + "$id": "4719", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56891,13 +57802,13 @@ "isHttpMetadata": false }, { - "$id": "4642", + "$id": "4720", "kind": "property", "name": "model", "serializedName": "model", "doc": "Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI\noffers a wide range of models with different capabilities, performance\ncharacteristics, and price points. Refer to the [model guide](/docs/models)\nto browse and compare available models.", "type": { - "$ref": "503" + "$ref": "494" }, "optional": true, "readOnly": false, @@ -56913,15 +57824,15 @@ "isHttpMetadata": false }, { - "$id": "4643", + "$id": "4721", "kind": "property", "name": "reasoning", "serializedName": "reasoning", "type": { - "$id": "4644", + "$id": "4722", "kind": "nullable", "type": { - "$id": "4645", + "$id": "4723", "kind": "model", "name": "Reasoning", "namespace": "OpenAI", @@ -56936,12 +57847,12 @@ ], "properties": [ { - "$id": "4646", + "$id": "4724", "kind": "property", "name": "effort", "serializedName": "effort", "type": { - "$id": "4647", + "$id": "4725", "kind": "nullable", "type": { "$ref": "53" @@ -56962,16 +57873,16 @@ "isHttpMetadata": false }, { - "$id": "4648", + "$id": "4726", "kind": "property", "name": "summary", "serializedName": "summary", "doc": "A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.", "type": { - "$id": "4649", + "$id": "4727", "kind": "nullable", "type": { - "$ref": "566" + "$ref": "557" }, "namespace": "OpenAI" }, @@ -56989,16 +57900,16 @@ "isHttpMetadata": false }, { - "$id": "4650", + "$id": "4728", "kind": "property", "name": "generate_summary", "serializedName": "generate_summary", "doc": "**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.", "type": { - "$id": "4651", + "$id": "4729", "kind": "nullable", "type": { - "$ref": "571" + "$ref": "562" }, "namespace": "OpenAI" }, @@ -57033,16 +57944,16 @@ "isHttpMetadata": false }, { - "$id": "4652", + "$id": "4730", "kind": "property", "name": "background", "serializedName": "background", "doc": "Whether to run the model response in the background.\n[Learn more](/docs/guides/background).", "type": { - "$id": "4653", + "$id": "4731", "kind": "nullable", "type": { - "$id": "4654", + "$id": "4732", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -57064,16 +57975,16 @@ "isHttpMetadata": false }, { - "$id": "4655", + "$id": "4733", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).", "type": { - "$id": "4656", + "$id": "4734", "kind": "nullable", "type": { - "$id": "4657", + "$id": "4735", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -57095,16 +58006,16 @@ "isHttpMetadata": false }, { - "$id": "4658", + "$id": "4736", "kind": "property", "name": "max_tool_calls", "serializedName": "max_tool_calls", "doc": "The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.", "type": { - "$id": "4659", + "$id": "4737", "kind": "nullable", "type": { - "$id": "4660", + "$id": "4738", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -57126,16 +58037,16 @@ "isHttpMetadata": false }, { - "$id": "4661", + "$id": "4739", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Inserts a system (or developer) message as the first item in the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.", "type": { - "$id": "4662", + "$id": "4740", "kind": "nullable", "type": { - "$id": "4663", + "$id": "4741", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -57157,13 +58068,13 @@ "isHttpMetadata": false }, { - "$id": "4664", + "$id": "4742", "kind": "property", "name": "text", "serializedName": "text", "doc": "Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Structured Outputs](/docs/guides/structured-outputs)", "type": { - "$id": "4665", + "$id": "4743", "kind": "model", "name": "CreateResponseText", "namespace": "OpenAI", @@ -57172,12 +58083,12 @@ "decorators": [], "properties": [ { - "$id": "4666", + "$id": "4744", "kind": "property", "name": "format", "serializedName": "format", "type": { - "$ref": "4289" + "$ref": "4367" }, "optional": true, "readOnly": false, @@ -57208,13 +58119,13 @@ "isHttpMetadata": false }, { - "$id": "4667", + "$id": "4745", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nThe two categories of tools you can provide the model are:\n\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](/docs/guides/tools-web-search)\n or [file search](/docs/guides/tools-file-search). Learn more about\n [built-in tools](/docs/guides/tools).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code. Learn more about\n [function calling](/docs/guides/function-calling).", "type": { - "$ref": "4348" + "$ref": "4426" }, "optional": true, "readOnly": false, @@ -57230,21 +58141,21 @@ "isHttpMetadata": false }, { - "$id": "4668", + "$id": "4746", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.", "type": { - "$id": "4669", + "$id": "4747", "kind": "union", "name": "CreateResponseToolChoice", "variantTypes": [ { - "$ref": "576" + "$ref": "567" }, { - "$id": "4670", + "$id": "4748", "kind": "model", "name": "ToolChoiceObject", "namespace": "OpenAI", @@ -57257,12 +58168,12 @@ } ], "discriminatorProperty": { - "$id": "4671", + "$id": "4749", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "581" + "$ref": "572" }, "optional": false, "readOnly": false, @@ -57279,12 +58190,12 @@ }, "properties": [ { - "$ref": "4671" + "$ref": "4749" } ], "discriminatedSubtypes": { "file_search": { - "$id": "4672", + "$id": "4750", "kind": "model", "name": "ToolChoiceObjectFileSearch", "namespace": "OpenAI", @@ -57298,24 +58209,24 @@ } ], "baseModel": { - "$ref": "4670" + "$ref": "4748" }, "properties": [ { - "$id": "4673", + "$id": "4751", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4674", + "$id": "4752", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$id": "4675", + "$id": "4753", "kind": "enum", "decorators": [], "doc": "Indicates that the model should use a built-in tool to generate a response.\n[Learn more about built-in tools](/docs/guides/tools).", @@ -57323,7 +58234,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4676", + "$id": "4754", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -57332,94 +58243,94 @@ }, "values": [ { - "$id": "4677", + "$id": "4755", "kind": "enumvalue", "decorators": [], "name": "file_search", "value": "file_search", "valueType": { - "$ref": "4676" + "$ref": "4754" }, "enumType": { - "$ref": "4675" + "$ref": "4753" } }, { - "$id": "4678", + "$id": "4756", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "4676" + "$ref": "4754" }, "enumType": { - "$ref": "4675" + "$ref": "4753" } }, { - "$id": "4679", + "$id": "4757", "kind": "enumvalue", "decorators": [], "name": "computer", "value": "computer_use_preview", "valueType": { - "$ref": "4676" + "$ref": "4754" }, "enumType": { - "$ref": "4675" + "$ref": "4753" } }, { - "$id": "4680", + "$id": "4758", "kind": "enumvalue", "decorators": [], "name": "web_search", "value": "web_search_preview", "valueType": { - "$ref": "4676" + "$ref": "4754" }, "enumType": { - "$ref": "4675" + "$ref": "4753" } }, { - "$id": "4681", + "$id": "4759", "kind": "enumvalue", "decorators": [], "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "4676" + "$ref": "4754" }, "enumType": { - "$ref": "4675" + "$ref": "4753" } }, { - "$id": "4682", + "$id": "4760", "kind": "enumvalue", "decorators": [], "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "4676" + "$ref": "4754" }, "enumType": { - "$ref": "4675" + "$ref": "4753" } }, { - "$id": "4683", + "$id": "4761", "kind": "enumvalue", "decorators": [], "name": "mcp", "value": "mcp", "valueType": { - "$ref": "4676" + "$ref": "4754" }, "enumType": { - "$ref": "4675" + "$ref": "4753" } } ], @@ -57450,7 +58361,7 @@ ] }, "computer_use_preview": { - "$id": "4684", + "$id": "4762", "kind": "model", "name": "ToolChoiceObjectComputer", "namespace": "OpenAI", @@ -57464,24 +58375,24 @@ } ], "baseModel": { - "$ref": "4670" + "$ref": "4748" }, "properties": [ { - "$id": "4685", + "$id": "4763", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4686", + "$id": "4764", "kind": "enumvalue", "name": "computer", "value": "computer_use_preview", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "4675" + "$ref": "4753" }, "decorators": [] }, @@ -57501,7 +58412,7 @@ ] }, "web_search_preview": { - "$id": "4687", + "$id": "4765", "kind": "model", "name": "ToolChoiceObjectWebSearch", "namespace": "OpenAI", @@ -57515,24 +58426,24 @@ } ], "baseModel": { - "$ref": "4670" + "$ref": "4748" }, "properties": [ { - "$id": "4688", + "$id": "4766", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4689", + "$id": "4767", "kind": "enumvalue", "name": "web_search", "value": "web_search_preview", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "4675" + "$ref": "4753" }, "decorators": [] }, @@ -57552,7 +58463,7 @@ ] }, "image_generation": { - "$id": "4690", + "$id": "4768", "kind": "model", "name": "ToolChoiceObjectImageGen", "namespace": "OpenAI", @@ -57566,24 +58477,24 @@ } ], "baseModel": { - "$ref": "4670" + "$ref": "4748" }, "properties": [ { - "$id": "4691", + "$id": "4769", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4692", + "$id": "4770", "kind": "enumvalue", "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "4675" + "$ref": "4753" }, "decorators": [] }, @@ -57603,7 +58514,7 @@ ] }, "code_interpreter": { - "$id": "4693", + "$id": "4771", "kind": "model", "name": "ToolChoiceObjectCodeInterpreter", "namespace": "OpenAI", @@ -57617,24 +58528,24 @@ } ], "baseModel": { - "$ref": "4670" + "$ref": "4748" }, "properties": [ { - "$id": "4694", + "$id": "4772", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4695", + "$id": "4773", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "4675" + "$ref": "4753" }, "decorators": [] }, @@ -57654,7 +58565,7 @@ ] }, "mcp": { - "$id": "4696", + "$id": "4774", "kind": "model", "name": "ToolChoiceObjectMCP", "namespace": "OpenAI", @@ -57668,24 +58579,24 @@ } ], "baseModel": { - "$ref": "4670" + "$ref": "4748" }, "properties": [ { - "$id": "4697", + "$id": "4775", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4698", + "$id": "4776", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "4675" + "$ref": "4753" }, "decorators": [] }, @@ -57705,7 +58616,7 @@ ] }, "function": { - "$id": "4699", + "$id": "4777", "kind": "model", "name": "ToolChoiceObjectFunction", "namespace": "OpenAI", @@ -57720,25 +58631,25 @@ } ], "baseModel": { - "$ref": "4670" + "$ref": "4748" }, "properties": [ { - "$id": "4700", + "$id": "4778", "kind": "property", "name": "type", "serializedName": "type", "doc": "For function calling, the type is always `function`.", "type": { - "$id": "4701", + "$id": "4779", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "582" + "$ref": "573" }, "enumType": { - "$ref": "4675" + "$ref": "4753" }, "decorators": [] }, @@ -57756,13 +58667,13 @@ "isHttpMetadata": false }, { - "$id": "4702", + "$id": "4780", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "4703", + "$id": "4781", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -57803,16 +58714,16 @@ "isHttpMetadata": false }, { - "$id": "4704", + "$id": "4782", "kind": "property", "name": "truncation", "serializedName": "truncation", "doc": "The truncation strategy to use for the model response.\n- `auto`: If the context of this response and previous ones exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping input items in the\n middle of the conversation.\n- `disabled` (default): If a model response will exceed the context window\n size for a model, the request will fail with a 400 error.", "type": { - "$id": "4705", + "$id": "4783", "kind": "nullable", "type": { - "$ref": "590" + "$ref": "581" }, "namespace": "OpenAI" }, @@ -57830,34 +58741,34 @@ "isHttpMetadata": false }, { - "$id": "4706", + "$id": "4784", "kind": "property", "name": "input", "serializedName": "input", "doc": "Text, image, or file inputs to the model, used to generate a response.\n\nLearn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Image inputs](/docs/guides/images)\n- [File inputs](/docs/guides/pdf-files)\n- [Conversation state](/docs/guides/conversation-state)\n- [Function calling](/docs/guides/function-calling)", "type": { - "$id": "4707", + "$id": "4785", "kind": "union", "name": "CreateResponseInput", "variantTypes": [ { - "$id": "4708", + "$id": "4786", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4709", + "$id": "4787", "kind": "array", - "name": "Array23", + "name": "Array22", "valueType": { - "$id": "4710", + "$id": "4788", "kind": "union", "name": "CreateResponseInput1", "variantTypes": [ { - "$id": "4711", + "$id": "4789", "kind": "model", "name": "ImplicitUserMessage", "namespace": "OpenAI", @@ -57871,28 +58782,28 @@ ], "properties": [ { - "$id": "4712", + "$id": "4790", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "4713", + "$id": "4791", "kind": "union", "name": "ImplicitUserMessageContent", "variantTypes": [ { - "$id": "4714", + "$id": "4792", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4715", + "$id": "4793", "kind": "array", "name": "ArrayItemContent", "valueType": { - "$id": "4716", + "$id": "4794", "kind": "model", "name": "ItemContent", "namespace": "OpenAI", @@ -57905,12 +58816,12 @@ } ], "discriminatorProperty": { - "$id": "4717", + "$id": "4795", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "594" + "$ref": "585" }, "optional": false, "readOnly": false, @@ -57927,12 +58838,12 @@ }, "properties": [ { - "$ref": "4717" + "$ref": "4795" } ], "discriminatedSubtypes": { "input_audio": { - "$id": "4718", + "$id": "4796", "kind": "model", "name": "ItemContentInputAudio", "namespace": "OpenAI", @@ -57947,25 +58858,25 @@ } ], "baseModel": { - "$ref": "4716" + "$ref": "4794" }, "properties": [ { - "$id": "4719", + "$id": "4797", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the input item. Always `input_audio`.", "type": { - "$id": "4720", + "$id": "4798", "kind": "enumvalue", "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$id": "4721", + "$id": "4799", "kind": "enum", "decorators": [], "doc": "Multi-modal input and output contents.", @@ -57973,7 +58884,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4722", + "$id": "4800", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -57982,94 +58893,94 @@ }, "values": [ { - "$id": "4723", + "$id": "4801", "kind": "enumvalue", "decorators": [], "name": "input_text", "value": "input_text", "valueType": { - "$ref": "4722" + "$ref": "4800" }, "enumType": { - "$ref": "4721" + "$ref": "4799" } }, { - "$id": "4724", + "$id": "4802", "kind": "enumvalue", "decorators": [], "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "4722" + "$ref": "4800" }, "enumType": { - "$ref": "4721" + "$ref": "4799" } }, { - "$id": "4725", + "$id": "4803", "kind": "enumvalue", "decorators": [], "name": "input_image", "value": "input_image", "valueType": { - "$ref": "4722" + "$ref": "4800" }, "enumType": { - "$ref": "4721" + "$ref": "4799" } }, { - "$id": "4726", + "$id": "4804", "kind": "enumvalue", "decorators": [], "name": "input_file", "value": "input_file", "valueType": { - "$ref": "4722" + "$ref": "4800" }, "enumType": { - "$ref": "4721" + "$ref": "4799" } }, { - "$id": "4727", + "$id": "4805", "kind": "enumvalue", "decorators": [], "name": "output_text", "value": "output_text", "valueType": { - "$ref": "4722" + "$ref": "4800" }, "enumType": { - "$ref": "4721" + "$ref": "4799" } }, { - "$id": "4728", + "$id": "4806", "kind": "enumvalue", "decorators": [], "name": "output_audio", "value": "output_audio", "valueType": { - "$ref": "4722" + "$ref": "4800" }, "enumType": { - "$ref": "4721" + "$ref": "4799" } }, { - "$id": "4729", + "$id": "4807", "kind": "enumvalue", "decorators": [], "name": "refusal", "value": "refusal", "valueType": { - "$ref": "4722" + "$ref": "4800" }, "enumType": { - "$ref": "4721" + "$ref": "4799" } } ], @@ -58098,13 +59009,13 @@ "isHttpMetadata": false }, { - "$id": "4730", + "$id": "4808", "kind": "property", "name": "data", "serializedName": "data", "doc": "Base64-encoded audio data.", "type": { - "$id": "4731", + "$id": "4809", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58124,13 +59035,13 @@ "isHttpMetadata": false }, { - "$id": "4732", + "$id": "4810", "kind": "property", "name": "format", "serializedName": "format", "doc": "The format of the audio data. Currently supported formats are `mp3` and\n`wav`.", "type": { - "$ref": "603" + "$ref": "594" }, "optional": false, "readOnly": false, @@ -58148,7 +59059,7 @@ ] }, "output_audio": { - "$id": "4733", + "$id": "4811", "kind": "model", "name": "ItemContentOutputAudio", "namespace": "OpenAI", @@ -58163,25 +59074,25 @@ } ], "baseModel": { - "$ref": "4716" + "$ref": "4794" }, "properties": [ { - "$id": "4734", + "$id": "4812", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output audio. Always `output_audio`.", "type": { - "$id": "4735", + "$id": "4813", "kind": "enumvalue", "name": "output_audio", "value": "output_audio", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "4721" + "$ref": "4799" }, "decorators": [] }, @@ -58199,13 +59110,13 @@ "isHttpMetadata": false }, { - "$id": "4736", + "$id": "4814", "kind": "property", "name": "data", "serializedName": "data", "doc": "Base64-encoded audio data from the model.", "type": { - "$id": "4737", + "$id": "4815", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58225,13 +59136,13 @@ "isHttpMetadata": false }, { - "$id": "4738", + "$id": "4816", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "The transcript of the audio data from the model.", "type": { - "$id": "4739", + "$id": "4817", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58253,7 +59164,7 @@ ] }, "refusal": { - "$id": "4740", + "$id": "4818", "kind": "model", "name": "ItemContentRefusal", "namespace": "OpenAI", @@ -58268,25 +59179,25 @@ } ], "baseModel": { - "$ref": "4716" + "$ref": "4794" }, "properties": [ { - "$id": "4741", + "$id": "4819", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the refusal. Always `refusal`.", "type": { - "$id": "4742", + "$id": "4820", "kind": "enumvalue", "name": "refusal", "value": "refusal", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "4721" + "$ref": "4799" }, "decorators": [] }, @@ -58304,13 +59215,13 @@ "isHttpMetadata": false }, { - "$id": "4743", + "$id": "4821", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal explanationfrom the model.", "type": { - "$id": "4744", + "$id": "4822", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58332,7 +59243,7 @@ ] }, "input_text": { - "$id": "4745", + "$id": "4823", "kind": "model", "name": "ItemContentInputText", "namespace": "OpenAI", @@ -58347,25 +59258,25 @@ } ], "baseModel": { - "$ref": "4716" + "$ref": "4794" }, "properties": [ { - "$id": "4746", + "$id": "4824", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the input item. Always `input_text`.", "type": { - "$id": "4747", + "$id": "4825", "kind": "enumvalue", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "4721" + "$ref": "4799" }, "decorators": [] }, @@ -58383,13 +59294,13 @@ "isHttpMetadata": false }, { - "$id": "4748", + "$id": "4826", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text input to the model.", "type": { - "$id": "4749", + "$id": "4827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58411,7 +59322,7 @@ ] }, "input_image": { - "$id": "4750", + "$id": "4828", "kind": "model", "name": "ItemContentInputImage", "namespace": "OpenAI", @@ -58426,25 +59337,25 @@ } ], "baseModel": { - "$ref": "4716" + "$ref": "4794" }, "properties": [ { - "$id": "4751", + "$id": "4829", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the input item. Always `input_image`.", "type": { - "$id": "4752", + "$id": "4830", "kind": "enumvalue", "name": "input_image", "value": "input_image", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "4721" + "$ref": "4799" }, "decorators": [] }, @@ -58462,16 +59373,16 @@ "isHttpMetadata": false }, { - "$id": "4753", + "$id": "4831", "kind": "property", "name": "image_url", "serializedName": "image_url", "doc": "The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.", "type": { - "$id": "4754", + "$id": "4832", "kind": "nullable", "type": { - "$id": "4755", + "$id": "4833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58493,16 +59404,16 @@ "isHttpMetadata": false }, { - "$id": "4756", + "$id": "4834", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to be sent to the model.", "type": { - "$id": "4757", + "$id": "4835", "kind": "nullable", "type": { - "$id": "4758", + "$id": "4836", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58524,13 +59435,13 @@ "isHttpMetadata": false }, { - "$id": "4759", + "$id": "4837", "kind": "property", "name": "detail", "serializedName": "detail", "doc": "The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.", "type": { - "$ref": "607" + "$ref": "598" }, "optional": true, "readOnly": false, @@ -58548,7 +59459,7 @@ ] }, "input_file": { - "$id": "4760", + "$id": "4838", "kind": "model", "name": "ItemContentInputFile", "namespace": "OpenAI", @@ -58563,25 +59474,25 @@ } ], "baseModel": { - "$ref": "4716" + "$ref": "4794" }, "properties": [ { - "$id": "4761", + "$id": "4839", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the input item. Always `input_file`.", "type": { - "$id": "4762", + "$id": "4840", "kind": "enumvalue", "name": "input_file", "value": "input_file", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "4721" + "$ref": "4799" }, "decorators": [] }, @@ -58599,16 +59510,16 @@ "isHttpMetadata": false }, { - "$id": "4763", + "$id": "4841", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to be sent to the model.", "type": { - "$id": "4764", + "$id": "4842", "kind": "nullable", "type": { - "$id": "4765", + "$id": "4843", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58630,13 +59541,13 @@ "isHttpMetadata": false }, { - "$id": "4766", + "$id": "4844", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file to be sent to the model.", "type": { - "$id": "4767", + "$id": "4845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58656,13 +59567,13 @@ "isHttpMetadata": false }, { - "$id": "4768", + "$id": "4846", "kind": "property", "name": "file_data", "serializedName": "file_data", "doc": "The content of the file to be sent to the model.", "type": { - "$id": "4769", + "$id": "4847", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58684,7 +59595,7 @@ ] }, "output_text": { - "$id": "4770", + "$id": "4848", "kind": "model", "name": "ItemContentOutputText", "namespace": "OpenAI", @@ -58699,25 +59610,25 @@ } ], "baseModel": { - "$ref": "4716" + "$ref": "4794" }, "properties": [ { - "$id": "4771", + "$id": "4849", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output text. Always `output_text`.", "type": { - "$id": "4772", + "$id": "4850", "kind": "enumvalue", "name": "output_text", "value": "output_text", "valueType": { - "$ref": "595" + "$ref": "586" }, "enumType": { - "$ref": "4721" + "$ref": "4799" }, "decorators": [] }, @@ -58735,13 +59646,13 @@ "isHttpMetadata": false }, { - "$id": "4773", + "$id": "4851", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text output from the model.", "type": { - "$id": "4774", + "$id": "4852", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58761,17 +59672,17 @@ "isHttpMetadata": false }, { - "$id": "4775", + "$id": "4853", "kind": "property", "name": "annotations", "serializedName": "annotations", "doc": "The annotations of the text output.", "type": { - "$id": "4776", + "$id": "4854", "kind": "array", "name": "ArrayAnnotation", "valueType": { - "$id": "4777", + "$id": "4855", "kind": "model", "name": "Annotation", "namespace": "OpenAI", @@ -58784,12 +59695,12 @@ } ], "discriminatorProperty": { - "$id": "4778", + "$id": "4856", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "612" + "$ref": "603" }, "optional": false, "readOnly": false, @@ -58806,12 +59717,12 @@ }, "properties": [ { - "$ref": "4778" + "$ref": "4856" } ], "discriminatedSubtypes": { "file_citation": { - "$id": "4779", + "$id": "4857", "kind": "model", "name": "AnnotationFileCitation", "namespace": "OpenAI", @@ -58826,32 +59737,32 @@ } ], "baseModel": { - "$ref": "4777" + "$ref": "4855" }, "properties": [ { - "$id": "4780", + "$id": "4858", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the file citation. Always `file_citation`.", "type": { - "$id": "4781", + "$id": "4859", "kind": "enumvalue", "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "613" + "$ref": "604" }, "enumType": { - "$id": "4782", + "$id": "4860", "kind": "enum", "decorators": [], "name": "AnnotationType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4783", + "$id": "4861", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -58860,55 +59771,55 @@ }, "values": [ { - "$id": "4784", + "$id": "4862", "kind": "enumvalue", "decorators": [], "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "4783" + "$ref": "4861" }, "enumType": { - "$ref": "4782" + "$ref": "4860" } }, { - "$id": "4785", + "$id": "4863", "kind": "enumvalue", "decorators": [], "name": "url_citation", "value": "url_citation", "valueType": { - "$ref": "4783" + "$ref": "4861" }, "enumType": { - "$ref": "4782" + "$ref": "4860" } }, { - "$id": "4786", + "$id": "4864", "kind": "enumvalue", "decorators": [], "name": "file_path", "value": "file_path", "valueType": { - "$ref": "4783" + "$ref": "4861" }, "enumType": { - "$ref": "4782" + "$ref": "4860" } }, { - "$id": "4787", + "$id": "4865", "kind": "enumvalue", "decorators": [], "name": "container_file_citation", "value": "container_file_citation", "valueType": { - "$ref": "4783" + "$ref": "4861" }, "enumType": { - "$ref": "4782" + "$ref": "4860" } } ], @@ -58937,13 +59848,13 @@ "isHttpMetadata": false }, { - "$id": "4788", + "$id": "4866", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file.", "type": { - "$id": "4789", + "$id": "4867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58963,13 +59874,13 @@ "isHttpMetadata": false }, { - "$id": "4790", + "$id": "4868", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index of the file in the list of files.", "type": { - "$id": "4791", + "$id": "4869", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -58989,13 +59900,13 @@ "isHttpMetadata": false }, { - "$id": "4792", + "$id": "4870", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The filename of the file cited.", "type": { - "$id": "4793", + "$id": "4871", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59017,7 +59928,7 @@ ] }, "url_citation": { - "$id": "4794", + "$id": "4872", "kind": "model", "name": "AnnotationUrlCitation", "namespace": "OpenAI", @@ -59032,25 +59943,25 @@ } ], "baseModel": { - "$ref": "4777" + "$ref": "4855" }, "properties": [ { - "$id": "4795", + "$id": "4873", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the URL citation. Always `url_citation`.", "type": { - "$id": "4796", + "$id": "4874", "kind": "enumvalue", "name": "url_citation", "value": "url_citation", "valueType": { - "$ref": "613" + "$ref": "604" }, "enumType": { - "$ref": "4782" + "$ref": "4860" }, "decorators": [] }, @@ -59068,13 +59979,13 @@ "isHttpMetadata": false }, { - "$id": "4797", + "$id": "4875", "kind": "property", "name": "url", "serializedName": "url", "doc": "The URL of the web resource.", "type": { - "$id": "4798", + "$id": "4876", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -59094,13 +60005,13 @@ "isHttpMetadata": false }, { - "$id": "4799", + "$id": "4877", "kind": "property", "name": "start_index", "serializedName": "start_index", "doc": "The index of the first character of the URL citation in the message.", "type": { - "$id": "4800", + "$id": "4878", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59120,13 +60031,13 @@ "isHttpMetadata": false }, { - "$id": "4801", + "$id": "4879", "kind": "property", "name": "end_index", "serializedName": "end_index", "doc": "The index of the last character of the URL citation in the message.", "type": { - "$id": "4802", + "$id": "4880", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59146,13 +60057,13 @@ "isHttpMetadata": false }, { - "$id": "4803", + "$id": "4881", "kind": "property", "name": "title", "serializedName": "title", "doc": "The title of the web resource.", "type": { - "$id": "4804", + "$id": "4882", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59174,7 +60085,7 @@ ] }, "container_file_citation": { - "$id": "4805", + "$id": "4883", "kind": "model", "name": "ContainerFileCitationBody", "namespace": "OpenAI", @@ -59189,25 +60100,25 @@ } ], "baseModel": { - "$ref": "4777" + "$ref": "4855" }, "properties": [ { - "$id": "4806", + "$id": "4884", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the container file citation. Always `container_file_citation`.", "type": { - "$id": "4807", + "$id": "4885", "kind": "enumvalue", "name": "container_file_citation", "value": "container_file_citation", "valueType": { - "$ref": "613" + "$ref": "604" }, "enumType": { - "$ref": "4782" + "$ref": "4860" }, "decorators": [] }, @@ -59225,13 +60136,13 @@ "isHttpMetadata": false }, { - "$id": "4808", + "$id": "4886", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The ID of the container file.", "type": { - "$id": "4809", + "$id": "4887", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59251,13 +60162,13 @@ "isHttpMetadata": false }, { - "$id": "4810", + "$id": "4888", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file.", "type": { - "$id": "4811", + "$id": "4889", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59277,13 +60188,13 @@ "isHttpMetadata": false }, { - "$id": "4812", + "$id": "4890", "kind": "property", "name": "start_index", "serializedName": "start_index", "doc": "The index of the first character of the container file citation in the message.", "type": { - "$id": "4813", + "$id": "4891", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59303,13 +60214,13 @@ "isHttpMetadata": false }, { - "$id": "4814", + "$id": "4892", "kind": "property", "name": "end_index", "serializedName": "end_index", "doc": "The index of the last character of the container file citation in the message.", "type": { - "$id": "4815", + "$id": "4893", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59329,13 +60240,13 @@ "isHttpMetadata": false }, { - "$id": "4816", + "$id": "4894", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The filename of the container file cited.", "type": { - "$id": "4817", + "$id": "4895", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59357,7 +60268,7 @@ ] }, "file_path": { - "$id": "4818", + "$id": "4896", "kind": "model", "name": "AnnotationFilePath", "namespace": "OpenAI", @@ -59372,25 +60283,25 @@ } ], "baseModel": { - "$ref": "4777" + "$ref": "4855" }, "properties": [ { - "$id": "4819", + "$id": "4897", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the file path. Always `file_path`.", "type": { - "$id": "4820", + "$id": "4898", "kind": "enumvalue", "name": "file_path", "value": "file_path", "valueType": { - "$ref": "613" + "$ref": "604" }, "enumType": { - "$ref": "4782" + "$ref": "4860" }, "decorators": [] }, @@ -59408,13 +60319,13 @@ "isHttpMetadata": false }, { - "$id": "4821", + "$id": "4899", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file.", "type": { - "$id": "4822", + "$id": "4900", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59434,13 +60345,13 @@ "isHttpMetadata": false }, { - "$id": "4823", + "$id": "4901", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index of the file in the list of files.", "type": { - "$id": "4824", + "$id": "4902", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59480,16 +60391,16 @@ "isHttpMetadata": false }, { - "$id": "4825", + "$id": "4903", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "type": { - "$id": "4826", + "$id": "4904", "kind": "array", "name": "ArrayLogProb", "valueType": { - "$id": "4827", + "$id": "4905", "kind": "model", "name": "LogProb", "namespace": "OpenAI", @@ -59504,12 +60415,12 @@ ], "properties": [ { - "$id": "4828", + "$id": "4906", "kind": "property", "name": "token", "serializedName": "token", "type": { - "$id": "4829", + "$id": "4907", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59529,12 +60440,12 @@ "isHttpMetadata": false }, { - "$id": "4830", + "$id": "4908", "kind": "property", "name": "logprob", "serializedName": "logprob", "type": { - "$id": "4831", + "$id": "4909", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -59554,12 +60465,12 @@ "isHttpMetadata": false }, { - "$id": "4832", + "$id": "4910", "kind": "property", "name": "bytes", "serializedName": "bytes", "type": { - "$ref": "2671" + "$ref": "2781" }, "optional": false, "readOnly": false, @@ -59575,16 +60486,16 @@ "isHttpMetadata": false }, { - "$id": "4833", + "$id": "4911", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "type": { - "$id": "4834", + "$id": "4912", "kind": "array", "name": "ArrayTopLogProb", "valueType": { - "$id": "4835", + "$id": "4913", "kind": "model", "name": "TopLogProb", "namespace": "OpenAI", @@ -59599,12 +60510,12 @@ ], "properties": [ { - "$id": "4836", + "$id": "4914", "kind": "property", "name": "token", "serializedName": "token", "type": { - "$id": "4837", + "$id": "4915", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59624,12 +60535,12 @@ "isHttpMetadata": false }, { - "$id": "4838", + "$id": "4916", "kind": "property", "name": "logprob", "serializedName": "logprob", "type": { - "$id": "4839", + "$id": "4917", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -59649,12 +60560,12 @@ "isHttpMetadata": false }, { - "$id": "4840", + "$id": "4918", "kind": "property", "name": "bytes", "serializedName": "bytes", "type": { - "$ref": "2671" + "$ref": "2781" }, "optional": false, "readOnly": false, @@ -59732,7 +60643,7 @@ ] }, { - "$id": "4841", + "$id": "4919", "kind": "model", "name": "ItemParam", "namespace": "OpenAI", @@ -59746,12 +60657,12 @@ } ], "discriminatorProperty": { - "$id": "4842", + "$id": "4920", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "618" + "$ref": "609" }, "optional": false, "readOnly": false, @@ -59768,12 +60679,12 @@ }, "properties": [ { - "$ref": "4842" + "$ref": "4920" } ], "discriminatedSubtypes": { "message": { - "$id": "4843", + "$id": "4921", "kind": "model", "name": "ResponsesMessageItemParam", "namespace": "OpenAI", @@ -59788,13 +60699,13 @@ } ], "discriminatorProperty": { - "$id": "4844", + "$id": "4922", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role associated with the message.", "type": { - "$ref": "637" + "$ref": "628" }, "optional": false, "readOnly": false, @@ -59810,32 +60721,32 @@ "isHttpMetadata": false }, "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "4845", + "$id": "4923", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the responses item, which is always 'message'.", "type": { - "$id": "4846", + "$id": "4924", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$id": "4847", + "$id": "4925", "kind": "enum", "decorators": [], "name": "ItemType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4848", + "$id": "4926", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -59844,224 +60755,224 @@ }, "values": [ { - "$id": "4849", + "$id": "4927", "kind": "enumvalue", "decorators": [], "name": "message", "value": "message", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4850", + "$id": "4928", "kind": "enumvalue", "decorators": [], "name": "file_search_call", "value": "file_search_call", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4851", + "$id": "4929", "kind": "enumvalue", "decorators": [], "name": "function_call", "value": "function_call", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4852", + "$id": "4930", "kind": "enumvalue", "decorators": [], "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4853", + "$id": "4931", "kind": "enumvalue", "decorators": [], "name": "computer_call", "value": "computer_call", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4854", + "$id": "4932", "kind": "enumvalue", "decorators": [], "name": "computer_call_output", "value": "computer_call_output", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4855", + "$id": "4933", "kind": "enumvalue", "decorators": [], "name": "web_search_call", "value": "web_search_call", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4856", + "$id": "4934", "kind": "enumvalue", "decorators": [], "name": "reasoning", "value": "reasoning", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4857", + "$id": "4935", "kind": "enumvalue", "decorators": [], "name": "item_reference", "value": "item_reference", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4858", + "$id": "4936", "kind": "enumvalue", "decorators": [], "name": "image_generation_call", "value": "image_generation_call", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4859", + "$id": "4937", "kind": "enumvalue", "decorators": [], "name": "code_interpreter_call", "value": "code_interpreter_call", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4860", + "$id": "4938", "kind": "enumvalue", "decorators": [], "name": "local_shell_call", "value": "local_shell_call", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4861", + "$id": "4939", "kind": "enumvalue", "decorators": [], "name": "local_shell_call_output", "value": "local_shell_call_output", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4862", + "$id": "4940", "kind": "enumvalue", "decorators": [], "name": "mcp_list_tools", "value": "mcp_list_tools", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4863", + "$id": "4941", "kind": "enumvalue", "decorators": [], "name": "mcp_approval_request", "value": "mcp_approval_request", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4864", + "$id": "4942", "kind": "enumvalue", "decorators": [], "name": "mcp_approval_response", "value": "mcp_approval_response", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } }, { - "$id": "4865", + "$id": "4943", "kind": "enumvalue", "decorators": [], "name": "mcp_call", "value": "mcp_call", "valueType": { - "$ref": "4848" + "$ref": "4926" }, "enumType": { - "$ref": "4847" + "$ref": "4925" } } ], @@ -60090,12 +61001,12 @@ "isHttpMetadata": false }, { - "$ref": "4844" + "$ref": "4922" } ], "discriminatedSubtypes": { "user": { - "$id": "4866", + "$id": "4944", "kind": "model", "name": "ResponsesUserMessageItemParam", "namespace": "OpenAI", @@ -60110,25 +61021,25 @@ } ], "baseModel": { - "$ref": "4843" + "$ref": "4921" }, "properties": [ { - "$id": "4867", + "$id": "4945", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `user`.", "type": { - "$id": "4868", + "$id": "4946", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "638" + "$ref": "629" }, "enumType": { - "$id": "4869", + "$id": "4947", "kind": "enum", "decorators": [], "doc": "The collection of valid roles for responses message items.", @@ -60136,7 +61047,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4870", + "$id": "4948", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -60145,55 +61056,55 @@ }, "values": [ { - "$id": "4871", + "$id": "4949", "kind": "enumvalue", "decorators": [], "name": "system", "value": "system", "valueType": { - "$ref": "4870" + "$ref": "4948" }, "enumType": { - "$ref": "4869" + "$ref": "4947" } }, { - "$id": "4872", + "$id": "4950", "kind": "enumvalue", "decorators": [], "name": "developer", "value": "developer", "valueType": { - "$ref": "4870" + "$ref": "4948" }, "enumType": { - "$ref": "4869" + "$ref": "4947" } }, { - "$id": "4873", + "$id": "4951", "kind": "enumvalue", "decorators": [], "name": "user", "value": "user", "valueType": { - "$ref": "4870" + "$ref": "4948" }, "enumType": { - "$ref": "4869" + "$ref": "4947" } }, { - "$id": "4874", + "$id": "4952", "kind": "enumvalue", "decorators": [], "name": "assistant", "value": "assistant", "valueType": { - "$ref": "4870" + "$ref": "4948" }, "enumType": { - "$ref": "4869" + "$ref": "4947" } } ], @@ -60222,13 +61133,13 @@ "isHttpMetadata": false }, { - "$id": "4875", + "$id": "4953", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4715" + "$ref": "4793" }, "optional": false, "readOnly": false, @@ -60246,7 +61157,7 @@ ] }, "system": { - "$id": "4876", + "$id": "4954", "kind": "model", "name": "ResponsesSystemMessageItemParam", "namespace": "OpenAI", @@ -60261,25 +61172,25 @@ } ], "baseModel": { - "$ref": "4843" + "$ref": "4921" }, "properties": [ { - "$id": "4877", + "$id": "4955", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `system`.", "type": { - "$id": "4878", + "$id": "4956", "kind": "enumvalue", "name": "system", "value": "system", "valueType": { - "$ref": "638" + "$ref": "629" }, "enumType": { - "$ref": "4869" + "$ref": "4947" }, "decorators": [] }, @@ -60297,13 +61208,13 @@ "isHttpMetadata": false }, { - "$id": "4879", + "$id": "4957", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4715" + "$ref": "4793" }, "optional": false, "readOnly": false, @@ -60321,7 +61232,7 @@ ] }, "developer": { - "$id": "4880", + "$id": "4958", "kind": "model", "name": "ResponsesDeveloperMessageItemParam", "namespace": "OpenAI", @@ -60336,25 +61247,25 @@ } ], "baseModel": { - "$ref": "4843" + "$ref": "4921" }, "properties": [ { - "$id": "4881", + "$id": "4959", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `developer`.", "type": { - "$id": "4882", + "$id": "4960", "kind": "enumvalue", "name": "developer", "value": "developer", "valueType": { - "$ref": "638" + "$ref": "629" }, "enumType": { - "$ref": "4869" + "$ref": "4947" }, "decorators": [] }, @@ -60372,13 +61283,13 @@ "isHttpMetadata": false }, { - "$id": "4883", + "$id": "4961", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4715" + "$ref": "4793" }, "optional": false, "readOnly": false, @@ -60396,7 +61307,7 @@ ] }, "assistant": { - "$id": "4884", + "$id": "4962", "kind": "model", "name": "ResponsesAssistantMessageItemParam", "namespace": "OpenAI", @@ -60411,25 +61322,25 @@ } ], "baseModel": { - "$ref": "4843" + "$ref": "4921" }, "properties": [ { - "$id": "4885", + "$id": "4963", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `assistant`.", "type": { - "$id": "4886", + "$id": "4964", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "638" + "$ref": "629" }, "enumType": { - "$ref": "4869" + "$ref": "4947" }, "decorators": [] }, @@ -60447,13 +61358,13 @@ "isHttpMetadata": false }, { - "$id": "4887", + "$id": "4965", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4715" + "$ref": "4793" }, "optional": false, "readOnly": false, @@ -60473,7 +61384,7 @@ } }, "function_call_output": { - "$id": "4888", + "$id": "4966", "kind": "model", "name": "FunctionToolCallOutputItemParam", "namespace": "OpenAI", @@ -60488,24 +61399,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "4889", + "$id": "4967", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4890", + "$id": "4968", "kind": "enumvalue", "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -60523,13 +61434,13 @@ "isHttpMetadata": false }, { - "$id": "4891", + "$id": "4969", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "4892", + "$id": "4970", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60549,13 +61460,13 @@ "isHttpMetadata": false }, { - "$id": "4893", + "$id": "4971", "kind": "property", "name": "output", "serializedName": "output", "doc": "A JSON string of the output of the function tool call.", "type": { - "$id": "4894", + "$id": "4972", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60577,7 +61488,7 @@ ] }, "file_search_call": { - "$id": "4895", + "$id": "4973", "kind": "model", "name": "FileSearchToolCallItemParam", "namespace": "OpenAI", @@ -60592,24 +61503,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "4896", + "$id": "4974", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4897", + "$id": "4975", "kind": "enumvalue", "name": "file_search_call", "value": "file_search_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -60627,13 +61538,13 @@ "isHttpMetadata": false }, { - "$id": "4898", + "$id": "4976", "kind": "property", "name": "queries", "serializedName": "queries", "doc": "The queries used to search for files.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -60649,20 +61560,20 @@ "isHttpMetadata": false }, { - "$id": "4899", + "$id": "4977", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search tool call.", "type": { - "$id": "4900", + "$id": "4978", "kind": "nullable", "type": { - "$id": "4901", + "$id": "4979", "kind": "array", - "name": "Array24", + "name": "Array23", "valueType": { - "$id": "4902", + "$id": "4980", "kind": "model", "name": "FileSearchToolCallItemResourceResult", "namespace": "OpenAI", @@ -60671,13 +61582,13 @@ "decorators": [], "properties": [ { - "$id": "4903", + "$id": "4981", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The unique ID of the file.", "type": { - "$id": "4904", + "$id": "4982", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60697,13 +61608,13 @@ "isHttpMetadata": false }, { - "$id": "4905", + "$id": "4983", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text that was retrieved from the file.", "type": { - "$id": "4906", + "$id": "4984", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60723,13 +61634,13 @@ "isHttpMetadata": false }, { - "$id": "4907", + "$id": "4985", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file.", "type": { - "$id": "4908", + "$id": "4986", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60749,12 +61660,12 @@ "isHttpMetadata": false }, { - "$id": "4909", + "$id": "4987", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": true, "readOnly": false, @@ -60770,13 +61681,13 @@ "isHttpMetadata": false }, { - "$id": "4910", + "$id": "4988", "kind": "property", "name": "score", "serializedName": "score", "doc": "The relevance score of the file - a value between 0 and 1.", "type": { - "$id": "4911", + "$id": "4989", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -60818,7 +61729,7 @@ ] }, "computer_call": { - "$id": "4912", + "$id": "4990", "kind": "model", "name": "ComputerToolCallItemParam", "namespace": "OpenAI", @@ -60833,24 +61744,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "4913", + "$id": "4991", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4914", + "$id": "4992", "kind": "enumvalue", "name": "computer_call", "value": "computer_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -60868,13 +61779,13 @@ "isHttpMetadata": false }, { - "$id": "4915", + "$id": "4993", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "An identifier used when responding to the tool call with output.", "type": { - "$id": "4916", + "$id": "4994", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60894,12 +61805,12 @@ "isHttpMetadata": false }, { - "$id": "4917", + "$id": "4995", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$id": "4918", + "$id": "4996", "kind": "model", "name": "ComputerAction", "namespace": "OpenAI", @@ -60912,12 +61823,12 @@ } ], "discriminatorProperty": { - "$id": "4919", + "$id": "4997", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "643" + "$ref": "634" }, "optional": false, "readOnly": false, @@ -60934,12 +61845,12 @@ }, "properties": [ { - "$ref": "4919" + "$ref": "4997" } ], "discriminatedSubtypes": { "click": { - "$id": "4920", + "$id": "4998", "kind": "model", "name": "ComputerActionClick", "namespace": "OpenAI", @@ -60954,32 +61865,32 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4921", + "$id": "4999", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a click action, this property is\nalways set to `click`.", "type": { - "$id": "4922", + "$id": "5000", "kind": "enumvalue", "name": "click", "value": "click", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$id": "4923", + "$id": "5001", "kind": "enum", "decorators": [], "name": "ComputerActionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4924", + "$id": "5002", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -60988,120 +61899,120 @@ }, "values": [ { - "$id": "4925", + "$id": "5003", "kind": "enumvalue", "decorators": [], "name": "screenshot", "value": "screenshot", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } }, { - "$id": "4926", + "$id": "5004", "kind": "enumvalue", "decorators": [], "name": "click", "value": "click", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } }, { - "$id": "4927", + "$id": "5005", "kind": "enumvalue", "decorators": [], "name": "double_click", "value": "double_click", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } }, { - "$id": "4928", + "$id": "5006", "kind": "enumvalue", "decorators": [], "name": "scroll", "value": "scroll", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } }, { - "$id": "4929", + "$id": "5007", "kind": "enumvalue", "decorators": [], "name": "type", "value": "type", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } }, { - "$id": "4930", + "$id": "5008", "kind": "enumvalue", "decorators": [], "name": "wait", "value": "wait", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } }, { - "$id": "4931", + "$id": "5009", "kind": "enumvalue", "decorators": [], "name": "keypress", "value": "keypress", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } }, { - "$id": "4932", + "$id": "5010", "kind": "enumvalue", "decorators": [], "name": "drag", "value": "drag", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } }, { - "$id": "4933", + "$id": "5011", "kind": "enumvalue", "decorators": [], "name": "move", "value": "move", "valueType": { - "$ref": "4924" + "$ref": "5002" }, "enumType": { - "$ref": "4923" + "$ref": "5001" } } ], @@ -61130,13 +62041,13 @@ "isHttpMetadata": false }, { - "$id": "4934", + "$id": "5012", "kind": "property", "name": "button", "serializedName": "button", "doc": "Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`.", "type": { - "$ref": "654" + "$ref": "645" }, "optional": false, "readOnly": false, @@ -61152,13 +62063,13 @@ "isHttpMetadata": false }, { - "$id": "4935", + "$id": "5013", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the click occurred.", "type": { - "$id": "4936", + "$id": "5014", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61178,13 +62089,13 @@ "isHttpMetadata": false }, { - "$id": "4937", + "$id": "5015", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the click occurred.", "type": { - "$id": "4938", + "$id": "5016", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61206,7 +62117,7 @@ ] }, "double_click": { - "$id": "4939", + "$id": "5017", "kind": "model", "name": "ComputerActionDoubleClick", "namespace": "OpenAI", @@ -61221,25 +62132,25 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4940", + "$id": "5018", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a double click action, this property is\nalways set to `double_click`.", "type": { - "$id": "4941", + "$id": "5019", "kind": "enumvalue", "name": "double_click", "value": "double_click", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "4923" + "$ref": "5001" }, "decorators": [] }, @@ -61257,13 +62168,13 @@ "isHttpMetadata": false }, { - "$id": "4942", + "$id": "5020", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the double click occurred.", "type": { - "$id": "4943", + "$id": "5021", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61283,13 +62194,13 @@ "isHttpMetadata": false }, { - "$id": "4944", + "$id": "5022", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the double click occurred.", "type": { - "$id": "4945", + "$id": "5023", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61311,7 +62222,7 @@ ] }, "drag": { - "$id": "4946", + "$id": "5024", "kind": "model", "name": "ComputerActionDrag", "namespace": "OpenAI", @@ -61326,25 +62237,25 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4947", + "$id": "5025", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a drag action, this property is\nalways set to `drag`.", "type": { - "$id": "4948", + "$id": "5026", "kind": "enumvalue", "name": "drag", "value": "drag", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "4923" + "$ref": "5001" }, "decorators": [] }, @@ -61362,17 +62273,17 @@ "isHttpMetadata": false }, { - "$id": "4949", + "$id": "5027", "kind": "property", "name": "path", "serializedName": "path", "doc": "An array of coordinates representing the path of the drag action. Coordinates will appear as an array\nof objects, eg\n```\n[\n { x: 100, y: 200 },\n { x: 200, y: 300 }\n]\n```", "type": { - "$id": "4950", + "$id": "5028", "kind": "array", "name": "ArrayCoordinate", "valueType": { - "$id": "4951", + "$id": "5029", "kind": "model", "name": "Coordinate", "namespace": "OpenAI", @@ -61387,13 +62298,13 @@ ], "properties": [ { - "$id": "4952", + "$id": "5030", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate.", "type": { - "$id": "4953", + "$id": "5031", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61413,13 +62324,13 @@ "isHttpMetadata": false }, { - "$id": "4954", + "$id": "5032", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate.", "type": { - "$id": "4955", + "$id": "5033", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61459,7 +62370,7 @@ ] }, "move": { - "$id": "4956", + "$id": "5034", "kind": "model", "name": "ComputerActionMove", "namespace": "OpenAI", @@ -61474,25 +62385,25 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4957", + "$id": "5035", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a move action, this property is\nalways set to `move`.", "type": { - "$id": "4958", + "$id": "5036", "kind": "enumvalue", "name": "move", "value": "move", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "4923" + "$ref": "5001" }, "decorators": [] }, @@ -61510,13 +62421,13 @@ "isHttpMetadata": false }, { - "$id": "4959", + "$id": "5037", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate to move to.", "type": { - "$id": "4960", + "$id": "5038", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61536,13 +62447,13 @@ "isHttpMetadata": false }, { - "$id": "4961", + "$id": "5039", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate to move to.", "type": { - "$id": "4962", + "$id": "5040", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61564,7 +62475,7 @@ ] }, "screenshot": { - "$id": "4963", + "$id": "5041", "kind": "model", "name": "ComputerActionScreenshot", "namespace": "OpenAI", @@ -61579,25 +62490,25 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4964", + "$id": "5042", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a screenshot action, this property is\nalways set to `screenshot`.", "type": { - "$id": "4965", + "$id": "5043", "kind": "enumvalue", "name": "screenshot", "value": "screenshot", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "4923" + "$ref": "5001" }, "decorators": [] }, @@ -61617,7 +62528,7 @@ ] }, "scroll": { - "$id": "4966", + "$id": "5044", "kind": "model", "name": "ComputerActionScroll", "namespace": "OpenAI", @@ -61632,25 +62543,25 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4967", + "$id": "5045", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a scroll action, this property is\nalways set to `scroll`.", "type": { - "$id": "4968", + "$id": "5046", "kind": "enumvalue", "name": "scroll", "value": "scroll", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "4923" + "$ref": "5001" }, "decorators": [] }, @@ -61668,13 +62579,13 @@ "isHttpMetadata": false }, { - "$id": "4969", + "$id": "5047", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the scroll occurred.", "type": { - "$id": "4970", + "$id": "5048", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61694,13 +62605,13 @@ "isHttpMetadata": false }, { - "$id": "4971", + "$id": "5049", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the scroll occurred.", "type": { - "$id": "4972", + "$id": "5050", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61720,13 +62631,13 @@ "isHttpMetadata": false }, { - "$id": "4973", + "$id": "5051", "kind": "property", "name": "scroll_x", "serializedName": "scroll_x", "doc": "The horizontal scroll distance.", "type": { - "$id": "4974", + "$id": "5052", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61746,13 +62657,13 @@ "isHttpMetadata": false }, { - "$id": "4975", + "$id": "5053", "kind": "property", "name": "scroll_y", "serializedName": "scroll_y", "doc": "The vertical scroll distance.", "type": { - "$id": "4976", + "$id": "5054", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61774,7 +62685,7 @@ ] }, "type": { - "$id": "4977", + "$id": "5055", "kind": "model", "name": "ComputerActionTypeKeys", "namespace": "OpenAI", @@ -61789,25 +62700,25 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4978", + "$id": "5056", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a type action, this property is\nalways set to `type`.", "type": { - "$id": "4979", + "$id": "5057", "kind": "enumvalue", "name": "type", "value": "type", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "4923" + "$ref": "5001" }, "decorators": [] }, @@ -61825,13 +62736,13 @@ "isHttpMetadata": false }, { - "$id": "4980", + "$id": "5058", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text to type.", "type": { - "$id": "4981", + "$id": "5059", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61853,7 +62764,7 @@ ] }, "wait": { - "$id": "4982", + "$id": "5060", "kind": "model", "name": "ComputerActionWait", "namespace": "OpenAI", @@ -61868,25 +62779,25 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4983", + "$id": "5061", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a wait action, this property is\nalways set to `wait`.", "type": { - "$id": "4984", + "$id": "5062", "kind": "enumvalue", "name": "wait", "value": "wait", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "4923" + "$ref": "5001" }, "decorators": [] }, @@ -61906,7 +62817,7 @@ ] }, "keypress": { - "$id": "4985", + "$id": "5063", "kind": "model", "name": "ComputerActionKeyPress", "namespace": "OpenAI", @@ -61921,25 +62832,25 @@ } ], "baseModel": { - "$ref": "4918" + "$ref": "4996" }, "properties": [ { - "$id": "4986", + "$id": "5064", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a keypress action, this property is\nalways set to `keypress`.", "type": { - "$id": "4987", + "$id": "5065", "kind": "enumvalue", "name": "keypress", "value": "keypress", "valueType": { - "$ref": "644" + "$ref": "635" }, "enumType": { - "$ref": "4923" + "$ref": "5001" }, "decorators": [] }, @@ -61957,13 +62868,13 @@ "isHttpMetadata": false }, { - "$id": "4988", + "$id": "5066", "kind": "property", "name": "keys", "serializedName": "keys", "doc": "The combination of keys the model is requesting to be pressed. This is an\narray of strings, each representing a key.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -61996,17 +62907,17 @@ "isHttpMetadata": false }, { - "$id": "4989", + "$id": "5067", "kind": "property", "name": "pending_safety_checks", "serializedName": "pending_safety_checks", "doc": "The pending safety checks for the computer call.", "type": { - "$id": "4990", + "$id": "5068", "kind": "array", "name": "ArrayComputerToolCallSafetyCheck", "valueType": { - "$id": "4991", + "$id": "5069", "kind": "model", "name": "ComputerToolCallSafetyCheck", "namespace": "OpenAI", @@ -62021,13 +62932,13 @@ ], "properties": [ { - "$id": "4992", + "$id": "5070", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the pending safety check.", "type": { - "$id": "4993", + "$id": "5071", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62047,13 +62958,13 @@ "isHttpMetadata": false }, { - "$id": "4994", + "$id": "5072", "kind": "property", "name": "code", "serializedName": "code", "doc": "The type of the pending safety check.", "type": { - "$id": "4995", + "$id": "5073", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62073,13 +62984,13 @@ "isHttpMetadata": false }, { - "$id": "4996", + "$id": "5074", "kind": "property", "name": "message", "serializedName": "message", "doc": "Details about the pending safety check.", "type": { - "$id": "4997", + "$id": "5075", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62119,7 +63030,7 @@ ] }, "computer_call_output": { - "$id": "4998", + "$id": "5076", "kind": "model", "name": "ComputerToolCallOutputItemParam", "namespace": "OpenAI", @@ -62134,24 +63045,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "4999", + "$id": "5077", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5000", + "$id": "5078", "kind": "enumvalue", "name": "computer_call_output", "value": "computer_call_output", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -62169,13 +63080,13 @@ "isHttpMetadata": false }, { - "$id": "5001", + "$id": "5079", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the computer tool call that produced the output.", "type": { - "$id": "5002", + "$id": "5080", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62195,13 +63106,13 @@ "isHttpMetadata": false }, { - "$id": "5003", + "$id": "5081", "kind": "property", "name": "acknowledged_safety_checks", "serializedName": "acknowledged_safety_checks", "doc": "The safety checks reported by the API that have been acknowledged by the\ndeveloper.", "type": { - "$ref": "4990" + "$ref": "5068" }, "optional": true, "readOnly": false, @@ -62217,12 +63128,12 @@ "isHttpMetadata": false }, { - "$id": "5004", + "$id": "5082", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "5005", + "$id": "5083", "kind": "model", "name": "ComputerToolCallOutputItemOutput", "namespace": "OpenAI", @@ -62235,12 +63146,12 @@ } ], "discriminatorProperty": { - "$id": "5006", + "$id": "5084", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "661" + "$ref": "652" }, "optional": false, "readOnly": false, @@ -62257,12 +63168,12 @@ }, "properties": [ { - "$ref": "5006" + "$ref": "5084" } ], "discriminatedSubtypes": { "computer_screenshot": { - "$id": "5007", + "$id": "5085", "kind": "model", "name": "ComputerToolCallOutputItemOutputComputerScreenshot", "namespace": "OpenAI", @@ -62276,24 +63187,24 @@ } ], "baseModel": { - "$ref": "5005" + "$ref": "5083" }, "properties": [ { - "$id": "5008", + "$id": "5086", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5009", + "$id": "5087", "kind": "enumvalue", "name": "screenshot", "value": "computer_screenshot", "valueType": { - "$ref": "662" + "$ref": "653" }, "enumType": { - "$id": "5010", + "$id": "5088", "kind": "enum", "decorators": [], "doc": "A computer screenshot image used with the computer use tool.", @@ -62301,7 +63212,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "5011", + "$id": "5089", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -62310,16 +63221,16 @@ }, "values": [ { - "$id": "5012", + "$id": "5090", "kind": "enumvalue", "decorators": [], "name": "screenshot", "value": "computer_screenshot", "valueType": { - "$ref": "5011" + "$ref": "5089" }, "enumType": { - "$ref": "5010" + "$ref": "5088" } } ], @@ -62348,12 +63259,12 @@ "isHttpMetadata": false }, { - "$id": "5013", + "$id": "5091", "kind": "property", "name": "image_url", "serializedName": "image_url", "type": { - "$id": "5014", + "$id": "5092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62373,12 +63284,12 @@ "isHttpMetadata": false }, { - "$id": "5015", + "$id": "5093", "kind": "property", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "5016", + "$id": "5094", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62417,7 +63328,7 @@ ] }, "web_search_call": { - "$id": "5017", + "$id": "5095", "kind": "model", "name": "WebSearchToolCallItemParam", "namespace": "OpenAI", @@ -62432,24 +63343,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5018", + "$id": "5096", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5019", + "$id": "5097", "kind": "enumvalue", "name": "web_search_call", "value": "web_search_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -62469,7 +63380,7 @@ ] }, "function_call": { - "$id": "5020", + "$id": "5098", "kind": "model", "name": "FunctionToolCallItemParam", "namespace": "OpenAI", @@ -62484,24 +63395,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5021", + "$id": "5099", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5022", + "$id": "5100", "kind": "enumvalue", "name": "function_call", "value": "function_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -62519,13 +63430,13 @@ "isHttpMetadata": false }, { - "$id": "5023", + "$id": "5101", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "5024", + "$id": "5102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62545,13 +63456,13 @@ "isHttpMetadata": false }, { - "$id": "5025", + "$id": "5103", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to run.", "type": { - "$id": "5026", + "$id": "5104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62571,13 +63482,13 @@ "isHttpMetadata": false }, { - "$id": "5027", + "$id": "5105", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of the arguments to pass to the function.", "type": { - "$id": "5028", + "$id": "5106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62599,7 +63510,7 @@ ] }, "reasoning": { - "$id": "5029", + "$id": "5107", "kind": "model", "name": "ReasoningItemParam", "namespace": "OpenAI", @@ -62614,24 +63525,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5030", + "$id": "5108", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5031", + "$id": "5109", "kind": "enumvalue", "name": "reasoning", "value": "reasoning", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -62649,16 +63560,16 @@ "isHttpMetadata": false }, { - "$id": "5032", + "$id": "5110", "kind": "property", "name": "encrypted_content", "serializedName": "encrypted_content", "doc": "The encrypted content of the reasoning item - populated when a response is\ngenerated with `reasoning.encrypted_content` in the `include` parameter.", "type": { - "$id": "5033", + "$id": "5111", "kind": "nullable", "type": { - "$id": "5034", + "$id": "5112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62680,17 +63591,17 @@ "isHttpMetadata": false }, { - "$id": "5035", + "$id": "5113", "kind": "property", "name": "summary", "serializedName": "summary", "doc": "Reasoning text contents.", "type": { - "$id": "5036", + "$id": "5114", "kind": "array", "name": "ArrayReasoningItemSummaryPart", "valueType": { - "$id": "5037", + "$id": "5115", "kind": "model", "name": "ReasoningItemSummaryPart", "namespace": "OpenAI", @@ -62703,12 +63614,12 @@ } ], "discriminatorProperty": { - "$id": "5038", + "$id": "5116", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "664" + "$ref": "655" }, "optional": false, "readOnly": false, @@ -62725,12 +63636,12 @@ }, "properties": [ { - "$ref": "5038" + "$ref": "5116" } ], "discriminatedSubtypes": { "summary_text": { - "$id": "5039", + "$id": "5117", "kind": "model", "name": "ReasoningItemSummaryTextPart", "namespace": "OpenAI", @@ -62744,24 +63655,24 @@ } ], "baseModel": { - "$ref": "5037" + "$ref": "5115" }, "properties": [ { - "$id": "5040", + "$id": "5118", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5041", + "$id": "5119", "kind": "enumvalue", "name": "summary_text", "value": "summary_text", "valueType": { - "$ref": "665" + "$ref": "656" }, "enumType": { - "$id": "5042", + "$id": "5120", "kind": "enum", "decorators": [ { @@ -62773,7 +63684,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "5043", + "$id": "5121", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -62782,16 +63693,16 @@ }, "values": [ { - "$id": "5044", + "$id": "5122", "kind": "enumvalue", "decorators": [], "name": "summary_text", "value": "summary_text", "valueType": { - "$ref": "5043" + "$ref": "5121" }, "enumType": { - "$ref": "5042" + "$ref": "5120" } } ], @@ -62820,12 +63731,12 @@ "isHttpMetadata": false }, { - "$id": "5045", + "$id": "5123", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "5046", + "$id": "5124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62867,7 +63778,7 @@ ] }, "item_reference": { - "$id": "5047", + "$id": "5125", "kind": "model", "name": "ItemReferenceItemParam", "namespace": "OpenAI", @@ -62882,24 +63793,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5048", + "$id": "5126", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5049", + "$id": "5127", "kind": "enumvalue", "name": "item_reference", "value": "item_reference", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -62917,13 +63828,13 @@ "isHttpMetadata": false }, { - "$id": "5050", + "$id": "5128", "kind": "property", "name": "id", "serializedName": "id", "doc": "The service-originated ID of the previously generated response item being referenced.", "type": { - "$id": "5051", + "$id": "5129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62945,7 +63856,7 @@ ] }, "image_generation_call": { - "$id": "5052", + "$id": "5130", "kind": "model", "name": "ImageGenToolCallItemParam", "namespace": "OpenAI", @@ -62960,24 +63871,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5053", + "$id": "5131", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5054", + "$id": "5132", "kind": "enumvalue", "name": "image_generation_call", "value": "image_generation_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -62995,16 +63906,16 @@ "isHttpMetadata": false }, { - "$id": "5055", + "$id": "5133", "kind": "property", "name": "result", "serializedName": "result", "doc": "The generated image encoded in base64.", "type": { - "$id": "5056", + "$id": "5134", "kind": "nullable", "type": { - "$id": "5057", + "$id": "5135", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -63029,7 +63940,7 @@ ] }, "code_interpreter_call": { - "$id": "5058", + "$id": "5136", "kind": "model", "name": "CodeInterpreterToolCallItemParam", "namespace": "OpenAI", @@ -63044,24 +63955,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5059", + "$id": "5137", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5060", + "$id": "5138", "kind": "enumvalue", "name": "code_interpreter_call", "value": "code_interpreter_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -63079,13 +63990,13 @@ "isHttpMetadata": false }, { - "$id": "5061", + "$id": "5139", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The ID of the container used to run the code.", "type": { - "$id": "5062", + "$id": "5140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63105,13 +64016,13 @@ "isHttpMetadata": false }, { - "$id": "5063", + "$id": "5141", "kind": "property", "name": "code", "serializedName": "code", "doc": "The code to run.", "type": { - "$id": "5064", + "$id": "5142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63131,17 +64042,17 @@ "isHttpMetadata": false }, { - "$id": "5065", + "$id": "5143", "kind": "property", "name": "outputs", "serializedName": "outputs", "doc": "The outputs of the code interpreter tool call.", "type": { - "$id": "5066", + "$id": "5144", "kind": "array", "name": "ArrayCodeInterpreterToolOutput", "valueType": { - "$id": "5067", + "$id": "5145", "kind": "model", "name": "CodeInterpreterToolOutput", "namespace": "OpenAI", @@ -63154,13 +64065,13 @@ } ], "discriminatorProperty": { - "$id": "5068", + "$id": "5146", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output.", "type": { - "$ref": "667" + "$ref": "658" }, "optional": false, "readOnly": false, @@ -63177,12 +64088,12 @@ }, "properties": [ { - "$ref": "5068" + "$ref": "5146" } ], "discriminatedSubtypes": { "logs": { - "$id": "5069", + "$id": "5147", "kind": "model", "name": "CodeInterpreterToolLogsOutput", "namespace": "OpenAI", @@ -63196,25 +64107,25 @@ } ], "baseModel": { - "$ref": "5067" + "$ref": "5145" }, "properties": [ { - "$id": "5070", + "$id": "5148", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output. Always 'logs'.", "type": { - "$id": "5071", + "$id": "5149", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "668" + "$ref": "659" }, "enumType": { - "$id": "5072", + "$id": "5150", "kind": "enum", "decorators": [ { @@ -63226,7 +64137,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "5073", + "$id": "5151", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -63235,29 +64146,29 @@ }, "values": [ { - "$id": "5074", + "$id": "5152", "kind": "enumvalue", "decorators": [], "name": "logs", "value": "logs", "valueType": { - "$ref": "5073" + "$ref": "5151" }, "enumType": { - "$ref": "5072" + "$ref": "5150" } }, { - "$id": "5075", + "$id": "5153", "kind": "enumvalue", "decorators": [], "name": "image", "value": "image", "valueType": { - "$ref": "5073" + "$ref": "5151" }, "enumType": { - "$ref": "5072" + "$ref": "5150" } } ], @@ -63286,13 +64197,13 @@ "isHttpMetadata": false }, { - "$id": "5076", + "$id": "5154", "kind": "property", "name": "logs", "serializedName": "logs", "doc": "The logs output from the code interpreter.", "type": { - "$id": "5077", + "$id": "5155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63314,7 +64225,7 @@ ] }, "image": { - "$id": "5078", + "$id": "5156", "kind": "model", "name": "CodeInterpreterToolImageOutput", "namespace": "OpenAI", @@ -63328,25 +64239,25 @@ } ], "baseModel": { - "$ref": "5067" + "$ref": "5145" }, "properties": [ { - "$id": "5079", + "$id": "5157", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output. Always 'image'.", "type": { - "$id": "5080", + "$id": "5158", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "668" + "$ref": "659" }, "enumType": { - "$ref": "5072" + "$ref": "5150" }, "decorators": [] }, @@ -63364,13 +64275,13 @@ "isHttpMetadata": false }, { - "$id": "5081", + "$id": "5159", "kind": "property", "name": "ImageUri", "serializedName": "url", "doc": "The URL of the image output from the code interpreter.", "type": { - "$id": "5082", + "$id": "5160", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -63412,7 +64323,7 @@ ] }, "local_shell_call": { - "$id": "5083", + "$id": "5161", "kind": "model", "name": "LocalShellToolCallItemParam", "namespace": "OpenAI", @@ -63427,24 +64338,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5084", + "$id": "5162", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5085", + "$id": "5163", "kind": "enumvalue", "name": "local_shell_call", "value": "local_shell_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -63462,13 +64373,13 @@ "isHttpMetadata": false }, { - "$id": "5086", + "$id": "5164", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the local shell tool call generated by the model.", "type": { - "$id": "5087", + "$id": "5165", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63488,12 +64399,12 @@ "isHttpMetadata": false }, { - "$id": "5088", + "$id": "5166", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$id": "5089", + "$id": "5167", "kind": "model", "name": "LocalShellExecAction", "namespace": "OpenAI", @@ -63508,13 +64419,13 @@ ], "properties": [ { - "$id": "5090", + "$id": "5168", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the local shell action. Always `exec`.", "type": { - "$ref": "1668" + "$ref": "1790" }, "optional": false, "readOnly": false, @@ -63530,13 +64441,13 @@ "isHttpMetadata": false }, { - "$id": "5091", + "$id": "5169", "kind": "property", "name": "command", "serializedName": "command", "doc": "The command to run.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -63552,16 +64463,16 @@ "isHttpMetadata": false }, { - "$id": "5092", + "$id": "5170", "kind": "property", "name": "timeout_ms", "serializedName": "timeout_ms", "doc": "Optional timeout in milliseconds for the command.", "type": { - "$id": "5093", + "$id": "5171", "kind": "nullable", "type": { - "$id": "5094", + "$id": "5172", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63583,16 +64494,16 @@ "isHttpMetadata": false }, { - "$id": "5095", + "$id": "5173", "kind": "property", "name": "working_directory", "serializedName": "working_directory", "doc": "Optional working directory to run the command in.", "type": { - "$id": "5096", + "$id": "5174", "kind": "nullable", "type": { - "$id": "5097", + "$id": "5175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63614,13 +64525,13 @@ "isHttpMetadata": false }, { - "$id": "5098", + "$id": "5176", "kind": "property", "name": "env", "serializedName": "env", "doc": "Environment variables to set for the command.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": false, "readOnly": false, @@ -63636,16 +64547,16 @@ "isHttpMetadata": false }, { - "$id": "5099", + "$id": "5177", "kind": "property", "name": "user", "serializedName": "user", "doc": "Optional user to run the command as.", "type": { - "$id": "5100", + "$id": "5178", "kind": "nullable", "type": { - "$id": "5101", + "$id": "5179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63684,7 +64595,7 @@ ] }, "local_shell_call_output": { - "$id": "5102", + "$id": "5180", "kind": "model", "name": "LocalShellToolCallOutputItemParam", "namespace": "OpenAI", @@ -63699,24 +64610,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5103", + "$id": "5181", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5104", + "$id": "5182", "kind": "enumvalue", "name": "local_shell_call_output", "value": "local_shell_call_output", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -63734,13 +64645,13 @@ "isHttpMetadata": false }, { - "$id": "5105", + "$id": "5183", "kind": "property", "name": "output", "serializedName": "output", "doc": "A JSON string of the output of the local shell tool call.", "type": { - "$id": "5106", + "$id": "5184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63762,7 +64673,7 @@ ] }, "mcp_list_tools": { - "$id": "5107", + "$id": "5185", "kind": "model", "name": "MCPListToolsItemParam", "namespace": "OpenAI", @@ -63777,24 +64688,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5108", + "$id": "5186", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5109", + "$id": "5187", "kind": "enumvalue", "name": "mcp_list_tools", "value": "mcp_list_tools", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -63812,13 +64723,13 @@ "isHttpMetadata": false }, { - "$id": "5110", + "$id": "5188", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server.", "type": { - "$id": "5111", + "$id": "5189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63838,17 +64749,17 @@ "isHttpMetadata": false }, { - "$id": "5112", + "$id": "5190", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools available on the server.", "type": { - "$id": "5113", + "$id": "5191", "kind": "array", "name": "ArrayMcpListToolsTool", "valueType": { - "$id": "5114", + "$id": "5192", "kind": "model", "name": "MCPListToolsTool", "namespace": "OpenAI", @@ -63863,13 +64774,13 @@ ], "properties": [ { - "$id": "5115", + "$id": "5193", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool.", "type": { - "$id": "5116", + "$id": "5194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63889,16 +64800,16 @@ "isHttpMetadata": false }, { - "$id": "5117", + "$id": "5195", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the tool.", "type": { - "$id": "5118", + "$id": "5196", "kind": "nullable", "type": { - "$id": "5119", + "$id": "5197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63920,13 +64831,13 @@ "isHttpMetadata": false }, { - "$id": "5120", + "$id": "5198", "kind": "property", "name": "input_schema", "serializedName": "input_schema", "doc": "The JSON schema describing the tool's input.", "type": { - "$id": "5121", + "$id": "5199", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -63946,16 +64857,16 @@ "isHttpMetadata": false }, { - "$id": "5122", + "$id": "5200", "kind": "property", "name": "annotations", "serializedName": "annotations", "doc": "Additional annotations about the tool.", "type": { - "$id": "5123", + "$id": "5201", "kind": "nullable", "type": { - "$id": "5124", + "$id": "5202", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -63995,16 +64906,16 @@ "isHttpMetadata": false }, { - "$id": "5125", + "$id": "5203", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error message if the server could not list tools.", "type": { - "$id": "5126", + "$id": "5204", "kind": "nullable", "type": { - "$id": "5127", + "$id": "5205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64028,7 +64939,7 @@ ] }, "mcp_approval_request": { - "$id": "5128", + "$id": "5206", "kind": "model", "name": "MCPApprovalRequestItemParam", "namespace": "OpenAI", @@ -64043,24 +64954,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5129", + "$id": "5207", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5130", + "$id": "5208", "kind": "enumvalue", "name": "mcp_approval_request", "value": "mcp_approval_request", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -64078,13 +64989,13 @@ "isHttpMetadata": false }, { - "$id": "5131", + "$id": "5209", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server making the request.", "type": { - "$id": "5132", + "$id": "5210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64104,13 +65015,13 @@ "isHttpMetadata": false }, { - "$id": "5133", + "$id": "5211", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool to run.", "type": { - "$id": "5134", + "$id": "5212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64130,13 +65041,13 @@ "isHttpMetadata": false }, { - "$id": "5135", + "$id": "5213", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of arguments for the tool.", "type": { - "$id": "5136", + "$id": "5214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64158,7 +65069,7 @@ ] }, "mcp_approval_response": { - "$id": "5137", + "$id": "5215", "kind": "model", "name": "MCPApprovalResponseItemParam", "namespace": "OpenAI", @@ -64173,24 +65084,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5138", + "$id": "5216", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5139", + "$id": "5217", "kind": "enumvalue", "name": "mcp_approval_response", "value": "mcp_approval_response", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -64208,13 +65119,13 @@ "isHttpMetadata": false }, { - "$id": "5140", + "$id": "5218", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request being answered.", "type": { - "$id": "5141", + "$id": "5219", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64234,13 +65145,13 @@ "isHttpMetadata": false }, { - "$id": "5142", + "$id": "5220", "kind": "property", "name": "approve", "serializedName": "approve", "doc": "Whether the request was approved.", "type": { - "$id": "5143", + "$id": "5221", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -64260,16 +65171,16 @@ "isHttpMetadata": false }, { - "$id": "5144", + "$id": "5222", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "Optional reason for the decision.", "type": { - "$id": "5145", + "$id": "5223", "kind": "nullable", "type": { - "$id": "5146", + "$id": "5224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64293,7 +65204,7 @@ ] }, "mcp_call": { - "$id": "5147", + "$id": "5225", "kind": "model", "name": "MCPCallItemParam", "namespace": "OpenAI", @@ -64308,24 +65219,24 @@ } ], "baseModel": { - "$ref": "4841" + "$ref": "4919" }, "properties": [ { - "$id": "5148", + "$id": "5226", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5149", + "$id": "5227", "kind": "enumvalue", "name": "mcp_call", "value": "mcp_call", "valueType": { - "$ref": "619" + "$ref": "610" }, "enumType": { - "$ref": "4847" + "$ref": "4925" }, "decorators": [] }, @@ -64343,13 +65254,13 @@ "isHttpMetadata": false }, { - "$id": "5150", + "$id": "5228", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server running the tool.", "type": { - "$id": "5151", + "$id": "5229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64369,13 +65280,13 @@ "isHttpMetadata": false }, { - "$id": "5152", + "$id": "5230", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool that was run.", "type": { - "$id": "5153", + "$id": "5231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64395,13 +65306,13 @@ "isHttpMetadata": false }, { - "$id": "5154", + "$id": "5232", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of the arguments passed to the tool.", "type": { - "$id": "5155", + "$id": "5233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64421,16 +65332,16 @@ "isHttpMetadata": false }, { - "$id": "5156", + "$id": "5234", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output from the tool call.", "type": { - "$id": "5157", + "$id": "5235", "kind": "nullable", "type": { - "$id": "5158", + "$id": "5236", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64452,16 +65363,16 @@ "isHttpMetadata": false }, { - "$id": "5159", + "$id": "5237", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error from the tool call, if any.", "type": { - "$id": "5160", + "$id": "5238", "kind": "nullable", "type": { - "$id": "5161", + "$id": "5239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64511,20 +65422,20 @@ "isHttpMetadata": false }, { - "$id": "5162", + "$id": "5240", "kind": "property", "name": "include", "serializedName": "include", "doc": "Specify additional output data to include in the model response. Currently\nsupported values are:\n- `file_search_call.results`: Include the search results of\n the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning\n tokens in reasoning item outputs. This enables reasoning items to be used in\n multi-turn conversations when using the Responses API statelessly (like\n when the `store` parameter is set to `false`, or when an organization is\n enrolled in the zero data retention program).\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution\n in code interpreter tool call items.", "type": { - "$id": "5163", + "$id": "5241", "kind": "nullable", "type": { - "$id": "5164", + "$id": "5242", "kind": "array", "name": "ArrayIncludable", "valueType": { - "$ref": "671" + "$ref": "662" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -64545,16 +65456,16 @@ "isHttpMetadata": false }, { - "$id": "5165", + "$id": "5243", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "doc": "Whether to allow the model to run tool calls in parallel.", "type": { - "$id": "5166", + "$id": "5244", "kind": "nullable", "type": { - "$id": "5167", + "$id": "5245", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -64576,16 +65487,16 @@ "isHttpMetadata": false }, { - "$id": "5168", + "$id": "5246", "kind": "property", "name": "store", "serializedName": "store", "doc": "Whether to store the generated model response for later retrieval via\nAPI.", "type": { - "$id": "5169", + "$id": "5247", "kind": "nullable", "type": { - "$id": "5170", + "$id": "5248", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -64607,16 +65518,16 @@ "isHttpMetadata": false }, { - "$id": "5171", + "$id": "5249", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If set to true, the model response data will be streamed to the client\nas it is generated using [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).\nSee the [Streaming section below](/docs/api-reference/responses-streaming)\nfor more information.", "type": { - "$id": "5172", + "$id": "5250", "kind": "nullable", "type": { - "$id": "5173", + "$id": "5251", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -64638,13 +65549,13 @@ "isHttpMetadata": false }, { - "$id": "5174", + "$id": "5252", "kind": "property", "name": "ConversationId", "serializedName": "conversation", "doc": "The conversation that this response belongs to.\nItems from this conversation are prepended to input_items for this response request.\nInput items and output items from this response are automatically added to this conversation after this response completes.", "type": { - "$id": "5175", + "$id": "5253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64666,217 +65577,217 @@ ] }, { - "$ref": "4645" + "$ref": "4723" }, { - "$ref": "4665" + "$ref": "4743" }, { - "$ref": "4670" + "$ref": "4748" }, { - "$ref": "4672" + "$ref": "4750" }, { - "$ref": "4684" + "$ref": "4762" }, { - "$ref": "4687" + "$ref": "4765" }, { - "$ref": "4690" + "$ref": "4768" }, { - "$ref": "4693" + "$ref": "4771" }, { - "$ref": "4696" + "$ref": "4774" }, { - "$ref": "4699" + "$ref": "4777" }, { - "$ref": "4711" + "$ref": "4789" }, { - "$ref": "4716" + "$ref": "4794" }, { - "$ref": "4718" + "$ref": "4796" }, { - "$ref": "4733" + "$ref": "4811" }, { - "$ref": "4740" + "$ref": "4818" }, { - "$ref": "4745" + "$ref": "4823" }, { - "$ref": "4750" + "$ref": "4828" }, { - "$ref": "4760" + "$ref": "4838" }, { - "$ref": "4770" + "$ref": "4848" }, { - "$ref": "4777" + "$ref": "4855" }, { - "$ref": "4779" + "$ref": "4857" }, { - "$ref": "4794" + "$ref": "4872" }, { - "$ref": "4805" + "$ref": "4883" }, { - "$ref": "4818" + "$ref": "4896" }, { - "$ref": "4827" + "$ref": "4905" }, { - "$ref": "4835" + "$ref": "4913" }, { - "$ref": "4841" + "$ref": "4919" }, { - "$ref": "4843" + "$ref": "4921" }, { - "$ref": "4866" + "$ref": "4944" }, { - "$ref": "4876" + "$ref": "4954" }, { - "$ref": "4880" + "$ref": "4958" }, { - "$ref": "4884" + "$ref": "4962" }, { - "$ref": "4888" + "$ref": "4966" }, { - "$ref": "4895" + "$ref": "4973" }, { - "$ref": "4902" + "$ref": "4980" }, { - "$ref": "4912" + "$ref": "4990" }, { - "$ref": "4918" + "$ref": "4996" }, { - "$ref": "4920" + "$ref": "4998" }, { - "$ref": "4939" + "$ref": "5017" }, { - "$ref": "4946" + "$ref": "5024" }, { - "$ref": "4951" + "$ref": "5029" }, { - "$ref": "4956" + "$ref": "5034" }, { - "$ref": "4963" + "$ref": "5041" }, { - "$ref": "4966" + "$ref": "5044" }, { - "$ref": "4977" + "$ref": "5055" }, { - "$ref": "4982" + "$ref": "5060" }, { - "$ref": "4985" + "$ref": "5063" }, { - "$ref": "4991" + "$ref": "5069" }, { - "$ref": "4998" + "$ref": "5076" }, { - "$ref": "5005" + "$ref": "5083" }, { - "$ref": "5007" + "$ref": "5085" }, { - "$ref": "5017" + "$ref": "5095" }, { - "$ref": "5020" + "$ref": "5098" }, { - "$ref": "5029" + "$ref": "5107" }, { - "$ref": "5037" + "$ref": "5115" }, { - "$ref": "5039" + "$ref": "5117" }, { - "$ref": "5047" + "$ref": "5125" }, { - "$ref": "5052" + "$ref": "5130" }, { - "$ref": "5058" + "$ref": "5136" }, { - "$ref": "5067" + "$ref": "5145" }, { - "$ref": "5069" + "$ref": "5147" }, { - "$ref": "5078" + "$ref": "5156" }, { - "$ref": "5083" + "$ref": "5161" }, { - "$ref": "5089" + "$ref": "5167" }, { - "$ref": "5102" + "$ref": "5180" }, { - "$ref": "5107" + "$ref": "5185" }, { - "$ref": "5114" + "$ref": "5192" }, { - "$ref": "5128" + "$ref": "5206" }, { - "$ref": "5137" + "$ref": "5215" }, { - "$ref": "5147" + "$ref": "5225" }, { - "$id": "5176", + "$id": "5254", "kind": "model", "name": "Response", "namespace": "OpenAI", @@ -64890,13 +65801,13 @@ ], "properties": [ { - "$id": "5177", + "$id": "5255", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -64912,16 +65823,16 @@ "isHttpMetadata": false }, { - "$id": "5178", + "$id": "5256", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.", "type": { - "$id": "5179", + "$id": "5257", "kind": "nullable", "type": { - "$id": "5180", + "$id": "5258", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -64943,16 +65854,16 @@ "isHttpMetadata": false }, { - "$id": "5181", + "$id": "5259", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "doc": "An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability.", "type": { - "$id": "5182", + "$id": "5260", "kind": "nullable", "type": { - "$id": "5183", + "$id": "5261", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -64974,16 +65885,16 @@ "isHttpMetadata": false }, { - "$id": "5184", + "$id": "5262", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.", "type": { - "$id": "5185", + "$id": "5263", "kind": "nullable", "type": { - "$id": "5186", + "$id": "5264", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -65005,16 +65916,16 @@ "isHttpMetadata": false }, { - "$id": "5187", + "$id": "5265", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "5188", + "$id": "5266", "kind": "nullable", "type": { - "$id": "5189", + "$id": "5267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65036,13 +65947,13 @@ "isHttpMetadata": false }, { - "$id": "5190", + "$id": "5268", "kind": "property", "name": "safety_identifier", "serializedName": "safety_identifier", "doc": "A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\n The IDs should be a string that uniquely identifies each user. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).", "type": { - "$id": "5191", + "$id": "5269", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65062,12 +65973,12 @@ "isHttpMetadata": false }, { - "$id": "5192", + "$id": "5270", "kind": "property", "name": "service_tier", "serializedName": "service_tier", "type": { - "$ref": "497" + "$ref": "488" }, "optional": true, "readOnly": false, @@ -65083,13 +65994,13 @@ "isHttpMetadata": false }, { - "$id": "5193", + "$id": "5271", "kind": "property", "name": "previous_response_id", "serializedName": "previous_response_id", "doc": "The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](/docs/guides/conversation-state).", "type": { - "$ref": "4640" + "$ref": "4718" }, "optional": true, "readOnly": false, @@ -65105,13 +66016,13 @@ "isHttpMetadata": false }, { - "$id": "5194", + "$id": "5272", "kind": "property", "name": "model", "serializedName": "model", "doc": "Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI\noffers a wide range of models with different capabilities, performance\ncharacteristics, and price points. Refer to the [model guide](/docs/models)\nto browse and compare available models.", "type": { - "$ref": "503" + "$ref": "494" }, "optional": true, "readOnly": false, @@ -65127,12 +66038,12 @@ "isHttpMetadata": false }, { - "$id": "5195", + "$id": "5273", "kind": "property", "name": "reasoning", "serializedName": "reasoning", "type": { - "$ref": "4644" + "$ref": "4722" }, "optional": true, "readOnly": false, @@ -65148,13 +66059,13 @@ "isHttpMetadata": false }, { - "$id": "5196", + "$id": "5274", "kind": "property", "name": "background", "serializedName": "background", "doc": "Whether to run the model response in the background.\n[Learn more](/docs/guides/background).", "type": { - "$ref": "4653" + "$ref": "4731" }, "optional": true, "readOnly": false, @@ -65170,13 +66081,13 @@ "isHttpMetadata": false }, { - "$id": "5197", + "$id": "5275", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).", "type": { - "$ref": "4656" + "$ref": "4734" }, "optional": true, "readOnly": false, @@ -65192,13 +66103,13 @@ "isHttpMetadata": false }, { - "$id": "5198", + "$id": "5276", "kind": "property", "name": "max_tool_calls", "serializedName": "max_tool_calls", "doc": "The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.", "type": { - "$ref": "4659" + "$ref": "4737" }, "optional": true, "readOnly": false, @@ -65214,13 +66125,13 @@ "isHttpMetadata": false }, { - "$id": "5199", + "$id": "5277", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Inserts a system (or developer) message as the first item in the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.", "type": { - "$ref": "4662" + "$ref": "4740" }, "optional": true, "readOnly": false, @@ -65236,13 +66147,13 @@ "isHttpMetadata": false }, { - "$id": "5200", + "$id": "5278", "kind": "property", "name": "text", "serializedName": "text", "doc": "Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Structured Outputs](/docs/guides/structured-outputs)", "type": { - "$ref": "4665" + "$ref": "4743" }, "optional": true, "readOnly": false, @@ -65258,13 +66169,13 @@ "isHttpMetadata": false }, { - "$id": "5201", + "$id": "5279", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nThe two categories of tools you can provide the model are:\n\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](/docs/guides/tools-web-search)\n or [file search](/docs/guides/tools-file-search). Learn more about\n [built-in tools](/docs/guides/tools).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code. Learn more about\n [function calling](/docs/guides/function-calling).", "type": { - "$ref": "4348" + "$ref": "4426" }, "optional": true, "readOnly": false, @@ -65280,13 +66191,13 @@ "isHttpMetadata": false }, { - "$id": "5202", + "$id": "5280", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.", "type": { - "$ref": "4669" + "$ref": "4747" }, "optional": true, "readOnly": false, @@ -65302,13 +66213,13 @@ "isHttpMetadata": false }, { - "$id": "5203", + "$id": "5281", "kind": "property", "name": "truncation", "serializedName": "truncation", "doc": "The truncation strategy to use for the model response.\n- `auto`: If the context of this response and previous ones exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping input items in the\n middle of the conversation.\n- `disabled` (default): If a model response will exceed the context window\n size for a model, the request will fail with a 400 error.", "type": { - "$ref": "4705" + "$ref": "4783" }, "optional": true, "readOnly": false, @@ -65324,13 +66235,13 @@ "isHttpMetadata": false }, { - "$id": "5204", + "$id": "5282", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for this Response.", "type": { - "$id": "5205", + "$id": "5283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65350,13 +66261,13 @@ "isHttpMetadata": false }, { - "$id": "5206", + "$id": "5284", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type of this resource - always set to `response`.", "type": { - "$ref": "1670" + "$ref": "1792" }, "optional": false, "readOnly": false, @@ -65372,13 +66283,13 @@ "isHttpMetadata": false }, { - "$id": "5207", + "$id": "5285", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.", "type": { - "$ref": "678" + "$ref": "669" }, "optional": true, "readOnly": false, @@ -65394,18 +66305,18 @@ "isHttpMetadata": false }, { - "$id": "5208", + "$id": "5286", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) of when this Response was created.", "type": { - "$id": "5209", + "$id": "5287", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5210", + "$id": "5288", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65428,15 +66339,15 @@ "isHttpMetadata": false }, { - "$id": "5211", + "$id": "5289", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "5212", + "$id": "5290", "kind": "nullable", "type": { - "$id": "5213", + "$id": "5291", "kind": "model", "name": "ResponseError", "namespace": "OpenAI", @@ -65451,12 +66362,12 @@ ], "properties": [ { - "$id": "5214", + "$id": "5292", "kind": "property", "name": "code", "serializedName": "code", "type": { - "$ref": "686" + "$ref": "677" }, "optional": false, "readOnly": false, @@ -65472,13 +66383,13 @@ "isHttpMetadata": false }, { - "$id": "5215", + "$id": "5293", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "5216", + "$id": "5294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65515,16 +66426,16 @@ "isHttpMetadata": false }, { - "$id": "5217", + "$id": "5295", "kind": "property", "name": "incomplete_details", "serializedName": "incomplete_details", "doc": "Details about why the response is incomplete.", "type": { - "$id": "5218", + "$id": "5296", "kind": "nullable", "type": { - "$id": "5219", + "$id": "5297", "kind": "model", "name": "ResponseIncompleteDetails1", "namespace": "OpenAI", @@ -65533,13 +66444,13 @@ "decorators": [], "properties": [ { - "$id": "5220", + "$id": "5298", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason why the response is incomplete.", "type": { - "$ref": "706" + "$ref": "697" }, "optional": true, "readOnly": false, @@ -65572,17 +66483,17 @@ "isHttpMetadata": false }, { - "$id": "5221", + "$id": "5299", "kind": "property", "name": "output", "serializedName": "output", "doc": "An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.", "type": { - "$id": "5222", + "$id": "5300", "kind": "array", "name": "ArrayItemResource", "valueType": { - "$id": "5223", + "$id": "5301", "kind": "model", "name": "ItemResource", "namespace": "OpenAI", @@ -65596,12 +66507,12 @@ } ], "discriminatorProperty": { - "$id": "5224", + "$id": "5302", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "618" + "$ref": "609" }, "optional": false, "readOnly": false, @@ -65618,15 +66529,15 @@ }, "properties": [ { - "$ref": "5224" + "$ref": "5302" }, { - "$id": "5225", + "$id": "5303", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5226", + "$id": "5304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65648,7 +66559,7 @@ ], "discriminatedSubtypes": { "message": { - "$id": "5227", + "$id": "5305", "kind": "model", "name": "ResponsesMessageItemResource", "namespace": "OpenAI", @@ -65663,13 +66574,13 @@ } ], "discriminatorProperty": { - "$id": "5228", + "$id": "5306", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role associated with the message.", "type": { - "$ref": "637" + "$ref": "628" }, "optional": false, "readOnly": false, @@ -65685,17 +66596,17 @@ "isHttpMetadata": false }, "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5229", + "$id": "5307", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the responses item, which is always 'message'.", "type": { - "$ref": "4846" + "$ref": "4924" }, "optional": false, "readOnly": false, @@ -65711,13 +66622,13 @@ "isHttpMetadata": false }, { - "$id": "5230", + "$id": "5308", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.", "type": { - "$ref": "710" + "$ref": "701" }, "optional": false, "readOnly": true, @@ -65733,12 +66644,12 @@ "isHttpMetadata": false }, { - "$ref": "5228" + "$ref": "5306" } ], "discriminatedSubtypes": { "user": { - "$id": "5231", + "$id": "5309", "kind": "model", "name": "ResponsesUserMessageItemResource", "namespace": "OpenAI", @@ -65753,17 +66664,17 @@ } ], "baseModel": { - "$ref": "5227" + "$ref": "5305" }, "properties": [ { - "$id": "5232", + "$id": "5310", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `user`.", "type": { - "$ref": "4868" + "$ref": "4946" }, "optional": false, "readOnly": false, @@ -65779,13 +66690,13 @@ "isHttpMetadata": false }, { - "$id": "5233", + "$id": "5311", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4715" + "$ref": "4793" }, "optional": false, "readOnly": false, @@ -65803,7 +66714,7 @@ ] }, "system": { - "$id": "5234", + "$id": "5312", "kind": "model", "name": "ResponsesSystemMessageItemResource", "namespace": "OpenAI", @@ -65818,17 +66729,17 @@ } ], "baseModel": { - "$ref": "5227" + "$ref": "5305" }, "properties": [ { - "$id": "5235", + "$id": "5313", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `system`.", "type": { - "$ref": "4878" + "$ref": "4956" }, "optional": false, "readOnly": false, @@ -65844,13 +66755,13 @@ "isHttpMetadata": false }, { - "$id": "5236", + "$id": "5314", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4715" + "$ref": "4793" }, "optional": false, "readOnly": false, @@ -65868,7 +66779,7 @@ ] }, "developer": { - "$id": "5237", + "$id": "5315", "kind": "model", "name": "ResponsesDeveloperMessageItemResource", "namespace": "OpenAI", @@ -65883,17 +66794,17 @@ } ], "baseModel": { - "$ref": "5227" + "$ref": "5305" }, "properties": [ { - "$id": "5238", + "$id": "5316", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `developer`.", "type": { - "$ref": "4882" + "$ref": "4960" }, "optional": false, "readOnly": false, @@ -65909,13 +66820,13 @@ "isHttpMetadata": false }, { - "$id": "5239", + "$id": "5317", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4715" + "$ref": "4793" }, "optional": false, "readOnly": false, @@ -65933,7 +66844,7 @@ ] }, "assistant": { - "$id": "5240", + "$id": "5318", "kind": "model", "name": "ResponsesAssistantMessageItemResource", "namespace": "OpenAI", @@ -65948,17 +66859,17 @@ } ], "baseModel": { - "$ref": "5227" + "$ref": "5305" }, "properties": [ { - "$id": "5241", + "$id": "5319", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `assistant`.", "type": { - "$ref": "4886" + "$ref": "4964" }, "optional": false, "readOnly": false, @@ -65974,13 +66885,13 @@ "isHttpMetadata": false }, { - "$id": "5242", + "$id": "5320", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4715" + "$ref": "4793" }, "optional": false, "readOnly": false, @@ -66000,7 +66911,7 @@ } }, "computer_call_output": { - "$id": "5243", + "$id": "5321", "kind": "model", "name": "ComputerToolCallOutputItemResource", "namespace": "OpenAI", @@ -66015,16 +66926,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5244", + "$id": "5322", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5000" + "$ref": "5078" }, "optional": false, "readOnly": false, @@ -66040,13 +66951,13 @@ "isHttpMetadata": false }, { - "$id": "5245", + "$id": "5323", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.", "type": { - "$ref": "715" + "$ref": "706" }, "optional": false, "readOnly": true, @@ -66062,13 +66973,13 @@ "isHttpMetadata": false }, { - "$id": "5246", + "$id": "5324", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the computer tool call that produced the output.", "type": { - "$id": "5247", + "$id": "5325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66088,13 +66999,13 @@ "isHttpMetadata": false }, { - "$id": "5248", + "$id": "5326", "kind": "property", "name": "acknowledged_safety_checks", "serializedName": "acknowledged_safety_checks", "doc": "The safety checks reported by the API that have been acknowledged by the\ndeveloper.", "type": { - "$ref": "4990" + "$ref": "5068" }, "optional": true, "readOnly": false, @@ -66110,12 +67021,12 @@ "isHttpMetadata": false }, { - "$id": "5249", + "$id": "5327", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$ref": "5005" + "$ref": "5083" }, "optional": false, "readOnly": false, @@ -66133,7 +67044,7 @@ ] }, "function_call": { - "$id": "5250", + "$id": "5328", "kind": "model", "name": "FunctionToolCallItemResource", "namespace": "OpenAI", @@ -66148,16 +67059,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5251", + "$id": "5329", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5022" + "$ref": "5100" }, "optional": false, "readOnly": false, @@ -66173,13 +67084,13 @@ "isHttpMetadata": false }, { - "$id": "5252", + "$id": "5330", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.", "type": { - "$ref": "720" + "$ref": "711" }, "optional": false, "readOnly": true, @@ -66195,13 +67106,13 @@ "isHttpMetadata": false }, { - "$id": "5253", + "$id": "5331", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "5254", + "$id": "5332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66221,13 +67132,13 @@ "isHttpMetadata": false }, { - "$id": "5255", + "$id": "5333", "kind": "property", "name": "FunctionName", "serializedName": "name", "doc": "The name of the function to run.", "type": { - "$id": "5256", + "$id": "5334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66247,13 +67158,13 @@ "isHttpMetadata": false }, { - "$id": "5257", + "$id": "5335", "kind": "property", "name": "FunctionArguments", "serializedName": "arguments", "doc": "A JSON string of the arguments to pass to the function.", "type": { - "$id": "5258", + "$id": "5336", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -66275,7 +67186,7 @@ ] }, "function_call_output": { - "$id": "5259", + "$id": "5337", "kind": "model", "name": "FunctionToolCallOutputItemResource", "namespace": "OpenAI", @@ -66290,16 +67201,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5260", + "$id": "5338", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4890" + "$ref": "4968" }, "optional": false, "readOnly": false, @@ -66315,13 +67226,13 @@ "isHttpMetadata": false }, { - "$id": "5261", + "$id": "5339", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.", "type": { - "$ref": "725" + "$ref": "716" }, "optional": false, "readOnly": true, @@ -66337,13 +67248,13 @@ "isHttpMetadata": false }, { - "$id": "5262", + "$id": "5340", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "5263", + "$id": "5341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66363,13 +67274,13 @@ "isHttpMetadata": false }, { - "$id": "5264", + "$id": "5342", "kind": "property", "name": "FunctionOutput", "serializedName": "output", "doc": "A JSON string of the output of the function tool call.", "type": { - "$id": "5265", + "$id": "5343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66391,7 +67302,7 @@ ] }, "mcp_approval_response": { - "$id": "5266", + "$id": "5344", "kind": "model", "name": "MCPApprovalResponseItemResource", "namespace": "OpenAI", @@ -66406,16 +67317,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5267", + "$id": "5345", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5139" + "$ref": "5217" }, "optional": false, "readOnly": false, @@ -66431,13 +67342,13 @@ "isHttpMetadata": false }, { - "$id": "5268", + "$id": "5346", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request being answered.", "type": { - "$id": "5269", + "$id": "5347", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66457,13 +67368,13 @@ "isHttpMetadata": false }, { - "$id": "5270", + "$id": "5348", "kind": "property", "name": "Approved", "serializedName": "approve", "doc": "Whether the request was approved.", "type": { - "$id": "5271", + "$id": "5349", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -66483,13 +67394,13 @@ "isHttpMetadata": false }, { - "$id": "5272", + "$id": "5350", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "Optional reason for the decision.", "type": { - "$ref": "5145" + "$ref": "5223" }, "optional": true, "readOnly": false, @@ -66507,7 +67418,7 @@ ] }, "file_search_call": { - "$id": "5273", + "$id": "5351", "kind": "model", "name": "FileSearchToolCallItemResource", "namespace": "OpenAI", @@ -66522,16 +67433,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5274", + "$id": "5352", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4897" + "$ref": "4975" }, "optional": false, "readOnly": false, @@ -66547,13 +67458,13 @@ "isHttpMetadata": false }, { - "$id": "5275", + "$id": "5353", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the file search tool call. One of `in_progress`, \n`searching`, `incomplete` or `failed`,", "type": { - "$ref": "730" + "$ref": "721" }, "optional": false, "readOnly": true, @@ -66569,13 +67480,13 @@ "isHttpMetadata": false }, { - "$id": "5276", + "$id": "5354", "kind": "property", "name": "queries", "serializedName": "queries", "doc": "The queries used to search for files.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -66591,13 +67502,13 @@ "isHttpMetadata": false }, { - "$id": "5277", + "$id": "5355", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search tool call.", "type": { - "$ref": "4900" + "$ref": "4978" }, "optional": true, "readOnly": false, @@ -66615,7 +67526,7 @@ ] }, "computer_call": { - "$id": "5278", + "$id": "5356", "kind": "model", "name": "ComputerToolCallItemResource", "namespace": "OpenAI", @@ -66630,16 +67541,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5279", + "$id": "5357", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4914" + "$ref": "4992" }, "optional": false, "readOnly": false, @@ -66655,13 +67566,13 @@ "isHttpMetadata": false }, { - "$id": "5280", + "$id": "5358", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.", "type": { - "$ref": "737" + "$ref": "728" }, "optional": false, "readOnly": true, @@ -66677,13 +67588,13 @@ "isHttpMetadata": false }, { - "$id": "5281", + "$id": "5359", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "An identifier used when responding to the tool call with output.", "type": { - "$id": "5282", + "$id": "5360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66703,12 +67614,12 @@ "isHttpMetadata": false }, { - "$id": "5283", + "$id": "5361", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$ref": "4918" + "$ref": "4996" }, "optional": false, "readOnly": false, @@ -66724,13 +67635,13 @@ "isHttpMetadata": false }, { - "$id": "5284", + "$id": "5362", "kind": "property", "name": "pending_safety_checks", "serializedName": "pending_safety_checks", "doc": "The pending safety checks for the computer call.", "type": { - "$ref": "4990" + "$ref": "5068" }, "optional": false, "readOnly": false, @@ -66748,7 +67659,7 @@ ] }, "web_search_call": { - "$id": "5285", + "$id": "5363", "kind": "model", "name": "WebSearchToolCallItemResource", "namespace": "OpenAI", @@ -66763,16 +67674,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5286", + "$id": "5364", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5019" + "$ref": "5097" }, "optional": false, "readOnly": false, @@ -66788,13 +67699,13 @@ "isHttpMetadata": false }, { - "$id": "5287", + "$id": "5365", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the web search tool call.", "type": { - "$ref": "742" + "$ref": "733" }, "optional": false, "readOnly": true, @@ -66812,7 +67723,7 @@ ] }, "reasoning": { - "$id": "5288", + "$id": "5366", "kind": "model", "name": "ReasoningItemResource", "namespace": "OpenAI", @@ -66827,16 +67738,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5289", + "$id": "5367", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5031" + "$ref": "5109" }, "optional": false, "readOnly": false, @@ -66852,13 +67763,13 @@ "isHttpMetadata": false }, { - "$id": "5290", + "$id": "5368", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.", "type": { - "$ref": "748" + "$ref": "739" }, "optional": false, "readOnly": true, @@ -66874,13 +67785,13 @@ "isHttpMetadata": false }, { - "$id": "5291", + "$id": "5369", "kind": "property", "name": "encrypted_content", "serializedName": "encrypted_content", "doc": "The encrypted content of the reasoning item - populated when a response is\ngenerated with `reasoning.encrypted_content` in the `include` parameter.", "type": { - "$ref": "5033" + "$ref": "5111" }, "optional": true, "readOnly": false, @@ -66896,13 +67807,13 @@ "isHttpMetadata": false }, { - "$id": "5292", + "$id": "5370", "kind": "property", "name": "SummaryParts", "serializedName": "summary", "doc": "Reasoning text contents.", "type": { - "$ref": "5036" + "$ref": "5114" }, "optional": false, "readOnly": false, @@ -66920,7 +67831,7 @@ ] }, "image_generation_call": { - "$id": "5293", + "$id": "5371", "kind": "model", "name": "ImageGenToolCallItemResource", "namespace": "OpenAI", @@ -66935,16 +67846,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5294", + "$id": "5372", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5054" + "$ref": "5132" }, "optional": false, "readOnly": false, @@ -66960,12 +67871,12 @@ "isHttpMetadata": false }, { - "$id": "5295", + "$id": "5373", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "753" + "$ref": "744" }, "optional": false, "readOnly": true, @@ -66981,13 +67892,13 @@ "isHttpMetadata": false }, { - "$id": "5296", + "$id": "5374", "kind": "property", "name": "ImageResultBytes", "serializedName": "result", "doc": "The generated image encoded in base64.", "type": { - "$ref": "5056" + "$ref": "5134" }, "optional": false, "readOnly": false, @@ -67005,7 +67916,7 @@ ] }, "code_interpreter_call": { - "$id": "5297", + "$id": "5375", "kind": "model", "name": "CodeInterpreterToolCallItemResource", "namespace": "OpenAI", @@ -67020,16 +67931,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5298", + "$id": "5376", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5060" + "$ref": "5138" }, "optional": false, "readOnly": false, @@ -67045,12 +67956,12 @@ "isHttpMetadata": false }, { - "$id": "5299", + "$id": "5377", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "759" + "$ref": "750" }, "optional": false, "readOnly": true, @@ -67066,13 +67977,13 @@ "isHttpMetadata": false }, { - "$id": "5300", + "$id": "5378", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The ID of the container used to run the code.", "type": { - "$id": "5301", + "$id": "5379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67092,13 +68003,13 @@ "isHttpMetadata": false }, { - "$id": "5302", + "$id": "5380", "kind": "property", "name": "code", "serializedName": "code", "doc": "The code to run.", "type": { - "$id": "5303", + "$id": "5381", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67118,13 +68029,13 @@ "isHttpMetadata": false }, { - "$id": "5304", + "$id": "5382", "kind": "property", "name": "outputs", "serializedName": "outputs", "doc": "The outputs of the code interpreter tool call.", "type": { - "$ref": "5066" + "$ref": "5144" }, "optional": true, "readOnly": false, @@ -67142,7 +68053,7 @@ ] }, "local_shell_call": { - "$id": "5305", + "$id": "5383", "kind": "model", "name": "LocalShellToolCallItemResource", "namespace": "OpenAI", @@ -67157,16 +68068,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5306", + "$id": "5384", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5085" + "$ref": "5163" }, "optional": false, "readOnly": false, @@ -67182,12 +68093,12 @@ "isHttpMetadata": false }, { - "$id": "5307", + "$id": "5385", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "764" + "$ref": "755" }, "optional": false, "readOnly": false, @@ -67203,13 +68114,13 @@ "isHttpMetadata": false }, { - "$id": "5308", + "$id": "5386", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the local shell tool call generated by the model.", "type": { - "$id": "5309", + "$id": "5387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67229,12 +68140,12 @@ "isHttpMetadata": false }, { - "$id": "5310", + "$id": "5388", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$ref": "5089" + "$ref": "5167" }, "optional": false, "readOnly": false, @@ -67252,7 +68163,7 @@ ] }, "local_shell_call_output": { - "$id": "5311", + "$id": "5389", "kind": "model", "name": "LocalShellToolCallOutputItemResource", "namespace": "OpenAI", @@ -67267,16 +68178,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5312", + "$id": "5390", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5104" + "$ref": "5182" }, "optional": false, "readOnly": false, @@ -67292,12 +68203,12 @@ "isHttpMetadata": false }, { - "$id": "5313", + "$id": "5391", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "769" + "$ref": "760" }, "optional": false, "readOnly": false, @@ -67313,13 +68224,13 @@ "isHttpMetadata": false }, { - "$id": "5314", + "$id": "5392", "kind": "property", "name": "output", "serializedName": "output", "doc": "A JSON string of the output of the local shell tool call.", "type": { - "$id": "5315", + "$id": "5393", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67341,7 +68252,7 @@ ] }, "mcp_list_tools": { - "$id": "5316", + "$id": "5394", "kind": "model", "name": "MCPListToolsItemResource", "namespace": "OpenAI", @@ -67356,16 +68267,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5317", + "$id": "5395", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5109" + "$ref": "5187" }, "optional": false, "readOnly": false, @@ -67381,13 +68292,13 @@ "isHttpMetadata": false }, { - "$id": "5318", + "$id": "5396", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server.", "type": { - "$id": "5319", + "$id": "5397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67407,13 +68318,13 @@ "isHttpMetadata": false }, { - "$id": "5320", + "$id": "5398", "kind": "property", "name": "ToolDefinitions", "serializedName": "tools", "doc": "The tools available on the server.", "type": { - "$ref": "5113" + "$ref": "5191" }, "optional": false, "readOnly": false, @@ -67429,16 +68340,16 @@ "isHttpMetadata": false }, { - "$id": "5321", + "$id": "5399", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error message if the server could not list tools.", "type": { - "$id": "5322", + "$id": "5400", "kind": "nullable", "type": { - "$id": "5323", + "$id": "5401", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -67462,7 +68373,7 @@ ] }, "mcp_approval_request": { - "$id": "5324", + "$id": "5402", "kind": "model", "name": "MCPApprovalRequestItemResource", "namespace": "OpenAI", @@ -67477,16 +68388,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5325", + "$id": "5403", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5130" + "$ref": "5208" }, "optional": false, "readOnly": false, @@ -67502,13 +68413,13 @@ "isHttpMetadata": false }, { - "$id": "5326", + "$id": "5404", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server making the request.", "type": { - "$id": "5327", + "$id": "5405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67528,13 +68439,13 @@ "isHttpMetadata": false }, { - "$id": "5328", + "$id": "5406", "kind": "property", "name": "ToolName", "serializedName": "name", "doc": "The name of the tool to run.", "type": { - "$id": "5329", + "$id": "5407", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67554,13 +68465,13 @@ "isHttpMetadata": false }, { - "$id": "5330", + "$id": "5408", "kind": "property", "name": "ToolArguments", "serializedName": "arguments", "doc": "A JSON string of arguments for the tool.", "type": { - "$id": "5331", + "$id": "5409", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -67582,7 +68493,7 @@ ] }, "mcp_call": { - "$id": "5332", + "$id": "5410", "kind": "model", "name": "MCPCallItemResource", "namespace": "OpenAI", @@ -67597,16 +68508,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5333", + "$id": "5411", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5149" + "$ref": "5227" }, "optional": false, "readOnly": false, @@ -67622,13 +68533,13 @@ "isHttpMetadata": false }, { - "$id": "5334", + "$id": "5412", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server running the tool.", "type": { - "$id": "5335", + "$id": "5413", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67648,13 +68559,13 @@ "isHttpMetadata": false }, { - "$id": "5336", + "$id": "5414", "kind": "property", "name": "ToolName", "serializedName": "name", "doc": "The name of the tool that was run.", "type": { - "$id": "5337", + "$id": "5415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67674,13 +68585,13 @@ "isHttpMetadata": false }, { - "$id": "5338", + "$id": "5416", "kind": "property", "name": "ToolArguments", "serializedName": "arguments", "doc": "A JSON string of the arguments passed to the tool.", "type": { - "$id": "5339", + "$id": "5417", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -67700,13 +68611,13 @@ "isHttpMetadata": false }, { - "$id": "5340", + "$id": "5418", "kind": "property", "name": "ToolOutput", "serializedName": "output", "doc": "The output from the tool call.", "type": { - "$ref": "5157" + "$ref": "5235" }, "optional": true, "readOnly": false, @@ -67722,16 +68633,16 @@ "isHttpMetadata": false }, { - "$id": "5341", + "$id": "5419", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error from the tool call, if any.", "type": { - "$id": "5342", + "$id": "5420", "kind": "nullable", "type": { - "$id": "5343", + "$id": "5421", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -67755,7 +68666,7 @@ ] }, "item_reference": { - "$id": "5344", + "$id": "5422", "kind": "model", "name": "DotNetItemReferenceItemResource", "namespace": "OpenAI", @@ -67770,16 +68681,16 @@ } ], "baseModel": { - "$ref": "5223" + "$ref": "5301" }, "properties": [ { - "$id": "5345", + "$id": "5423", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5049" + "$ref": "5127" }, "optional": false, "readOnly": false, @@ -67815,16 +68726,16 @@ "isHttpMetadata": false }, { - "$id": "5346", + "$id": "5424", "kind": "property", "name": "output_text", "serializedName": "output_text", "doc": "SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.", "type": { - "$id": "5347", + "$id": "5425", "kind": "nullable", "type": { - "$id": "5348", + "$id": "5426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67846,12 +68757,12 @@ "isHttpMetadata": false }, { - "$id": "5349", + "$id": "5427", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "5350", + "$id": "5428", "kind": "model", "name": "ResponseUsage", "namespace": "OpenAI", @@ -67866,13 +68777,13 @@ ], "properties": [ { - "$id": "5351", + "$id": "5429", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "doc": "The number of input tokens.", "type": { - "$id": "5352", + "$id": "5430", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -67892,13 +68803,13 @@ "isHttpMetadata": false }, { - "$id": "5353", + "$id": "5431", "kind": "property", "name": "input_tokens_details", "serializedName": "input_tokens_details", "doc": "A detailed breakdown of the input tokens.", "type": { - "$id": "5354", + "$id": "5432", "kind": "model", "name": "ResponseUsageInputTokensDetails", "namespace": "OpenAI", @@ -67907,13 +68818,13 @@ "decorators": [], "properties": [ { - "$id": "5355", + "$id": "5433", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of tokens that were retrieved from the cache.\n[More on prompt caching](/docs/guides/prompt-caching).", "type": { - "$id": "5356", + "$id": "5434", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -67948,13 +68859,13 @@ "isHttpMetadata": false }, { - "$id": "5357", + "$id": "5435", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "doc": "The number of output tokens.", "type": { - "$id": "5358", + "$id": "5436", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -67974,13 +68885,13 @@ "isHttpMetadata": false }, { - "$id": "5359", + "$id": "5437", "kind": "property", "name": "output_tokens_details", "serializedName": "output_tokens_details", "doc": "A detailed breakdown of the output tokens.", "type": { - "$id": "5360", + "$id": "5438", "kind": "model", "name": "ResponseUsageOutputTokensDetails", "namespace": "OpenAI", @@ -67989,13 +68900,13 @@ "decorators": [], "properties": [ { - "$id": "5361", + "$id": "5439", "kind": "property", "name": "reasoning_tokens", "serializedName": "reasoning_tokens", "doc": "The number of reasoning tokens.", "type": { - "$id": "5362", + "$id": "5440", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68030,13 +68941,13 @@ "isHttpMetadata": false }, { - "$id": "5363", + "$id": "5441", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "5364", + "$id": "5442", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68071,13 +68982,13 @@ "isHttpMetadata": false }, { - "$id": "5365", + "$id": "5443", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "doc": "Whether to allow the model to run tool calls in parallel.", "type": { - "$id": "5366", + "$id": "5444", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68097,16 +69008,16 @@ "isHttpMetadata": false }, { - "$id": "5367", + "$id": "5445", "kind": "property", "name": "conversation", "serializedName": "conversation", "doc": "The conversation that this response belongs to. Input items and output items from this response are automatically added to this conversation.", "type": { - "$id": "5368", + "$id": "5446", "kind": "nullable", "type": { - "$id": "5369", + "$id": "5447", "kind": "model", "name": "ConversationParam-2", "namespace": "OpenAI", @@ -68117,13 +69028,13 @@ "decorators": [], "properties": [ { - "$id": "5370", + "$id": "5448", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the conversation.", "type": { - "$id": "5371", + "$id": "5449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -68162,91 +69073,91 @@ ] }, { - "$ref": "5213" + "$ref": "5291" }, { - "$ref": "5219" + "$ref": "5297" }, { - "$ref": "5223" + "$ref": "5301" }, { - "$ref": "5227" + "$ref": "5305" }, { - "$ref": "5231" + "$ref": "5309" }, { - "$ref": "5234" + "$ref": "5312" }, { - "$ref": "5237" + "$ref": "5315" }, { - "$ref": "5240" + "$ref": "5318" }, { - "$ref": "5243" + "$ref": "5321" }, { - "$ref": "5250" + "$ref": "5328" }, { - "$ref": "5259" + "$ref": "5337" }, { - "$ref": "5266" + "$ref": "5344" }, { - "$ref": "5273" + "$ref": "5351" }, { - "$ref": "5278" + "$ref": "5356" }, { - "$ref": "5285" + "$ref": "5363" }, { - "$ref": "5288" + "$ref": "5366" }, { - "$ref": "5293" + "$ref": "5371" }, { - "$ref": "5297" + "$ref": "5375" }, { - "$ref": "5305" + "$ref": "5383" }, { - "$ref": "5311" + "$ref": "5389" }, { - "$ref": "5316" + "$ref": "5394" }, { - "$ref": "5324" + "$ref": "5402" }, { - "$ref": "5332" + "$ref": "5410" }, { - "$ref": "5344" + "$ref": "5422" }, { - "$ref": "5350" + "$ref": "5428" }, { - "$ref": "5354" + "$ref": "5432" }, { - "$ref": "5360" + "$ref": "5438" }, { - "$ref": "5369" + "$ref": "5447" }, { - "$id": "5372", + "$id": "5450", "kind": "model", "name": "ResponseStreamEvent", "namespace": "OpenAI", @@ -68259,12 +69170,12 @@ } ], "discriminatorProperty": { - "$id": "5373", + "$id": "5451", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "774" + "$ref": "765" }, "optional": false, "readOnly": false, @@ -68281,16 +69192,16 @@ }, "properties": [ { - "$ref": "5373" + "$ref": "5451" }, { - "$id": "5374", + "$id": "5452", "kind": "property", "name": "sequence_number", "serializedName": "sequence_number", "doc": "The sequence number for this event.", "type": { - "$id": "5375", + "$id": "5453", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68312,7 +69223,7 @@ ], "discriminatedSubtypes": { "response.completed": { - "$id": "5376", + "$id": "5454", "kind": "model", "name": "ResponseCompletedEvent", "namespace": "OpenAI", @@ -68327,32 +69238,32 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5377", + "$id": "5455", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.completed`.", "type": { - "$id": "5378", + "$id": "5456", "kind": "enumvalue", "name": "response_completed", "value": "response.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$id": "5379", + "$id": "5457", "kind": "enum", "decorators": [], "name": "ResponseStreamEventType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "5380", + "$id": "5458", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -68361,718 +69272,718 @@ }, "values": [ { - "$id": "5381", + "$id": "5459", "kind": "enumvalue", "decorators": [], "name": "response_audio_delta", "value": "response.audio.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5382", + "$id": "5460", "kind": "enumvalue", "decorators": [], "name": "response_audio_done", "value": "response.audio.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5383", + "$id": "5461", "kind": "enumvalue", "decorators": [], "name": "response_audio_transcript_delta", "value": "response.audio_transcript.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5384", + "$id": "5462", "kind": "enumvalue", "decorators": [], "name": "response_audio_transcript_done", "value": "response.audio_transcript.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5385", + "$id": "5463", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_code_delta", "value": "response.code_interpreter_call_code.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5386", + "$id": "5464", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_code_done", "value": "response.code_interpreter_call_code.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5387", + "$id": "5465", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_completed", "value": "response.code_interpreter_call.completed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5388", + "$id": "5466", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_in_progress", "value": "response.code_interpreter_call.in_progress", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5389", + "$id": "5467", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_interpreting", "value": "response.code_interpreter_call.interpreting", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5390", + "$id": "5468", "kind": "enumvalue", "decorators": [], "name": "response_completed", "value": "response.completed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5391", + "$id": "5469", "kind": "enumvalue", "decorators": [], "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5392", + "$id": "5470", "kind": "enumvalue", "decorators": [], "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5393", + "$id": "5471", "kind": "enumvalue", "decorators": [], "name": "response_created", "value": "response.created", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5394", + "$id": "5472", "kind": "enumvalue", "decorators": [], "name": "error", "value": "error", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5395", + "$id": "5473", "kind": "enumvalue", "decorators": [], "name": "response_file_search_call_completed", "value": "response.file_search_call.completed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5396", + "$id": "5474", "kind": "enumvalue", "decorators": [], "name": "response_file_search_call_in_progress", "value": "response.file_search_call.in_progress", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5397", + "$id": "5475", "kind": "enumvalue", "decorators": [], "name": "response_file_search_call_searching", "value": "response.file_search_call.searching", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5398", + "$id": "5476", "kind": "enumvalue", "decorators": [], "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5399", + "$id": "5477", "kind": "enumvalue", "decorators": [], "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5400", + "$id": "5478", "kind": "enumvalue", "decorators": [], "name": "response_in_progress", "value": "response.in_progress", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5401", + "$id": "5479", "kind": "enumvalue", "decorators": [], "name": "response_failed", "value": "response.failed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5402", + "$id": "5480", "kind": "enumvalue", "decorators": [], "name": "response_incomplete", "value": "response.incomplete", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5403", + "$id": "5481", "kind": "enumvalue", "decorators": [], "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5404", + "$id": "5482", "kind": "enumvalue", "decorators": [], "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5405", + "$id": "5483", "kind": "enumvalue", "decorators": [], "name": "response_refusal_delta", "value": "response.refusal.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5406", + "$id": "5484", "kind": "enumvalue", "decorators": [], "name": "response_refusal_done", "value": "response.refusal.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5407", + "$id": "5485", "kind": "enumvalue", "decorators": [], "name": "response_output_text_annotation_added", "value": "response.output_text.annotation.added", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5408", + "$id": "5486", "kind": "enumvalue", "decorators": [], "name": "response_output_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5409", + "$id": "5487", "kind": "enumvalue", "decorators": [], "name": "response_output_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5410", + "$id": "5488", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_part_added", "value": "response.reasoning_summary_part.added", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5411", + "$id": "5489", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_part_done", "value": "response.reasoning_summary_part.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5412", + "$id": "5490", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_text_delta", "value": "response.reasoning_summary_text.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5413", + "$id": "5491", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_text_done", "value": "response.reasoning_summary_text.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5414", + "$id": "5492", "kind": "enumvalue", "decorators": [], "name": "response_web_search_call_completed", "value": "response.web_search_call.completed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5415", + "$id": "5493", "kind": "enumvalue", "decorators": [], "name": "response_web_search_call_in_progress", "value": "response.web_search_call.in_progress", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5416", + "$id": "5494", "kind": "enumvalue", "decorators": [], "name": "response_web_search_call_searching", "value": "response.web_search_call.searching", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5417", + "$id": "5495", "kind": "enumvalue", "decorators": [], "name": "response_image_generation_call_completed", "value": "response.image_generation_call.completed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5418", + "$id": "5496", "kind": "enumvalue", "decorators": [], "name": "response_image_generation_call_generating", "value": "response.image_generation_call.generating", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5419", + "$id": "5497", "kind": "enumvalue", "decorators": [], "name": "response_image_generation_call_in_progress", "value": "response.image_generation_call.in_progress", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5420", + "$id": "5498", "kind": "enumvalue", "decorators": [], "name": "response_image_generation_call_partial_image", "value": "response.image_generation_call.partial_image", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5421", + "$id": "5499", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5422", + "$id": "5500", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5423", + "$id": "5501", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5424", + "$id": "5502", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5425", + "$id": "5503", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5426", + "$id": "5504", "kind": "enumvalue", "decorators": [], "name": "response_mcp_list_tools_completed", "value": "response.mcp_list_tools.completed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5427", + "$id": "5505", "kind": "enumvalue", "decorators": [], "name": "response_mcp_list_tools_failed", "value": "response.mcp_list_tools.failed", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5428", + "$id": "5506", "kind": "enumvalue", "decorators": [], "name": "response_mcp_list_tools_in_progress", "value": "response.mcp_list_tools.in_progress", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5429", + "$id": "5507", "kind": "enumvalue", "decorators": [], "name": "response_queued", "value": "response.queued", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5430", + "$id": "5508", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_delta", "value": "response.reasoning.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5431", + "$id": "5509", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_done", "value": "response.reasoning.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5432", + "$id": "5510", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_delta", "value": "response.reasoning_summary.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5433", + "$id": "5511", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_done", "value": "response.reasoning_summary.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5434", + "$id": "5512", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_text_delta", "value": "response.reasoning_text.delta", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } }, { - "$id": "5435", + "$id": "5513", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_text_done", "value": "response.reasoning_text.done", "valueType": { - "$ref": "5380" + "$ref": "5458" }, "enumType": { - "$ref": "5379" + "$ref": "5457" } } ], @@ -69101,13 +70012,13 @@ "isHttpMetadata": false }, { - "$id": "5436", + "$id": "5514", "kind": "property", "name": "response", "serializedName": "response", "doc": "Properties of the completed response.", "type": { - "$ref": "5176" + "$ref": "5254" }, "optional": false, "readOnly": false, @@ -69125,7 +70036,7 @@ ] }, "response.content_part.added": { - "$id": "5437", + "$id": "5515", "kind": "model", "name": "ResponseContentPartAddedEvent", "namespace": "OpenAI", @@ -69140,25 +70051,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5438", + "$id": "5516", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.content_part.added`.", "type": { - "$id": "5439", + "$id": "5517", "kind": "enumvalue", "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -69176,13 +70087,13 @@ "isHttpMetadata": false }, { - "$id": "5440", + "$id": "5518", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the content part was added to.", "type": { - "$id": "5441", + "$id": "5519", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69202,13 +70113,13 @@ "isHttpMetadata": false }, { - "$id": "5442", + "$id": "5520", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the content part was added to.", "type": { - "$id": "5443", + "$id": "5521", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69228,13 +70139,13 @@ "isHttpMetadata": false }, { - "$id": "5444", + "$id": "5522", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that was added.", "type": { - "$id": "5445", + "$id": "5523", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69254,13 +70165,13 @@ "isHttpMetadata": false }, { - "$id": "5446", + "$id": "5524", "kind": "property", "name": "part", "serializedName": "part", "doc": "The content part that was added.", "type": { - "$ref": "4716" + "$ref": "4794" }, "optional": false, "readOnly": false, @@ -69278,7 +70189,7 @@ ] }, "response.content_part.done": { - "$id": "5447", + "$id": "5525", "kind": "model", "name": "ResponseContentPartDoneEvent", "namespace": "OpenAI", @@ -69293,25 +70204,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5448", + "$id": "5526", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.content_part.done`.", "type": { - "$id": "5449", + "$id": "5527", "kind": "enumvalue", "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -69329,13 +70240,13 @@ "isHttpMetadata": false }, { - "$id": "5450", + "$id": "5528", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the content part was added to.", "type": { - "$id": "5451", + "$id": "5529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69355,13 +70266,13 @@ "isHttpMetadata": false }, { - "$id": "5452", + "$id": "5530", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the content part was added to.", "type": { - "$id": "5453", + "$id": "5531", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69381,13 +70292,13 @@ "isHttpMetadata": false }, { - "$id": "5454", + "$id": "5532", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that is done.", "type": { - "$id": "5455", + "$id": "5533", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69407,13 +70318,13 @@ "isHttpMetadata": false }, { - "$id": "5456", + "$id": "5534", "kind": "property", "name": "part", "serializedName": "part", "doc": "The content part that is done.", "type": { - "$ref": "4716" + "$ref": "4794" }, "optional": false, "readOnly": false, @@ -69431,7 +70342,7 @@ ] }, "response.created": { - "$id": "5457", + "$id": "5535", "kind": "model", "name": "ResponseCreatedEvent", "namespace": "OpenAI", @@ -69446,25 +70357,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5458", + "$id": "5536", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.created`.", "type": { - "$id": "5459", + "$id": "5537", "kind": "enumvalue", "name": "response_created", "value": "response.created", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -69482,13 +70393,13 @@ "isHttpMetadata": false }, { - "$id": "5460", + "$id": "5538", "kind": "property", "name": "response", "serializedName": "response", "doc": "The response that was created.", "type": { - "$ref": "5176" + "$ref": "5254" }, "optional": false, "readOnly": false, @@ -69506,7 +70417,7 @@ ] }, "error": { - "$id": "5461", + "$id": "5539", "kind": "model", "name": "ResponseErrorEvent", "namespace": "OpenAI", @@ -69521,25 +70432,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5462", + "$id": "5540", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `error`.", "type": { - "$id": "5463", + "$id": "5541", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -69557,16 +70468,16 @@ "isHttpMetadata": false }, { - "$id": "5464", + "$id": "5542", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "5465", + "$id": "5543", "kind": "nullable", "type": { - "$id": "5466", + "$id": "5544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69588,13 +70499,13 @@ "isHttpMetadata": false }, { - "$id": "5467", + "$id": "5545", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "5468", + "$id": "5546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69614,16 +70525,16 @@ "isHttpMetadata": false }, { - "$id": "5469", + "$id": "5547", "kind": "property", "name": "param", "serializedName": "param", "doc": "The error parameter.", "type": { - "$id": "5470", + "$id": "5548", "kind": "nullable", "type": { - "$id": "5471", + "$id": "5549", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69647,7 +70558,7 @@ ] }, "response.file_search_call.completed": { - "$id": "5472", + "$id": "5550", "kind": "model", "name": "ResponseFileSearchCallCompletedEvent", "namespace": "OpenAI", @@ -69662,25 +70573,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5473", + "$id": "5551", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.completed`.", "type": { - "$id": "5474", + "$id": "5552", "kind": "enumvalue", "name": "response_file_search_call_completed", "value": "response.file_search_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -69698,13 +70609,13 @@ "isHttpMetadata": false }, { - "$id": "5475", + "$id": "5553", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the file search call is initiated.", "type": { - "$id": "5476", + "$id": "5554", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69724,13 +70635,13 @@ "isHttpMetadata": false }, { - "$id": "5477", + "$id": "5555", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "5478", + "$id": "5556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69752,7 +70663,7 @@ ] }, "response.file_search_call.in_progress": { - "$id": "5479", + "$id": "5557", "kind": "model", "name": "ResponseFileSearchCallInProgressEvent", "namespace": "OpenAI", @@ -69767,25 +70678,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5480", + "$id": "5558", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.in_progress`.", "type": { - "$id": "5481", + "$id": "5559", "kind": "enumvalue", "name": "response_file_search_call_in_progress", "value": "response.file_search_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -69803,13 +70714,13 @@ "isHttpMetadata": false }, { - "$id": "5482", + "$id": "5560", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the file search call is initiated.", "type": { - "$id": "5483", + "$id": "5561", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69829,13 +70740,13 @@ "isHttpMetadata": false }, { - "$id": "5484", + "$id": "5562", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "5485", + "$id": "5563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69857,7 +70768,7 @@ ] }, "response.file_search_call.searching": { - "$id": "5486", + "$id": "5564", "kind": "model", "name": "ResponseFileSearchCallSearchingEvent", "namespace": "OpenAI", @@ -69872,25 +70783,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5487", + "$id": "5565", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.searching`.", "type": { - "$id": "5488", + "$id": "5566", "kind": "enumvalue", "name": "response_file_search_call_searching", "value": "response.file_search_call.searching", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -69908,13 +70819,13 @@ "isHttpMetadata": false }, { - "$id": "5489", + "$id": "5567", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the file search call is searching.", "type": { - "$id": "5490", + "$id": "5568", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69934,13 +70845,13 @@ "isHttpMetadata": false }, { - "$id": "5491", + "$id": "5569", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "5492", + "$id": "5570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69962,7 +70873,7 @@ ] }, "response.function_call_arguments.delta": { - "$id": "5493", + "$id": "5571", "kind": "model", "name": "ResponseFunctionCallArgumentsDeltaEvent", "namespace": "OpenAI", @@ -69977,25 +70888,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5494", + "$id": "5572", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.function_call_arguments.delta`.", "type": { - "$id": "5495", + "$id": "5573", "kind": "enumvalue", "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70013,13 +70924,13 @@ "isHttpMetadata": false }, { - "$id": "5496", + "$id": "5574", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the function-call arguments delta is added to.", "type": { - "$id": "5497", + "$id": "5575", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70039,13 +70950,13 @@ "isHttpMetadata": false }, { - "$id": "5498", + "$id": "5576", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the function-call arguments delta is added to.", "type": { - "$id": "5499", + "$id": "5577", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70065,13 +70976,13 @@ "isHttpMetadata": false }, { - "$id": "5500", + "$id": "5578", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The function-call arguments delta that is added.", "type": { - "$id": "5501", + "$id": "5579", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -70093,7 +71004,7 @@ ] }, "response.function_call_arguments.done": { - "$id": "5502", + "$id": "5580", "kind": "model", "name": "ResponseFunctionCallArgumentsDoneEvent", "namespace": "OpenAI", @@ -70108,24 +71019,24 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5503", + "$id": "5581", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5504", + "$id": "5582", "kind": "enumvalue", "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70143,13 +71054,13 @@ "isHttpMetadata": false }, { - "$id": "5505", + "$id": "5583", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "5506", + "$id": "5584", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70169,13 +71080,13 @@ "isHttpMetadata": false }, { - "$id": "5507", + "$id": "5585", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item.", "type": { - "$id": "5508", + "$id": "5586", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70195,13 +71106,13 @@ "isHttpMetadata": false }, { - "$id": "5509", + "$id": "5587", "kind": "property", "name": "FunctionArguments", "serializedName": "arguments", "doc": "The function-call arguments.", "type": { - "$id": "5510", + "$id": "5588", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -70223,7 +71134,7 @@ ] }, "response.in_progress": { - "$id": "5511", + "$id": "5589", "kind": "model", "name": "ResponseInProgressEvent", "namespace": "OpenAI", @@ -70238,25 +71149,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5512", + "$id": "5590", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.in_progress`.", "type": { - "$id": "5513", + "$id": "5591", "kind": "enumvalue", "name": "response_in_progress", "value": "response.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70274,13 +71185,13 @@ "isHttpMetadata": false }, { - "$id": "5514", + "$id": "5592", "kind": "property", "name": "response", "serializedName": "response", "doc": "The response that is in progress.", "type": { - "$ref": "5176" + "$ref": "5254" }, "optional": false, "readOnly": false, @@ -70298,7 +71209,7 @@ ] }, "response.failed": { - "$id": "5515", + "$id": "5593", "kind": "model", "name": "ResponseFailedEvent", "namespace": "OpenAI", @@ -70313,25 +71224,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5516", + "$id": "5594", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.failed`.", "type": { - "$id": "5517", + "$id": "5595", "kind": "enumvalue", "name": "response_failed", "value": "response.failed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70349,13 +71260,13 @@ "isHttpMetadata": false }, { - "$id": "5518", + "$id": "5596", "kind": "property", "name": "response", "serializedName": "response", "doc": "The response that failed.", "type": { - "$ref": "5176" + "$ref": "5254" }, "optional": false, "readOnly": false, @@ -70373,7 +71284,7 @@ ] }, "response.incomplete": { - "$id": "5519", + "$id": "5597", "kind": "model", "name": "ResponseIncompleteEvent", "namespace": "OpenAI", @@ -70388,25 +71299,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5520", + "$id": "5598", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.incomplete`.", "type": { - "$id": "5521", + "$id": "5599", "kind": "enumvalue", "name": "response_incomplete", "value": "response.incomplete", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70424,13 +71335,13 @@ "isHttpMetadata": false }, { - "$id": "5522", + "$id": "5600", "kind": "property", "name": "response", "serializedName": "response", "doc": "The response that was incomplete.", "type": { - "$ref": "5176" + "$ref": "5254" }, "optional": false, "readOnly": false, @@ -70448,7 +71359,7 @@ ] }, "response.output_item.added": { - "$id": "5523", + "$id": "5601", "kind": "model", "name": "ResponseOutputItemAddedEvent", "namespace": "OpenAI", @@ -70463,25 +71374,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5524", + "$id": "5602", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.output_item.added`.", "type": { - "$id": "5525", + "$id": "5603", "kind": "enumvalue", "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70499,13 +71410,13 @@ "isHttpMetadata": false }, { - "$id": "5526", + "$id": "5604", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that was added.", "type": { - "$id": "5527", + "$id": "5605", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70525,13 +71436,13 @@ "isHttpMetadata": false }, { - "$id": "5528", + "$id": "5606", "kind": "property", "name": "item", "serializedName": "item", "doc": "The output item that was added.", "type": { - "$ref": "5223" + "$ref": "5301" }, "optional": false, "readOnly": false, @@ -70549,7 +71460,7 @@ ] }, "response.output_item.done": { - "$id": "5529", + "$id": "5607", "kind": "model", "name": "ResponseOutputItemDoneEvent", "namespace": "OpenAI", @@ -70564,25 +71475,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5530", + "$id": "5608", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.output_item.done`.", "type": { - "$id": "5531", + "$id": "5609", "kind": "enumvalue", "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70600,13 +71511,13 @@ "isHttpMetadata": false }, { - "$id": "5532", + "$id": "5610", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that was marked done.", "type": { - "$id": "5533", + "$id": "5611", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70626,13 +71537,13 @@ "isHttpMetadata": false }, { - "$id": "5534", + "$id": "5612", "kind": "property", "name": "item", "serializedName": "item", "doc": "The output item that was marked done.", "type": { - "$ref": "5223" + "$ref": "5301" }, "optional": false, "readOnly": false, @@ -70650,7 +71561,7 @@ ] }, "response.refusal.delta": { - "$id": "5535", + "$id": "5613", "kind": "model", "name": "ResponseRefusalDeltaEvent", "namespace": "OpenAI", @@ -70665,25 +71576,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5536", + "$id": "5614", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.refusal.delta`.", "type": { - "$id": "5537", + "$id": "5615", "kind": "enumvalue", "name": "response_refusal_delta", "value": "response.refusal.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70701,13 +71612,13 @@ "isHttpMetadata": false }, { - "$id": "5538", + "$id": "5616", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the refusal text is added to.", "type": { - "$id": "5539", + "$id": "5617", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70727,13 +71638,13 @@ "isHttpMetadata": false }, { - "$id": "5540", + "$id": "5618", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the refusal text is added to.", "type": { - "$id": "5541", + "$id": "5619", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70753,13 +71664,13 @@ "isHttpMetadata": false }, { - "$id": "5542", + "$id": "5620", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that the refusal text is added to.", "type": { - "$id": "5543", + "$id": "5621", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70779,13 +71690,13 @@ "isHttpMetadata": false }, { - "$id": "5544", + "$id": "5622", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The refusal text that is added.", "type": { - "$id": "5545", + "$id": "5623", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70807,7 +71718,7 @@ ] }, "response.refusal.done": { - "$id": "5546", + "$id": "5624", "kind": "model", "name": "ResponseRefusalDoneEvent", "namespace": "OpenAI", @@ -70822,25 +71733,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5547", + "$id": "5625", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.refusal.done`.", "type": { - "$id": "5548", + "$id": "5626", "kind": "enumvalue", "name": "response_refusal_done", "value": "response.refusal.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -70858,13 +71769,13 @@ "isHttpMetadata": false }, { - "$id": "5549", + "$id": "5627", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the refusal text is finalized.", "type": { - "$id": "5550", + "$id": "5628", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70884,13 +71795,13 @@ "isHttpMetadata": false }, { - "$id": "5551", + "$id": "5629", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the refusal text is finalized.", "type": { - "$id": "5552", + "$id": "5630", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70910,13 +71821,13 @@ "isHttpMetadata": false }, { - "$id": "5553", + "$id": "5631", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that the refusal text is finalized.", "type": { - "$id": "5554", + "$id": "5632", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70936,13 +71847,13 @@ "isHttpMetadata": false }, { - "$id": "5555", + "$id": "5633", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal text that is finalized.", "type": { - "$id": "5556", + "$id": "5634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70964,7 +71875,7 @@ ] }, "response.output_text.delta": { - "$id": "5557", + "$id": "5635", "kind": "model", "name": "ResponseTextDeltaEvent", "namespace": "OpenAI", @@ -70979,25 +71890,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5558", + "$id": "5636", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.output_text.delta`.", "type": { - "$id": "5559", + "$id": "5637", "kind": "enumvalue", "name": "response_output_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -71015,13 +71926,13 @@ "isHttpMetadata": false }, { - "$id": "5560", + "$id": "5638", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the text delta was added to.", "type": { - "$id": "5561", + "$id": "5639", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71041,13 +71952,13 @@ "isHttpMetadata": false }, { - "$id": "5562", + "$id": "5640", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the text delta was added to.", "type": { - "$id": "5563", + "$id": "5641", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71067,13 +71978,13 @@ "isHttpMetadata": false }, { - "$id": "5564", + "$id": "5642", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that the text delta was added to.", "type": { - "$id": "5565", + "$id": "5643", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71093,13 +72004,13 @@ "isHttpMetadata": false }, { - "$id": "5566", + "$id": "5644", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta that was added.", "type": { - "$id": "5567", + "$id": "5645", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71121,7 +72032,7 @@ ] }, "response.output_text.done": { - "$id": "5568", + "$id": "5646", "kind": "model", "name": "ResponseTextDoneEvent", "namespace": "OpenAI", @@ -71136,25 +72047,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5569", + "$id": "5647", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.output_text.done`.", "type": { - "$id": "5570", + "$id": "5648", "kind": "enumvalue", "name": "response_output_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -71172,13 +72083,13 @@ "isHttpMetadata": false }, { - "$id": "5571", + "$id": "5649", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the text content is finalized.", "type": { - "$id": "5572", + "$id": "5650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71198,13 +72109,13 @@ "isHttpMetadata": false }, { - "$id": "5573", + "$id": "5651", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the text content is finalized.", "type": { - "$id": "5574", + "$id": "5652", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71224,13 +72135,13 @@ "isHttpMetadata": false }, { - "$id": "5575", + "$id": "5653", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that the text content is finalized.", "type": { - "$id": "5576", + "$id": "5654", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71250,13 +72161,13 @@ "isHttpMetadata": false }, { - "$id": "5577", + "$id": "5655", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content that is finalized.", "type": { - "$id": "5578", + "$id": "5656", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71278,7 +72189,7 @@ ] }, "response.reasoning_summary_part.added": { - "$id": "5579", + "$id": "5657", "kind": "model", "name": "ResponseReasoningSummaryPartAddedEvent", "namespace": "OpenAI", @@ -71293,25 +72204,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5580", + "$id": "5658", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_part.added`.", "type": { - "$id": "5581", + "$id": "5659", "kind": "enumvalue", "name": "response_reasoning_summary_part_added", "value": "response.reasoning_summary_part.added", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -71329,13 +72240,13 @@ "isHttpMetadata": false }, { - "$id": "5582", + "$id": "5660", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this summary part is associated with.", "type": { - "$id": "5583", + "$id": "5661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71355,13 +72266,13 @@ "isHttpMetadata": false }, { - "$id": "5584", + "$id": "5662", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this summary part is associated with.", "type": { - "$id": "5585", + "$id": "5663", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71381,13 +72292,13 @@ "isHttpMetadata": false }, { - "$id": "5586", + "$id": "5664", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5587", + "$id": "5665", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71407,13 +72318,13 @@ "isHttpMetadata": false }, { - "$id": "5588", + "$id": "5666", "kind": "property", "name": "part", "serializedName": "part", "doc": "The summary part that was added.", "type": { - "$ref": "5037" + "$ref": "5115" }, "optional": false, "readOnly": false, @@ -71431,7 +72342,7 @@ ] }, "response.reasoning_summary_part.done": { - "$id": "5589", + "$id": "5667", "kind": "model", "name": "ResponseReasoningSummaryPartDoneEvent", "namespace": "OpenAI", @@ -71446,25 +72357,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5590", + "$id": "5668", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_part.done`.", "type": { - "$id": "5591", + "$id": "5669", "kind": "enumvalue", "name": "response_reasoning_summary_part_done", "value": "response.reasoning_summary_part.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -71482,13 +72393,13 @@ "isHttpMetadata": false }, { - "$id": "5592", + "$id": "5670", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this summary part is associated with.", "type": { - "$id": "5593", + "$id": "5671", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71508,13 +72419,13 @@ "isHttpMetadata": false }, { - "$id": "5594", + "$id": "5672", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this summary part is associated with.", "type": { - "$id": "5595", + "$id": "5673", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71534,13 +72445,13 @@ "isHttpMetadata": false }, { - "$id": "5596", + "$id": "5674", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5597", + "$id": "5675", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71560,13 +72471,13 @@ "isHttpMetadata": false }, { - "$id": "5598", + "$id": "5676", "kind": "property", "name": "part", "serializedName": "part", "doc": "The completed summary part.", "type": { - "$ref": "5037" + "$ref": "5115" }, "optional": false, "readOnly": false, @@ -71584,7 +72495,7 @@ ] }, "response.reasoning_summary_text.delta": { - "$id": "5599", + "$id": "5677", "kind": "model", "name": "ResponseReasoningSummaryTextDeltaEvent", "namespace": "OpenAI", @@ -71599,25 +72510,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5600", + "$id": "5678", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_text.delta`.", "type": { - "$id": "5601", + "$id": "5679", "kind": "enumvalue", "name": "response_reasoning_summary_text_delta", "value": "response.reasoning_summary_text.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -71635,13 +72546,13 @@ "isHttpMetadata": false }, { - "$id": "5602", + "$id": "5680", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this summary text delta is associated with.", "type": { - "$id": "5603", + "$id": "5681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71661,13 +72572,13 @@ "isHttpMetadata": false }, { - "$id": "5604", + "$id": "5682", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this summary text delta is associated with.", "type": { - "$id": "5605", + "$id": "5683", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71687,13 +72598,13 @@ "isHttpMetadata": false }, { - "$id": "5606", + "$id": "5684", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5607", + "$id": "5685", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71713,13 +72624,13 @@ "isHttpMetadata": false }, { - "$id": "5608", + "$id": "5686", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta that was added to the summary.", "type": { - "$id": "5609", + "$id": "5687", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71741,7 +72652,7 @@ ] }, "response.reasoning_summary_text.done": { - "$id": "5610", + "$id": "5688", "kind": "model", "name": "ResponseReasoningSummaryTextDoneEvent", "namespace": "OpenAI", @@ -71756,25 +72667,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5611", + "$id": "5689", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_text.done`.", "type": { - "$id": "5612", + "$id": "5690", "kind": "enumvalue", "name": "response_reasoning_summary_text_done", "value": "response.reasoning_summary_text.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -71792,13 +72703,13 @@ "isHttpMetadata": false }, { - "$id": "5613", + "$id": "5691", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this summary text is associated with.", "type": { - "$id": "5614", + "$id": "5692", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71818,13 +72729,13 @@ "isHttpMetadata": false }, { - "$id": "5615", + "$id": "5693", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this summary text is associated with.", "type": { - "$id": "5616", + "$id": "5694", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71844,13 +72755,13 @@ "isHttpMetadata": false }, { - "$id": "5617", + "$id": "5695", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5618", + "$id": "5696", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71870,13 +72781,13 @@ "isHttpMetadata": false }, { - "$id": "5619", + "$id": "5697", "kind": "property", "name": "text", "serializedName": "text", "doc": "The full text of the completed reasoning summary.", "type": { - "$id": "5620", + "$id": "5698", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71898,7 +72809,7 @@ ] }, "response.reasoning_text.delta": { - "$id": "5621", + "$id": "5699", "kind": "model", "name": "ResponseReasoningTextDeltaEvent", "namespace": "OpenAI", @@ -71908,25 +72819,25 @@ "discriminatorValue": "response.reasoning_text.delta", "decorators": [], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5622", + "$id": "5700", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_text.delta`.", "type": { - "$id": "5623", + "$id": "5701", "kind": "enumvalue", "name": "response_reasoning_text_delta", "value": "response.reasoning_text.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -71944,13 +72855,13 @@ "isHttpMetadata": false }, { - "$id": "5624", + "$id": "5702", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this reasoning text delta is associated with.", "type": { - "$id": "5625", + "$id": "5703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71970,13 +72881,13 @@ "isHttpMetadata": false }, { - "$id": "5626", + "$id": "5704", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this reasoning text delta is associated with.", "type": { - "$id": "5627", + "$id": "5705", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71996,13 +72907,13 @@ "isHttpMetadata": false }, { - "$id": "5628", + "$id": "5706", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the reasoning content part this delta is associated with.", "type": { - "$id": "5629", + "$id": "5707", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72022,13 +72933,13 @@ "isHttpMetadata": false }, { - "$id": "5630", + "$id": "5708", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta that was added to the reasoning content.", "type": { - "$id": "5631", + "$id": "5709", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72050,7 +72961,7 @@ ] }, "response.reasoning_text.done": { - "$id": "5632", + "$id": "5710", "kind": "model", "name": "ResponseReasoningTextDoneEvent", "namespace": "OpenAI", @@ -72060,25 +72971,25 @@ "discriminatorValue": "response.reasoning_text.done", "decorators": [], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5633", + "$id": "5711", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_text.done`.", "type": { - "$id": "5634", + "$id": "5712", "kind": "enumvalue", "name": "response_reasoning_text_done", "value": "response.reasoning_text.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -72096,13 +73007,13 @@ "isHttpMetadata": false }, { - "$id": "5635", + "$id": "5713", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this reasoning text is associated with.", "type": { - "$id": "5636", + "$id": "5714", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72122,13 +73033,13 @@ "isHttpMetadata": false }, { - "$id": "5637", + "$id": "5715", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this reasoning text is associated with.", "type": { - "$id": "5638", + "$id": "5716", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72148,13 +73059,13 @@ "isHttpMetadata": false }, { - "$id": "5639", + "$id": "5717", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the reasoning content part.", "type": { - "$id": "5640", + "$id": "5718", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72174,13 +73085,13 @@ "isHttpMetadata": false }, { - "$id": "5641", + "$id": "5719", "kind": "property", "name": "text", "serializedName": "text", "doc": "The full text of the completed reasoning content.", "type": { - "$id": "5642", + "$id": "5720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72202,7 +73113,7 @@ ] }, "response.web_search_call.completed": { - "$id": "5643", + "$id": "5721", "kind": "model", "name": "ResponseWebSearchCallCompletedEvent", "namespace": "OpenAI", @@ -72217,25 +73128,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5644", + "$id": "5722", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.completed`.", "type": { - "$id": "5645", + "$id": "5723", "kind": "enumvalue", "name": "response_web_search_call_completed", "value": "response.web_search_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -72253,13 +73164,13 @@ "isHttpMetadata": false }, { - "$id": "5646", + "$id": "5724", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { - "$id": "5647", + "$id": "5725", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72279,13 +73190,13 @@ "isHttpMetadata": false }, { - "$id": "5648", + "$id": "5726", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5649", + "$id": "5727", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72307,7 +73218,7 @@ ] }, "response.web_search_call.in_progress": { - "$id": "5650", + "$id": "5728", "kind": "model", "name": "ResponseWebSearchCallInProgressEvent", "namespace": "OpenAI", @@ -72322,25 +73233,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5651", + "$id": "5729", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.in_progress`.", "type": { - "$id": "5652", + "$id": "5730", "kind": "enumvalue", "name": "response_web_search_call_in_progress", "value": "response.web_search_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -72358,13 +73269,13 @@ "isHttpMetadata": false }, { - "$id": "5653", + "$id": "5731", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { - "$id": "5654", + "$id": "5732", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72384,13 +73295,13 @@ "isHttpMetadata": false }, { - "$id": "5655", + "$id": "5733", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5656", + "$id": "5734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72412,7 +73323,7 @@ ] }, "response.web_search_call.searching": { - "$id": "5657", + "$id": "5735", "kind": "model", "name": "ResponseWebSearchCallSearchingEvent", "namespace": "OpenAI", @@ -72427,25 +73338,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5658", + "$id": "5736", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.searching`.", "type": { - "$id": "5659", + "$id": "5737", "kind": "enumvalue", "name": "response_web_search_call_searching", "value": "response.web_search_call.searching", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -72463,13 +73374,13 @@ "isHttpMetadata": false }, { - "$id": "5660", + "$id": "5738", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { - "$id": "5661", + "$id": "5739", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72489,13 +73400,13 @@ "isHttpMetadata": false }, { - "$id": "5662", + "$id": "5740", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5663", + "$id": "5741", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72517,7 +73428,7 @@ ] }, "response.image_generation_call.completed": { - "$id": "5664", + "$id": "5742", "kind": "model", "name": "ResponseImageGenCallCompletedEvent", "namespace": "OpenAI", @@ -72532,25 +73443,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5665", + "$id": "5743", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.completed'.", "type": { - "$id": "5666", + "$id": "5744", "kind": "enumvalue", "name": "response_image_generation_call_completed", "value": "response.image_generation_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -72568,13 +73479,13 @@ "isHttpMetadata": false }, { - "$id": "5667", + "$id": "5745", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5668", + "$id": "5746", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72594,13 +73505,13 @@ "isHttpMetadata": false }, { - "$id": "5669", + "$id": "5747", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5670", + "$id": "5748", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72622,7 +73533,7 @@ ] }, "response.image_generation_call.generating": { - "$id": "5671", + "$id": "5749", "kind": "model", "name": "ResponseImageGenCallGeneratingEvent", "namespace": "OpenAI", @@ -72637,25 +73548,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5672", + "$id": "5750", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.generating'.", "type": { - "$id": "5673", + "$id": "5751", "kind": "enumvalue", "name": "response_image_generation_call_generating", "value": "response.image_generation_call.generating", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -72673,13 +73584,13 @@ "isHttpMetadata": false }, { - "$id": "5674", + "$id": "5752", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5675", + "$id": "5753", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72699,13 +73610,13 @@ "isHttpMetadata": false }, { - "$id": "5676", + "$id": "5754", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5677", + "$id": "5755", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72727,7 +73638,7 @@ ] }, "response.image_generation_call.in_progress": { - "$id": "5678", + "$id": "5756", "kind": "model", "name": "ResponseImageGenCallInProgressEvent", "namespace": "OpenAI", @@ -72742,25 +73653,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5679", + "$id": "5757", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.in_progress'.", "type": { - "$id": "5680", + "$id": "5758", "kind": "enumvalue", "name": "response_image_generation_call_in_progress", "value": "response.image_generation_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -72778,13 +73689,13 @@ "isHttpMetadata": false }, { - "$id": "5681", + "$id": "5759", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5682", + "$id": "5760", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72804,13 +73715,13 @@ "isHttpMetadata": false }, { - "$id": "5683", + "$id": "5761", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5684", + "$id": "5762", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72832,7 +73743,7 @@ ] }, "response.image_generation_call.partial_image": { - "$id": "5685", + "$id": "5763", "kind": "model", "name": "ResponseImageGenCallPartialImageEvent", "namespace": "OpenAI", @@ -72847,25 +73758,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5686", + "$id": "5764", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.partial_image'.", "type": { - "$id": "5687", + "$id": "5765", "kind": "enumvalue", "name": "response_image_generation_call_partial_image", "value": "response.image_generation_call.partial_image", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -72883,13 +73794,13 @@ "isHttpMetadata": false }, { - "$id": "5688", + "$id": "5766", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5689", + "$id": "5767", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72909,13 +73820,13 @@ "isHttpMetadata": false }, { - "$id": "5690", + "$id": "5768", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5691", + "$id": "5769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72935,13 +73846,13 @@ "isHttpMetadata": false }, { - "$id": "5692", + "$id": "5770", "kind": "property", "name": "partial_image_index", "serializedName": "partial_image_index", "doc": "0-based index for the partial image (backend is 1-based, but this is 0-based for the user).", "type": { - "$id": "5693", + "$id": "5771", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72961,13 +73872,13 @@ "isHttpMetadata": false }, { - "$id": "5694", + "$id": "5772", "kind": "property", "name": "PartialImageBytes", "serializedName": "partial_image_b64", "doc": "Base64-encoded partial image data, suitable for rendering as an image.", "type": { - "$id": "5695", + "$id": "5773", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -72990,7 +73901,7 @@ ] }, "response.mcp_call_arguments.delta": { - "$id": "5696", + "$id": "5774", "kind": "model", "name": "ResponseMCPCallArgumentsDeltaEvent", "namespace": "OpenAI", @@ -73005,25 +73916,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5697", + "$id": "5775", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.arguments_delta'.", "type": { - "$id": "5698", + "$id": "5776", "kind": "enumvalue", "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73041,13 +73952,13 @@ "isHttpMetadata": false }, { - "$id": "5699", + "$id": "5777", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5700", + "$id": "5778", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73067,13 +73978,13 @@ "isHttpMetadata": false }, { - "$id": "5701", + "$id": "5779", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5702", + "$id": "5780", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73093,13 +74004,13 @@ "isHttpMetadata": false }, { - "$id": "5703", + "$id": "5781", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The partial update to the arguments for the MCP tool call.", "type": { - "$id": "5704", + "$id": "5782", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -73121,7 +74032,7 @@ ] }, "response.mcp_call_arguments.done": { - "$id": "5705", + "$id": "5783", "kind": "model", "name": "ResponseMCPCallArgumentsDoneEvent", "namespace": "OpenAI", @@ -73136,25 +74047,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5706", + "$id": "5784", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.arguments_done'.", "type": { - "$id": "5707", + "$id": "5785", "kind": "enumvalue", "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73172,13 +74083,13 @@ "isHttpMetadata": false }, { - "$id": "5708", + "$id": "5786", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5709", + "$id": "5787", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73198,13 +74109,13 @@ "isHttpMetadata": false }, { - "$id": "5710", + "$id": "5788", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5711", + "$id": "5789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73224,13 +74135,13 @@ "isHttpMetadata": false }, { - "$id": "5712", + "$id": "5790", "kind": "property", "name": "ToolArguments", "serializedName": "arguments", "doc": "A JSON string containing the finalized arguments for the MCP tool call.", "type": { - "$id": "5713", + "$id": "5791", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -73252,7 +74163,7 @@ ] }, "response.mcp_call.completed": { - "$id": "5714", + "$id": "5792", "kind": "model", "name": "ResponseMCPCallCompletedEvent", "namespace": "OpenAI", @@ -73267,25 +74178,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5715", + "$id": "5793", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.completed'.", "type": { - "$id": "5716", + "$id": "5794", "kind": "enumvalue", "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73303,13 +74214,13 @@ "isHttpMetadata": false }, { - "$id": "5717", + "$id": "5795", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that completed.", "type": { - "$id": "5718", + "$id": "5796", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73329,13 +74240,13 @@ "isHttpMetadata": false }, { - "$id": "5719", + "$id": "5797", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that completed.", "type": { - "$id": "5720", + "$id": "5798", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73357,7 +74268,7 @@ ] }, "response.mcp_call.failed": { - "$id": "5721", + "$id": "5799", "kind": "model", "name": "ResponseMCPCallFailedEvent", "namespace": "OpenAI", @@ -73372,25 +74283,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5722", + "$id": "5800", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.failed'.", "type": { - "$id": "5723", + "$id": "5801", "kind": "enumvalue", "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73408,13 +74319,13 @@ "isHttpMetadata": false }, { - "$id": "5724", + "$id": "5802", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that failed.", "type": { - "$id": "5725", + "$id": "5803", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73434,13 +74345,13 @@ "isHttpMetadata": false }, { - "$id": "5726", + "$id": "5804", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that failed.", "type": { - "$id": "5727", + "$id": "5805", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73462,7 +74373,7 @@ ] }, "response.mcp_call.in_progress": { - "$id": "5728", + "$id": "5806", "kind": "model", "name": "ResponseMCPCallInProgressEvent", "namespace": "OpenAI", @@ -73477,25 +74388,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5729", + "$id": "5807", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.in_progress'.", "type": { - "$id": "5730", + "$id": "5808", "kind": "enumvalue", "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73513,13 +74424,13 @@ "isHttpMetadata": false }, { - "$id": "5731", + "$id": "5809", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5732", + "$id": "5810", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73539,13 +74450,13 @@ "isHttpMetadata": false }, { - "$id": "5733", + "$id": "5811", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5734", + "$id": "5812", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73567,7 +74478,7 @@ ] }, "response.mcp_list_tools.completed": { - "$id": "5735", + "$id": "5813", "kind": "model", "name": "ResponseMCPListToolsCompletedEvent", "namespace": "OpenAI", @@ -73582,25 +74493,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5736", + "$id": "5814", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.completed'.", "type": { - "$id": "5737", + "$id": "5815", "kind": "enumvalue", "name": "response_mcp_list_tools_completed", "value": "response.mcp_list_tools.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73618,13 +74529,13 @@ "isHttpMetadata": false }, { - "$id": "5738", + "$id": "5816", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that produced this output.", "type": { - "$id": "5739", + "$id": "5817", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73644,13 +74555,13 @@ "isHttpMetadata": false }, { - "$id": "5740", + "$id": "5818", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that was processed.", "type": { - "$id": "5741", + "$id": "5819", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73672,7 +74583,7 @@ ] }, "response.mcp_list_tools.failed": { - "$id": "5742", + "$id": "5820", "kind": "model", "name": "ResponseMCPListToolsFailedEvent", "namespace": "OpenAI", @@ -73687,25 +74598,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5743", + "$id": "5821", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.failed'.", "type": { - "$id": "5744", + "$id": "5822", "kind": "enumvalue", "name": "response_mcp_list_tools_failed", "value": "response.mcp_list_tools.failed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73723,13 +74634,13 @@ "isHttpMetadata": false }, { - "$id": "5745", + "$id": "5823", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that failed.", "type": { - "$id": "5746", + "$id": "5824", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73749,13 +74660,13 @@ "isHttpMetadata": false }, { - "$id": "5747", + "$id": "5825", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that failed.", "type": { - "$id": "5748", + "$id": "5826", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73777,7 +74688,7 @@ ] }, "response.mcp_list_tools.in_progress": { - "$id": "5749", + "$id": "5827", "kind": "model", "name": "ResponseMCPListToolsInProgressEvent", "namespace": "OpenAI", @@ -73792,25 +74703,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5750", + "$id": "5828", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.in_progress'.", "type": { - "$id": "5751", + "$id": "5829", "kind": "enumvalue", "name": "response_mcp_list_tools_in_progress", "value": "response.mcp_list_tools.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73828,13 +74739,13 @@ "isHttpMetadata": false }, { - "$id": "5752", + "$id": "5830", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that is being processed.", "type": { - "$id": "5753", + "$id": "5831", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73854,13 +74765,13 @@ "isHttpMetadata": false }, { - "$id": "5754", + "$id": "5832", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that is being processed.", "type": { - "$id": "5755", + "$id": "5833", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73882,7 +74793,7 @@ ] }, "response.output_text.annotation.added": { - "$id": "5756", + "$id": "5834", "kind": "model", "name": "ResponseOutputTextAnnotationAddedEvent", "namespace": "OpenAI", @@ -73897,25 +74808,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5757", + "$id": "5835", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.output_text_annotation.added'.", "type": { - "$id": "5758", + "$id": "5836", "kind": "enumvalue", "name": "response_output_text_annotation_added", "value": "response.output_text.annotation.added", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -73933,13 +74844,13 @@ "isHttpMetadata": false }, { - "$id": "5759", + "$id": "5837", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item to which the annotation is being added.", "type": { - "$id": "5760", + "$id": "5838", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73959,13 +74870,13 @@ "isHttpMetadata": false }, { - "$id": "5761", + "$id": "5839", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5762", + "$id": "5840", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73985,13 +74896,13 @@ "isHttpMetadata": false }, { - "$id": "5763", + "$id": "5841", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part within the output item.", "type": { - "$id": "5764", + "$id": "5842", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74011,13 +74922,13 @@ "isHttpMetadata": false }, { - "$id": "5765", + "$id": "5843", "kind": "property", "name": "annotation_index", "serializedName": "annotation_index", "doc": "The index of the annotation within the content part.", "type": { - "$id": "5766", + "$id": "5844", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74037,13 +74948,13 @@ "isHttpMetadata": false }, { - "$id": "5767", + "$id": "5845", "kind": "property", "name": "annotation", "serializedName": "annotation", "doc": "The annotation object being added. (See annotation schema for details.)", "type": { - "$id": "5768", + "$id": "5846", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -74065,7 +74976,7 @@ ] }, "response.queued": { - "$id": "5769", + "$id": "5847", "kind": "model", "name": "ResponseQueuedEvent", "namespace": "OpenAI", @@ -74080,25 +74991,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5770", + "$id": "5848", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.queued'.", "type": { - "$id": "5771", + "$id": "5849", "kind": "enumvalue", "name": "response_queued", "value": "response.queued", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -74116,13 +75027,13 @@ "isHttpMetadata": false }, { - "$id": "5772", + "$id": "5850", "kind": "property", "name": "response", "serializedName": "response", "doc": "The full response object that is queued.", "type": { - "$ref": "5176" + "$ref": "5254" }, "optional": false, "readOnly": false, @@ -74140,7 +75051,7 @@ ] }, "response.reasoning.delta": { - "$id": "5773", + "$id": "5851", "kind": "model", "name": "ResponseReasoningDeltaEvent", "namespace": "OpenAI", @@ -74155,25 +75066,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5774", + "$id": "5852", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning.delta'.", "type": { - "$id": "5775", + "$id": "5853", "kind": "enumvalue", "name": "response_reasoning_delta", "value": "response.reasoning.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -74191,13 +75102,13 @@ "isHttpMetadata": false }, { - "$id": "5776", + "$id": "5854", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item for which reasoning is being updated.", "type": { - "$id": "5777", + "$id": "5855", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74217,13 +75128,13 @@ "isHttpMetadata": false }, { - "$id": "5778", + "$id": "5856", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5779", + "$id": "5857", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74243,13 +75154,13 @@ "isHttpMetadata": false }, { - "$id": "5780", + "$id": "5858", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the reasoning content part within the output item.", "type": { - "$id": "5781", + "$id": "5859", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74269,13 +75180,13 @@ "isHttpMetadata": false }, { - "$id": "5782", + "$id": "5860", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The partial update to the reasoning content.", "type": { - "$id": "5783", + "$id": "5861", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -74297,7 +75208,7 @@ ] }, "response.reasoning.done": { - "$id": "5784", + "$id": "5862", "kind": "model", "name": "ResponseReasoningDoneEvent", "namespace": "OpenAI", @@ -74312,25 +75223,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5785", + "$id": "5863", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning.done'.", "type": { - "$id": "5786", + "$id": "5864", "kind": "enumvalue", "name": "response_reasoning_done", "value": "response.reasoning.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -74348,13 +75259,13 @@ "isHttpMetadata": false }, { - "$id": "5787", + "$id": "5865", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item for which reasoning is finalized.", "type": { - "$id": "5788", + "$id": "5866", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74374,13 +75285,13 @@ "isHttpMetadata": false }, { - "$id": "5789", + "$id": "5867", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5790", + "$id": "5868", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74400,13 +75311,13 @@ "isHttpMetadata": false }, { - "$id": "5791", + "$id": "5869", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the reasoning content part within the output item.", "type": { - "$id": "5792", + "$id": "5870", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74426,13 +75337,13 @@ "isHttpMetadata": false }, { - "$id": "5793", + "$id": "5871", "kind": "property", "name": "text", "serializedName": "text", "doc": "The finalized reasoning text.", "type": { - "$id": "5794", + "$id": "5872", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74454,7 +75365,7 @@ ] }, "response.reasoning_summary.delta": { - "$id": "5795", + "$id": "5873", "kind": "model", "name": "ResponseReasoningSummaryDeltaEvent", "namespace": "OpenAI", @@ -74469,25 +75380,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5796", + "$id": "5874", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning_summary.delta'.", "type": { - "$id": "5797", + "$id": "5875", "kind": "enumvalue", "name": "response_reasoning_summary_delta", "value": "response.reasoning_summary.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -74505,13 +75416,13 @@ "isHttpMetadata": false }, { - "$id": "5798", + "$id": "5876", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item for which the reasoning summary is being updated.", "type": { - "$id": "5799", + "$id": "5877", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74531,13 +75442,13 @@ "isHttpMetadata": false }, { - "$id": "5800", + "$id": "5878", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5801", + "$id": "5879", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74557,13 +75468,13 @@ "isHttpMetadata": false }, { - "$id": "5802", + "$id": "5880", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the output item.", "type": { - "$id": "5803", + "$id": "5881", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74583,13 +75494,13 @@ "isHttpMetadata": false }, { - "$id": "5804", + "$id": "5882", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The partial update to the reasoning summary content.", "type": { - "$id": "5805", + "$id": "5883", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -74611,7 +75522,7 @@ ] }, "response.reasoning_summary.done": { - "$id": "5806", + "$id": "5884", "kind": "model", "name": "ResponseReasoningSummaryDoneEvent", "namespace": "OpenAI", @@ -74626,25 +75537,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5807", + "$id": "5885", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning_summary.done'.", "type": { - "$id": "5808", + "$id": "5886", "kind": "enumvalue", "name": "response_reasoning_summary_done", "value": "response.reasoning_summary.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -74662,13 +75573,13 @@ "isHttpMetadata": false }, { - "$id": "5809", + "$id": "5887", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item for which the reasoning summary is finalized.", "type": { - "$id": "5810", + "$id": "5888", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74688,13 +75599,13 @@ "isHttpMetadata": false }, { - "$id": "5811", + "$id": "5889", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5812", + "$id": "5890", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74714,13 +75625,13 @@ "isHttpMetadata": false }, { - "$id": "5813", + "$id": "5891", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the output item.", "type": { - "$id": "5814", + "$id": "5892", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74740,13 +75651,13 @@ "isHttpMetadata": false }, { - "$id": "5815", + "$id": "5893", "kind": "property", "name": "text", "serializedName": "text", "doc": "The finalized reasoning summary text.", "type": { - "$id": "5816", + "$id": "5894", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74768,7 +75679,7 @@ ] }, "response.code_interpreter_call_code.delta": { - "$id": "5817", + "$id": "5895", "kind": "model", "name": "ResponseCodeInterpreterCallCodeDeltaEvent", "namespace": "OpenAI", @@ -74783,25 +75694,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5818", + "$id": "5896", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call_code.delta`.", "type": { - "$id": "5819", + "$id": "5897", "kind": "enumvalue", "name": "response_code_interpreter_call_code_delta", "value": "response.code_interpreter_call_code.delta", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -74819,13 +75730,13 @@ "isHttpMetadata": false }, { - "$id": "5820", + "$id": "5898", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5821", + "$id": "5899", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74845,13 +75756,13 @@ "isHttpMetadata": false }, { - "$id": "5822", + "$id": "5900", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5823", + "$id": "5901", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74871,13 +75782,13 @@ "isHttpMetadata": false }, { - "$id": "5824", + "$id": "5902", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The partial code snippet added by the code interpreter.", "type": { - "$id": "5825", + "$id": "5903", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74899,7 +75810,7 @@ ] }, "response.code_interpreter_call_code.done": { - "$id": "5826", + "$id": "5904", "kind": "model", "name": "ResponseCodeInterpreterCallCodeDoneEvent", "namespace": "OpenAI", @@ -74914,25 +75825,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5827", + "$id": "5905", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call_code.done`.", "type": { - "$id": "5828", + "$id": "5906", "kind": "enumvalue", "name": "response_code_interpreter_call_code_done", "value": "response.code_interpreter_call_code.done", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -74950,13 +75861,13 @@ "isHttpMetadata": false }, { - "$id": "5829", + "$id": "5907", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5830", + "$id": "5908", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74976,13 +75887,13 @@ "isHttpMetadata": false }, { - "$id": "5831", + "$id": "5909", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5832", + "$id": "5910", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75002,13 +75913,13 @@ "isHttpMetadata": false }, { - "$id": "5833", + "$id": "5911", "kind": "property", "name": "code", "serializedName": "code", "doc": "The final code snippet output by the code interpreter.", "type": { - "$id": "5834", + "$id": "5912", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75030,7 +75941,7 @@ ] }, "response.code_interpreter_call.completed": { - "$id": "5835", + "$id": "5913", "kind": "model", "name": "ResponseCodeInterpreterCallCompletedEvent", "namespace": "OpenAI", @@ -75045,25 +75956,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5836", + "$id": "5914", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.completed`.", "type": { - "$id": "5837", + "$id": "5915", "kind": "enumvalue", "name": "response_code_interpreter_call_completed", "value": "response.code_interpreter_call.completed", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -75081,13 +75992,13 @@ "isHttpMetadata": false }, { - "$id": "5838", + "$id": "5916", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5839", + "$id": "5917", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75107,13 +76018,13 @@ "isHttpMetadata": false }, { - "$id": "5840", + "$id": "5918", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5841", + "$id": "5919", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75135,7 +76046,7 @@ ] }, "response.code_interpreter_call.in_progress": { - "$id": "5842", + "$id": "5920", "kind": "model", "name": "ResponseCodeInterpreterCallInProgressEvent", "namespace": "OpenAI", @@ -75150,25 +76061,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5843", + "$id": "5921", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.in_progress`.", "type": { - "$id": "5844", + "$id": "5922", "kind": "enumvalue", "name": "response_code_interpreter_call_in_progress", "value": "response.code_interpreter_call.in_progress", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -75186,13 +76097,13 @@ "isHttpMetadata": false }, { - "$id": "5845", + "$id": "5923", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5846", + "$id": "5924", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75212,13 +76123,13 @@ "isHttpMetadata": false }, { - "$id": "5847", + "$id": "5925", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5848", + "$id": "5926", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75240,7 +76151,7 @@ ] }, "response.code_interpreter_call.interpreting": { - "$id": "5849", + "$id": "5927", "kind": "model", "name": "ResponseCodeInterpreterCallInterpretingEvent", "namespace": "OpenAI", @@ -75255,25 +76166,25 @@ } ], "baseModel": { - "$ref": "5372" + "$ref": "5450" }, "properties": [ { - "$id": "5850", + "$id": "5928", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.interpreting`.", "type": { - "$id": "5851", + "$id": "5929", "kind": "enumvalue", "name": "response_code_interpreter_call_interpreting", "value": "response.code_interpreter_call.interpreting", "valueType": { - "$ref": "775" + "$ref": "766" }, "enumType": { - "$ref": "5379" + "$ref": "5457" }, "decorators": [] }, @@ -75291,13 +76202,13 @@ "isHttpMetadata": false }, { - "$id": "5852", + "$id": "5930", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5853", + "$id": "5931", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75317,13 +76228,13 @@ "isHttpMetadata": false }, { - "$id": "5854", + "$id": "5932", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5855", + "$id": "5933", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75347,160 +76258,160 @@ } }, { - "$ref": "5376" + "$ref": "5454" }, { - "$ref": "5437" + "$ref": "5515" }, { - "$ref": "5447" + "$ref": "5525" }, { - "$ref": "5457" + "$ref": "5535" }, { - "$ref": "5461" + "$ref": "5539" }, { - "$ref": "5472" + "$ref": "5550" }, { - "$ref": "5479" + "$ref": "5557" }, { - "$ref": "5486" + "$ref": "5564" }, { - "$ref": "5493" + "$ref": "5571" }, { - "$ref": "5502" + "$ref": "5580" }, { - "$ref": "5511" + "$ref": "5589" }, { - "$ref": "5515" + "$ref": "5593" }, { - "$ref": "5519" + "$ref": "5597" }, { - "$ref": "5523" + "$ref": "5601" }, { - "$ref": "5529" + "$ref": "5607" }, { - "$ref": "5535" + "$ref": "5613" }, { - "$ref": "5546" + "$ref": "5624" }, { - "$ref": "5557" + "$ref": "5635" }, { - "$ref": "5568" + "$ref": "5646" }, { - "$ref": "5579" + "$ref": "5657" }, { - "$ref": "5589" + "$ref": "5667" }, { - "$ref": "5599" + "$ref": "5677" }, { - "$ref": "5610" + "$ref": "5688" }, { - "$ref": "5621" + "$ref": "5699" }, { - "$ref": "5632" + "$ref": "5710" }, { - "$ref": "5643" + "$ref": "5721" }, { - "$ref": "5650" + "$ref": "5728" }, { - "$ref": "5657" + "$ref": "5735" }, { - "$ref": "5664" + "$ref": "5742" }, { - "$ref": "5671" + "$ref": "5749" }, { - "$ref": "5678" + "$ref": "5756" }, { - "$ref": "5685" + "$ref": "5763" }, { - "$ref": "5696" + "$ref": "5774" }, { - "$ref": "5705" + "$ref": "5783" }, { - "$ref": "5714" + "$ref": "5792" }, { - "$ref": "5721" + "$ref": "5799" }, { - "$ref": "5728" + "$ref": "5806" }, { - "$ref": "5735" + "$ref": "5813" }, { - "$ref": "5742" + "$ref": "5820" }, { - "$ref": "5749" + "$ref": "5827" }, { - "$ref": "5756" + "$ref": "5834" }, { - "$ref": "5769" + "$ref": "5847" }, { - "$ref": "5773" + "$ref": "5851" }, { - "$ref": "5784" + "$ref": "5862" }, { - "$ref": "5795" + "$ref": "5873" }, { - "$ref": "5806" + "$ref": "5884" }, { - "$ref": "5817" + "$ref": "5895" }, { - "$ref": "5826" + "$ref": "5904" }, { - "$ref": "5835" + "$ref": "5913" }, { - "$ref": "5842" + "$ref": "5920" }, { - "$ref": "5849" + "$ref": "5927" }, { - "$id": "5856", + "$id": "5934", "kind": "model", "name": "ResponseErrorResponse", "namespace": "OpenAI", @@ -75514,12 +76425,12 @@ ], "properties": [ { - "$id": "5857", + "$id": "5935", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$ref": "5213" + "$ref": "5291" }, "optional": false, "readOnly": false, @@ -75537,7 +76448,7 @@ ] }, { - "$id": "5858", + "$id": "5936", "kind": "model", "name": "DeleteResponseResponse", "namespace": "OpenAI", @@ -75551,12 +76462,12 @@ ], "properties": [ { - "$id": "5859", + "$id": "5937", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5860", + "$id": "5938", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75576,12 +76487,12 @@ "isHttpMetadata": false }, { - "$id": "5861", + "$id": "5939", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1672" + "$ref": "1794" }, "optional": false, "readOnly": false, @@ -75597,12 +76508,12 @@ "isHttpMetadata": false }, { - "$id": "5862", + "$id": "5940", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$ref": "1674" + "$ref": "1796" }, "optional": false, "readOnly": false, @@ -75620,7 +76531,7 @@ ] }, { - "$id": "5863", + "$id": "5941", "kind": "model", "name": "ResponseItemList", "namespace": "OpenAI", @@ -75635,13 +76546,13 @@ ], "properties": [ { - "$id": "5864", + "$id": "5942", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of object returned, must be `list`.", "type": { - "$ref": "1676" + "$ref": "1798" }, "optional": false, "readOnly": false, @@ -75657,13 +76568,13 @@ "isHttpMetadata": false }, { - "$id": "5865", + "$id": "5943", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of items used to generate this response.", "type": { - "$ref": "5222" + "$ref": "5300" }, "optional": false, "readOnly": false, @@ -75679,13 +76590,13 @@ "isHttpMetadata": false }, { - "$id": "5866", + "$id": "5944", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "5867", + "$id": "5945", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -75705,13 +76616,13 @@ "isHttpMetadata": false }, { - "$id": "5868", + "$id": "5946", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first item in the list.", "type": { - "$id": "5869", + "$id": "5947", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75731,13 +76642,13 @@ "isHttpMetadata": false }, { - "$id": "5870", + "$id": "5948", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last item in the list.", "type": { - "$id": "5871", + "$id": "5949", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75759,1579 +76670,282 @@ ] }, { - "$id": "5872", + "$id": "5950", "kind": "model", - "name": "CreateImageRequest", + "name": "CreateMessageRequest", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest", + "crossLanguageDefinitionId": "OpenAI.CreateMessageRequest", "usage": "Input,Json", "decorators": [], "properties": [ { - "$id": "5873", + "$id": "5951", "kind": "property", - "name": "prompt", - "serializedName": "prompt", - "doc": "A text description of the desired image(s). The maximum length is 32000 characters for `gpt-image-1`, 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`.", + "name": "role", + "serializedName": "role", + "doc": "The role of the entity that is creating the message. Allowed values include:\n- `user`: Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages.\n- `assistant`: Indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation.", "type": { - "$id": "5874", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "822" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.prompt", - "serializationOptions": { - "json": { - "name": "prompt" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5875", - "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "The model to use for image generation. One of `dall-e-2`, `dall-e-3`, or `gpt-image-1`. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used.", - "type": { - "$id": "5876", - "kind": "nullable", - "type": { - "$ref": "831" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.model", - "serializationOptions": { - "json": { - "name": "model" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5877", - "kind": "property", - "name": "n", - "serializedName": "n", - "doc": "The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported.", - "type": { - "$id": "5878", - "kind": "nullable", - "type": { - "$id": "5879", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.n", - "serializationOptions": { - "json": { - "name": "n" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5880", - "kind": "property", - "name": "quality", - "serializedName": "quality", - "doc": "The quality of the image that will be generated.\n\n- `auto` (default value) will automatically select the best quality for the given model.\n- `high`, `medium` and `low` are supported for `gpt-image-1`.\n- `hd` and `standard` are supported for `dall-e-3`.\n- `standard` is the only option for `dall-e-2`.", - "type": { - "$id": "5881", - "kind": "nullable", - "type": { - "$ref": "836" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.quality", - "serializationOptions": { - "json": { - "name": "quality" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5882", - "kind": "property", - "name": "response_format", - "serializedName": "response_format", - "doc": "The format in which generated images with `dall-e-2` and `dall-e-3` are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter isn't supported for `gpt-image-1` which will always return base64-encoded images.", - "type": { - "$id": "5883", - "kind": "nullable", - "type": { - "$ref": "844" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.response_format", - "serializationOptions": { - "json": { - "name": "response_format" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5884", - "kind": "property", - "name": "output_format", - "serializedName": "output_format", - "doc": "The format in which the generated images are returned. This parameter is only supported for `gpt-image-1`. Must be one of `png`, `jpeg`, or `webp`.", - "type": { - "$id": "5885", - "kind": "nullable", - "type": { - "$ref": "848" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.output_format", - "serializationOptions": { - "json": { - "name": "output_format" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5886", - "kind": "property", - "name": "output_compression", - "serializedName": "output_compression", - "doc": "The compression level (0-100%) for the generated images. This parameter is only supported for `gpt-image-1` with the `webp` or `jpeg` output formats, and defaults to 100.", - "type": { - "$id": "5887", - "kind": "nullable", - "type": { - "$id": "5888", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.output_compression", - "serializationOptions": { - "json": { - "name": "output_compression" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5889", - "kind": "property", - "name": "size", - "serializedName": "size", - "doc": "The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`, and one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3`.", - "type": { - "$id": "5890", - "kind": "nullable", - "type": { - "$ref": "853" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.size", - "serializationOptions": { - "json": { - "name": "size" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5891", - "kind": "property", - "name": "moderation", - "serializedName": "moderation", - "doc": "Control the content-moderation level for images generated by `gpt-image-1`. Must be either `low` for less restrictive filtering or `auto` (default value).", - "type": { - "$id": "5892", - "kind": "nullable", - "type": { - "$ref": "863" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.moderation", - "serializationOptions": { - "json": { - "name": "moderation" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5893", - "kind": "property", - "name": "background", - "serializedName": "background", - "doc": "Allows to set transparency for the background of the generated image(s).\nThis parameter is only supported for `gpt-image-1`. Must be one of\n`transparent`, `opaque` or `auto` (default value). When `auto` is used, the\nmodel will automatically determine the best background for the image.\n\nIf `transparent`, the output format needs to support transparency, so it\nshould be set to either `png` (default value) or `webp`.", - "type": { - "$id": "5894", - "kind": "nullable", - "type": { - "$ref": "867" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.background", + "crossLanguageDefinitionId": "OpenAI.CreateMessageRequest.role", "serializationOptions": { "json": { - "name": "background" + "name": "role" } }, "isHttpMetadata": false }, { - "$id": "5895", + "$id": "5952", "kind": "property", - "name": "style", - "serializedName": "style", - "doc": "The style of the generated images. This parameter is only supported for `dall-e-3`. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images.", + "name": "content", + "serializedName": "content", "type": { - "$id": "5896", - "kind": "nullable", - "type": { - "$ref": "872" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.style", - "serializationOptions": { - "json": { - "name": "style" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5897", - "kind": "property", - "name": "user", - "serializedName": "user", - "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", - "type": { - "$id": "5898", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.user", - "serializationOptions": { - "json": { - "name": "user" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "5899", - "kind": "model", - "name": "ImagesResponse", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ImagesResponse", - "usage": "Output,Json", - "doc": "The response from the image generation endpoint.", - "decorators": [], - "properties": [ - { - "$id": "5900", - "kind": "property", - "name": "created", - "serializedName": "created", - "doc": "The Unix timestamp (in seconds) of when the image was created.", - "type": { - "$id": "5901", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "5902", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.created", - "serializationOptions": { - "json": { - "name": "created" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5903", - "kind": "property", - "name": "data", - "serializedName": "data", - "doc": "The list of generated images.", - "type": { - "$id": "5904", + "$id": "5953", "kind": "array", - "name": "ArrayImage", + "name": "ArrayMessageContent", "valueType": { - "$id": "5905", + "$id": "5954", "kind": "model", - "name": "Image", + "name": "MessageContent", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.Image", - "usage": "Output,Json", - "doc": "Represents the content or the URL of an image generated by the OpenAI API.", + "crossLanguageDefinitionId": "OpenAI.MessageContent", + "access": "public", + "usage": "Input,Output,Json", + "doc": "Represents a single piece of content in an Assistants API message.", "decorators": [], - "properties": [ - { - "$id": "5906", - "kind": "property", - "name": "b64_json", - "serializedName": "b64_json", - "doc": "The base64-encoded JSON of the generated image. Default value for `gpt-image-1`, and only present if `response_format` is set to `b64_json` for `dall-e-2` and `dall-e-3`.", - "type": { - "$id": "5907", - "kind": "bytes", - "name": "bytes", - "encode": "base64", - "crossLanguageDefinitionId": "TypeSpec.bytes", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Image.b64_json", - "serializationOptions": { - "json": { - "name": "b64_json" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5908", - "kind": "property", - "name": "url", - "serializedName": "url", - "doc": "When using `dall-e-2` or `dall-e-3`, the URL of the generated image if `response_format` is set to `url` (default value). Unsupported for `gpt-image-1`.", - "type": { - "$id": "5909", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Image.url", - "serializationOptions": { - "json": { - "name": "url" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5910", - "kind": "property", - "name": "revised_prompt", - "serializedName": "revised_prompt", - "doc": "For `dall-e-3` only, the revised prompt that was used to generate the image.", - "type": { - "$id": "5911", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Image.revised_prompt", - "serializationOptions": { - "json": { - "name": "revised_prompt" - } - }, - "isHttpMetadata": false - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.data", - "serializationOptions": { - "json": { - "name": "data" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5912", - "kind": "property", - "name": "usage", - "serializedName": "usage", - "doc": "For `gpt-image-1` only, the token usage information for the image generation.", - "type": { - "$id": "5913", - "kind": "model", - "name": "ImagesResponseUsage", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage.anonymous", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "5914", - "kind": "property", - "name": "total_tokens", - "serializedName": "total_tokens", - "doc": "The total number of tokens (images and text) used for the image generation.", - "type": { - "$id": "5915", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage.anonymous.total_tokens", - "serializationOptions": { - "json": { - "name": "total_tokens" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5916", - "kind": "property", - "name": "input_tokens", - "serializedName": "input_tokens", - "doc": "The number of tokens (images and text) in the input prompt.", - "type": { - "$id": "5917", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage.anonymous.input_tokens", - "serializationOptions": { - "json": { - "name": "input_tokens" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5918", + "discriminatorProperty": { + "$id": "5955", "kind": "property", - "name": "output_tokens", - "serializedName": "output_tokens", - "doc": "The number of image tokens in the output image.", + "name": "type", + "serializedName": "type", "type": { - "$id": "5919", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "$ref": "826" }, "optional": false, "readOnly": false, - "discriminator": false, + "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage.anonymous.output_tokens", + "crossLanguageDefinitionId": "OpenAI.MessageContent.type", "serializationOptions": { "json": { - "name": "output_tokens" + "name": "type" } }, "isHttpMetadata": false }, - { - "$id": "5920", - "kind": "property", - "name": "input_tokens_details", - "serializedName": "input_tokens_details", - "doc": "The input tokens detailed information for the image generation.", - "type": { - "$id": "5921", + "properties": [ + { + "$ref": "5955" + } + ], + "discriminatedSubtypes": { + "image_file": { + "$id": "5956", "kind": "model", - "name": "ImagesResponseUsageInputTokensDetails", + "name": "MessageContentImageFileObject", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage.input_tokens_details.anonymous", - "usage": "Output,Json", + "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject", + "access": "public", + "usage": "Input,Output,Json", + "doc": "References an image [File](/docs/api-reference/files) in the content of a message.", + "discriminatorValue": "image_file", "decorators": [], + "baseModel": { + "$ref": "5954" + }, "properties": [ { - "$id": "5922", + "$id": "5957", "kind": "property", - "name": "text_tokens", - "serializedName": "text_tokens", - "doc": "The number of text tokens in the input prompt.", + "name": "type", + "serializedName": "type", + "doc": "Always `image_file`.", "type": { - "$id": "5923", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", + "$id": "5958", + "kind": "enumvalue", + "name": "image_file", + "value": "image_file", + "valueType": { + "$ref": "827" + }, + "enumType": { + "$id": "5959", + "kind": "enum", + "decorators": [], + "name": "MessageContentType", + "isGeneratedName": false, + "namespace": "OpenAI", + "valueType": { + "$id": "5960", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "5961", + "kind": "enumvalue", + "decorators": [], + "doc": "The content is a text message.", + "name": "text", + "value": "text", + "valueType": { + "$ref": "5960" + }, + "enumType": { + "$ref": "5959" + } + }, + { + "$id": "5962", + "kind": "enumvalue", + "decorators": [], + "doc": "The content is an image file.", + "name": "image_file", + "value": "image_file", + "valueType": { + "$ref": "5960" + }, + "enumType": { + "$ref": "5959" + } + }, + { + "$id": "5963", + "kind": "enumvalue", + "decorators": [], + "doc": "The content is an image URL.", + "name": "image_url", + "value": "image_url", + "valueType": { + "$ref": "5960" + }, + "enumType": { + "$ref": "5959" + } + }, + { + "$id": "5964", + "kind": "enumvalue", + "decorators": [], + "doc": "The content is a refusal message.", + "name": "refusal", + "value": "refusal", + "valueType": { + "$ref": "5960" + }, + "enumType": { + "$ref": "5959" + } + } + ], + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "access": "public", + "crossLanguageDefinitionId": "OpenAI.MessageContentType", + "apiVersions": [], + "isUnionAsEnum": true, + "__accessSet": true + }, + "doc": "The content is an image file.", "decorators": [] }, "optional": false, "readOnly": false, - "discriminator": false, + "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage.input_tokens_details.anonymous.text_tokens", + "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.type", "serializationOptions": { "json": { - "name": "text_tokens" + "name": "type" } }, "isHttpMetadata": false }, { - "$id": "5924", + "$id": "5965", "kind": "property", - "name": "image_tokens", - "serializedName": "image_tokens", - "doc": "The number of image tokens in the input prompt.", + "name": "image_file", + "serializedName": "image_file", "type": { - "$id": "5925", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "$id": "5966", + "kind": "model", + "name": "MessageContentImageFileObjectImageFile", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.anonymous", + "usage": "Input,Output,Json", + "decorators": [], + "properties": [ + { + "$id": "5967", + "kind": "property", + "name": "file_id", + "serializedName": "file_id", + "doc": "The [File](/docs/api-reference/files) ID of the image in the message content. Set `purpose=\"vision\"` when uploading the File if you need to later display the file content.", + "type": { + "$id": "5968", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.anonymous.file_id", + "serializationOptions": { + "json": { + "name": "file_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5969", + "kind": "property", + "name": "detail", + "serializedName": "detail", + "doc": "Specifies the detail level of the image if specified by the user. `low` uses fewer tokens, you can opt in to high resolution using `high`.", + "type": { + "$ref": "832" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.anonymous.detail", + "serializationOptions": { + "json": { + "name": "detail" + } + }, + "isHttpMetadata": false + } + ] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage.input_tokens_details.anonymous.image_tokens", + "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file", "serializationOptions": { "json": { - "name": "image_tokens" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage.anonymous.input_tokens_details", - "serializationOptions": { - "json": { - "name": "input_tokens_details" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage", - "serializationOptions": { - "json": { - "name": "usage" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$ref": "5905" - }, - { - "$ref": "5913" - }, - { - "$ref": "5921" - }, - { - "$id": "5926", - "kind": "model", - "name": "CreateImageEditRequest", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest", - "usage": "Input,MultipartFormData", - "decorators": [], - "properties": [ - { - "$id": "5927", - "kind": "property", - "name": "image", - "serializedName": "image", - "doc": "The image(s) to edit. Must be a supported image file or an array of images.\n\nFor `gpt-image-1`, each image should be a `png`, `webp`, or `jpg` file less\nthan 50MB. You can provide up to 16 images.\n\nFor `dall-e-2`, you can only provide one image, and it should be a square\n`png` file less than 4MB.", - "type": { - "$id": "5928", - "kind": "union", - "name": "CreateImageEditRequestImage", - "variantTypes": [ - { - "$id": "5929", - "kind": "bytes", - "name": "bytes", - "encode": "base64", - "crossLanguageDefinitionId": "TypeSpec.bytes", - "decorators": [] - }, - { - "$id": "5930", - "kind": "array", - "name": "Array25", - "valueType": { - "$id": "5931", - "kind": "bytes", - "name": "bytes", - "encode": "base64", - "crossLanguageDefinitionId": "TypeSpec.bytes", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - } - ], - "namespace": "OpenAI", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.image", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/octet-stream", - "application/json" - ], - "name": "image", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5932", - "kind": "property", - "name": "prompt", - "serializedName": "prompt", - "doc": "A text description of the desired image(s). The maximum length is 1000 characters for `dall-e-2`, and 32000 characters for `gpt-image-1`.", - "type": { - "$id": "5933", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.prompt", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "text/plain" - ], - "name": "prompt", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5934", - "kind": "property", - "name": "mask", - "serializedName": "mask", - "doc": "An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.", - "type": { - "$id": "5935", - "kind": "bytes", - "name": "bytes", - "encode": "base64", - "crossLanguageDefinitionId": "TypeSpec.bytes", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.mask", - "serializationOptions": { - "multipart": { - "isFilePart": true, - "isMulti": false, - "defaultContentTypes": [ - "application/octet-stream" - ], - "name": "mask", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5936", - "kind": "property", - "name": "background", - "serializedName": "background", - "doc": "Allows to set transparency for the background of the generated image(s).\nThis parameter is only supported for `gpt-image-1`. Must be one of\n`transparent`, `opaque` or `auto` (default value). When `auto` is used, the\nmodel will automatically determine the best background for the image.\n\nIf `transparent`, the output format needs to support transparency, so it\nshould be set to either `png` (default value) or `webp`.", - "type": { - "$id": "5937", - "kind": "nullable", - "type": { - "$ref": "876" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.background", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "background", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5938", - "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "The model to use for image generation. Only `dall-e-2` and `gpt-image-1` are supported. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used.", - "type": { - "$id": "5939", - "kind": "nullable", - "type": { - "$ref": "881" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.model", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "model", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5940", - "kind": "property", - "name": "n", - "serializedName": "n", - "doc": "The number of images to generate. Must be between 1 and 10.", - "type": { - "$id": "5941", - "kind": "nullable", - "type": { - "$id": "5942", - "kind": "int32", - "name": "OneToTenInt", - "crossLanguageDefinitionId": "OpenAI.OneToTenInt", - "baseType": { - "$id": "5943", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "decorators": [] - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.n", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "n", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5944", - "kind": "property", - "name": "size", - "serializedName": "size", - "doc": "The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, and one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`.", - "type": { - "$id": "5945", - "kind": "nullable", - "type": { - "$ref": "885" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.size", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "size", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5946", - "kind": "property", - "name": "response_format", - "serializedName": "response_format", - "doc": "The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter is only supported for `dall-e-2`, as `gpt-image-1` will always return base64-encoded images.", - "type": { - "$id": "5947", - "kind": "nullable", - "type": { - "$ref": "893" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.response_format", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "response_format", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5948", - "kind": "property", - "name": "user", - "serializedName": "user", - "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", - "type": { - "$id": "5949", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.user", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "text/plain" - ], - "name": "user", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5950", - "kind": "property", - "name": "quality", - "serializedName": "quality", - "doc": "The quality of the image that will be generated. `high`, `medium` and `low` are only supported for `gpt-image-1`. `dall-e-2` only supports `standard` quality. Defaults to `auto`.", - "type": { - "$id": "5951", - "kind": "nullable", - "type": { - "$ref": "897" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.quality", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "quality", - "headers": [] - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "5952", - "kind": "model", - "name": "CreateImageVariationRequest", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest", - "usage": "Input,MultipartFormData", - "decorators": [], - "properties": [ - { - "$id": "5953", - "kind": "property", - "name": "image", - "serializedName": "image", - "doc": "The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.", - "type": { - "$id": "5954", - "kind": "bytes", - "name": "bytes", - "encode": "base64", - "crossLanguageDefinitionId": "TypeSpec.bytes", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.image", - "serializationOptions": { - "multipart": { - "isFilePart": true, - "isMulti": false, - "defaultContentTypes": [ - "application/octet-stream" - ], - "name": "image", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5955", - "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "The model to use for image generation. Only `dall-e-2` is supported at this time.", - "type": { - "$id": "5956", - "kind": "nullable", - "type": { - "$ref": "904" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.model", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "model", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5957", - "kind": "property", - "name": "n", - "serializedName": "n", - "doc": "The number of images to generate. Must be between 1 and 10.", - "type": { - "$id": "5958", - "kind": "nullable", - "type": { - "$id": "5959", - "kind": "int32", - "name": "OneToTenInt", - "crossLanguageDefinitionId": "OpenAI.OneToTenInt", - "baseType": { - "$id": "5960", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "decorators": [] - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.n", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "n", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5961", - "kind": "property", - "name": "response_format", - "serializedName": "response_format", - "doc": "The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.", - "type": { - "$id": "5962", - "kind": "nullable", - "type": { - "$ref": "907" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.response_format", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "response_format", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5963", - "kind": "property", - "name": "size", - "serializedName": "size", - "doc": "The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.", - "type": { - "$id": "5964", - "kind": "nullable", - "type": { - "$ref": "911" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.size", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "application/json" - ], - "name": "size", - "headers": [] - } - }, - "isHttpMetadata": false - }, - { - "$id": "5965", - "kind": "property", - "name": "user", - "serializedName": "user", - "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", - "type": { - "$id": "5966", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.user", - "serializationOptions": { - "multipart": { - "isFilePart": false, - "isMulti": false, - "defaultContentTypes": [ - "text/plain" - ], - "name": "user", - "headers": [] - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "5967", - "kind": "model", - "name": "CreateMessageRequest", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateMessageRequest", - "usage": "Input,Json", - "decorators": [], - "properties": [ - { - "$id": "5968", - "kind": "property", - "name": "role", - "serializedName": "role", - "doc": "The role of the entity that is creating the message. Allowed values include:\n- `user`: Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages.\n- `assistant`: Indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation.", - "type": { - "$ref": "916" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateMessageRequest.role", - "serializationOptions": { - "json": { - "name": "role" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5969", - "kind": "property", - "name": "content", - "serializedName": "content", - "type": { - "$id": "5970", - "kind": "array", - "name": "ArrayMessageContent", - "valueType": { - "$id": "5971", - "kind": "model", - "name": "MessageContent", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.MessageContent", - "access": "public", - "usage": "Input,Output,Json", - "doc": "Represents a single piece of content in an Assistants API message.", - "decorators": [], - "discriminatorProperty": { - "$id": "5972", - "kind": "property", - "name": "type", - "serializedName": "type", - "type": { - "$ref": "920" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MessageContent.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - "properties": [ - { - "$ref": "5972" - } - ], - "discriminatedSubtypes": { - "image_file": { - "$id": "5973", - "kind": "model", - "name": "MessageContentImageFileObject", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject", - "access": "public", - "usage": "Input,Output,Json", - "doc": "References an image [File](/docs/api-reference/files) in the content of a message.", - "discriminatorValue": "image_file", - "decorators": [], - "baseModel": { - "$ref": "5971" - }, - "properties": [ - { - "$id": "5974", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "Always `image_file`.", - "type": { - "$id": "5975", - "kind": "enumvalue", - "name": "image_file", - "value": "image_file", - "valueType": { - "$ref": "921" - }, - "enumType": { - "$id": "5976", - "kind": "enum", - "decorators": [], - "name": "MessageContentType", - "isGeneratedName": false, - "namespace": "OpenAI", - "valueType": { - "$id": "5977", - "kind": "string", - "decorators": [], - "doc": "A sequence of textual characters.", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "values": [ - { - "$id": "5978", - "kind": "enumvalue", - "decorators": [], - "doc": "The content is a text message.", - "name": "text", - "value": "text", - "valueType": { - "$ref": "5977" - }, - "enumType": { - "$ref": "5976" - } - }, - { - "$id": "5979", - "kind": "enumvalue", - "decorators": [], - "doc": "The content is an image file.", - "name": "image_file", - "value": "image_file", - "valueType": { - "$ref": "5977" - }, - "enumType": { - "$ref": "5976" - } - }, - { - "$id": "5980", - "kind": "enumvalue", - "decorators": [], - "doc": "The content is an image URL.", - "name": "image_url", - "value": "image_url", - "valueType": { - "$ref": "5977" - }, - "enumType": { - "$ref": "5976" - } - }, - { - "$id": "5981", - "kind": "enumvalue", - "decorators": [], - "doc": "The content is a refusal message.", - "name": "refusal", - "value": "refusal", - "valueType": { - "$ref": "5977" - }, - "enumType": { - "$ref": "5976" - } - } - ], - "isFixed": true, - "isFlags": false, - "usage": "Input,Output,Json", - "access": "public", - "crossLanguageDefinitionId": "OpenAI.MessageContentType", - "apiVersions": [], - "isUnionAsEnum": true, - "__accessSet": true - }, - "doc": "The content is an image file.", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5982", - "kind": "property", - "name": "image_file", - "serializedName": "image_file", - "type": { - "$id": "5983", - "kind": "model", - "name": "MessageContentImageFileObjectImageFile", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.anonymous", - "usage": "Input,Output,Json", - "decorators": [], - "properties": [ - { - "$id": "5984", - "kind": "property", - "name": "file_id", - "serializedName": "file_id", - "doc": "The [File](/docs/api-reference/files) ID of the image in the message content. Set `purpose=\"vision\"` when uploading the File if you need to later display the file content.", - "type": { - "$id": "5985", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.anonymous.file_id", - "serializationOptions": { - "json": { - "name": "file_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5986", - "kind": "property", - "name": "detail", - "serializedName": "detail", - "doc": "Specifies the detail level of the image if specified by the user. `low` uses fewer tokens, you can opt in to high resolution using `high`.", - "type": { - "$ref": "926" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.anonymous.detail", - "serializationOptions": { - "json": { - "name": "detail" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file", - "serializationOptions": { - "json": { - "name": "image_file" + "name": "image_file" } }, "isHttpMetadata": false @@ -77339,7 +76953,7 @@ ] }, "text": { - "$id": "5987", + "$id": "5970", "kind": "model", "name": "MessageContentTextObject", "namespace": "OpenAI", @@ -77350,25 +76964,25 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "5971" + "$ref": "5954" }, "properties": [ { - "$id": "5988", + "$id": "5971", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `text`.", "type": { - "$id": "5989", + "$id": "5972", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "921" + "$ref": "827" }, "enumType": { - "$ref": "5976" + "$ref": "5959" }, "doc": "The content is a text message.", "decorators": [] @@ -77387,24 +77001,24 @@ "isHttpMetadata": false }, { - "$id": "5990", + "$id": "5973", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "5991", + "$id": "5974", "kind": "union", "name": "MessageContentTextObjectText", "variantTypes": [ { - "$id": "5992", + "$id": "5975", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "5993", + "$id": "5976", "kind": "model", "name": "MessageContentTextObjectText1", "namespace": "OpenAI", @@ -77413,12 +77027,12 @@ "decorators": [], "properties": [ { - "$id": "5994", + "$id": "5977", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "5995", + "$id": "5978", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77438,16 +77052,16 @@ "isHttpMetadata": false }, { - "$id": "5996", + "$id": "5979", "kind": "property", "name": "annotations", "serializedName": "annotations", "type": { - "$id": "5997", + "$id": "5980", "kind": "array", "name": "ArrayMessageContentTextObjectAnnotation", "valueType": { - "$id": "5998", + "$id": "5981", "kind": "model", "name": "MessageContentTextObjectAnnotation", "namespace": "OpenAI", @@ -77456,13 +77070,13 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "5999", + "$id": "5982", "kind": "property", "name": "type", "serializedName": "type", "doc": "The discriminated type identifier for the content item.", "type": { - "$ref": "931" + "$ref": "837" }, "optional": false, "readOnly": false, @@ -77479,12 +77093,12 @@ }, "properties": [ { - "$ref": "5999" + "$ref": "5982" } ], "discriminatedSubtypes": { "file_citation": { - "$id": "6000", + "$id": "5983", "kind": "model", "name": "MessageContentTextAnnotationsFileCitationObject", "namespace": "OpenAI", @@ -77495,32 +77109,32 @@ "discriminatorValue": "file_citation", "decorators": [], "baseModel": { - "$ref": "5998" + "$ref": "5981" }, "properties": [ { - "$id": "6001", + "$id": "5984", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `file_citation`.", "type": { - "$id": "6002", + "$id": "5985", "kind": "enumvalue", "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "932" + "$ref": "838" }, "enumType": { - "$id": "6003", + "$id": "5986", "kind": "enum", "decorators": [], "name": "MessageContentTextAnnotationType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6004", + "$id": "5987", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -77529,29 +77143,29 @@ }, "values": [ { - "$id": "6005", + "$id": "5988", "kind": "enumvalue", "decorators": [], "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "6004" + "$ref": "5987" }, "enumType": { - "$ref": "6003" + "$ref": "5986" } }, { - "$id": "6006", + "$id": "5989", "kind": "enumvalue", "decorators": [], "name": "file_path", "value": "file_path", "valueType": { - "$ref": "6004" + "$ref": "5987" }, "enumType": { - "$ref": "6003" + "$ref": "5986" } } ], @@ -77580,13 +77194,13 @@ "isHttpMetadata": false }, { - "$id": "6007", + "$id": "5990", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "6008", + "$id": "5991", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77606,12 +77220,12 @@ "isHttpMetadata": false }, { - "$id": "6009", + "$id": "5992", "kind": "property", "name": "file_citation", "serializedName": "file_citation", "type": { - "$id": "6010", + "$id": "5993", "kind": "model", "name": "MessageContentTextAnnotationsFileCitationObjectFileCitation", "namespace": "OpenAI", @@ -77620,13 +77234,13 @@ "decorators": [], "properties": [ { - "$id": "6011", + "$id": "5994", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the specific File the citation is from.", "type": { - "$id": "6012", + "$id": "5995", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77661,12 +77275,12 @@ "isHttpMetadata": false }, { - "$id": "6013", + "$id": "5996", "kind": "property", "name": "start_index", "serializedName": "start_index", "type": { - "$id": "6014", + "$id": "5997", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77686,12 +77300,12 @@ "isHttpMetadata": false }, { - "$id": "6015", + "$id": "5998", "kind": "property", "name": "end_index", "serializedName": "end_index", "type": { - "$id": "6016", + "$id": "5999", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77713,7 +77327,7 @@ ] }, "file_path": { - "$id": "6017", + "$id": "6000", "kind": "model", "name": "MessageContentTextAnnotationsFilePathObject", "namespace": "OpenAI", @@ -77724,25 +77338,25 @@ "discriminatorValue": "file_path", "decorators": [], "baseModel": { - "$ref": "5998" + "$ref": "5981" }, "properties": [ { - "$id": "6018", + "$id": "6001", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `file_path`.", "type": { - "$id": "6019", + "$id": "6002", "kind": "enumvalue", "name": "file_path", "value": "file_path", "valueType": { - "$ref": "932" + "$ref": "838" }, "enumType": { - "$ref": "6003" + "$ref": "5986" }, "decorators": [] }, @@ -77760,13 +77374,13 @@ "isHttpMetadata": false }, { - "$id": "6020", + "$id": "6003", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "6021", + "$id": "6004", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77786,12 +77400,12 @@ "isHttpMetadata": false }, { - "$id": "6022", + "$id": "6005", "kind": "property", "name": "file_path", "serializedName": "file_path", "type": { - "$id": "6023", + "$id": "6006", "kind": "model", "name": "MessageContentTextAnnotationsFilePathObjectFilePath", "namespace": "OpenAI", @@ -77800,13 +77414,13 @@ "decorators": [], "properties": [ { - "$id": "6024", + "$id": "6007", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file that was generated.", "type": { - "$id": "6025", + "$id": "6008", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77841,12 +77455,12 @@ "isHttpMetadata": false }, { - "$id": "6026", + "$id": "6009", "kind": "property", "name": "start_index", "serializedName": "start_index", "type": { - "$id": "6027", + "$id": "6010", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77866,12 +77480,12 @@ "isHttpMetadata": false }, { - "$id": "6028", + "$id": "6011", "kind": "property", "name": "end_index", "serializedName": "end_index", "type": { - "$id": "6029", + "$id": "6012", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77932,7 +77546,7 @@ ] }, "refusal": { - "$id": "6030", + "$id": "6013", "kind": "model", "name": "MessageContentRefusalObject", "namespace": "OpenAI", @@ -77943,25 +77557,25 @@ "discriminatorValue": "refusal", "decorators": [], "baseModel": { - "$ref": "5971" + "$ref": "5954" }, "properties": [ { - "$id": "6031", + "$id": "6014", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `refusal`.", "type": { - "$id": "6032", + "$id": "6015", "kind": "enumvalue", "name": "refusal", "value": "refusal", "valueType": { - "$ref": "921" + "$ref": "827" }, "enumType": { - "$ref": "5976" + "$ref": "5959" }, "doc": "The content is a refusal message.", "decorators": [] @@ -77980,12 +77594,12 @@ "isHttpMetadata": false }, { - "$id": "6033", + "$id": "6016", "kind": "property", "name": "refusal", "serializedName": "refusal", "type": { - "$id": "6034", + "$id": "6017", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78007,7 +77621,7 @@ ] }, "image_url": { - "$id": "6035", + "$id": "6018", "kind": "model", "name": "MessageContentImageUrlObject", "namespace": "OpenAI", @@ -78018,25 +77632,25 @@ "discriminatorValue": "image_url", "decorators": [], "baseModel": { - "$ref": "5971" + "$ref": "5954" }, "properties": [ { - "$id": "6036", + "$id": "6019", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part.", "type": { - "$id": "6037", + "$id": "6020", "kind": "enumvalue", "name": "image_url", "value": "image_url", "valueType": { - "$ref": "921" + "$ref": "827" }, "enumType": { - "$ref": "5976" + "$ref": "5959" }, "doc": "The content is an image URL.", "decorators": [] @@ -78055,12 +77669,12 @@ "isHttpMetadata": false }, { - "$id": "6038", + "$id": "6021", "kind": "property", "name": "image_url", "serializedName": "image_url", "type": { - "$id": "6039", + "$id": "6022", "kind": "model", "name": "MessageContentImageUrlObjectImageUrl", "namespace": "OpenAI", @@ -78069,13 +77683,13 @@ "decorators": [], "properties": [ { - "$id": "6040", + "$id": "6023", "kind": "property", "name": "url", "serializedName": "url", "doc": "The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.", "type": { - "$id": "6041", + "$id": "6024", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -78095,13 +77709,13 @@ "isHttpMetadata": false }, { - "$id": "6042", + "$id": "6025", "kind": "property", "name": "detail", "serializedName": "detail", "doc": "Specifies the detail level of the image. `low` uses fewer tokens, you can opt in to high resolution using `high`. Default value is `auto`", "type": { - "$ref": "935" + "$ref": "841" }, "optional": true, "readOnly": false, @@ -78152,20 +77766,20 @@ "isHttpMetadata": false }, { - "$id": "6043", + "$id": "6026", "kind": "property", "name": "attachments", "serializedName": "attachments", "doc": "A list of files attached to the message, and the tools they should be added to.", "type": { - "$id": "6044", + "$id": "6027", "kind": "nullable", "type": { - "$id": "6045", + "$id": "6028", "kind": "array", - "name": "Array26", + "name": "Array24", "valueType": { - "$id": "6046", + "$id": "6029", "kind": "model", "name": "CreateMessageRequestAttachment", "namespace": "OpenAI", @@ -78174,13 +77788,13 @@ "decorators": [], "properties": [ { - "$id": "6047", + "$id": "6030", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to attach to the message.", "type": { - "$id": "6048", + "$id": "6031", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78200,25 +77814,25 @@ "isHttpMetadata": false }, { - "$id": "6049", + "$id": "6032", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools to add this file to.", "type": { - "$id": "6050", + "$id": "6033", "kind": "array", - "name": "Array27", + "name": "Array25", "valueType": { - "$id": "6051", + "$id": "6034", "kind": "union", "name": "CreateMessageRequestAttachmentTool", "variantTypes": [ { - "$ref": "2398" + "$ref": "2508" }, { - "$id": "6052", + "$id": "6035", "kind": "model", "name": "AssistantToolsFileSearchTypeOnly", "namespace": "OpenAI", @@ -78227,13 +77841,13 @@ "decorators": [], "properties": [ { - "$id": "6053", + "$id": "6036", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool being defined: `file_search`", "type": { - "$ref": "1678" + "$ref": "1800" }, "optional": false, "readOnly": false, @@ -78291,13 +77905,13 @@ "isHttpMetadata": false }, { - "$id": "6054", + "$id": "6037", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -78315,52 +77929,52 @@ ] }, { - "$ref": "5971" + "$ref": "5954" }, { - "$ref": "5973" + "$ref": "5956" }, { - "$ref": "5983" + "$ref": "5966" }, { - "$ref": "5987" + "$ref": "5970" }, { - "$ref": "5993" + "$ref": "5976" }, { - "$ref": "5998" + "$ref": "5981" }, { - "$ref": "6000" + "$ref": "5983" }, { - "$ref": "6010" + "$ref": "5993" }, { - "$ref": "6017" + "$ref": "6000" }, { - "$ref": "6023" + "$ref": "6006" }, { - "$ref": "6030" + "$ref": "6013" }, { - "$ref": "6035" + "$ref": "6018" }, { - "$ref": "6039" + "$ref": "6022" }, { - "$ref": "6046" + "$ref": "6029" }, { - "$ref": "6052" + "$ref": "6035" }, { - "$id": "6055", + "$id": "6038", "kind": "model", "name": "MessageObject", "namespace": "OpenAI", @@ -78370,13 +77984,13 @@ "decorators": [], "properties": [ { - "$id": "6056", + "$id": "6039", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6057", + "$id": "6040", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78396,13 +78010,13 @@ "isHttpMetadata": false }, { - "$id": "6058", + "$id": "6041", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `thread.message`.", "type": { - "$ref": "1680" + "$ref": "1802" }, "optional": false, "readOnly": false, @@ -78418,18 +78032,18 @@ "isHttpMetadata": false }, { - "$id": "6059", + "$id": "6042", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the message was created.", "type": { - "$id": "6060", + "$id": "6043", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6061", + "$id": "6044", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -78452,13 +78066,13 @@ "isHttpMetadata": false }, { - "$id": "6062", + "$id": "6045", "kind": "property", "name": "thread_id", "serializedName": "thread_id", "doc": "The [thread](/docs/api-reference/threads) ID that this message belongs to.", "type": { - "$id": "6063", + "$id": "6046", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78478,13 +78092,13 @@ "isHttpMetadata": false }, { - "$id": "6064", + "$id": "6047", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the message, which can be either `in_progress`, `incomplete`, or `completed`.", "type": { - "$ref": "940" + "$ref": "846" }, "optional": false, "readOnly": false, @@ -78500,16 +78114,16 @@ "isHttpMetadata": false }, { - "$id": "6065", + "$id": "6048", "kind": "property", "name": "incomplete_details", "serializedName": "incomplete_details", "doc": "On an incomplete message, details about why the message is incomplete.", "type": { - "$id": "6066", + "$id": "6049", "kind": "nullable", "type": { - "$id": "6067", + "$id": "6050", "kind": "model", "name": "MessageObjectIncompleteDetails1", "namespace": "OpenAI", @@ -78518,13 +78132,13 @@ "decorators": [], "properties": [ { - "$id": "6068", + "$id": "6051", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason the message is incomplete.", "type": { - "$ref": "945" + "$ref": "851" }, "optional": false, "readOnly": false, @@ -78557,21 +78171,21 @@ "isHttpMetadata": false }, { - "$id": "6069", + "$id": "6052", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the message was completed.", "type": { - "$id": "6070", + "$id": "6053", "kind": "nullable", "type": { - "$id": "6071", + "$id": "6054", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6072", + "$id": "6055", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -78596,21 +78210,21 @@ "isHttpMetadata": false }, { - "$id": "6073", + "$id": "6056", "kind": "property", "name": "incomplete_at", "serializedName": "incomplete_at", "doc": "The Unix timestamp (in seconds) for when the message was marked as incomplete.", "type": { - "$id": "6074", + "$id": "6057", "kind": "nullable", "type": { - "$id": "6075", + "$id": "6058", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6076", + "$id": "6059", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -78635,13 +78249,13 @@ "isHttpMetadata": false }, { - "$id": "6077", + "$id": "6060", "kind": "property", "name": "role", "serializedName": "role", "doc": "The entity that produced the message. One of `user` or `assistant`.", "type": { - "$ref": "952" + "$ref": "858" }, "optional": false, "readOnly": false, @@ -78657,13 +78271,13 @@ "isHttpMetadata": false }, { - "$id": "6078", + "$id": "6061", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message in array of text and/or images.", "type": { - "$ref": "5970" + "$ref": "5953" }, "optional": false, "readOnly": true, @@ -78679,16 +78293,16 @@ "isHttpMetadata": false }, { - "$id": "6079", + "$id": "6062", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "If applicable, the ID of the [assistant](/docs/api-reference/assistants) that authored this message.", "type": { - "$id": "6080", + "$id": "6063", "kind": "nullable", "type": { - "$id": "6081", + "$id": "6064", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78710,16 +78324,16 @@ "isHttpMetadata": false }, { - "$id": "6082", + "$id": "6065", "kind": "property", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the [run](/docs/api-reference/runs) associated with the creation of this message. Value is `null` when messages are created manually using the create message or create thread endpoints.", "type": { - "$id": "6083", + "$id": "6066", "kind": "nullable", "type": { - "$id": "6084", + "$id": "6067", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78741,20 +78355,20 @@ "isHttpMetadata": false }, { - "$id": "6085", + "$id": "6068", "kind": "property", "name": "attachments", "serializedName": "attachments", "doc": "A list of files attached to the message, and the tools they were added to.", "type": { - "$id": "6086", + "$id": "6069", "kind": "nullable", "type": { - "$id": "6087", + "$id": "6070", "kind": "array", - "name": "Array28", + "name": "Array26", "valueType": { - "$id": "6088", + "$id": "6071", "kind": "model", "name": "MessageObjectAttachment", "namespace": "OpenAI", @@ -78763,13 +78377,13 @@ "decorators": [], "properties": [ { - "$id": "6089", + "$id": "6072", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to attach to the message.", "type": { - "$id": "6090", + "$id": "6073", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78789,25 +78403,25 @@ "isHttpMetadata": false }, { - "$id": "6091", + "$id": "6074", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools to add this file to.", "type": { - "$id": "6092", + "$id": "6075", "kind": "array", - "name": "Array29", + "name": "Array27", "valueType": { - "$id": "6093", + "$id": "6076", "kind": "union", "name": "MessageObjectAttachmentTool", "variantTypes": [ { - "$ref": "2398" + "$ref": "2508" }, { - "$ref": "6052" + "$ref": "6035" } ], "namespace": "OpenAI", @@ -78850,13 +78464,13 @@ "isHttpMetadata": false }, { - "$id": "6094", + "$id": "6077", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": true, @@ -78874,13 +78488,13 @@ ] }, { - "$ref": "6067" + "$ref": "6050" }, { - "$ref": "6088" + "$ref": "6071" }, { - "$id": "6095", + "$id": "6078", "kind": "model", "name": "ListMessagesResponse", "namespace": "OpenAI", @@ -78889,12 +78503,12 @@ "decorators": [], "properties": [ { - "$id": "6096", + "$id": "6079", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1682" + "$ref": "1804" }, "optional": false, "readOnly": false, @@ -78910,16 +78524,16 @@ "isHttpMetadata": false }, { - "$id": "6097", + "$id": "6080", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6098", + "$id": "6081", "kind": "array", "name": "ArrayMessageObject", "valueType": { - "$ref": "6055" + "$ref": "6038" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -78938,12 +78552,12 @@ "isHttpMetadata": false }, { - "$id": "6099", + "$id": "6082", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6100", + "$id": "6083", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78963,12 +78577,12 @@ "isHttpMetadata": false }, { - "$id": "6101", + "$id": "6084", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6102", + "$id": "6085", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78988,12 +78602,12 @@ "isHttpMetadata": false }, { - "$id": "6103", + "$id": "6086", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6104", + "$id": "6087", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79015,7 +78629,7 @@ ] }, { - "$id": "6105", + "$id": "6088", "kind": "model", "name": "ModifyMessageRequest", "namespace": "OpenAI", @@ -79024,13 +78638,13 @@ "decorators": [], "properties": [ { - "$id": "6106", + "$id": "6089", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -79048,7 +78662,7 @@ ] }, { - "$id": "6107", + "$id": "6090", "kind": "model", "name": "DeleteMessageResponse", "namespace": "OpenAI", @@ -79057,12 +78671,12 @@ "decorators": [], "properties": [ { - "$id": "6108", + "$id": "6091", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6109", + "$id": "6092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79082,12 +78696,12 @@ "isHttpMetadata": false }, { - "$id": "6110", + "$id": "6093", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6111", + "$id": "6094", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79107,12 +78721,12 @@ "isHttpMetadata": false }, { - "$id": "6112", + "$id": "6095", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1684" + "$ref": "1806" }, "optional": false, "readOnly": false, @@ -79130,7 +78744,7 @@ ] }, { - "$id": "6113", + "$id": "6096", "kind": "model", "name": "CreateModerationRequest", "namespace": "OpenAI", @@ -79139,37 +78753,37 @@ "decorators": [], "properties": [ { - "$id": "6114", + "$id": "6097", "kind": "property", "name": "input", "serializedName": "input", "doc": "Input (or inputs) to classify. Can be a single string, an array of strings, or\nan array of multi-modal input objects similar to other models.", "type": { - "$id": "6115", + "$id": "6098", "kind": "union", "name": "CreateModerationRequestInput", "variantTypes": [ { - "$id": "6116", + "$id": "6099", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2438" + "$ref": "2548" }, { - "$id": "6117", + "$id": "6100", "kind": "array", - "name": "Array30", + "name": "Array28", "valueType": { - "$id": "6118", + "$id": "6101", "kind": "union", "name": "CreateModerationRequestInput1", "variantTypes": [ { - "$id": "6119", + "$id": "6102", "kind": "model", "name": "CreateModerationRequestInput2", "namespace": "OpenAI", @@ -79178,13 +78792,13 @@ "decorators": [], "properties": [ { - "$id": "6120", + "$id": "6103", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `image_url`.", "type": { - "$ref": "1686" + "$ref": "1808" }, "optional": false, "readOnly": false, @@ -79200,13 +78814,13 @@ "isHttpMetadata": false }, { - "$id": "6121", + "$id": "6104", "kind": "property", "name": "image_url", "serializedName": "image_url", "doc": "Contains either an image URL or a data URL for a base64 encoded image.", "type": { - "$id": "6122", + "$id": "6105", "kind": "model", "name": "CreateModerationRequestInputImageUrl", "namespace": "OpenAI", @@ -79215,13 +78829,13 @@ "decorators": [], "properties": [ { - "$id": "6123", + "$id": "6106", "kind": "property", "name": "url", "serializedName": "url", "doc": "Either a URL of the image or the base64 encoded image data.", "type": { - "$id": "6124", + "$id": "6107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79258,7 +78872,7 @@ ] }, { - "$id": "6125", + "$id": "6108", "kind": "model", "name": "CreateModerationRequestInput3", "namespace": "OpenAI", @@ -79267,13 +78881,13 @@ "decorators": [], "properties": [ { - "$id": "6126", + "$id": "6109", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `text`.", "type": { - "$ref": "1688" + "$ref": "1810" }, "optional": false, "readOnly": false, @@ -79289,13 +78903,13 @@ "isHttpMetadata": false }, { - "$id": "6127", + "$id": "6110", "kind": "property", "name": "text", "serializedName": "text", "doc": "A string of text to classify.", "type": { - "$id": "6128", + "$id": "6111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79341,13 +78955,13 @@ "isHttpMetadata": false }, { - "$id": "6129", + "$id": "6112", "kind": "property", "name": "model", "serializedName": "model", "doc": "The content moderation model you would like to use. Learn more in\n[the moderation guide](/docs/guides/moderation), and learn about\navailable models [here](/docs/models#moderation).", "type": { - "$ref": "956" + "$ref": "862" }, "optional": true, "readOnly": false, @@ -79365,16 +78979,16 @@ ] }, { - "$ref": "6119" + "$ref": "6102" }, { - "$ref": "6122" + "$ref": "6105" }, { - "$ref": "6125" + "$ref": "6108" }, { - "$id": "6130", + "$id": "6113", "kind": "model", "name": "CreateModerationResponse", "namespace": "OpenAI", @@ -79384,13 +78998,13 @@ "decorators": [], "properties": [ { - "$id": "6131", + "$id": "6114", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique identifier for the moderation request.", "type": { - "$id": "6132", + "$id": "6115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79410,13 +79024,13 @@ "isHttpMetadata": false }, { - "$id": "6133", + "$id": "6116", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used to generate the moderation results.", "type": { - "$id": "6134", + "$id": "6117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79436,17 +79050,17 @@ "isHttpMetadata": false }, { - "$id": "6135", + "$id": "6118", "kind": "property", "name": "results", "serializedName": "results", "doc": "A list of moderation objects.", "type": { - "$id": "6136", + "$id": "6119", "kind": "array", "name": "ArrayCreateModerationResponseResult", "valueType": { - "$id": "6137", + "$id": "6120", "kind": "model", "name": "CreateModerationResponseResult", "namespace": "OpenAI", @@ -79455,13 +79069,13 @@ "decorators": [], "properties": [ { - "$id": "6138", + "$id": "6121", "kind": "property", "name": "flagged", "serializedName": "flagged", "doc": "Whether any of the below categories are flagged.", "type": { - "$id": "6139", + "$id": "6122", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79481,13 +79095,13 @@ "isHttpMetadata": false }, { - "$id": "6140", + "$id": "6123", "kind": "property", "name": "categories", "serializedName": "categories", "doc": "A list of the categories, and whether they are flagged or not.", "type": { - "$id": "6141", + "$id": "6124", "kind": "model", "name": "CreateModerationResponseResultCategories", "namespace": "OpenAI", @@ -79496,13 +79110,13 @@ "decorators": [], "properties": [ { - "$id": "6142", + "$id": "6125", "kind": "property", "name": "hate", "serializedName": "hate", "doc": "Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harassment.", "type": { - "$id": "6143", + "$id": "6126", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79522,13 +79136,13 @@ "isHttpMetadata": false }, { - "$id": "6144", + "$id": "6127", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "doc": "Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.", "type": { - "$id": "6145", + "$id": "6128", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79548,13 +79162,13 @@ "isHttpMetadata": false }, { - "$id": "6146", + "$id": "6129", "kind": "property", "name": "harassment", "serializedName": "harassment", "doc": "Content that expresses, incites, or promotes harassing language towards any target.", "type": { - "$id": "6147", + "$id": "6130", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79574,13 +79188,13 @@ "isHttpMetadata": false }, { - "$id": "6148", + "$id": "6131", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "doc": "Harassment content that also includes violence or serious harm towards any target.", "type": { - "$id": "6149", + "$id": "6132", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79600,13 +79214,13 @@ "isHttpMetadata": false }, { - "$id": "6150", + "$id": "6133", "kind": "property", "name": "illicit", "serializedName": "illicit", "doc": "Content that includes instructions or advice that facilitate the planning or execution of wrongdoing, or that gives advice or instruction on how to commit illicit acts. For example, \"how to shoplift\" would fit this category.", "type": { - "$id": "6151", + "$id": "6134", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79626,13 +79240,13 @@ "isHttpMetadata": false }, { - "$id": "6152", + "$id": "6135", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "doc": "Content that includes instructions or advice that facilitate the planning or execution of wrongdoing that also includes violence, or that gives advice or instruction on the procurement of any weapon.", "type": { - "$id": "6153", + "$id": "6136", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79652,13 +79266,13 @@ "isHttpMetadata": false }, { - "$id": "6154", + "$id": "6137", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "doc": "Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.", "type": { - "$id": "6155", + "$id": "6138", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79678,13 +79292,13 @@ "isHttpMetadata": false }, { - "$id": "6156", + "$id": "6139", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "doc": "Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders.", "type": { - "$id": "6157", + "$id": "6140", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79704,13 +79318,13 @@ "isHttpMetadata": false }, { - "$id": "6158", + "$id": "6141", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "doc": "Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts.", "type": { - "$id": "6159", + "$id": "6142", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79730,13 +79344,13 @@ "isHttpMetadata": false }, { - "$id": "6160", + "$id": "6143", "kind": "property", "name": "sexual", "serializedName": "sexual", "doc": "Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).", "type": { - "$id": "6161", + "$id": "6144", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79756,13 +79370,13 @@ "isHttpMetadata": false }, { - "$id": "6162", + "$id": "6145", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "doc": "Sexual content that includes an individual who is under 18 years old.", "type": { - "$id": "6163", + "$id": "6146", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79782,13 +79396,13 @@ "isHttpMetadata": false }, { - "$id": "6164", + "$id": "6147", "kind": "property", "name": "violence", "serializedName": "violence", "doc": "Content that depicts death, violence, or physical injury.", "type": { - "$id": "6165", + "$id": "6148", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79808,13 +79422,13 @@ "isHttpMetadata": false }, { - "$id": "6166", + "$id": "6149", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "doc": "Content that depicts death, violence, or physical injury in graphic detail.", "type": { - "$id": "6167", + "$id": "6150", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79849,13 +79463,13 @@ "isHttpMetadata": false }, { - "$id": "6168", + "$id": "6151", "kind": "property", "name": "category_scores", "serializedName": "category_scores", "doc": "A list of the categories along with their scores as predicted by model.", "type": { - "$id": "6169", + "$id": "6152", "kind": "model", "name": "CreateModerationResponseResultCategoryScores", "namespace": "OpenAI", @@ -79864,13 +79478,13 @@ "decorators": [], "properties": [ { - "$id": "6170", + "$id": "6153", "kind": "property", "name": "hate", "serializedName": "hate", "doc": "The score for the category 'hate'.", "type": { - "$id": "6171", + "$id": "6154", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -79890,13 +79504,13 @@ "isHttpMetadata": false }, { - "$id": "6172", + "$id": "6155", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "doc": "The score for the category 'hate/threatening'.", "type": { - "$id": "6173", + "$id": "6156", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -79916,13 +79530,13 @@ "isHttpMetadata": false }, { - "$id": "6174", + "$id": "6157", "kind": "property", "name": "harassment", "serializedName": "harassment", "doc": "The score for the category 'harassment'.", "type": { - "$id": "6175", + "$id": "6158", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -79942,13 +79556,13 @@ "isHttpMetadata": false }, { - "$id": "6176", + "$id": "6159", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "doc": "The score for the category 'harassment/threatening'.", "type": { - "$id": "6177", + "$id": "6160", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -79968,13 +79582,13 @@ "isHttpMetadata": false }, { - "$id": "6178", + "$id": "6161", "kind": "property", "name": "illicit", "serializedName": "illicit", "doc": "The score for the category 'illicit'.", "type": { - "$id": "6179", + "$id": "6162", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -79994,13 +79608,13 @@ "isHttpMetadata": false }, { - "$id": "6180", + "$id": "6163", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "doc": "The score for the category 'illicit/violent'.", "type": { - "$id": "6181", + "$id": "6164", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80020,13 +79634,13 @@ "isHttpMetadata": false }, { - "$id": "6182", + "$id": "6165", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "doc": "The score for the category 'self-harm'.", "type": { - "$id": "6183", + "$id": "6166", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80046,13 +79660,13 @@ "isHttpMetadata": false }, { - "$id": "6184", + "$id": "6167", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "doc": "The score for the category 'self-harm/intent'.", "type": { - "$id": "6185", + "$id": "6168", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80072,13 +79686,13 @@ "isHttpMetadata": false }, { - "$id": "6186", + "$id": "6169", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "doc": "The score for the category 'self-harm/instructions'.", "type": { - "$id": "6187", + "$id": "6170", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80098,13 +79712,13 @@ "isHttpMetadata": false }, { - "$id": "6188", + "$id": "6171", "kind": "property", "name": "sexual", "serializedName": "sexual", "doc": "The score for the category 'sexual'.", "type": { - "$id": "6189", + "$id": "6172", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80124,13 +79738,13 @@ "isHttpMetadata": false }, { - "$id": "6190", + "$id": "6173", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "doc": "The score for the category 'sexual/minors'.", "type": { - "$id": "6191", + "$id": "6174", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80150,13 +79764,13 @@ "isHttpMetadata": false }, { - "$id": "6192", + "$id": "6175", "kind": "property", "name": "violence", "serializedName": "violence", "doc": "The score for the category 'violence'.", "type": { - "$id": "6193", + "$id": "6176", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80176,13 +79790,13 @@ "isHttpMetadata": false }, { - "$id": "6194", + "$id": "6177", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "doc": "The score for the category 'violence/graphic'.", "type": { - "$id": "6195", + "$id": "6178", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80217,13 +79831,13 @@ "isHttpMetadata": false }, { - "$id": "6196", + "$id": "6179", "kind": "property", "name": "category_applied_input_types", "serializedName": "category_applied_input_types", "doc": "A list of the categories along with the input type(s) that the score applies to.", "type": { - "$id": "6197", + "$id": "6180", "kind": "model", "name": "CreateModerationResponseResultCategoryAppliedInputTypes", "namespace": "OpenAI", @@ -80232,32 +79846,32 @@ "decorators": [], "properties": [ { - "$id": "6198", + "$id": "6181", "kind": "property", "name": "hate", "serializedName": "hate", "doc": "The applied input type(s) for the category 'hate'.", "type": { - "$id": "6199", + "$id": "6182", "kind": "array", - "name": "Array31", + "name": "Array29", "valueType": { - "$id": "6200", + "$id": "6183", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1451" + "$ref": "1577" }, "enumType": { - "$id": "6201", + "$id": "6184", "kind": "enum", "decorators": [], "name": "ModerationAppliedInputType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6202", + "$id": "6185", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -80266,29 +79880,29 @@ }, "values": [ { - "$id": "6203", + "$id": "6186", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "6202" + "$ref": "6185" }, "enumType": { - "$ref": "6201" + "$ref": "6184" } }, { - "$id": "6204", + "$id": "6187", "kind": "enumvalue", "decorators": [], "name": "image", "value": "image", "valueType": { - "$ref": "6202" + "$ref": "6185" }, "enumType": { - "$ref": "6201" + "$ref": "6184" } } ], @@ -80320,13 +79934,13 @@ "isHttpMetadata": false }, { - "$id": "6205", + "$id": "6188", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "doc": "The applied input type(s) for the category 'hate/threatening'.", "type": { - "$ref": "6199" + "$ref": "6182" }, "optional": false, "readOnly": false, @@ -80342,13 +79956,13 @@ "isHttpMetadata": false }, { - "$id": "6206", + "$id": "6189", "kind": "property", "name": "harassment", "serializedName": "harassment", "doc": "The applied input type(s) for the category 'harassment'.", "type": { - "$ref": "6199" + "$ref": "6182" }, "optional": false, "readOnly": false, @@ -80364,13 +79978,13 @@ "isHttpMetadata": false }, { - "$id": "6207", + "$id": "6190", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "doc": "The applied input type(s) for the category 'harassment/threatening'.", "type": { - "$ref": "6199" + "$ref": "6182" }, "optional": false, "readOnly": false, @@ -80386,13 +80000,13 @@ "isHttpMetadata": false }, { - "$id": "6208", + "$id": "6191", "kind": "property", "name": "illicit", "serializedName": "illicit", "doc": "The applied input type(s) for the category 'illicit'.", "type": { - "$ref": "6199" + "$ref": "6182" }, "optional": false, "readOnly": false, @@ -80408,13 +80022,13 @@ "isHttpMetadata": false }, { - "$id": "6209", + "$id": "6192", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "doc": "The applied input type(s) for the category 'illicit/violent'.", "type": { - "$ref": "6199" + "$ref": "6182" }, "optional": false, "readOnly": false, @@ -80430,33 +80044,33 @@ "isHttpMetadata": false }, { - "$id": "6210", + "$id": "6193", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "doc": "The applied input type(s) for the category 'self-harm'.", "type": { - "$id": "6211", + "$id": "6194", "kind": "array", - "name": "Array32", + "name": "Array30", "valueType": { - "$id": "6212", + "$id": "6195", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarm", "variantTypes": [ { - "$ref": "6200" + "$ref": "6183" }, { - "$id": "6213", + "$id": "6196", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "1451" + "$ref": "1577" }, "enumType": { - "$ref": "6201" + "$ref": "6184" }, "decorators": [] } @@ -80481,25 +80095,25 @@ "isHttpMetadata": false }, { - "$id": "6214", + "$id": "6197", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "doc": "The applied input type(s) for the category 'self-harm/intent'.", "type": { - "$id": "6215", + "$id": "6198", "kind": "array", - "name": "Array33", + "name": "Array31", "valueType": { - "$id": "6216", + "$id": "6199", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntent", "variantTypes": [ { - "$ref": "6200" + "$ref": "6183" }, { - "$ref": "6213" + "$ref": "6196" } ], "namespace": "OpenAI", @@ -80522,25 +80136,25 @@ "isHttpMetadata": false }, { - "$id": "6217", + "$id": "6200", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "doc": "The applied input type(s) for the category 'self-harm/instructions'.", "type": { - "$id": "6218", + "$id": "6201", "kind": "array", - "name": "Array34", + "name": "Array32", "valueType": { - "$id": "6219", + "$id": "6202", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction", "variantTypes": [ { - "$ref": "6200" + "$ref": "6183" }, { - "$ref": "6213" + "$ref": "6196" } ], "namespace": "OpenAI", @@ -80563,25 +80177,25 @@ "isHttpMetadata": false }, { - "$id": "6220", + "$id": "6203", "kind": "property", "name": "sexual", "serializedName": "sexual", "doc": "The applied input type(s) for the category 'sexual'.", "type": { - "$id": "6221", + "$id": "6204", "kind": "array", - "name": "Array35", + "name": "Array33", "valueType": { - "$id": "6222", + "$id": "6205", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesSexual", "variantTypes": [ { - "$ref": "6200" + "$ref": "6183" }, { - "$ref": "6213" + "$ref": "6196" } ], "namespace": "OpenAI", @@ -80604,13 +80218,13 @@ "isHttpMetadata": false }, { - "$id": "6223", + "$id": "6206", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "doc": "The applied input type(s) for the category 'sexual/minors'.", "type": { - "$ref": "6199" + "$ref": "6182" }, "optional": false, "readOnly": false, @@ -80626,25 +80240,25 @@ "isHttpMetadata": false }, { - "$id": "6224", + "$id": "6207", "kind": "property", "name": "violence", "serializedName": "violence", "doc": "The applied input type(s) for the category 'violence'.", "type": { - "$id": "6225", + "$id": "6208", "kind": "array", - "name": "Array36", + "name": "Array34", "valueType": { - "$id": "6226", + "$id": "6209", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesViolence", "variantTypes": [ { - "$ref": "6200" + "$ref": "6183" }, { - "$ref": "6213" + "$ref": "6196" } ], "namespace": "OpenAI", @@ -80667,25 +80281,25 @@ "isHttpMetadata": false }, { - "$id": "6227", + "$id": "6210", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "doc": "The applied input type(s) for the category 'violence/graphic'.", "type": { - "$id": "6228", + "$id": "6211", "kind": "array", - "name": "Array37", + "name": "Array35", "valueType": { - "$id": "6229", + "$id": "6212", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphic", "variantTypes": [ { - "$ref": "6200" + "$ref": "6183" }, { - "$ref": "6213" + "$ref": "6196" } ], "namespace": "OpenAI", @@ -80743,19 +80357,19 @@ ] }, { - "$ref": "6137" + "$ref": "6120" }, { - "$ref": "6141" + "$ref": "6124" }, { - "$ref": "6169" + "$ref": "6152" }, { - "$ref": "6197" + "$ref": "6180" }, { - "$id": "6230", + "$id": "6213", "kind": "model", "name": "CreateThreadAndRunRequest", "namespace": "OpenAI", @@ -80764,13 +80378,13 @@ "decorators": [], "properties": [ { - "$id": "6231", + "$id": "6214", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run.", "type": { - "$id": "6232", + "$id": "6215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80790,12 +80404,12 @@ "isHttpMetadata": false }, { - "$id": "6233", + "$id": "6216", "kind": "property", "name": "thread", "serializedName": "thread", "type": { - "$id": "6234", + "$id": "6217", "kind": "model", "name": "CreateThreadRequest", "namespace": "OpenAI", @@ -80805,17 +80419,17 @@ "decorators": [], "properties": [ { - "$id": "6235", + "$id": "6218", "kind": "property", "name": "messages", "serializedName": "messages", "doc": "A list of [messages](/docs/api-reference/messages) to start the thread with.", "type": { - "$id": "6236", + "$id": "6219", "kind": "array", "name": "ArrayCreateMessageRequest", "valueType": { - "$ref": "5967" + "$ref": "5950" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -80834,16 +80448,16 @@ "isHttpMetadata": false }, { - "$id": "6237", + "$id": "6220", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "6238", + "$id": "6221", "kind": "nullable", "type": { - "$id": "6239", + "$id": "6222", "kind": "model", "name": "CreateThreadRequestToolResources1", "namespace": "OpenAI", @@ -80852,12 +80466,12 @@ "decorators": [], "properties": [ { - "$id": "6240", + "$id": "6223", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "6241", + "$id": "6224", "kind": "model", "name": "CreateThreadRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -80866,13 +80480,13 @@ "decorators": [], "properties": [ { - "$id": "6242", + "$id": "6225", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -80903,12 +80517,12 @@ "isHttpMetadata": false }, { - "$id": "6243", + "$id": "6226", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$ref": "2525" + "$ref": "2635" }, "optional": true, "readOnly": false, @@ -80941,13 +80555,13 @@ "isHttpMetadata": false }, { - "$id": "6244", + "$id": "6227", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -80978,16 +80592,16 @@ "isHttpMetadata": false }, { - "$id": "6245", + "$id": "6228", "kind": "property", "name": "model", "serializedName": "model", "doc": "The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.", "type": { - "$id": "6246", + "$id": "6229", "kind": "nullable", "type": { - "$ref": "962" + "$ref": "868" }, "namespace": "OpenAI" }, @@ -81005,16 +80619,16 @@ "isHttpMetadata": false }, { - "$id": "6247", + "$id": "6230", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Override the default system message of the assistant. This is useful for modifying the behavior on a per-run basis.", "type": { - "$id": "6248", + "$id": "6231", "kind": "nullable", "type": { - "$id": "6249", + "$id": "6232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81036,16 +80650,16 @@ "isHttpMetadata": false }, { - "$id": "6250", + "$id": "6233", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis.", "type": { - "$id": "6251", + "$id": "6234", "kind": "nullable", "type": { - "$ref": "2395" + "$ref": "2505" }, "namespace": "OpenAI" }, @@ -81063,16 +80677,16 @@ "isHttpMetadata": false }, { - "$id": "6252", + "$id": "6235", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "6253", + "$id": "6236", "kind": "nullable", "type": { - "$id": "6254", + "$id": "6237", "kind": "model", "name": "CreateThreadAndRunRequestToolResources1", "namespace": "OpenAI", @@ -81081,12 +80695,12 @@ "decorators": [], "properties": [ { - "$id": "6255", + "$id": "6238", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "6256", + "$id": "6239", "kind": "model", "name": "CreateThreadAndRunRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -81095,13 +80709,13 @@ "decorators": [], "properties": [ { - "$id": "6257", + "$id": "6240", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -81132,12 +80746,12 @@ "isHttpMetadata": false }, { - "$id": "6258", + "$id": "6241", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$ref": "2441" + "$ref": "2551" }, "optional": true, "readOnly": false, @@ -81170,13 +80784,13 @@ "isHttpMetadata": false }, { - "$id": "6259", + "$id": "6242", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -81192,16 +80806,16 @@ "isHttpMetadata": false }, { - "$id": "6260", + "$id": "6243", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.", "type": { - "$id": "6261", + "$id": "6244", "kind": "nullable", "type": { - "$id": "6262", + "$id": "6245", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -81223,16 +80837,16 @@ "isHttpMetadata": false }, { - "$id": "6263", + "$id": "6246", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "type": { - "$id": "6264", + "$id": "6247", "kind": "nullable", "type": { - "$id": "6265", + "$id": "6248", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -81254,16 +80868,16 @@ "isHttpMetadata": false }, { - "$id": "6266", + "$id": "6249", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message.", "type": { - "$id": "6267", + "$id": "6250", "kind": "nullable", "type": { - "$id": "6268", + "$id": "6251", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -81285,16 +80899,16 @@ "isHttpMetadata": false }, { - "$id": "6269", + "$id": "6252", "kind": "property", "name": "max_prompt_tokens", "serializedName": "max_prompt_tokens", "doc": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", "type": { - "$id": "6270", + "$id": "6253", "kind": "nullable", "type": { - "$id": "6271", + "$id": "6254", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81316,16 +80930,16 @@ "isHttpMetadata": false }, { - "$id": "6272", + "$id": "6255", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", "type": { - "$id": "6273", + "$id": "6256", "kind": "nullable", "type": { - "$id": "6274", + "$id": "6257", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81347,15 +80961,15 @@ "isHttpMetadata": false }, { - "$id": "6275", + "$id": "6258", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "6276", + "$id": "6259", "kind": "nullable", "type": { - "$id": "6277", + "$id": "6260", "kind": "model", "name": "TruncationObject", "namespace": "OpenAI", @@ -81365,13 +80979,13 @@ "decorators": [], "properties": [ { - "$id": "6278", + "$id": "6261", "kind": "property", "name": "type", "serializedName": "type", "doc": "The truncation strategy to use for the thread. The default is `auto`. If set to `last_messages`, the thread will be truncated to the n most recent messages in the thread. When set to `auto`, messages in the middle of the thread will be dropped to fit the context length of the model, `max_prompt_tokens`.", "type": { - "$ref": "996" + "$ref": "902" }, "optional": false, "readOnly": false, @@ -81387,16 +81001,16 @@ "isHttpMetadata": false }, { - "$id": "6279", + "$id": "6262", "kind": "property", "name": "last_messages", "serializedName": "last_messages", "doc": "The number of most recent messages from the thread when constructing the context for the run.", "type": { - "$id": "6280", + "$id": "6263", "kind": "nullable", "type": { - "$id": "6281", + "$id": "6264", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81435,23 +81049,23 @@ "isHttpMetadata": false }, { - "$id": "6282", + "$id": "6265", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "6283", + "$id": "6266", "kind": "nullable", "type": { - "$id": "6284", + "$id": "6267", "kind": "union", "name": "AssistantsApiToolChoiceOption", "variantTypes": [ { - "$ref": "1000" + "$ref": "906" }, { - "$id": "6285", + "$id": "6268", "kind": "model", "name": "AssistantsNamedToolChoice", "namespace": "OpenAI", @@ -81461,13 +81075,13 @@ "decorators": [], "properties": [ { - "$id": "6286", + "$id": "6269", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the tool. If type is `function`, the function name must be set", "type": { - "$ref": "1005" + "$ref": "911" }, "optional": false, "readOnly": false, @@ -81483,12 +81097,12 @@ "isHttpMetadata": false }, { - "$id": "6287", + "$id": "6270", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "6288", + "$id": "6271", "kind": "model", "name": "AssistantsNamedToolChoiceFunction", "namespace": "OpenAI", @@ -81497,13 +81111,13 @@ "decorators": [], "properties": [ { - "$id": "6289", + "$id": "6272", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "6290", + "$id": "6273", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81559,17 +81173,17 @@ "isHttpMetadata": false }, { - "$id": "6291", + "$id": "6274", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "6292", + "$id": "6275", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "6293", + "$id": "6276", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -81591,15 +81205,15 @@ "isHttpMetadata": false }, { - "$id": "6294", + "$id": "6277", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "6295", + "$id": "6278", "kind": "nullable", "type": { - "$ref": "2456" + "$ref": "2566" }, "namespace": "OpenAI" }, @@ -81619,31 +81233,31 @@ ] }, { - "$ref": "6234" + "$ref": "6217" }, { - "$ref": "6239" + "$ref": "6222" }, { - "$ref": "6241" + "$ref": "6224" }, { - "$ref": "6254" + "$ref": "6237" }, { - "$ref": "6256" + "$ref": "6239" }, { - "$ref": "6277" + "$ref": "6260" }, { - "$ref": "6285" + "$ref": "6268" }, { - "$ref": "6288" + "$ref": "6271" }, { - "$id": "6296", + "$id": "6279", "kind": "model", "name": "RunObject", "namespace": "OpenAI", @@ -81653,13 +81267,13 @@ "decorators": [], "properties": [ { - "$id": "6297", + "$id": "6280", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6298", + "$id": "6281", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81679,13 +81293,13 @@ "isHttpMetadata": false }, { - "$id": "6299", + "$id": "6282", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `thread.run`.", "type": { - "$ref": "1690" + "$ref": "1812" }, "optional": false, "readOnly": false, @@ -81701,18 +81315,18 @@ "isHttpMetadata": false }, { - "$id": "6300", + "$id": "6283", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the run was created.", "type": { - "$id": "6301", + "$id": "6284", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6302", + "$id": "6285", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81735,13 +81349,13 @@ "isHttpMetadata": false }, { - "$id": "6303", + "$id": "6286", "kind": "property", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was executed on as a part of this run.", "type": { - "$id": "6304", + "$id": "6287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81761,13 +81375,13 @@ "isHttpMetadata": false }, { - "$id": "6305", + "$id": "6288", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the [assistant](/docs/api-reference/assistants) used for execution of this run.", "type": { - "$id": "6306", + "$id": "6289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81787,13 +81401,13 @@ "isHttpMetadata": false }, { - "$id": "6307", + "$id": "6290", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the run, which can be either `queued`, `in_progress`, `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, `incomplete`, or `expired`.", "type": { - "$ref": "1010" + "$ref": "916" }, "optional": false, "readOnly": false, @@ -81809,16 +81423,16 @@ "isHttpMetadata": false }, { - "$id": "6308", + "$id": "6291", "kind": "property", "name": "required_action", "serializedName": "required_action", "doc": "Details on the action required to continue the run. Will be `null` if no action is required.", "type": { - "$id": "6309", + "$id": "6292", "kind": "nullable", "type": { - "$id": "6310", + "$id": "6293", "kind": "model", "name": "RunObjectRequiredAction1", "namespace": "OpenAI", @@ -81827,13 +81441,13 @@ "decorators": [], "properties": [ { - "$id": "6311", + "$id": "6294", "kind": "property", "name": "type", "serializedName": "type", "doc": "For now, this is always `submit_tool_outputs`.", "type": { - "$ref": "1692" + "$ref": "1814" }, "optional": false, "readOnly": false, @@ -81849,13 +81463,13 @@ "isHttpMetadata": false }, { - "$id": "6312", + "$id": "6295", "kind": "property", "name": "submit_tool_outputs", "serializedName": "submit_tool_outputs", "doc": "Details on the tool outputs needed for this run to continue.", "type": { - "$id": "6313", + "$id": "6296", "kind": "model", "name": "RunObjectRequiredActionSubmitToolOutputs", "namespace": "OpenAI", @@ -81864,17 +81478,17 @@ "decorators": [], "properties": [ { - "$id": "6314", + "$id": "6297", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "doc": "A list of the relevant tool calls.", "type": { - "$id": "6315", + "$id": "6298", "kind": "array", "name": "ArrayRunToolCallObject", "valueType": { - "$id": "6316", + "$id": "6299", "kind": "model", "name": "RunToolCallObject", "namespace": "OpenAI", @@ -81884,13 +81498,13 @@ "decorators": [], "properties": [ { - "$id": "6317", + "$id": "6300", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the [Submit tool outputs to run](/docs/api-reference/runs/submitToolOutputs) endpoint.", "type": { - "$id": "6318", + "$id": "6301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81910,13 +81524,13 @@ "isHttpMetadata": false }, { - "$id": "6319", + "$id": "6302", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool call the output is required for. For now, this is always `function`.", "type": { - "$ref": "1694" + "$ref": "1816" }, "optional": false, "readOnly": false, @@ -81932,13 +81546,13 @@ "isHttpMetadata": false }, { - "$id": "6320", + "$id": "6303", "kind": "property", "name": "function", "serializedName": "function", "doc": "The function definition.", "type": { - "$id": "6321", + "$id": "6304", "kind": "model", "name": "RunToolCallObjectFunction", "namespace": "OpenAI", @@ -81947,13 +81561,13 @@ "decorators": [], "properties": [ { - "$id": "6322", + "$id": "6305", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function.", "type": { - "$id": "6323", + "$id": "6306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81973,13 +81587,13 @@ "isHttpMetadata": false }, { - "$id": "6324", + "$id": "6307", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The arguments that the model expects you to pass to the function.", "type": { - "$id": "6325", + "$id": "6308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82064,16 +81678,16 @@ "isHttpMetadata": false }, { - "$id": "6326", + "$id": "6309", "kind": "property", "name": "last_error", "serializedName": "last_error", "doc": "The last error associated with this run. Will be `null` if there are no errors.", "type": { - "$id": "6327", + "$id": "6310", "kind": "nullable", "type": { - "$id": "6328", + "$id": "6311", "kind": "model", "name": "RunObjectLastError1", "namespace": "OpenAI", @@ -82082,13 +81696,13 @@ "decorators": [], "properties": [ { - "$id": "6329", + "$id": "6312", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of `server_error`, `rate_limit_exceeded`, or `invalid_prompt`.", "type": { - "$ref": "1021" + "$ref": "927" }, "optional": false, "readOnly": false, @@ -82104,13 +81718,13 @@ "isHttpMetadata": false }, { - "$id": "6330", + "$id": "6313", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "6331", + "$id": "6314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82147,21 +81761,21 @@ "isHttpMetadata": false }, { - "$id": "6332", + "$id": "6315", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the run will expire.", "type": { - "$id": "6333", + "$id": "6316", "kind": "nullable", "type": { - "$id": "6334", + "$id": "6317", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6335", + "$id": "6318", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82186,21 +81800,21 @@ "isHttpMetadata": false }, { - "$id": "6336", + "$id": "6319", "kind": "property", "name": "started_at", "serializedName": "started_at", "doc": "The Unix timestamp (in seconds) for when the run was started.", "type": { - "$id": "6337", + "$id": "6320", "kind": "nullable", "type": { - "$id": "6338", + "$id": "6321", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6339", + "$id": "6322", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82225,21 +81839,21 @@ "isHttpMetadata": false }, { - "$id": "6340", + "$id": "6323", "kind": "property", "name": "cancelled_at", "serializedName": "cancelled_at", "doc": "The Unix timestamp (in seconds) for when the run was cancelled.", "type": { - "$id": "6341", + "$id": "6324", "kind": "nullable", "type": { - "$id": "6342", + "$id": "6325", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6343", + "$id": "6326", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82264,21 +81878,21 @@ "isHttpMetadata": false }, { - "$id": "6344", + "$id": "6327", "kind": "property", "name": "failed_at", "serializedName": "failed_at", "doc": "The Unix timestamp (in seconds) for when the run failed.", "type": { - "$id": "6345", + "$id": "6328", "kind": "nullable", "type": { - "$id": "6346", + "$id": "6329", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6347", + "$id": "6330", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82303,21 +81917,21 @@ "isHttpMetadata": false }, { - "$id": "6348", + "$id": "6331", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the run was completed.", "type": { - "$id": "6349", + "$id": "6332", "kind": "nullable", "type": { - "$id": "6350", + "$id": "6333", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6351", + "$id": "6334", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82342,16 +81956,16 @@ "isHttpMetadata": false }, { - "$id": "6352", + "$id": "6335", "kind": "property", "name": "incomplete_details", "serializedName": "incomplete_details", "doc": "Details on why the run is incomplete. Will be `null` if the run is not incomplete.", "type": { - "$id": "6353", + "$id": "6336", "kind": "nullable", "type": { - "$id": "6354", + "$id": "6337", "kind": "model", "name": "RunObjectIncompleteDetails1", "namespace": "OpenAI", @@ -82360,13 +81974,13 @@ "decorators": [], "properties": [ { - "$id": "6355", + "$id": "6338", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run.", "type": { - "$ref": "1026" + "$ref": "932" }, "optional": true, "readOnly": false, @@ -82399,13 +82013,13 @@ "isHttpMetadata": false }, { - "$id": "6356", + "$id": "6339", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model that the [assistant](/docs/api-reference/assistants) used for this run.", "type": { - "$id": "6357", + "$id": "6340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82425,13 +82039,13 @@ "isHttpMetadata": false }, { - "$id": "6358", + "$id": "6341", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The instructions that the [assistant](/docs/api-reference/assistants) used for this run.", "type": { - "$id": "6359", + "$id": "6342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82451,13 +82065,13 @@ "isHttpMetadata": false }, { - "$id": "6360", + "$id": "6343", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The list of tools that the [assistant](/docs/api-reference/assistants) used for this run.", "type": { - "$ref": "2395" + "$ref": "2505" }, "optional": false, "readOnly": true, @@ -82473,13 +82087,13 @@ "isHttpMetadata": false }, { - "$id": "6361", + "$id": "6344", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": true, @@ -82495,15 +82109,15 @@ "isHttpMetadata": false }, { - "$id": "6362", + "$id": "6345", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "6363", + "$id": "6346", "kind": "nullable", "type": { - "$id": "6364", + "$id": "6347", "kind": "model", "name": "RunCompletionUsage", "namespace": "OpenAI", @@ -82513,13 +82127,13 @@ "decorators": [], "properties": [ { - "$id": "6365", + "$id": "6348", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "Number of completion tokens used over the course of the run.", "type": { - "$id": "6366", + "$id": "6349", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82539,13 +82153,13 @@ "isHttpMetadata": false }, { - "$id": "6367", + "$id": "6350", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "Number of prompt tokens used over the course of the run.", "type": { - "$id": "6368", + "$id": "6351", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82565,13 +82179,13 @@ "isHttpMetadata": false }, { - "$id": "6369", + "$id": "6352", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used (prompt + completion).", "type": { - "$id": "6370", + "$id": "6353", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82608,16 +82222,16 @@ "isHttpMetadata": false }, { - "$id": "6371", + "$id": "6354", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "The sampling temperature used for this run. If not set, defaults to 1.", "type": { - "$id": "6372", + "$id": "6355", "kind": "nullable", "type": { - "$id": "6373", + "$id": "6356", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -82639,16 +82253,16 @@ "isHttpMetadata": false }, { - "$id": "6374", + "$id": "6357", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "The nucleus sampling value used for this run. If not set, defaults to 1.", "type": { - "$id": "6375", + "$id": "6358", "kind": "nullable", "type": { - "$id": "6376", + "$id": "6359", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -82670,16 +82284,16 @@ "isHttpMetadata": false }, { - "$id": "6377", + "$id": "6360", "kind": "property", "name": "max_prompt_tokens", "serializedName": "max_prompt_tokens", "doc": "The maximum number of prompt tokens specified to have been used over the course of the run.", "type": { - "$id": "6378", + "$id": "6361", "kind": "nullable", "type": { - "$id": "6379", + "$id": "6362", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82701,16 +82315,16 @@ "isHttpMetadata": false }, { - "$id": "6380", + "$id": "6363", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of completion tokens specified to have been used over the course of the run.", "type": { - "$id": "6381", + "$id": "6364", "kind": "nullable", "type": { - "$id": "6382", + "$id": "6365", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82732,15 +82346,15 @@ "isHttpMetadata": false }, { - "$id": "6383", + "$id": "6366", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "6384", + "$id": "6367", "kind": "nullable", "type": { - "$ref": "6277" + "$ref": "6260" }, "namespace": "OpenAI" }, @@ -82758,15 +82372,15 @@ "isHttpMetadata": false }, { - "$id": "6385", + "$id": "6368", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "6386", + "$id": "6369", "kind": "nullable", "type": { - "$ref": "6284" + "$ref": "6267" }, "namespace": "OpenAI" }, @@ -82784,17 +82398,17 @@ "isHttpMetadata": false }, { - "$id": "6387", + "$id": "6370", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "6388", + "$id": "6371", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "6389", + "$id": "6372", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -82816,15 +82430,15 @@ "isHttpMetadata": false }, { - "$id": "6390", + "$id": "6373", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "6391", + "$id": "6374", "kind": "nullable", "type": { - "$ref": "2456" + "$ref": "2566" }, "namespace": "OpenAI" }, @@ -82844,28 +82458,28 @@ ] }, { - "$ref": "6310" + "$ref": "6293" }, { - "$ref": "6313" + "$ref": "6296" }, { - "$ref": "6316" + "$ref": "6299" }, { - "$ref": "6321" + "$ref": "6304" }, { - "$ref": "6328" + "$ref": "6311" }, { - "$ref": "6354" + "$ref": "6337" }, { - "$ref": "6364" + "$ref": "6347" }, { - "$id": "6392", + "$id": "6375", "kind": "model", "name": "CreateRunRequest", "namespace": "OpenAI", @@ -82874,13 +82488,13 @@ "decorators": [], "properties": [ { - "$id": "6393", + "$id": "6376", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run.", "type": { - "$id": "6394", + "$id": "6377", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82900,13 +82514,13 @@ "isHttpMetadata": false }, { - "$id": "6395", + "$id": "6378", "kind": "property", "name": "model", "serializedName": "model", "doc": "The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.", "type": { - "$id": "6396", + "$id": "6379", "kind": "nullable", "type": { "$ref": "15" @@ -82927,12 +82541,12 @@ "isHttpMetadata": false }, { - "$id": "6397", + "$id": "6380", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "6398", + "$id": "6381", "kind": "nullable", "type": { "$ref": "53" @@ -82953,16 +82567,16 @@ "isHttpMetadata": false }, { - "$id": "6399", + "$id": "6382", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Overrides the [instructions](/docs/api-reference/assistants/createAssistant) of the assistant. This is useful for modifying the behavior on a per-run basis.", "type": { - "$id": "6400", + "$id": "6383", "kind": "nullable", "type": { - "$id": "6401", + "$id": "6384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82984,16 +82598,16 @@ "isHttpMetadata": false }, { - "$id": "6402", + "$id": "6385", "kind": "property", "name": "additional_instructions", "serializedName": "additional_instructions", "doc": "Appends additional instructions at the end of the instructions for the run. This is useful for modifying the behavior on a per-run basis without overriding other instructions.", "type": { - "$id": "6403", + "$id": "6386", "kind": "nullable", "type": { - "$id": "6404", + "$id": "6387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83015,16 +82629,16 @@ "isHttpMetadata": false }, { - "$id": "6405", + "$id": "6388", "kind": "property", "name": "additional_messages", "serializedName": "additional_messages", "doc": "Adds additional messages to the thread before creating the run.", "type": { - "$id": "6406", + "$id": "6389", "kind": "nullable", "type": { - "$ref": "6236" + "$ref": "6219" }, "namespace": "OpenAI" }, @@ -83042,16 +82656,16 @@ "isHttpMetadata": false }, { - "$id": "6407", + "$id": "6390", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis.", "type": { - "$id": "6408", + "$id": "6391", "kind": "nullable", "type": { - "$ref": "2395" + "$ref": "2505" }, "namespace": "OpenAI" }, @@ -83069,13 +82683,13 @@ "isHttpMetadata": false }, { - "$id": "6409", + "$id": "6392", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -83091,16 +82705,16 @@ "isHttpMetadata": false }, { - "$id": "6410", + "$id": "6393", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.", "type": { - "$id": "6411", + "$id": "6394", "kind": "nullable", "type": { - "$id": "6412", + "$id": "6395", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -83122,16 +82736,16 @@ "isHttpMetadata": false }, { - "$id": "6413", + "$id": "6396", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "type": { - "$id": "6414", + "$id": "6397", "kind": "nullable", "type": { - "$id": "6415", + "$id": "6398", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -83153,16 +82767,16 @@ "isHttpMetadata": false }, { - "$id": "6416", + "$id": "6399", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message.", "type": { - "$id": "6417", + "$id": "6400", "kind": "nullable", "type": { - "$id": "6418", + "$id": "6401", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -83184,16 +82798,16 @@ "isHttpMetadata": false }, { - "$id": "6419", + "$id": "6402", "kind": "property", "name": "max_prompt_tokens", "serializedName": "max_prompt_tokens", "doc": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", "type": { - "$id": "6420", + "$id": "6403", "kind": "nullable", "type": { - "$id": "6421", + "$id": "6404", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83215,16 +82829,16 @@ "isHttpMetadata": false }, { - "$id": "6422", + "$id": "6405", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", "type": { - "$id": "6423", + "$id": "6406", "kind": "nullable", "type": { - "$id": "6424", + "$id": "6407", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83246,15 +82860,15 @@ "isHttpMetadata": false }, { - "$id": "6425", + "$id": "6408", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "6426", + "$id": "6409", "kind": "nullable", "type": { - "$ref": "6277" + "$ref": "6260" }, "namespace": "OpenAI" }, @@ -83272,15 +82886,15 @@ "isHttpMetadata": false }, { - "$id": "6427", + "$id": "6410", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "6428", + "$id": "6411", "kind": "nullable", "type": { - "$ref": "6284" + "$ref": "6267" }, "namespace": "OpenAI" }, @@ -83298,17 +82912,17 @@ "isHttpMetadata": false }, { - "$id": "6429", + "$id": "6412", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "6430", + "$id": "6413", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "6431", + "$id": "6414", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -83330,15 +82944,15 @@ "isHttpMetadata": false }, { - "$id": "6432", + "$id": "6415", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "6433", + "$id": "6416", "kind": "nullable", "type": { - "$ref": "2456" + "$ref": "2566" }, "namespace": "OpenAI" }, @@ -83358,7 +82972,7 @@ ] }, { - "$id": "6434", + "$id": "6417", "kind": "model", "name": "ListRunsResponse", "namespace": "OpenAI", @@ -83367,12 +82981,12 @@ "decorators": [], "properties": [ { - "$id": "6435", + "$id": "6418", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1696" + "$ref": "1818" }, "optional": false, "readOnly": false, @@ -83388,16 +83002,16 @@ "isHttpMetadata": false }, { - "$id": "6436", + "$id": "6419", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6437", + "$id": "6420", "kind": "array", "name": "ArrayRunObject", "valueType": { - "$ref": "6296" + "$ref": "6279" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -83416,12 +83030,12 @@ "isHttpMetadata": false }, { - "$id": "6438", + "$id": "6421", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6439", + "$id": "6422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83441,12 +83055,12 @@ "isHttpMetadata": false }, { - "$id": "6440", + "$id": "6423", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6441", + "$id": "6424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83466,12 +83080,12 @@ "isHttpMetadata": false }, { - "$id": "6442", + "$id": "6425", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6443", + "$id": "6426", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -83493,7 +83107,7 @@ ] }, { - "$id": "6444", + "$id": "6427", "kind": "model", "name": "ModifyRunRequest", "namespace": "OpenAI", @@ -83502,13 +83116,13 @@ "decorators": [], "properties": [ { - "$id": "6445", + "$id": "6428", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -83526,7 +83140,7 @@ ] }, { - "$id": "6446", + "$id": "6429", "kind": "model", "name": "SubmitToolOutputsRunRequest", "namespace": "OpenAI", @@ -83535,17 +83149,17 @@ "decorators": [], "properties": [ { - "$id": "6447", + "$id": "6430", "kind": "property", "name": "tool_outputs", "serializedName": "tool_outputs", "doc": "A list of tools for which the outputs are being submitted.", "type": { - "$id": "6448", + "$id": "6431", "kind": "array", - "name": "Array38", + "name": "Array36", "valueType": { - "$id": "6449", + "$id": "6432", "kind": "model", "name": "SubmitToolOutputsRunRequestToolOutput", "namespace": "OpenAI", @@ -83554,13 +83168,13 @@ "decorators": [], "properties": [ { - "$id": "6450", + "$id": "6433", "kind": "property", "name": "tool_call_id", "serializedName": "tool_call_id", "doc": "The ID of the tool call in the `required_action` object within the run object the output is being submitted for.", "type": { - "$id": "6451", + "$id": "6434", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83580,13 +83194,13 @@ "isHttpMetadata": false }, { - "$id": "6452", + "$id": "6435", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output of the tool call to be submitted to continue the run.", "type": { - "$id": "6453", + "$id": "6436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83624,16 +83238,16 @@ "isHttpMetadata": false }, { - "$id": "6454", + "$id": "6437", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message.", "type": { - "$id": "6455", + "$id": "6438", "kind": "nullable", "type": { - "$id": "6456", + "$id": "6439", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -83657,10 +83271,10 @@ ] }, { - "$ref": "6449" + "$ref": "6432" }, { - "$id": "6457", + "$id": "6440", "kind": "model", "name": "ListRunStepsResponse", "namespace": "OpenAI", @@ -83669,12 +83283,12 @@ "decorators": [], "properties": [ { - "$id": "6458", + "$id": "6441", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1698" + "$ref": "1820" }, "optional": false, "readOnly": false, @@ -83690,16 +83304,16 @@ "isHttpMetadata": false }, { - "$id": "6459", + "$id": "6442", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6460", + "$id": "6443", "kind": "array", "name": "ArrayRunStepObject", "valueType": { - "$id": "6461", + "$id": "6444", "kind": "model", "name": "RunStepObject", "namespace": "OpenAI", @@ -83709,13 +83323,13 @@ "decorators": [], "properties": [ { - "$id": "6462", + "$id": "6445", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier of the run step, which can be referenced in API endpoints.", "type": { - "$id": "6463", + "$id": "6446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83735,13 +83349,13 @@ "isHttpMetadata": false }, { - "$id": "6464", + "$id": "6447", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `thread.run.step`.", "type": { - "$ref": "1700" + "$ref": "1822" }, "optional": false, "readOnly": false, @@ -83757,18 +83371,18 @@ "isHttpMetadata": false }, { - "$id": "6465", + "$id": "6448", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the run step was created.", "type": { - "$id": "6466", + "$id": "6449", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6467", + "$id": "6450", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83791,13 +83405,13 @@ "isHttpMetadata": false }, { - "$id": "6468", + "$id": "6451", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the [assistant](/docs/api-reference/assistants) associated with the run step.", "type": { - "$id": "6469", + "$id": "6452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83817,13 +83431,13 @@ "isHttpMetadata": false }, { - "$id": "6470", + "$id": "6453", "kind": "property", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "6471", + "$id": "6454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83843,13 +83457,13 @@ "isHttpMetadata": false }, { - "$id": "6472", + "$id": "6455", "kind": "property", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the [run](/docs/api-reference/runs) that this run step is a part of.", "type": { - "$id": "6473", + "$id": "6456", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83869,13 +83483,13 @@ "isHttpMetadata": false }, { - "$id": "6474", + "$id": "6457", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of run step, which can be either `message_creation` or `tool_calls`.", "type": { - "$ref": "1030" + "$ref": "936" }, "optional": false, "readOnly": false, @@ -83891,13 +83505,13 @@ "isHttpMetadata": false }, { - "$id": "6475", + "$id": "6458", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the run step, which can be either `in_progress`, `cancelled`, `failed`, `completed`, or `expired`.", "type": { - "$ref": "1034" + "$ref": "940" }, "optional": false, "readOnly": false, @@ -83913,13 +83527,13 @@ "isHttpMetadata": false }, { - "$id": "6476", + "$id": "6459", "kind": "property", "name": "step_details", "serializedName": "step_details", "doc": "The details of the run step.", "type": { - "$id": "6477", + "$id": "6460", "kind": "model", "name": "RunStepObjectStepDetails", "namespace": "OpenAI", @@ -83928,13 +83542,13 @@ "doc": "Abstractly represents a run step details object.", "decorators": [], "discriminatorProperty": { - "$id": "6478", + "$id": "6461", "kind": "property", "name": "type", "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "1041" + "$ref": "947" }, "optional": false, "readOnly": false, @@ -83951,12 +83565,12 @@ }, "properties": [ { - "$ref": "6478" + "$ref": "6461" } ], "discriminatedSubtypes": { "message_creation": { - "$id": "6479", + "$id": "6462", "kind": "model", "name": "RunStepDetailsMessageCreationObject", "namespace": "OpenAI", @@ -83966,32 +83580,32 @@ "discriminatorValue": "message_creation", "decorators": [], "baseModel": { - "$ref": "6477" + "$ref": "6460" }, "properties": [ { - "$id": "6480", + "$id": "6463", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `message_creation`.", "type": { - "$id": "6481", + "$id": "6464", "kind": "enumvalue", "name": "message_creation", "value": "message_creation", "valueType": { - "$ref": "1042" + "$ref": "948" }, "enumType": { - "$id": "6482", + "$id": "6465", "kind": "enum", "decorators": [], "name": "RunStepDetailsType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6483", + "$id": "6466", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -84000,29 +83614,29 @@ }, "values": [ { - "$id": "6484", + "$id": "6467", "kind": "enumvalue", "decorators": [], "name": "message_creation", "value": "message_creation", "valueType": { - "$ref": "6483" + "$ref": "6466" }, "enumType": { - "$ref": "6482" + "$ref": "6465" } }, { - "$id": "6485", + "$id": "6468", "kind": "enumvalue", "decorators": [], "name": "tool_calls", "value": "tool_calls", "valueType": { - "$ref": "6483" + "$ref": "6466" }, "enumType": { - "$ref": "6482" + "$ref": "6465" } } ], @@ -84051,12 +83665,12 @@ "isHttpMetadata": false }, { - "$id": "6486", + "$id": "6469", "kind": "property", "name": "message_creation", "serializedName": "message_creation", "type": { - "$id": "6487", + "$id": "6470", "kind": "model", "name": "RunStepDetailsMessageCreationObjectMessageCreation", "namespace": "OpenAI", @@ -84065,13 +83679,13 @@ "decorators": [], "properties": [ { - "$id": "6488", + "$id": "6471", "kind": "property", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message that was created by this run step.", "type": { - "$id": "6489", + "$id": "6472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84108,7 +83722,7 @@ ] }, "tool_calls": { - "$id": "6490", + "$id": "6473", "kind": "model", "name": "RunStepDetailsToolCallsObject", "namespace": "OpenAI", @@ -84118,25 +83732,25 @@ "discriminatorValue": "tool_calls", "decorators": [], "baseModel": { - "$ref": "6477" + "$ref": "6460" }, "properties": [ { - "$id": "6491", + "$id": "6474", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `tool_calls`.", "type": { - "$id": "6492", + "$id": "6475", "kind": "enumvalue", "name": "tool_calls", "value": "tool_calls", "valueType": { - "$ref": "1042" + "$ref": "948" }, "enumType": { - "$ref": "6482" + "$ref": "6465" }, "decorators": [] }, @@ -84154,17 +83768,17 @@ "isHttpMetadata": false }, { - "$id": "6493", + "$id": "6476", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "doc": "An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `file_search`, or `function`.", "type": { - "$id": "6494", + "$id": "6477", "kind": "array", "name": "ArrayRunStepDetailsToolCallsObjectToolCallsObject", "valueType": { - "$id": "6495", + "$id": "6478", "kind": "model", "name": "RunStepDetailsToolCallsObjectToolCallsObject", "namespace": "OpenAI", @@ -84173,13 +83787,13 @@ "doc": "Abstractly represents a run step tool call details inner object.", "decorators": [], "discriminatorProperty": { - "$id": "6496", + "$id": "6479", "kind": "property", "name": "type", "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "1045" + "$ref": "951" }, "optional": false, "readOnly": false, @@ -84196,16 +83810,16 @@ }, "properties": [ { - "$ref": "6496" + "$ref": "6479" }, { - "$id": "6497", + "$id": "6480", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "6498", + "$id": "6481", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84227,7 +83841,7 @@ ], "discriminatedSubtypes": { "code_interpreter": { - "$id": "6499", + "$id": "6482", "kind": "model", "name": "RunStepDetailsToolCallsCodeObject", "namespace": "OpenAI", @@ -84237,32 +83851,32 @@ "discriminatorValue": "code_interpreter", "decorators": [], "baseModel": { - "$ref": "6495" + "$ref": "6478" }, "properties": [ { - "$id": "6500", + "$id": "6483", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool call. This is always going to be `code_interpreter` for this type of tool call.", "type": { - "$id": "6501", + "$id": "6484", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "1046" + "$ref": "952" }, "enumType": { - "$id": "6502", + "$id": "6485", "kind": "enum", "decorators": [], "name": "RunStepDetailsToolCallType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6503", + "$id": "6486", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -84271,42 +83885,42 @@ }, "values": [ { - "$id": "6504", + "$id": "6487", "kind": "enumvalue", "decorators": [], "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "6503" + "$ref": "6486" }, "enumType": { - "$ref": "6502" + "$ref": "6485" } }, { - "$id": "6505", + "$id": "6488", "kind": "enumvalue", "decorators": [], "name": "file_search", "value": "file_search", "valueType": { - "$ref": "6503" + "$ref": "6486" }, "enumType": { - "$ref": "6502" + "$ref": "6485" } }, { - "$id": "6506", + "$id": "6489", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "6503" + "$ref": "6486" }, "enumType": { - "$ref": "6502" + "$ref": "6485" } } ], @@ -84335,13 +83949,13 @@ "isHttpMetadata": false }, { - "$id": "6507", + "$id": "6490", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "doc": "The Code Interpreter tool call definition.", "type": { - "$id": "6508", + "$id": "6491", "kind": "model", "name": "RunStepDetailsToolCallsCodeObjectCodeInterpreter", "namespace": "OpenAI", @@ -84350,13 +83964,13 @@ "decorators": [], "properties": [ { - "$id": "6509", + "$id": "6492", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input to the Code Interpreter tool call.", "type": { - "$id": "6510", + "$id": "6493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84376,17 +83990,17 @@ "isHttpMetadata": false }, { - "$id": "6511", + "$id": "6494", "kind": "property", "name": "outputs", "serializedName": "outputs", "doc": "The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (`logs`) or images (`image`). Each of these are represented by a different object type.", "type": { - "$id": "6512", + "$id": "6495", "kind": "array", "name": "ArrayRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "valueType": { - "$id": "6513", + "$id": "6496", "kind": "model", "name": "RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "namespace": "OpenAI", @@ -84395,13 +84009,13 @@ "doc": "Abstractly represents a run step tool call details code interpreter output.", "decorators": [], "discriminatorProperty": { - "$id": "6514", + "$id": "6497", "kind": "property", "name": "type", "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "1050" + "$ref": "956" }, "optional": false, "readOnly": false, @@ -84418,12 +84032,12 @@ }, "properties": [ { - "$ref": "6514" + "$ref": "6497" } ], "discriminatedSubtypes": { "logs": { - "$id": "6515", + "$id": "6498", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputLogsObject", "namespace": "OpenAI", @@ -84433,32 +84047,32 @@ "discriminatorValue": "logs", "decorators": [], "baseModel": { - "$ref": "6513" + "$ref": "6496" }, "properties": [ { - "$id": "6516", + "$id": "6499", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `logs`.", "type": { - "$id": "6517", + "$id": "6500", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "1051" + "$ref": "957" }, "enumType": { - "$id": "6518", + "$id": "6501", "kind": "enum", "decorators": [], "name": "RunStepDetailsCodeInterpreterOutputType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6519", + "$id": "6502", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -84467,29 +84081,29 @@ }, "values": [ { - "$id": "6520", + "$id": "6503", "kind": "enumvalue", "decorators": [], "name": "logs", "value": "logs", "valueType": { - "$ref": "6519" + "$ref": "6502" }, "enumType": { - "$ref": "6518" + "$ref": "6501" } }, { - "$id": "6521", + "$id": "6504", "kind": "enumvalue", "decorators": [], "name": "image", "value": "image", "valueType": { - "$ref": "6519" + "$ref": "6502" }, "enumType": { - "$ref": "6518" + "$ref": "6501" } } ], @@ -84518,13 +84132,13 @@ "isHttpMetadata": false }, { - "$id": "6522", + "$id": "6505", "kind": "property", "name": "logs", "serializedName": "logs", "doc": "The text output from the Code Interpreter tool call.", "type": { - "$id": "6523", + "$id": "6506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84546,7 +84160,7 @@ ] }, "image": { - "$id": "6524", + "$id": "6507", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputImageObject", "namespace": "OpenAI", @@ -84555,25 +84169,25 @@ "discriminatorValue": "image", "decorators": [], "baseModel": { - "$ref": "6513" + "$ref": "6496" }, "properties": [ { - "$id": "6525", + "$id": "6508", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `image`.", "type": { - "$id": "6526", + "$id": "6509", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "1051" + "$ref": "957" }, "enumType": { - "$ref": "6518" + "$ref": "6501" }, "decorators": [] }, @@ -84591,12 +84205,12 @@ "isHttpMetadata": false }, { - "$id": "6527", + "$id": "6510", "kind": "property", "name": "image", "serializedName": "image", "type": { - "$id": "6528", + "$id": "6511", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputImageObjectImage", "namespace": "OpenAI", @@ -84605,13 +84219,13 @@ "decorators": [], "properties": [ { - "$id": "6529", + "$id": "6512", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The [file](/docs/api-reference/files) ID of the image.", "type": { - "$id": "6530", + "$id": "6513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84683,7 +84297,7 @@ ] }, "file_search": { - "$id": "6531", + "$id": "6514", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchObject", "namespace": "OpenAI", @@ -84692,25 +84306,25 @@ "discriminatorValue": "file_search", "decorators": [], "baseModel": { - "$ref": "6495" + "$ref": "6478" }, "properties": [ { - "$id": "6532", + "$id": "6515", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool call. This is always going to be `file_search` for this type of tool call.", "type": { - "$id": "6533", + "$id": "6516", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "1046" + "$ref": "952" }, "enumType": { - "$ref": "6502" + "$ref": "6485" }, "decorators": [] }, @@ -84728,13 +84342,13 @@ "isHttpMetadata": false }, { - "$id": "6534", + "$id": "6517", "kind": "property", "name": "file_search", "serializedName": "file_search", "doc": "For now, this is always going to be an empty object.", "type": { - "$id": "6535", + "$id": "6518", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchObjectFileSearch", "namespace": "OpenAI", @@ -84743,12 +84357,12 @@ "decorators": [], "properties": [ { - "$id": "6536", + "$id": "6519", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "type": { - "$id": "6537", + "$id": "6520", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchRankingOptionsObject", "namespace": "OpenAI", @@ -84758,7 +84372,7 @@ "decorators": [], "properties": [ { - "$id": "6538", + "$id": "6521", "kind": "property", "name": "ranker", "serializedName": "ranker", @@ -84779,13 +84393,13 @@ "isHttpMetadata": false }, { - "$id": "6539", + "$id": "6522", "kind": "property", "name": "score_threshold", "serializedName": "score_threshold", "doc": "The score threshold for the file search. All values must be a floating point number between 0 and 1.", "type": { - "$id": "6540", + "$id": "6523", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -84820,17 +84434,17 @@ "isHttpMetadata": false }, { - "$id": "6541", + "$id": "6524", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search.", "type": { - "$id": "6542", + "$id": "6525", "kind": "array", "name": "ArrayRunStepDetailsToolCallsFileSearchResultObject", "valueType": { - "$id": "6543", + "$id": "6526", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchResultObject", "namespace": "OpenAI", @@ -84840,13 +84454,13 @@ "decorators": [], "properties": [ { - "$id": "6544", + "$id": "6527", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file that result was found in.", "type": { - "$id": "6545", + "$id": "6528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84866,13 +84480,13 @@ "isHttpMetadata": false }, { - "$id": "6546", + "$id": "6529", "kind": "property", "name": "file_name", "serializedName": "file_name", "doc": "The name of the file that result was found in.", "type": { - "$id": "6547", + "$id": "6530", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84892,13 +84506,13 @@ "isHttpMetadata": false }, { - "$id": "6548", + "$id": "6531", "kind": "property", "name": "score", "serializedName": "score", "doc": "The score of the result. All values must be a floating point number between 0 and 1.", "type": { - "$id": "6549", + "$id": "6532", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -84918,17 +84532,17 @@ "isHttpMetadata": false }, { - "$id": "6550", + "$id": "6533", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the result that was found. The content is only included if requested via the include query parameter.", "type": { - "$id": "6551", + "$id": "6534", "kind": "array", - "name": "Array39", + "name": "Array37", "valueType": { - "$id": "6552", + "$id": "6535", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchResultObjectContent", "namespace": "OpenAI", @@ -84937,28 +84551,28 @@ "decorators": [], "properties": [ { - "$id": "6553", + "$id": "6536", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content.", "type": { - "$id": "6554", + "$id": "6537", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1458" + "$ref": "1584" }, "enumType": { - "$id": "6555", + "$id": "6538", "kind": "enum", "decorators": [], "name": "RunStepDetailsToolCallsFileSearchResultObjectContentType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6556", + "$id": "6539", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -84967,16 +84581,16 @@ }, "values": [ { - "$id": "6557", + "$id": "6540", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "enumType": { - "$ref": "6555" + "$ref": "6538" }, "valueType": { - "$ref": "6556" + "$ref": "6539" } } ], @@ -85005,13 +84619,13 @@ "isHttpMetadata": false }, { - "$id": "6558", + "$id": "6541", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content of the file.", "type": { - "$id": "6559", + "$id": "6542", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85084,7 +84698,7 @@ ] }, "function": { - "$id": "6560", + "$id": "6543", "kind": "model", "name": "RunStepDetailsToolCallsFunctionObject", "namespace": "OpenAI", @@ -85093,25 +84707,25 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "6495" + "$ref": "6478" }, "properties": [ { - "$id": "6561", + "$id": "6544", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool call. This is always going to be `function` for this type of tool call.", "type": { - "$id": "6562", + "$id": "6545", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "1046" + "$ref": "952" }, "enumType": { - "$ref": "6502" + "$ref": "6485" }, "decorators": [] }, @@ -85129,13 +84743,13 @@ "isHttpMetadata": false }, { - "$id": "6563", + "$id": "6546", "kind": "property", "name": "function", "serializedName": "function", "doc": "The definition of the function that was called.", "type": { - "$id": "6564", + "$id": "6547", "kind": "model", "name": "RunStepDetailsToolCallsFunctionObjectFunction", "namespace": "OpenAI", @@ -85144,13 +84758,13 @@ "decorators": [], "properties": [ { - "$id": "6565", + "$id": "6548", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function.", "type": { - "$id": "6566", + "$id": "6549", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85170,13 +84784,13 @@ "isHttpMetadata": false }, { - "$id": "6567", + "$id": "6550", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The arguments passed to the function.", "type": { - "$id": "6568", + "$id": "6551", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85196,16 +84810,16 @@ "isHttpMetadata": false }, { - "$id": "6569", + "$id": "6552", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output of the function. This will be `null` if the outputs have not been [submitted](/docs/api-reference/runs/submitToolOutputs) yet.", "type": { - "$id": "6570", + "$id": "6553", "kind": "nullable", "type": { - "$id": "6571", + "$id": "6554", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85279,16 +84893,16 @@ "isHttpMetadata": false }, { - "$id": "6572", + "$id": "6555", "kind": "property", "name": "last_error", "serializedName": "last_error", "doc": "The last error associated with this run step. Will be `null` if there are no errors.", "type": { - "$id": "6573", + "$id": "6556", "kind": "nullable", "type": { - "$id": "6574", + "$id": "6557", "kind": "model", "name": "RunStepObjectLastError1", "namespace": "OpenAI", @@ -85297,13 +84911,13 @@ "decorators": [], "properties": [ { - "$id": "6575", + "$id": "6558", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of `server_error` or `rate_limit_exceeded`.", "type": { - "$ref": "1054" + "$ref": "960" }, "optional": false, "readOnly": false, @@ -85319,13 +84933,13 @@ "isHttpMetadata": false }, { - "$id": "6576", + "$id": "6559", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "6577", + "$id": "6560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85362,21 +84976,21 @@ "isHttpMetadata": false }, { - "$id": "6578", + "$id": "6561", "kind": "property", "name": "expired_at", "serializedName": "expired_at", "doc": "The Unix timestamp (in seconds) for when the run step expired. A step is considered expired if the parent run is expired.", "type": { - "$id": "6579", + "$id": "6562", "kind": "nullable", "type": { - "$id": "6580", + "$id": "6563", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6581", + "$id": "6564", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85401,21 +85015,21 @@ "isHttpMetadata": false }, { - "$id": "6582", + "$id": "6565", "kind": "property", "name": "cancelled_at", "serializedName": "cancelled_at", "doc": "The Unix timestamp (in seconds) for when the run step was cancelled.", "type": { - "$id": "6583", + "$id": "6566", "kind": "nullable", "type": { - "$id": "6584", + "$id": "6567", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6585", + "$id": "6568", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85440,21 +85054,21 @@ "isHttpMetadata": false }, { - "$id": "6586", + "$id": "6569", "kind": "property", "name": "failed_at", "serializedName": "failed_at", "doc": "The Unix timestamp (in seconds) for when the run step failed.", "type": { - "$id": "6587", + "$id": "6570", "kind": "nullable", "type": { - "$id": "6588", + "$id": "6571", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6589", + "$id": "6572", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85479,21 +85093,21 @@ "isHttpMetadata": false }, { - "$id": "6590", + "$id": "6573", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the run step completed.", "type": { - "$id": "6591", + "$id": "6574", "kind": "nullable", "type": { - "$id": "6592", + "$id": "6575", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6593", + "$id": "6576", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85518,13 +85132,13 @@ "isHttpMetadata": false }, { - "$id": "6594", + "$id": "6577", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": true, @@ -85540,15 +85154,15 @@ "isHttpMetadata": false }, { - "$id": "6595", + "$id": "6578", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "6596", + "$id": "6579", "kind": "nullable", "type": { - "$id": "6597", + "$id": "6580", "kind": "model", "name": "RunStepCompletionUsage", "namespace": "OpenAI", @@ -85558,13 +85172,13 @@ "decorators": [], "properties": [ { - "$id": "6598", + "$id": "6581", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "Number of completion tokens used over the course of the run step.", "type": { - "$id": "6599", + "$id": "6582", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85584,13 +85198,13 @@ "isHttpMetadata": false }, { - "$id": "6600", + "$id": "6583", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "Number of prompt tokens used over the course of the run step.", "type": { - "$id": "6601", + "$id": "6584", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85610,13 +85224,13 @@ "isHttpMetadata": false }, { - "$id": "6602", + "$id": "6585", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used (prompt + completion).", "type": { - "$id": "6603", + "$id": "6586", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85671,12 +85285,12 @@ "isHttpMetadata": false }, { - "$id": "6604", + "$id": "6587", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6605", + "$id": "6588", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85696,12 +85310,12 @@ "isHttpMetadata": false }, { - "$id": "6606", + "$id": "6589", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6607", + "$id": "6590", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85721,12 +85335,12 @@ "isHttpMetadata": false }, { - "$id": "6608", + "$id": "6591", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6609", + "$id": "6592", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -85748,70 +85362,70 @@ ] }, { - "$ref": "6461" + "$ref": "6444" }, { - "$ref": "6477" + "$ref": "6460" }, { - "$ref": "6479" + "$ref": "6462" }, { - "$ref": "6487" + "$ref": "6470" }, { - "$ref": "6490" + "$ref": "6473" }, { - "$ref": "6495" + "$ref": "6478" }, { - "$ref": "6499" + "$ref": "6482" }, { - "$ref": "6508" + "$ref": "6491" }, { - "$ref": "6513" + "$ref": "6496" }, { - "$ref": "6515" + "$ref": "6498" }, { - "$ref": "6524" + "$ref": "6507" }, { - "$ref": "6528" + "$ref": "6511" }, { - "$ref": "6531" + "$ref": "6514" }, { - "$ref": "6535" + "$ref": "6518" }, { - "$ref": "6537" + "$ref": "6520" }, { - "$ref": "6543" + "$ref": "6526" }, { - "$ref": "6552" + "$ref": "6535" }, { - "$ref": "6560" + "$ref": "6543" }, { - "$ref": "6564" + "$ref": "6547" }, { - "$ref": "6574" + "$ref": "6557" }, { - "$ref": "6597" + "$ref": "6580" }, { - "$id": "6610", + "$id": "6593", "kind": "model", "name": "ThreadObject", "namespace": "OpenAI", @@ -85821,13 +85435,13 @@ "decorators": [], "properties": [ { - "$id": "6611", + "$id": "6594", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6612", + "$id": "6595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85847,13 +85461,13 @@ "isHttpMetadata": false }, { - "$id": "6613", + "$id": "6596", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `thread`.", "type": { - "$ref": "1702" + "$ref": "1824" }, "optional": false, "readOnly": false, @@ -85869,18 +85483,18 @@ "isHttpMetadata": false }, { - "$id": "6614", + "$id": "6597", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the thread was created.", "type": { - "$id": "6615", + "$id": "6598", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6616", + "$id": "6599", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85903,16 +85517,16 @@ "isHttpMetadata": false }, { - "$id": "6617", + "$id": "6600", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "6618", + "$id": "6601", "kind": "nullable", "type": { - "$id": "6619", + "$id": "6602", "kind": "model", "name": "ThreadObjectToolResources1", "namespace": "OpenAI", @@ -85921,12 +85535,12 @@ "decorators": [], "properties": [ { - "$id": "6620", + "$id": "6603", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "6621", + "$id": "6604", "kind": "model", "name": "ThreadObjectToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -85935,13 +85549,13 @@ "decorators": [], "properties": [ { - "$id": "6622", + "$id": "6605", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -85972,12 +85586,12 @@ "isHttpMetadata": false }, { - "$id": "6623", + "$id": "6606", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$id": "6624", + "$id": "6607", "kind": "model", "name": "ThreadObjectToolResourcesFileSearch", "namespace": "OpenAI", @@ -85986,13 +85600,13 @@ "decorators": [], "properties": [ { - "$id": "6625", + "$id": "6608", "kind": "property", "name": "vector_store_ids", "serializedName": "vector_store_ids", "doc": "The [vector store](/docs/api-reference/vector-stores/object) attached to this thread. There can be a maximum of 1 vector store attached to the thread.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -86040,13 +85654,13 @@ "isHttpMetadata": false }, { - "$id": "6626", + "$id": "6609", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": true, @@ -86064,16 +85678,16 @@ ] }, { - "$ref": "6619" + "$ref": "6602" }, { - "$ref": "6621" + "$ref": "6604" }, { - "$ref": "6624" + "$ref": "6607" }, { - "$id": "6627", + "$id": "6610", "kind": "model", "name": "ModifyThreadRequest", "namespace": "OpenAI", @@ -86082,16 +85696,16 @@ "decorators": [], "properties": [ { - "$id": "6628", + "$id": "6611", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "6629", + "$id": "6612", "kind": "nullable", "type": { - "$id": "6630", + "$id": "6613", "kind": "model", "name": "ModifyThreadRequestToolResources1", "namespace": "OpenAI", @@ -86100,12 +85714,12 @@ "decorators": [], "properties": [ { - "$id": "6631", + "$id": "6614", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "6632", + "$id": "6615", "kind": "model", "name": "ModifyThreadRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -86114,13 +85728,13 @@ "decorators": [], "properties": [ { - "$id": "6633", + "$id": "6616", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -86151,12 +85765,12 @@ "isHttpMetadata": false }, { - "$id": "6634", + "$id": "6617", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$ref": "2441" + "$ref": "2551" }, "optional": true, "readOnly": false, @@ -86189,13 +85803,13 @@ "isHttpMetadata": false }, { - "$id": "6635", + "$id": "6618", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -86213,13 +85827,13 @@ ] }, { - "$ref": "6630" + "$ref": "6613" }, { - "$ref": "6632" + "$ref": "6615" }, { - "$id": "6636", + "$id": "6619", "kind": "model", "name": "DeleteThreadResponse", "namespace": "OpenAI", @@ -86228,12 +85842,12 @@ "decorators": [], "properties": [ { - "$id": "6637", + "$id": "6620", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6638", + "$id": "6621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86253,12 +85867,12 @@ "isHttpMetadata": false }, { - "$id": "6639", + "$id": "6622", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6640", + "$id": "6623", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -86278,12 +85892,12 @@ "isHttpMetadata": false }, { - "$id": "6641", + "$id": "6624", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1704" + "$ref": "1826" }, "optional": false, "readOnly": false, @@ -86301,7 +85915,7 @@ ] }, { - "$id": "6642", + "$id": "6625", "kind": "model", "name": "ListVectorStoresResponse", "namespace": "OpenAI", @@ -86310,12 +85924,12 @@ "decorators": [], "properties": [ { - "$id": "6643", + "$id": "6626", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1706" + "$ref": "1828" }, "optional": false, "readOnly": false, @@ -86331,16 +85945,16 @@ "isHttpMetadata": false }, { - "$id": "6644", + "$id": "6627", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6645", + "$id": "6628", "kind": "array", "name": "ArrayVectorStoreObject", "valueType": { - "$id": "6646", + "$id": "6629", "kind": "model", "name": "VectorStoreObject", "namespace": "OpenAI", @@ -86350,13 +85964,13 @@ "decorators": [], "properties": [ { - "$id": "6647", + "$id": "6630", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6648", + "$id": "6631", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86376,13 +85990,13 @@ "isHttpMetadata": false }, { - "$id": "6649", + "$id": "6632", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store`.", "type": { - "$ref": "1708" + "$ref": "1830" }, "optional": false, "readOnly": false, @@ -86398,18 +86012,18 @@ "isHttpMetadata": false }, { - "$id": "6650", + "$id": "6633", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the vector store was created.", "type": { - "$id": "6651", + "$id": "6634", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6652", + "$id": "6635", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86432,13 +86046,13 @@ "isHttpMetadata": false }, { - "$id": "6653", + "$id": "6636", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "6654", + "$id": "6637", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86458,13 +86072,13 @@ "isHttpMetadata": false }, { - "$id": "6655", + "$id": "6638", "kind": "property", "name": "usage_bytes", "serializedName": "usage_bytes", "doc": "The total number of bytes used by the files in the vector store.", "type": { - "$id": "6656", + "$id": "6639", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86484,12 +86098,12 @@ "isHttpMetadata": false }, { - "$id": "6657", + "$id": "6640", "kind": "property", "name": "file_counts", "serializedName": "file_counts", "type": { - "$id": "6658", + "$id": "6641", "kind": "model", "name": "VectorStoreObjectFileCounts", "namespace": "OpenAI", @@ -86498,13 +86112,13 @@ "decorators": [], "properties": [ { - "$id": "6659", + "$id": "6642", "kind": "property", "name": "in_progress", "serializedName": "in_progress", "doc": "The number of files that are currently being processed.", "type": { - "$id": "6660", + "$id": "6643", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86524,13 +86138,13 @@ "isHttpMetadata": false }, { - "$id": "6661", + "$id": "6644", "kind": "property", "name": "completed", "serializedName": "completed", "doc": "The number of files that have been successfully processed.", "type": { - "$id": "6662", + "$id": "6645", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86550,13 +86164,13 @@ "isHttpMetadata": false }, { - "$id": "6663", + "$id": "6646", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "The number of files that have failed to process.", "type": { - "$id": "6664", + "$id": "6647", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86576,13 +86190,13 @@ "isHttpMetadata": false }, { - "$id": "6665", + "$id": "6648", "kind": "property", "name": "cancelled", "serializedName": "cancelled", "doc": "The number of files that were cancelled.", "type": { - "$id": "6666", + "$id": "6649", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86602,13 +86216,13 @@ "isHttpMetadata": false }, { - "$id": "6667", + "$id": "6650", "kind": "property", "name": "total", "serializedName": "total", "doc": "The total number of files.", "type": { - "$id": "6668", + "$id": "6651", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86643,13 +86257,13 @@ "isHttpMetadata": false }, { - "$id": "6669", + "$id": "6652", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the vector store, which can be either `expired`, `in_progress`, or `completed`. A status of `completed` indicates that the vector store is ready for use.", "type": { - "$ref": "1058" + "$ref": "964" }, "optional": false, "readOnly": false, @@ -86665,12 +86279,12 @@ "isHttpMetadata": false }, { - "$id": "6670", + "$id": "6653", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$id": "6671", + "$id": "6654", "kind": "model", "name": "VectorStoreExpirationAfter", "namespace": "OpenAI", @@ -86680,28 +86294,28 @@ "decorators": [], "properties": [ { - "$id": "6672", + "$id": "6655", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "Anchor timestamp after which the expiration policy applies. Supported anchors: `last_active_at`.", "type": { - "$id": "6673", + "$id": "6656", "kind": "enumvalue", "name": "last_active_at", "value": "last_active_at", "valueType": { - "$ref": "1461" + "$ref": "1587" }, "enumType": { - "$id": "6674", + "$id": "6657", "kind": "enum", "decorators": [], "name": "VectorStoreExpirationAnchor", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6675", + "$id": "6658", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -86710,16 +86324,16 @@ }, "values": [ { - "$id": "6676", + "$id": "6659", "kind": "enumvalue", "decorators": [], "name": "last_active_at", "value": "last_active_at", "enumType": { - "$ref": "6674" + "$ref": "6657" }, "valueType": { - "$ref": "6675" + "$ref": "6658" } } ], @@ -86748,13 +86362,13 @@ "isHttpMetadata": false }, { - "$id": "6677", + "$id": "6660", "kind": "property", "name": "days", "serializedName": "days", "doc": "The number of days after the anchor time that the vector store will expire.", "type": { - "$id": "6678", + "$id": "6661", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86789,21 +86403,21 @@ "isHttpMetadata": false }, { - "$id": "6679", + "$id": "6662", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the vector store will expire.", "type": { - "$id": "6680", + "$id": "6663", "kind": "nullable", "type": { - "$id": "6681", + "$id": "6664", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6682", + "$id": "6665", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86828,21 +86442,21 @@ "isHttpMetadata": false }, { - "$id": "6683", + "$id": "6666", "kind": "property", "name": "last_active_at", "serializedName": "last_active_at", "doc": "The Unix timestamp (in seconds) for when the vector store was last active.", "type": { - "$id": "6684", + "$id": "6667", "kind": "nullable", "type": { - "$id": "6685", + "$id": "6668", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6686", + "$id": "6669", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86867,13 +86481,13 @@ "isHttpMetadata": false }, { - "$id": "6687", + "$id": "6670", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": true, @@ -86907,12 +86521,12 @@ "isHttpMetadata": false }, { - "$id": "6688", + "$id": "6671", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6689", + "$id": "6672", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86932,12 +86546,12 @@ "isHttpMetadata": false }, { - "$id": "6690", + "$id": "6673", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6691", + "$id": "6674", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86957,12 +86571,12 @@ "isHttpMetadata": false }, { - "$id": "6692", + "$id": "6675", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6693", + "$id": "6676", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -86984,16 +86598,16 @@ ] }, { - "$ref": "6646" + "$ref": "6629" }, { - "$ref": "6658" + "$ref": "6641" }, { - "$ref": "6671" + "$ref": "6654" }, { - "$id": "6694", + "$id": "6677", "kind": "model", "name": "CreateVectorStoreRequest", "namespace": "OpenAI", @@ -87002,13 +86616,13 @@ "decorators": [], "properties": [ { - "$id": "6695", + "$id": "6678", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [File](/docs/api-reference/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -87024,13 +86638,13 @@ "isHttpMetadata": false }, { - "$id": "6696", + "$id": "6679", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "6697", + "$id": "6680", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87050,12 +86664,12 @@ "isHttpMetadata": false }, { - "$id": "6698", + "$id": "6681", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$ref": "6671" + "$ref": "6654" }, "optional": true, "readOnly": false, @@ -87071,21 +86685,21 @@ "isHttpMetadata": false }, { - "$id": "6699", + "$id": "6682", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "doc": "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty.", "type": { - "$id": "6700", + "$id": "6683", "kind": "union", "name": "CreateVectorStoreRequestChunkingStrategy", "variantTypes": [ { - "$ref": "2534" + "$ref": "2644" }, { - "$ref": "2541" + "$ref": "2651" } ], "namespace": "OpenAI", @@ -87105,13 +86719,13 @@ "isHttpMetadata": false }, { - "$id": "6701", + "$id": "6684", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -87129,7 +86743,7 @@ ] }, { - "$id": "6702", + "$id": "6685", "kind": "model", "name": "UpdateVectorStoreRequest", "namespace": "OpenAI", @@ -87138,16 +86752,16 @@ "decorators": [], "properties": [ { - "$id": "6703", + "$id": "6686", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "6704", + "$id": "6687", "kind": "nullable", "type": { - "$id": "6705", + "$id": "6688", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87169,15 +86783,15 @@ "isHttpMetadata": false }, { - "$id": "6706", + "$id": "6689", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$id": "6707", + "$id": "6690", "kind": "nullable", "type": { - "$ref": "6671" + "$ref": "6654" }, "namespace": "OpenAI" }, @@ -87195,13 +86809,13 @@ "isHttpMetadata": false }, { - "$id": "6708", + "$id": "6691", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -87219,7 +86833,7 @@ ] }, { - "$id": "6709", + "$id": "6692", "kind": "model", "name": "DeleteVectorStoreResponse", "namespace": "OpenAI", @@ -87228,12 +86842,12 @@ "decorators": [], "properties": [ { - "$id": "6710", + "$id": "6693", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6711", + "$id": "6694", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87253,12 +86867,12 @@ "isHttpMetadata": false }, { - "$id": "6712", + "$id": "6695", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6713", + "$id": "6696", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -87278,12 +86892,12 @@ "isHttpMetadata": false }, { - "$id": "6714", + "$id": "6697", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1710" + "$ref": "1832" }, "optional": false, "readOnly": false, @@ -87301,7 +86915,7 @@ ] }, { - "$id": "6715", + "$id": "6698", "kind": "model", "name": "CreateVectorStoreFileBatchRequest", "namespace": "OpenAI", @@ -87310,13 +86924,13 @@ "decorators": [], "properties": [ { - "$id": "6716", + "$id": "6699", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "A list of [File](/docs/api-reference/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files.", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -87332,12 +86946,12 @@ "isHttpMetadata": false }, { - "$id": "6717", + "$id": "6700", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "type": { - "$ref": "2532" + "$ref": "2642" }, "optional": true, "readOnly": false, @@ -87353,15 +86967,15 @@ "isHttpMetadata": false }, { - "$id": "6718", + "$id": "6701", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6719", + "$id": "6702", "kind": "nullable", "type": { - "$ref": "3948" + "$ref": "4026" }, "namespace": "OpenAI" }, @@ -87381,7 +86995,7 @@ ] }, { - "$id": "6720", + "$id": "6703", "kind": "model", "name": "VectorStoreFileBatchObject", "namespace": "OpenAI", @@ -87391,13 +87005,13 @@ "decorators": [], "properties": [ { - "$id": "6721", + "$id": "6704", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6722", + "$id": "6705", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87417,13 +87031,13 @@ "isHttpMetadata": false }, { - "$id": "6723", + "$id": "6706", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store.file_batch`.", "type": { - "$ref": "1712" + "$ref": "1834" }, "optional": false, "readOnly": false, @@ -87439,18 +87053,18 @@ "isHttpMetadata": false }, { - "$id": "6724", + "$id": "6707", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the vector store files batch was created.", "type": { - "$id": "6725", + "$id": "6708", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6726", + "$id": "6709", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87473,13 +87087,13 @@ "isHttpMetadata": false }, { - "$id": "6727", + "$id": "6710", "kind": "property", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the [vector store](/docs/api-reference/vector-stores/object) that the [File](/docs/api-reference/files) is attached to.", "type": { - "$id": "6728", + "$id": "6711", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87499,13 +87113,13 @@ "isHttpMetadata": false }, { - "$id": "6729", + "$id": "6712", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`.", "type": { - "$ref": "1063" + "$ref": "969" }, "optional": false, "readOnly": false, @@ -87521,12 +87135,12 @@ "isHttpMetadata": false }, { - "$id": "6730", + "$id": "6713", "kind": "property", "name": "file_counts", "serializedName": "file_counts", "type": { - "$id": "6731", + "$id": "6714", "kind": "model", "name": "VectorStoreFileBatchObjectFileCounts", "namespace": "OpenAI", @@ -87535,13 +87149,13 @@ "decorators": [], "properties": [ { - "$id": "6732", + "$id": "6715", "kind": "property", "name": "in_progress", "serializedName": "in_progress", "doc": "The number of files that are currently being processed.", "type": { - "$id": "6733", + "$id": "6716", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87561,13 +87175,13 @@ "isHttpMetadata": false }, { - "$id": "6734", + "$id": "6717", "kind": "property", "name": "completed", "serializedName": "completed", "doc": "The number of files that have been processed.", "type": { - "$id": "6735", + "$id": "6718", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87587,13 +87201,13 @@ "isHttpMetadata": false }, { - "$id": "6736", + "$id": "6719", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "The number of files that have failed to process.", "type": { - "$id": "6737", + "$id": "6720", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87613,13 +87227,13 @@ "isHttpMetadata": false }, { - "$id": "6738", + "$id": "6721", "kind": "property", "name": "cancelled", "serializedName": "cancelled", "doc": "The number of files that where cancelled.", "type": { - "$id": "6739", + "$id": "6722", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87639,13 +87253,13 @@ "isHttpMetadata": false }, { - "$id": "6740", + "$id": "6723", "kind": "property", "name": "total", "serializedName": "total", "doc": "The total number of files.", "type": { - "$id": "6741", + "$id": "6724", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87682,10 +87296,10 @@ ] }, { - "$ref": "6731" + "$ref": "6714" }, { - "$id": "6742", + "$id": "6725", "kind": "model", "name": "ListVectorStoreFilesResponse", "namespace": "OpenAI", @@ -87694,12 +87308,12 @@ "decorators": [], "properties": [ { - "$id": "6743", + "$id": "6726", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1714" + "$ref": "1836" }, "optional": false, "readOnly": false, @@ -87715,16 +87329,16 @@ "isHttpMetadata": false }, { - "$id": "6744", + "$id": "6727", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6745", + "$id": "6728", "kind": "array", "name": "ArrayVectorStoreFileObject", "valueType": { - "$id": "6746", + "$id": "6729", "kind": "model", "name": "VectorStoreFileObject", "namespace": "OpenAI", @@ -87734,13 +87348,13 @@ "decorators": [], "properties": [ { - "$id": "6747", + "$id": "6730", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6748", + "$id": "6731", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87760,13 +87374,13 @@ "isHttpMetadata": false }, { - "$id": "6749", + "$id": "6732", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store.file`.", "type": { - "$ref": "1716" + "$ref": "1838" }, "optional": false, "readOnly": false, @@ -87782,13 +87396,13 @@ "isHttpMetadata": false }, { - "$id": "6750", + "$id": "6733", "kind": "property", "name": "usage_bytes", "serializedName": "usage_bytes", "doc": "The total vector store usage in bytes. Note that this may be different from the original file size.", "type": { - "$id": "6751", + "$id": "6734", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87808,18 +87422,18 @@ "isHttpMetadata": false }, { - "$id": "6752", + "$id": "6735", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the vector store file was created.", "type": { - "$id": "6753", + "$id": "6736", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6754", + "$id": "6737", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87842,13 +87456,13 @@ "isHttpMetadata": false }, { - "$id": "6755", + "$id": "6738", "kind": "property", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the [vector store](/docs/api-reference/vector-stores/object) that the [File](/docs/api-reference/files) is attached to.", "type": { - "$id": "6756", + "$id": "6739", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87868,13 +87482,13 @@ "isHttpMetadata": false }, { - "$id": "6757", + "$id": "6740", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the vector store file, which can be either `in_progress`, `completed`, `cancelled`, or `failed`. The status `completed` indicates that the vector store file is ready for use.", "type": { - "$ref": "1069" + "$ref": "975" }, "optional": false, "readOnly": false, @@ -87890,16 +87504,16 @@ "isHttpMetadata": false }, { - "$id": "6758", + "$id": "6741", "kind": "property", "name": "last_error", "serializedName": "last_error", "doc": "The last error associated with this vector store file. Will be `null` if there are no errors.", "type": { - "$id": "6759", + "$id": "6742", "kind": "nullable", "type": { - "$id": "6760", + "$id": "6743", "kind": "model", "name": "VectorStoreFileObjectLastError1", "namespace": "OpenAI", @@ -87908,13 +87522,13 @@ "decorators": [], "properties": [ { - "$id": "6761", + "$id": "6744", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of `server_error` or `rate_limit_exceeded`.", "type": { - "$ref": "1075" + "$ref": "981" }, "optional": false, "readOnly": false, @@ -87930,13 +87544,13 @@ "isHttpMetadata": false }, { - "$id": "6762", + "$id": "6745", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "6763", + "$id": "6746", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87973,13 +87587,13 @@ "isHttpMetadata": false }, { - "$id": "6764", + "$id": "6747", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "doc": "The strategy used to chunk the file.", "type": { - "$id": "6765", + "$id": "6748", "kind": "model", "name": "ChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -87987,12 +87601,12 @@ "usage": "Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "6766", + "$id": "6749", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1080" + "$ref": "986" }, "optional": false, "readOnly": false, @@ -88009,12 +87623,12 @@ }, "properties": [ { - "$ref": "6766" + "$ref": "6749" } ], "discriminatedSubtypes": { "other": { - "$id": "6767", + "$id": "6750", "kind": "model", "name": "OtherChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -88024,32 +87638,32 @@ "discriminatorValue": "other", "decorators": [], "baseModel": { - "$ref": "6765" + "$ref": "6748" }, "properties": [ { - "$id": "6768", + "$id": "6751", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `other`.", "type": { - "$id": "6769", + "$id": "6752", "kind": "enumvalue", "name": "other", "value": "other", "valueType": { - "$ref": "1081" + "$ref": "987" }, "enumType": { - "$id": "6770", + "$id": "6753", "kind": "enum", "decorators": [], "name": "ChunkingStrategyResponseParamType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "6771", + "$id": "6754", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -88058,29 +87672,29 @@ }, "values": [ { - "$id": "6772", + "$id": "6755", "kind": "enumvalue", "decorators": [], "name": "static", "value": "static", "valueType": { - "$ref": "6771" + "$ref": "6754" }, "enumType": { - "$ref": "6770" + "$ref": "6753" } }, { - "$id": "6773", + "$id": "6756", "kind": "enumvalue", "decorators": [], "name": "other", "value": "other", "valueType": { - "$ref": "6771" + "$ref": "6754" }, "enumType": { - "$ref": "6770" + "$ref": "6753" } } ], @@ -88111,7 +87725,7 @@ ] }, "static": { - "$id": "6774", + "$id": "6757", "kind": "model", "name": "StaticChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -88120,25 +87734,25 @@ "discriminatorValue": "static", "decorators": [], "baseModel": { - "$ref": "6765" + "$ref": "6748" }, "properties": [ { - "$id": "6775", + "$id": "6758", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `static`.", "type": { - "$id": "6776", + "$id": "6759", "kind": "enumvalue", "name": "static", "value": "static", "valueType": { - "$ref": "1081" + "$ref": "987" }, "enumType": { - "$ref": "6770" + "$ref": "6753" }, "decorators": [] }, @@ -88156,12 +87770,12 @@ "isHttpMetadata": false }, { - "$id": "6777", + "$id": "6760", "kind": "property", "name": "static", "serializedName": "static", "type": { - "$ref": "2545" + "$ref": "2655" }, "optional": false, "readOnly": false, @@ -88194,15 +87808,15 @@ "isHttpMetadata": false }, { - "$id": "6778", + "$id": "6761", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6779", + "$id": "6762", "kind": "nullable", "type": { - "$ref": "3948" + "$ref": "4026" }, "namespace": "OpenAI" }, @@ -88238,12 +87852,12 @@ "isHttpMetadata": false }, { - "$id": "6780", + "$id": "6763", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6781", + "$id": "6764", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88263,12 +87877,12 @@ "isHttpMetadata": false }, { - "$id": "6782", + "$id": "6765", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6783", + "$id": "6766", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88288,12 +87902,12 @@ "isHttpMetadata": false }, { - "$id": "6784", + "$id": "6767", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6785", + "$id": "6768", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -88315,22 +87929,22 @@ ] }, { - "$ref": "6746" + "$ref": "6729" }, { - "$ref": "6760" + "$ref": "6743" }, { - "$ref": "6765" + "$ref": "6748" }, { - "$ref": "6767" + "$ref": "6750" }, { - "$ref": "6774" + "$ref": "6757" }, { - "$id": "6786", + "$id": "6769", "kind": "model", "name": "CreateVectorStoreFileRequest", "namespace": "OpenAI", @@ -88339,13 +87953,13 @@ "decorators": [], "properties": [ { - "$id": "6787", + "$id": "6770", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "A [File](/docs/api-reference/files) ID that the vector store should use. Useful for tools like `file_search` that can access files.", "type": { - "$id": "6788", + "$id": "6771", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88365,12 +87979,12 @@ "isHttpMetadata": false }, { - "$id": "6789", + "$id": "6772", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "type": { - "$ref": "2532" + "$ref": "2642" }, "optional": true, "readOnly": false, @@ -88386,15 +88000,15 @@ "isHttpMetadata": false }, { - "$id": "6790", + "$id": "6773", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6791", + "$id": "6774", "kind": "nullable", "type": { - "$ref": "3948" + "$ref": "4026" }, "namespace": "OpenAI" }, @@ -88414,7 +88028,7 @@ ] }, { - "$id": "6792", + "$id": "6775", "kind": "model", "name": "DeleteVectorStoreFileResponse", "namespace": "OpenAI", @@ -88423,12 +88037,12 @@ "decorators": [], "properties": [ { - "$id": "6793", + "$id": "6776", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6794", + "$id": "6777", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88448,12 +88062,12 @@ "isHttpMetadata": false }, { - "$id": "6795", + "$id": "6778", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6796", + "$id": "6779", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -88473,12 +88087,12 @@ "isHttpMetadata": false }, { - "$id": "6797", + "$id": "6780", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1718" + "$ref": "1840" }, "optional": false, "readOnly": false, @@ -88496,7 +88110,7 @@ ] }, { - "$id": "6798", + "$id": "6781", "kind": "model", "name": "UpdateVectorStoreFileAttributesRequest", "namespace": "OpenAI", @@ -88505,15 +88119,15 @@ "decorators": [], "properties": [ { - "$id": "6799", + "$id": "6782", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6800", + "$id": "6783", "kind": "nullable", "type": { - "$ref": "3948" + "$ref": "4026" }, "namespace": "OpenAI" }, @@ -88533,7 +88147,7 @@ ] }, { - "$id": "6801", + "$id": "6784", "kind": "model", "name": "VectorStoreFileContentResponse", "namespace": "OpenAI", @@ -88543,13 +88157,13 @@ "decorators": [], "properties": [ { - "$id": "6802", + "$id": "6785", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store.file_content.page`", "type": { - "$ref": "1720" + "$ref": "1842" }, "optional": false, "readOnly": false, @@ -88565,17 +88179,17 @@ "isHttpMetadata": false }, { - "$id": "6803", + "$id": "6786", "kind": "property", "name": "data", "serializedName": "data", "doc": "Parsed content of the file.", "type": { - "$id": "6804", + "$id": "6787", "kind": "array", - "name": "Array40", + "name": "Array38", "valueType": { - "$id": "6805", + "$id": "6788", "kind": "model", "name": "VectorStoreFileContentResponseDatum", "namespace": "OpenAI", @@ -88584,13 +88198,13 @@ "decorators": [], "properties": [ { - "$id": "6806", + "$id": "6789", "kind": "property", "name": "type", "serializedName": "type", "doc": "The content type (currently only `\"text\"`)", "type": { - "$id": "6807", + "$id": "6790", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88610,13 +88224,13 @@ "isHttpMetadata": false }, { - "$id": "6808", + "$id": "6791", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content", "type": { - "$id": "6809", + "$id": "6792", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88654,13 +88268,13 @@ "isHttpMetadata": false }, { - "$id": "6810", + "$id": "6793", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates if there are more content pages to fetch.", "type": { - "$id": "6811", + "$id": "6794", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -88680,16 +88294,16 @@ "isHttpMetadata": false }, { - "$id": "6812", + "$id": "6795", "kind": "property", "name": "next_page", "serializedName": "next_page", "doc": "The token for the next page, if any.", "type": { - "$id": "6813", + "$id": "6796", "kind": "nullable", "type": { - "$id": "6814", + "$id": "6797", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88713,10 +88327,10 @@ ] }, { - "$ref": "6805" + "$ref": "6788" }, { - "$id": "6815", + "$id": "6798", "kind": "model", "name": "VectorStoreSearchRequestRankingOptions", "namespace": "OpenAI", @@ -88725,12 +88339,12 @@ "decorators": [], "properties": [ { - "$id": "6816", + "$id": "6799", "kind": "property", "name": "ranker", "serializedName": "ranker", "type": { - "$ref": "1084" + "$ref": "990" }, "optional": true, "readOnly": false, @@ -88746,12 +88360,12 @@ "isHttpMetadata": false }, { - "$id": "6817", + "$id": "6800", "kind": "property", "name": "score_threshold", "serializedName": "score_threshold", "type": { - "$id": "6818", + "$id": "6801", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -88773,7 +88387,7 @@ ] }, { - "$id": "6819", + "$id": "6802", "kind": "model", "name": "VectorStoreSearchRequest", "namespace": "OpenAI", @@ -88782,25 +88396,25 @@ "decorators": [], "properties": [ { - "$id": "6820", + "$id": "6803", "kind": "property", "name": "query", "serializedName": "query", "doc": "A query string for a search", "type": { - "$id": "6821", + "$id": "6804", "kind": "union", "name": "VectorStoreSearchRequestQuery", "variantTypes": [ { - "$id": "6822", + "$id": "6805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2438" + "$ref": "2548" } ], "namespace": "OpenAI", @@ -88820,13 +88434,13 @@ "isHttpMetadata": false }, { - "$id": "6823", + "$id": "6806", "kind": "property", "name": "rewrite_query", "serializedName": "rewrite_query", "doc": "Whether to rewrite the natural language query for vector search.", "type": { - "$id": "6824", + "$id": "6807", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -88846,13 +88460,13 @@ "isHttpMetadata": false }, { - "$id": "6825", + "$id": "6808", "kind": "property", "name": "max_num_results", "serializedName": "max_num_results", "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", "type": { - "$id": "6826", + "$id": "6809", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -88872,21 +88486,21 @@ "isHttpMetadata": false }, { - "$id": "6827", + "$id": "6810", "kind": "property", "name": "filters", "serializedName": "filters", "doc": "A filter to apply based on file attributes.", "type": { - "$id": "6828", + "$id": "6811", "kind": "union", "name": "VectorStoreSearchRequestFilters", "variantTypes": [ { - "$ref": "4390" + "$ref": "4468" }, { - "$ref": "4425" + "$ref": "4503" } ], "namespace": "OpenAI", @@ -88906,13 +88520,13 @@ "isHttpMetadata": false }, { - "$id": "6829", + "$id": "6812", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "doc": "Ranking options for search.", "type": { - "$ref": "6815" + "$ref": "6798" }, "optional": true, "readOnly": false, @@ -88930,7 +88544,7 @@ ] }, { - "$id": "6830", + "$id": "6813", "kind": "model", "name": "VectorStoreSearchResultsPage", "namespace": "OpenAI", @@ -88939,13 +88553,13 @@ "decorators": [], "properties": [ { - "$id": "6831", + "$id": "6814", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store.search_results.page`", "type": { - "$ref": "1722" + "$ref": "1844" }, "optional": false, "readOnly": false, @@ -88961,12 +88575,12 @@ "isHttpMetadata": false }, { - "$id": "6832", + "$id": "6815", "kind": "property", "name": "search_query", "serializedName": "search_query", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": false, "readOnly": false, @@ -88982,17 +88596,17 @@ "isHttpMetadata": false }, { - "$id": "6833", + "$id": "6816", "kind": "property", "name": "data", "serializedName": "data", "doc": "The list of search result items.", "type": { - "$id": "6834", + "$id": "6817", "kind": "array", "name": "ArrayVectorStoreSearchResultItem", "valueType": { - "$id": "6835", + "$id": "6818", "kind": "model", "name": "VectorStoreSearchResultItem", "namespace": "OpenAI", @@ -89001,13 +88615,13 @@ "decorators": [], "properties": [ { - "$id": "6836", + "$id": "6819", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the vector store file.", "type": { - "$id": "6837", + "$id": "6820", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89027,13 +88641,13 @@ "isHttpMetadata": false }, { - "$id": "6838", + "$id": "6821", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the vector store file.", "type": { - "$id": "6839", + "$id": "6822", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89053,13 +88667,13 @@ "isHttpMetadata": false }, { - "$id": "6840", + "$id": "6823", "kind": "property", "name": "score", "serializedName": "score", "doc": "The similarity score for the result.", "type": { - "$id": "6841", + "$id": "6824", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89079,15 +88693,15 @@ "isHttpMetadata": false }, { - "$id": "6842", + "$id": "6825", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6843", + "$id": "6826", "kind": "nullable", "type": { - "$ref": "3948" + "$ref": "4026" }, "namespace": "OpenAI" }, @@ -89105,17 +88719,17 @@ "isHttpMetadata": false }, { - "$id": "6844", + "$id": "6827", "kind": "property", "name": "content", "serializedName": "content", "doc": "Content chunks from the file.", "type": { - "$id": "6845", + "$id": "6828", "kind": "array", "name": "ArrayVectorStoreSearchResultContentObject", "valueType": { - "$id": "6846", + "$id": "6829", "kind": "model", "name": "VectorStoreSearchResultContentObject", "namespace": "OpenAI", @@ -89124,13 +88738,13 @@ "decorators": [], "properties": [ { - "$id": "6847", + "$id": "6830", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of content.", "type": { - "$ref": "1724" + "$ref": "1846" }, "optional": false, "readOnly": false, @@ -89146,13 +88760,13 @@ "isHttpMetadata": false }, { - "$id": "6848", + "$id": "6831", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content returned from search.", "type": { - "$id": "6849", + "$id": "6832", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89208,13 +88822,13 @@ "isHttpMetadata": false }, { - "$id": "6850", + "$id": "6833", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates if there are more results to fetch.", "type": { - "$id": "6851", + "$id": "6834", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -89234,16 +88848,16 @@ "isHttpMetadata": false }, { - "$id": "6852", + "$id": "6835", "kind": "property", "name": "next_page", "serializedName": "next_page", "doc": "The token for the next page, if any.", "type": { - "$id": "6853", + "$id": "6836", "kind": "nullable", "type": { - "$id": "6854", + "$id": "6837", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89267,13 +88881,13 @@ ] }, { - "$ref": "6835" + "$ref": "6818" }, { - "$ref": "6846" + "$ref": "6829" }, { - "$id": "6855", + "$id": "6838", "kind": "model", "name": "CreateCompletionRequest", "namespace": "OpenAI", @@ -89282,13 +88896,13 @@ "decorators": [], "properties": [ { - "$id": "6856", + "$id": "6839", "kind": "property", "name": "model", "serializedName": "model", "doc": "ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them.", "type": { - "$ref": "1088" + "$ref": "994" }, "optional": false, "readOnly": false, @@ -89304,34 +88918,41 @@ "isHttpMetadata": false }, { - "$id": "6857", + "$id": "6840", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays.\n\nNote that <|endoftext|> is the document separator that the model sees during training, so if a prompt is not specified the model will generate as if from the beginning of a new document.", "type": { - "$id": "6858", + "$id": "6841", "kind": "nullable", "type": { - "$id": "6859", + "$id": "6842", "kind": "union", "name": "CreateCompletionRequestPrompt", "variantTypes": [ { - "$id": "6860", + "$id": "6843", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2438" + "$ref": "2548" }, { - "$ref": "2671" + "$ref": "2781" }, { - "$ref": "3416" + "$id": "6844", + "kind": "array", + "name": "ArrayArray", + "valueType": { + "$ref": "2781" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] } ], "namespace": "OpenAI", @@ -89353,16 +88974,16 @@ "isHttpMetadata": false }, { - "$id": "6861", + "$id": "6845", "kind": "property", "name": "best_of", "serializedName": "best_of", "doc": "Generates `best_of` completions server-side and returns the \"best\" (the one with the highest log probability per token). Results cannot be streamed.\n\nWhen used with `n`, `best_of` controls the number of candidate completions and `n` specifies how many to return – `best_of` must be greater than `n`.\n\n**Note:** Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for `max_tokens` and `stop`.", "type": { - "$id": "6862", + "$id": "6846", "kind": "nullable", "type": { - "$id": "6863", + "$id": "6847", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89384,16 +89005,16 @@ "isHttpMetadata": false }, { - "$id": "6864", + "$id": "6848", "kind": "property", "name": "echo", "serializedName": "echo", "doc": "Echo back the prompt in addition to the completion", "type": { - "$id": "6865", + "$id": "6849", "kind": "nullable", "type": { - "$id": "6866", + "$id": "6850", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -89415,16 +89036,16 @@ "isHttpMetadata": false }, { - "$id": "6867", + "$id": "6851", "kind": "property", "name": "frequency_penalty", "serializedName": "frequency_penalty", "doc": "Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.\n\n[See more information about frequency and presence penalties.](/docs/guides/text-generation)", "type": { - "$id": "6868", + "$id": "6852", "kind": "nullable", "type": { - "$id": "6869", + "$id": "6853", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89446,16 +89067,16 @@ "isHttpMetadata": false }, { - "$id": "6870", + "$id": "6854", "kind": "property", "name": "logit_bias", "serializedName": "logit_bias", "doc": "Modify the likelihood of specified tokens appearing in the completion.\n\nAccepts a JSON object that maps tokens (specified by their token ID in the GPT tokenizer) to an associated bias value from -100 to 100. You can use this [tokenizer tool](/tokenizer?view=bpe) to convert text to token IDs. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.\n\nAs an example, you can pass `{\"50256\": -100}` to prevent the <|endoftext|> token from being generated.", "type": { - "$id": "6871", + "$id": "6855", "kind": "nullable", "type": { - "$ref": "3169" + "$ref": "3279" }, "namespace": "OpenAI" }, @@ -89473,16 +89094,16 @@ "isHttpMetadata": false }, { - "$id": "6872", + "$id": "6856", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "Include the log probabilities on the `logprobs` most likely output tokens, as well the chosen tokens. For example, if `logprobs` is 5, the API will return a list of the 5 most likely tokens. The API will always return the `logprob` of the sampled token, so there may be up to `logprobs+1` elements in the response.\n\nThe maximum value for `logprobs` is 5.", "type": { - "$id": "6873", + "$id": "6857", "kind": "nullable", "type": { - "$id": "6874", + "$id": "6858", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89504,16 +89125,16 @@ "isHttpMetadata": false }, { - "$id": "6875", + "$id": "6859", "kind": "property", "name": "max_tokens", "serializedName": "max_tokens", "doc": "The maximum number of [tokens](/tokenizer) that can be generated in the completion.\n\nThe token count of your prompt plus `max_tokens` cannot exceed the model's context length. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens.", "type": { - "$id": "6876", + "$id": "6860", "kind": "nullable", "type": { - "$id": "6877", + "$id": "6861", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89535,16 +89156,16 @@ "isHttpMetadata": false }, { - "$id": "6878", + "$id": "6862", "kind": "property", "name": "n", "serializedName": "n", "doc": "How many completions to generate for each prompt.\n\n**Note:** Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for `max_tokens` and `stop`.", "type": { - "$id": "6879", + "$id": "6863", "kind": "nullable", "type": { - "$id": "6880", + "$id": "6864", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89566,16 +89187,16 @@ "isHttpMetadata": false }, { - "$id": "6881", + "$id": "6865", "kind": "property", "name": "presence_penalty", "serializedName": "presence_penalty", "doc": "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.\n\n[See more information about frequency and presence penalties.](/docs/guides/text-generation)", "type": { - "$id": "6882", + "$id": "6866", "kind": "nullable", "type": { - "$id": "6883", + "$id": "6867", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89597,16 +89218,16 @@ "isHttpMetadata": false }, { - "$id": "6884", + "$id": "6868", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.\n\nDeterminism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.", "type": { - "$id": "6885", + "$id": "6869", "kind": "nullable", "type": { - "$id": "6886", + "$id": "6870", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -89628,15 +89249,15 @@ "isHttpMetadata": false }, { - "$id": "6887", + "$id": "6871", "kind": "property", "name": "stop", "serializedName": "stop", "type": { - "$id": "6888", + "$id": "6872", "kind": "nullable", "type": { - "$ref": "3165" + "$ref": "3275" }, "namespace": "OpenAI" }, @@ -89654,16 +89275,16 @@ "isHttpMetadata": false }, { - "$id": "6889", + "$id": "6873", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "Whether to stream back partial progress. If set, tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` message. [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).", "type": { - "$id": "6890", + "$id": "6874", "kind": "nullable", "type": { - "$id": "6891", + "$id": "6875", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -89685,15 +89306,15 @@ "isHttpMetadata": false }, { - "$id": "6892", + "$id": "6876", "kind": "property", "name": "stream_options", "serializedName": "stream_options", "type": { - "$id": "6893", + "$id": "6877", "kind": "nullable", "type": { - "$ref": "3199" + "$ref": "3309" }, "namespace": "OpenAI" }, @@ -89711,16 +89332,16 @@ "isHttpMetadata": false }, { - "$id": "6894", + "$id": "6878", "kind": "property", "name": "suffix", "serializedName": "suffix", "doc": "The suffix that comes after a completion of inserted text.\n\nThis parameter is only supported for `gpt-3.5-turbo-instruct`.", "type": { - "$id": "6895", + "$id": "6879", "kind": "nullable", "type": { - "$id": "6896", + "$id": "6880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89742,16 +89363,16 @@ "isHttpMetadata": false }, { - "$id": "6897", + "$id": "6881", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\n\nWe generally recommend altering this or `top_p` but not both.", "type": { - "$id": "6898", + "$id": "6882", "kind": "nullable", "type": { - "$id": "6899", + "$id": "6883", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89773,16 +89394,16 @@ "isHttpMetadata": false }, { - "$id": "6900", + "$id": "6884", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or `temperature` but not both.", "type": { - "$id": "6901", + "$id": "6885", "kind": "nullable", "type": { - "$id": "6902", + "$id": "6886", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89804,13 +89425,13 @@ "isHttpMetadata": false }, { - "$id": "6903", + "$id": "6887", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "6904", + "$id": "6888", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89832,7 +89453,7 @@ ] }, { - "$id": "6905", + "$id": "6889", "kind": "model", "name": "CreateCompletionResponse", "namespace": "OpenAI", @@ -89842,13 +89463,13 @@ "decorators": [], "properties": [ { - "$id": "6906", + "$id": "6890", "kind": "property", "name": "id", "serializedName": "id", "doc": "A unique identifier for the completion.", "type": { - "$id": "6907", + "$id": "6891", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89868,17 +89489,17 @@ "isHttpMetadata": false }, { - "$id": "6908", + "$id": "6892", "kind": "property", "name": "choices", "serializedName": "choices", "doc": "The list of completion choices the model generated for the input prompt.", "type": { - "$id": "6909", + "$id": "6893", "kind": "array", - "name": "Array41", + "name": "Array39", "valueType": { - "$id": "6910", + "$id": "6894", "kind": "model", "name": "CreateCompletionResponseChoice", "namespace": "OpenAI", @@ -89887,13 +89508,13 @@ "decorators": [], "properties": [ { - "$id": "6911", + "$id": "6895", "kind": "property", "name": "finish_reason", "serializedName": "finish_reason", "doc": "The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,\n`length` if the maximum number of tokens specified in the request was reached,\nor `content_filter` if content was omitted due to a flag from our content filters.", "type": { - "$ref": "1093" + "$ref": "999" }, "optional": false, "readOnly": false, @@ -89909,12 +89530,12 @@ "isHttpMetadata": false }, { - "$id": "6912", + "$id": "6896", "kind": "property", "name": "index", "serializedName": "index", "type": { - "$id": "6913", + "$id": "6897", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89934,15 +89555,15 @@ "isHttpMetadata": false }, { - "$id": "6914", + "$id": "6898", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "type": { - "$id": "6915", + "$id": "6899", "kind": "nullable", "type": { - "$id": "6916", + "$id": "6900", "kind": "model", "name": "CreateCompletionResponseChoiceLogprobs1", "namespace": "OpenAI", @@ -89951,12 +89572,12 @@ "decorators": [], "properties": [ { - "$id": "6917", + "$id": "6901", "kind": "property", "name": "text_offset", "serializedName": "text_offset", "type": { - "$ref": "2671" + "$ref": "2781" }, "optional": true, "readOnly": false, @@ -89972,12 +89593,12 @@ "isHttpMetadata": false }, { - "$id": "6918", + "$id": "6902", "kind": "property", "name": "token_logprobs", "serializedName": "token_logprobs", "type": { - "$ref": "2692" + "$ref": "2802" }, "optional": true, "readOnly": false, @@ -89993,12 +89614,12 @@ "isHttpMetadata": false }, { - "$id": "6919", + "$id": "6903", "kind": "property", "name": "tokens", "serializedName": "tokens", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -90014,26 +89635,26 @@ "isHttpMetadata": false }, { - "$id": "6920", + "$id": "6904", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "type": { - "$id": "6921", + "$id": "6905", "kind": "array", "name": "ArrayRecord1", "valueType": { - "$id": "6922", + "$id": "6906", "kind": "dict", "keyType": { - "$id": "6923", + "$id": "6907", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "6924", + "$id": "6908", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -90075,12 +89696,12 @@ "isHttpMetadata": false }, { - "$id": "6925", + "$id": "6909", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "6926", + "$id": "6910", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90118,18 +89739,18 @@ "isHttpMetadata": false }, { - "$id": "6927", + "$id": "6911", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) of when the completion was created.", "type": { - "$id": "6928", + "$id": "6912", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6929", + "$id": "6913", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -90152,13 +89773,13 @@ "isHttpMetadata": false }, { - "$id": "6930", + "$id": "6914", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used for completion.", "type": { - "$id": "6931", + "$id": "6915", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90178,13 +89799,13 @@ "isHttpMetadata": false }, { - "$id": "6932", + "$id": "6916", "kind": "property", "name": "system_fingerprint", "serializedName": "system_fingerprint", "doc": "This fingerprint represents the backend configuration that the model runs with.\n\nCan be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism.", "type": { - "$id": "6933", + "$id": "6917", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90204,13 +89825,13 @@ "isHttpMetadata": false }, { - "$id": "6934", + "$id": "6918", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"text_completion\"", "type": { - "$ref": "1726" + "$ref": "1848" }, "optional": false, "readOnly": false, @@ -90226,12 +89847,12 @@ "isHttpMetadata": false }, { - "$id": "6935", + "$id": "6919", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$ref": "2945" + "$ref": "3055" }, "optional": true, "readOnly": false, @@ -90249,275 +89870,13 @@ ] }, { - "$ref": "6910" + "$ref": "6894" }, { - "$ref": "6916" + "$ref": "6900" }, { - "$id": "6936", - "kind": "model", - "name": "ListModelsResponse", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ListModelsResponse", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "6937", - "kind": "property", - "name": "object", - "serializedName": "object", - "type": { - "$ref": "1728" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ListModelsResponse.object", - "serializationOptions": { - "json": { - "name": "object" - } - }, - "isHttpMetadata": false - }, - { - "$id": "6938", - "kind": "property", - "name": "data", - "serializedName": "data", - "type": { - "$id": "6939", - "kind": "array", - "name": "ArrayModel", - "valueType": { - "$id": "6940", - "kind": "model", - "name": "Model", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.Model", - "usage": "Output,Json", - "doc": "Describes an OpenAI model offering that can be used with the API.", - "decorators": [], - "properties": [ - { - "$id": "6941", - "kind": "property", - "name": "id", - "serializedName": "id", - "doc": "The model identifier, which can be referenced in the API endpoints.", - "type": { - "$id": "6942", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Model.id", - "serializationOptions": { - "json": { - "name": "id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "6943", - "kind": "property", - "name": "created", - "serializedName": "created", - "doc": "The Unix timestamp (in seconds) when the model was created.", - "type": { - "$id": "6944", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "6945", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Model.created", - "serializationOptions": { - "json": { - "name": "created" - } - }, - "isHttpMetadata": false - }, - { - "$id": "6946", - "kind": "property", - "name": "object", - "serializedName": "object", - "doc": "The object type, which is always \"model\".", - "type": { - "$ref": "1730" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Model.object", - "serializationOptions": { - "json": { - "name": "object" - } - }, - "isHttpMetadata": false - }, - { - "$id": "6947", - "kind": "property", - "name": "owned_by", - "serializedName": "owned_by", - "doc": "The organization that owns the model.", - "type": { - "$id": "6948", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Model.owned_by", - "serializationOptions": { - "json": { - "name": "owned_by" - } - }, - "isHttpMetadata": false - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ListModelsResponse.data", - "serializationOptions": { - "json": { - "name": "data" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$ref": "6940" - }, - { - "$id": "6949", - "kind": "model", - "name": "DeleteModelResponse", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DeleteModelResponse", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "6950", - "kind": "property", - "name": "id", - "serializedName": "id", - "type": { - "$id": "6951", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DeleteModelResponse.id", - "serializationOptions": { - "json": { - "name": "id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "6952", - "kind": "property", - "name": "deleted", - "serializedName": "deleted", - "type": { - "$id": "6953", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DeleteModelResponse.deleted", - "serializationOptions": { - "json": { - "name": "deleted" - } - }, - "isHttpMetadata": false - }, - { - "$id": "6954", - "kind": "property", - "name": "object", - "serializedName": "object", - "type": { - "$ref": "1732" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DeleteModelResponse.object", - "serializationOptions": { - "json": { - "name": "object" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "6955", + "$id": "6920", "kind": "model", "name": "RealtimeClientEvent", "namespace": "OpenAI", @@ -90526,13 +89885,13 @@ "doc": "A realtime client event.", "decorators": [], "discriminatorProperty": { - "$id": "6956", + "$id": "6921", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of event.", "type": { - "$ref": "1098" + "$ref": "1004" }, "optional": false, "readOnly": false, @@ -90549,15 +89908,15 @@ }, "properties": [ { - "$ref": "6956" + "$ref": "6921" }, { - "$id": "6957", + "$id": "6922", "kind": "property", "name": "event_id", "serializedName": "event_id", "type": { - "$id": "6958", + "$id": "6923", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90579,7 +89938,7 @@ ], "discriminatedSubtypes": { "session.update": { - "$id": "6959", + "$id": "6924", "kind": "model", "name": "RealtimeClientEventSessionUpdate", "namespace": "OpenAI", @@ -90589,32 +89948,32 @@ "discriminatorValue": "session.update", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "6960", + "$id": "6925", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `session.update`.", "type": { - "$id": "6961", + "$id": "6926", "kind": "enumvalue", "name": "session_update", "value": "session.update", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$id": "6962", + "$id": "6927", "kind": "enum", "decorators": [], "name": "RealtimeClientEventType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6963", + "$id": "6928", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -90623,159 +89982,159 @@ }, "values": [ { - "$id": "6964", + "$id": "6929", "kind": "enumvalue", "decorators": [], "name": "session_update", "value": "session.update", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6965", + "$id": "6930", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_append", "value": "input_audio_buffer.append", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6966", + "$id": "6931", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_commit", "value": "input_audio_buffer.commit", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6967", + "$id": "6932", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_clear", "value": "input_audio_buffer.clear", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6968", + "$id": "6933", "kind": "enumvalue", "decorators": [], "name": "output_audio_buffer_clear", "value": "output_audio_buffer.clear", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6969", + "$id": "6934", "kind": "enumvalue", "decorators": [], "name": "conversation_item_create", "value": "conversation.item.create", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6970", + "$id": "6935", "kind": "enumvalue", "decorators": [], "name": "conversation_item_retrieve", "value": "conversation.item.retrieve", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6971", + "$id": "6936", "kind": "enumvalue", "decorators": [], "name": "conversation_item_truncate", "value": "conversation.item.truncate", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6972", + "$id": "6937", "kind": "enumvalue", "decorators": [], "name": "conversation_item_delete", "value": "conversation.item.delete", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6973", + "$id": "6938", "kind": "enumvalue", "decorators": [], "name": "response_create", "value": "response.create", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6974", + "$id": "6939", "kind": "enumvalue", "decorators": [], "name": "response_cancel", "value": "response.cancel", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } }, { - "$id": "6975", + "$id": "6940", "kind": "enumvalue", "decorators": [], "name": "transcription_session_update", "value": "transcription_session.update", "valueType": { - "$ref": "6963" + "$ref": "6928" }, "enumType": { - "$ref": "6962" + "$ref": "6927" } } ], @@ -90804,12 +90163,12 @@ "isHttpMetadata": false }, { - "$id": "6976", + "$id": "6941", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "6977", + "$id": "6942", "kind": "model", "name": "RealtimeRequestSession", "namespace": "OpenAI", @@ -90818,16 +90177,16 @@ "decorators": [], "properties": [ { - "$id": "6978", + "$id": "6943", "kind": "property", "name": "modalities", "serializedName": "modalities", "type": { - "$id": "6979", + "$id": "6944", "kind": "array", "name": "ArrayRealtimeModality", "valueType": { - "$ref": "1112" + "$ref": "1018" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -90846,12 +90205,12 @@ "isHttpMetadata": false }, { - "$id": "6980", + "$id": "6945", "kind": "property", "name": "instructions", "serializedName": "instructions", "type": { - "$id": "6981", + "$id": "6946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90871,12 +90230,12 @@ "isHttpMetadata": false }, { - "$id": "6982", + "$id": "6947", "kind": "property", "name": "model", "serializedName": "model", "type": { - "$ref": "1116" + "$ref": "1022" }, "optional": true, "readOnly": false, @@ -90892,7 +90251,7 @@ "isHttpMetadata": false }, { - "$id": "6983", + "$id": "6948", "kind": "property", "name": "voice", "serializedName": "voice", @@ -90913,12 +90272,12 @@ "isHttpMetadata": false }, { - "$id": "6984", + "$id": "6949", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", "type": { - "$ref": "1123" + "$ref": "1029" }, "optional": true, "readOnly": false, @@ -90934,12 +90293,12 @@ "isHttpMetadata": false }, { - "$id": "6985", + "$id": "6950", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", "type": { - "$ref": "1123" + "$ref": "1029" }, "optional": true, "readOnly": false, @@ -90955,15 +90314,15 @@ "isHttpMetadata": false }, { - "$id": "6986", + "$id": "6951", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "type": { - "$id": "6987", + "$id": "6952", "kind": "nullable", "type": { - "$id": "6988", + "$id": "6953", "kind": "model", "name": "RealtimeAudioInputTranscriptionSettings", "namespace": "OpenAI", @@ -90972,12 +90331,12 @@ "decorators": [], "properties": [ { - "$id": "6989", + "$id": "6954", "kind": "property", "name": "model", "serializedName": "model", "type": { - "$ref": "1128" + "$ref": "1034" }, "optional": true, "readOnly": false, @@ -90993,12 +90352,12 @@ "isHttpMetadata": false }, { - "$id": "6990", + "$id": "6955", "kind": "property", "name": "language", "serializedName": "language", "type": { - "$id": "6991", + "$id": "6956", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91018,12 +90377,12 @@ "isHttpMetadata": false }, { - "$id": "6992", + "$id": "6957", "kind": "property", "name": "prompt", "serializedName": "prompt", "type": { - "$id": "6993", + "$id": "6958", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91060,15 +90419,15 @@ "isHttpMetadata": false }, { - "$id": "6994", + "$id": "6959", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "type": { - "$id": "6995", + "$id": "6960", "kind": "nullable", "type": { - "$id": "6996", + "$id": "6961", "kind": "model", "name": "RealtimeTurnDetection", "namespace": "OpenAI", @@ -91076,12 +90435,12 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "6997", + "$id": "6962", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1131" + "$ref": "1037" }, "optional": false, "readOnly": false, @@ -91098,16 +90457,16 @@ }, "properties": [ { - "$ref": "6997" + "$ref": "6962" }, { - "$id": "6998", + "$id": "6963", "kind": "property", "name": "create_response", "serializedName": "create_response", "doc": "Whether or not to automatically generate a response when VAD is enabled. true by default.", "type": { - "$id": "6999", + "$id": "6964", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -91127,13 +90486,13 @@ "isHttpMetadata": false }, { - "$id": "7000", + "$id": "6965", "kind": "property", "name": "interrupt_response", "serializedName": "interrupt_response", "doc": "Whether or not to automatically interrupt any ongoing response with output to the default conversation (i.e. `conversation` of `auto`) when a VAD start event occurs.", "type": { - "$id": "7001", + "$id": "6966", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -91155,7 +90514,7 @@ ], "discriminatedSubtypes": { "server_vad": { - "$id": "7002", + "$id": "6967", "kind": "model", "name": "RealtimeServerVadTurnDetection", "namespace": "OpenAI", @@ -91164,31 +90523,31 @@ "discriminatorValue": "server_vad", "decorators": [], "baseModel": { - "$ref": "6996" + "$ref": "6961" }, "properties": [ { - "$id": "7003", + "$id": "6968", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7004", + "$id": "6969", "kind": "enumvalue", "name": "server_vad", "value": "server_vad", "valueType": { - "$ref": "1132" + "$ref": "1038" }, "enumType": { - "$id": "7005", + "$id": "6970", "kind": "enum", "decorators": [], "name": "RealtimeTurnDetectionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7006", + "$id": "6971", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -91197,30 +90556,30 @@ }, "values": [ { - "$id": "7007", + "$id": "6972", "kind": "enumvalue", "decorators": [], "doc": "Indicates that server-side voice activity detection (VAD) should be enabled, allowing the server to determine when\nadd_user_audio commands present ends of speech and should be automatically committed.\n\nThe API will also detect when the user begins talking, sending a generation_canceled command.", "name": "server_vad", "value": "server_vad", "valueType": { - "$ref": "7006" + "$ref": "6971" }, "enumType": { - "$ref": "7005" + "$ref": "6970" } }, { - "$id": "7008", + "$id": "6973", "kind": "enumvalue", "decorators": [], "name": "semantic_vad", "value": "semantic_vad", "valueType": { - "$ref": "7006" + "$ref": "6971" }, "enumType": { - "$ref": "7005" + "$ref": "6970" } } ], @@ -91250,13 +90609,13 @@ "isHttpMetadata": false }, { - "$id": "7009", + "$id": "6974", "kind": "property", "name": "threshold", "serializedName": "threshold", "doc": "Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher threshold will require louder audio to activate the model, and thus might perform better in noisy environments.", "type": { - "$id": "7010", + "$id": "6975", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -91276,18 +90635,18 @@ "isHttpMetadata": false }, { - "$id": "7011", + "$id": "6976", "kind": "property", "name": "prefix_padding_ms", "serializedName": "prefix_padding_ms", "doc": "Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.", "type": { - "$id": "7012", + "$id": "6977", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "7013", + "$id": "6978", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91310,18 +90669,18 @@ "isHttpMetadata": false }, { - "$id": "7014", + "$id": "6979", "kind": "property", "name": "silence_duration_ms", "serializedName": "silence_duration_ms", "doc": "Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. With shorter values the model will respond more quickly, but may jump in on short pauses from the user.", "type": { - "$id": "7015", + "$id": "6980", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "7016", + "$id": "6981", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91346,7 +90705,7 @@ ] }, "semantic_vad": { - "$id": "7017", + "$id": "6982", "kind": "model", "name": "RealtimeSemanticVadTurnDetection", "namespace": "OpenAI", @@ -91355,24 +90714,24 @@ "discriminatorValue": "semantic_vad", "decorators": [], "baseModel": { - "$ref": "6996" + "$ref": "6961" }, "properties": [ { - "$id": "7018", + "$id": "6983", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7019", + "$id": "6984", "kind": "enumvalue", "name": "semantic_vad", "value": "semantic_vad", "valueType": { - "$ref": "1132" + "$ref": "1038" }, "enumType": { - "$ref": "7005" + "$ref": "6970" }, "decorators": [] }, @@ -91390,13 +90749,13 @@ "isHttpMetadata": false }, { - "$id": "7020", + "$id": "6985", "kind": "property", "name": "eagerness", "serializedName": "eagerness", "doc": "Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` will wait longer for the user to continue speaking, `high` will respond more quickly. `auto` is the default and is equivalent to `medium`.", "type": { - "$ref": "1135" + "$ref": "1041" }, "optional": true, "readOnly": false, @@ -91431,12 +90790,12 @@ "isHttpMetadata": false }, { - "$id": "7021", + "$id": "6986", "kind": "property", "name": "input_audio_noise_reduction", "serializedName": "input_audio_noise_reduction", "type": { - "$id": "7022", + "$id": "6987", "kind": "model", "name": "RealtimeAudioNoiseReduction", "namespace": "OpenAI", @@ -91444,12 +90803,12 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "7023", + "$id": "6988", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1141" + "$ref": "1047" }, "optional": false, "readOnly": false, @@ -91466,12 +90825,12 @@ }, "properties": [ { - "$ref": "7023" + "$ref": "6988" } ], "discriminatedSubtypes": { "near_field": { - "$id": "7024", + "$id": "6989", "kind": "model", "name": "RealtimeAudioNearFieldNoiseReduction", "namespace": "OpenAI", @@ -91480,31 +90839,31 @@ "discriminatorValue": "near_field", "decorators": [], "baseModel": { - "$ref": "7022" + "$ref": "6987" }, "properties": [ { - "$id": "7025", + "$id": "6990", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7026", + "$id": "6991", "kind": "enumvalue", "name": "near_field", "value": "near_field", "valueType": { - "$ref": "1142" + "$ref": "1048" }, "enumType": { - "$id": "7027", + "$id": "6992", "kind": "enum", "decorators": [], "name": "RealtimeAudioNoiseReductionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7028", + "$id": "6993", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -91513,29 +90872,29 @@ }, "values": [ { - "$id": "7029", + "$id": "6994", "kind": "enumvalue", "decorators": [], "name": "near_field", "value": "near_field", "valueType": { - "$ref": "7028" + "$ref": "6993" }, "enumType": { - "$ref": "7027" + "$ref": "6992" } }, { - "$id": "7030", + "$id": "6995", "kind": "enumvalue", "decorators": [], "name": "far_field", "value": "far_field", "valueType": { - "$ref": "7028" + "$ref": "6993" }, "enumType": { - "$ref": "7027" + "$ref": "6992" } } ], @@ -91566,7 +90925,7 @@ ] }, "far_field": { - "$id": "7031", + "$id": "6996", "kind": "model", "name": "RealtimeAudioFarFieldNoiseReduction", "namespace": "OpenAI", @@ -91575,24 +90934,24 @@ "discriminatorValue": "far_field", "decorators": [], "baseModel": { - "$ref": "7022" + "$ref": "6987" }, "properties": [ { - "$id": "7032", + "$id": "6997", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7033", + "$id": "6998", "kind": "enumvalue", "name": "far_field", "value": "far_field", "valueType": { - "$ref": "1142" + "$ref": "1048" }, "enumType": { - "$ref": "7027" + "$ref": "6992" }, "decorators": [] }, @@ -91627,16 +90986,16 @@ "isHttpMetadata": false }, { - "$id": "7034", + "$id": "6999", "kind": "property", "name": "tools", "serializedName": "tools", "type": { - "$id": "7035", + "$id": "7000", "kind": "array", "name": "ArrayRealtimeTool", "valueType": { - "$id": "7036", + "$id": "7001", "kind": "model", "name": "RealtimeTool", "namespace": "OpenAI", @@ -91645,12 +91004,12 @@ "doc": "The base representation of a realtime tool definition.", "decorators": [], "discriminatorProperty": { - "$id": "7037", + "$id": "7002", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1145" + "$ref": "1051" }, "optional": false, "readOnly": false, @@ -91667,12 +91026,12 @@ }, "properties": [ { - "$ref": "7037" + "$ref": "7002" } ], "discriminatedSubtypes": { "function": { - "$id": "7038", + "$id": "7003", "kind": "model", "name": "RealtimeFunctionTool", "namespace": "OpenAI", @@ -91682,24 +91041,24 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "7036" + "$ref": "7001" }, "properties": [ { - "$id": "7039", + "$id": "7004", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7040", + "$id": "7005", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "1146" + "$ref": "1052" }, "enumType": { - "$id": "7041", + "$id": "7006", "kind": "enum", "decorators": [], "doc": "The supported tool type discriminators for realtime tools.\nCurrently, only 'function' tools are supported.", @@ -91707,7 +91066,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7042", + "$id": "7007", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -91716,16 +91075,16 @@ }, "values": [ { - "$id": "7043", + "$id": "7008", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "7042" + "$ref": "7007" }, "enumType": { - "$ref": "7041" + "$ref": "7006" } } ], @@ -91754,12 +91113,12 @@ "isHttpMetadata": false }, { - "$id": "7044", + "$id": "7009", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "7045", + "$id": "7010", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91779,12 +91138,12 @@ "isHttpMetadata": false }, { - "$id": "7046", + "$id": "7011", "kind": "property", "name": "description", "serializedName": "description", "type": { - "$id": "7047", + "$id": "7012", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91804,12 +91163,12 @@ "isHttpMetadata": false }, { - "$id": "7048", + "$id": "7013", "kind": "property", "name": "parameters", "serializedName": "parameters", "type": { - "$id": "7049", + "$id": "7014", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -91849,20 +91208,20 @@ "isHttpMetadata": false }, { - "$id": "7050", + "$id": "7015", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "7051", + "$id": "7016", "kind": "union", "name": "RealtimeToolChoice", "variantTypes": [ { - "$ref": "1148" + "$ref": "1054" }, { - "$id": "7052", + "$id": "7017", "kind": "model", "name": "RealtimeToolChoiceObject", "namespace": "OpenAI", @@ -91871,12 +91230,12 @@ "doc": "A base representation for a realtime tool_choice selecting a named tool.", "decorators": [], "discriminatorProperty": { - "$id": "7053", + "$id": "7018", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1145" + "$ref": "1051" }, "optional": false, "readOnly": false, @@ -91893,12 +91252,12 @@ }, "properties": [ { - "$ref": "7053" + "$ref": "7018" } ], "discriminatedSubtypes": { "function": { - "$id": "7054", + "$id": "7019", "kind": "model", "name": "RealtimeToolChoiceFunctionObject", "namespace": "OpenAI", @@ -91908,16 +91267,16 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "7052" + "$ref": "7017" }, "properties": [ { - "$id": "7055", + "$id": "7020", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "7040" + "$ref": "7005" }, "optional": false, "readOnly": false, @@ -91933,12 +91292,12 @@ "isHttpMetadata": false }, { - "$id": "7056", + "$id": "7021", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "7057", + "$id": "7022", "kind": "model", "name": "RealtimeToolChoiceFunctionObjectFunction", "namespace": "OpenAI", @@ -91947,12 +91306,12 @@ "decorators": [], "properties": [ { - "$id": "7058", + "$id": "7023", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "7059", + "$id": "7024", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92008,12 +91367,12 @@ "isHttpMetadata": false }, { - "$id": "7060", + "$id": "7025", "kind": "property", "name": "temperature", "serializedName": "temperature", "type": { - "$id": "7061", + "$id": "7026", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -92033,24 +91392,24 @@ "isHttpMetadata": false }, { - "$id": "7062", + "$id": "7027", "kind": "property", "name": "max_response_output_tokens", "serializedName": "max_response_output_tokens", "type": { - "$id": "7063", + "$id": "7028", "kind": "union", "name": "RealtimeRequestSessionMaxResponseOutputTokens", "variantTypes": [ { - "$id": "7064", + "$id": "7029", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1734" + "$ref": "1850" } ], "namespace": "OpenAI", @@ -92087,7 +91446,7 @@ ] }, "input_audio_buffer.append": { - "$id": "7065", + "$id": "7030", "kind": "model", "name": "RealtimeClientEventInputAudioBufferAppend", "namespace": "OpenAI", @@ -92097,25 +91456,25 @@ "discriminatorValue": "input_audio_buffer.append", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7066", + "$id": "7031", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.append`.", "type": { - "$id": "7067", + "$id": "7032", "kind": "enumvalue", "name": "input_audio_buffer_append", "value": "input_audio_buffer.append", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -92133,13 +91492,13 @@ "isHttpMetadata": false }, { - "$id": "7068", + "$id": "7033", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Base64-encoded audio bytes. This must be in the format specified by the\n`input_audio_format` field in the session configuration.", "type": { - "$id": "7069", + "$id": "7034", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -92162,7 +91521,7 @@ ] }, "input_audio_buffer.commit": { - "$id": "7070", + "$id": "7035", "kind": "model", "name": "RealtimeClientEventInputAudioBufferCommit", "namespace": "OpenAI", @@ -92172,25 +91531,25 @@ "discriminatorValue": "input_audio_buffer.commit", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7071", + "$id": "7036", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.commit`.", "type": { - "$id": "7072", + "$id": "7037", "kind": "enumvalue", "name": "input_audio_buffer_commit", "value": "input_audio_buffer.commit", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -92210,7 +91569,7 @@ ] }, "input_audio_buffer.clear": { - "$id": "7073", + "$id": "7038", "kind": "model", "name": "RealtimeClientEventInputAudioBufferClear", "namespace": "OpenAI", @@ -92220,25 +91579,25 @@ "discriminatorValue": "input_audio_buffer.clear", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7074", + "$id": "7039", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.clear`.", "type": { - "$id": "7075", + "$id": "7040", "kind": "enumvalue", "name": "input_audio_buffer_clear", "value": "input_audio_buffer.clear", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -92258,7 +91617,7 @@ ] }, "output_audio_buffer.clear": { - "$id": "7076", + "$id": "7041", "kind": "model", "name": "RealtimeClientEventOutputAudioBufferClear", "namespace": "OpenAI", @@ -92268,25 +91627,25 @@ "discriminatorValue": "output_audio_buffer.clear", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7077", + "$id": "7042", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `output_audio_buffer.clear`.", "type": { - "$id": "7078", + "$id": "7043", "kind": "enumvalue", "name": "output_audio_buffer_clear", "value": "output_audio_buffer.clear", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -92306,7 +91665,7 @@ ] }, "conversation.item.create": { - "$id": "7079", + "$id": "7044", "kind": "model", "name": "RealtimeClientEventConversationItemCreate", "namespace": "OpenAI", @@ -92316,25 +91675,25 @@ "discriminatorValue": "conversation.item.create", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7080", + "$id": "7045", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.create`.", "type": { - "$id": "7081", + "$id": "7046", "kind": "enumvalue", "name": "conversation_item_create", "value": "conversation.item.create", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -92352,13 +91711,13 @@ "isHttpMetadata": false }, { - "$id": "7082", + "$id": "7047", "kind": "property", "name": "previous_item_id", "serializedName": "previous_item_id", "doc": "The ID of the preceding item after which the new item will be inserted.\nIf not set, the new item will be appended to the end of the conversation.\nIf set to `root`, the new item will be added to the beginning of the conversation.\nIf set to an existing ID, it allows an item to be inserted mid-conversation. If the\nID cannot be found, an error will be returned and the item will not be added.", "type": { - "$id": "7083", + "$id": "7048", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92378,12 +91737,12 @@ "isHttpMetadata": false }, { - "$id": "7084", + "$id": "7049", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$id": "7085", + "$id": "7050", "kind": "model", "name": "RealtimeConversationRequestItem", "namespace": "OpenAI", @@ -92391,12 +91750,12 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "7086", + "$id": "7051", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1153" + "$ref": "1059" }, "optional": false, "readOnly": false, @@ -92413,15 +91772,15 @@ }, "properties": [ { - "$ref": "7086" + "$ref": "7051" }, { - "$id": "7087", + "$id": "7052", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "7088", + "$id": "7053", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92443,7 +91802,7 @@ ], "discriminatedSubtypes": { "message": { - "$id": "7089", + "$id": "7054", "kind": "model", "name": "RealtimeRequestMessageItem", "namespace": "OpenAI", @@ -92452,12 +91811,12 @@ "discriminatorValue": "message", "decorators": [], "discriminatorProperty": { - "$id": "7090", + "$id": "7055", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$ref": "1158" + "$ref": "1064" }, "optional": false, "readOnly": false, @@ -92473,31 +91832,31 @@ "isHttpMetadata": false }, "baseModel": { - "$ref": "7085" + "$ref": "7050" }, "properties": [ { - "$id": "7091", + "$id": "7056", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7092", + "$id": "7057", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$ref": "1154" + "$ref": "1060" }, "enumType": { - "$id": "7093", + "$id": "7058", "kind": "enum", "decorators": [], "name": "RealtimeItemType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7094", + "$id": "7059", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -92506,42 +91865,42 @@ }, "values": [ { - "$id": "7095", + "$id": "7060", "kind": "enumvalue", "decorators": [], "name": "message", "value": "message", "valueType": { - "$ref": "7094" + "$ref": "7059" }, "enumType": { - "$ref": "7093" + "$ref": "7058" } }, { - "$id": "7096", + "$id": "7061", "kind": "enumvalue", "decorators": [], "name": "function_call", "value": "function_call", "valueType": { - "$ref": "7094" + "$ref": "7059" }, "enumType": { - "$ref": "7093" + "$ref": "7058" } }, { - "$id": "7097", + "$id": "7062", "kind": "enumvalue", "decorators": [], "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "7094" + "$ref": "7059" }, "enumType": { - "$ref": "7093" + "$ref": "7058" } } ], @@ -92570,15 +91929,15 @@ "isHttpMetadata": false }, { - "$ref": "7090" + "$ref": "7055" }, { - "$id": "7098", + "$id": "7063", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "1163" + "$ref": "1069" }, "optional": true, "readOnly": false, @@ -92596,7 +91955,7 @@ ], "discriminatedSubtypes": { "system": { - "$id": "7099", + "$id": "7064", "kind": "model", "name": "RealtimeRequestSystemMessageItem", "namespace": "OpenAI", @@ -92605,31 +91964,31 @@ "discriminatorValue": "system", "decorators": [], "baseModel": { - "$ref": "7089" + "$ref": "7054" }, "properties": [ { - "$id": "7100", + "$id": "7065", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$id": "7101", + "$id": "7066", "kind": "enumvalue", "name": "system", "value": "system", "valueType": { - "$ref": "1159" + "$ref": "1065" }, "enumType": { - "$id": "7102", + "$id": "7067", "kind": "enum", "decorators": [], "name": "RealtimeMessageRole", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7103", + "$id": "7068", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -92638,42 +91997,42 @@ }, "values": [ { - "$id": "7104", + "$id": "7069", "kind": "enumvalue", "decorators": [], "name": "system", "value": "system", "valueType": { - "$ref": "7103" + "$ref": "7068" }, "enumType": { - "$ref": "7102" + "$ref": "7067" } }, { - "$id": "7105", + "$id": "7070", "kind": "enumvalue", "decorators": [], "name": "user", "value": "user", "valueType": { - "$ref": "7103" + "$ref": "7068" }, "enumType": { - "$ref": "7102" + "$ref": "7067" } }, { - "$id": "7106", + "$id": "7071", "kind": "enumvalue", "decorators": [], "name": "assistant", "value": "assistant", "valueType": { - "$ref": "7103" + "$ref": "7068" }, "enumType": { - "$ref": "7102" + "$ref": "7067" } } ], @@ -92702,16 +92061,16 @@ "isHttpMetadata": false }, { - "$id": "7107", + "$id": "7072", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "7108", + "$id": "7073", "kind": "array", "name": "ArrayRealtimeRequestTextContentPart", "valueType": { - "$id": "7109", + "$id": "7074", "kind": "model", "name": "RealtimeRequestTextContentPart", "namespace": "OpenAI", @@ -92720,7 +92079,7 @@ "discriminatorValue": "input_text", "decorators": [], "baseModel": { - "$id": "7110", + "$id": "7075", "kind": "model", "name": "RealtimeContentPart", "namespace": "OpenAI", @@ -92728,12 +92087,12 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "7111", + "$id": "7076", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1168" + "$ref": "1074" }, "optional": false, "readOnly": false, @@ -92750,15 +92109,15 @@ }, "properties": [ { - "$ref": "7111" + "$ref": "7076" } ], "discriminatedSubtypes": { "input_text": { - "$ref": "7109" + "$ref": "7074" }, "input_audio": { - "$id": "7112", + "$id": "7077", "kind": "model", "name": "RealtimeRequestAudioContentPart", "namespace": "OpenAI", @@ -92767,31 +92126,31 @@ "discriminatorValue": "input_audio", "decorators": [], "baseModel": { - "$ref": "7110" + "$ref": "7075" }, "properties": [ { - "$id": "7113", + "$id": "7078", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7114", + "$id": "7079", "kind": "enumvalue", "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "1169" + "$ref": "1075" }, "enumType": { - "$id": "7115", + "$id": "7080", "kind": "enum", "decorators": [], "name": "RealtimeContentPartType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7116", + "$id": "7081", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -92800,55 +92159,55 @@ }, "values": [ { - "$id": "7117", + "$id": "7082", "kind": "enumvalue", "decorators": [], "name": "input_text", "value": "input_text", "valueType": { - "$ref": "7116" + "$ref": "7081" }, "enumType": { - "$ref": "7115" + "$ref": "7080" } }, { - "$id": "7118", + "$id": "7083", "kind": "enumvalue", "decorators": [], "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "7116" + "$ref": "7081" }, "enumType": { - "$ref": "7115" + "$ref": "7080" } }, { - "$id": "7119", + "$id": "7084", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "7116" + "$ref": "7081" }, "enumType": { - "$ref": "7115" + "$ref": "7080" } }, { - "$id": "7120", + "$id": "7085", "kind": "enumvalue", "decorators": [], "name": "audio", "value": "audio", "valueType": { - "$ref": "7116" + "$ref": "7081" }, "enumType": { - "$ref": "7115" + "$ref": "7080" } } ], @@ -92877,12 +92236,12 @@ "isHttpMetadata": false }, { - "$id": "7121", + "$id": "7086", "kind": "property", "name": "transcript", "serializedName": "transcript", "type": { - "$id": "7122", + "$id": "7087", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92904,7 +92263,7 @@ ] }, "text": { - "$id": "7123", + "$id": "7088", "kind": "model", "name": "RealtimeResponseTextContentPart", "namespace": "OpenAI", @@ -92913,24 +92272,24 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "7110" + "$ref": "7075" }, "properties": [ { - "$id": "7124", + "$id": "7089", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7125", + "$id": "7090", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1169" + "$ref": "1075" }, "enumType": { - "$ref": "7115" + "$ref": "7080" }, "decorators": [] }, @@ -92948,12 +92307,12 @@ "isHttpMetadata": false }, { - "$id": "7126", + "$id": "7091", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "7127", + "$id": "7092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92975,7 +92334,7 @@ ] }, "audio": { - "$id": "7128", + "$id": "7093", "kind": "model", "name": "RealtimeResponseAudioContentPart", "namespace": "OpenAI", @@ -92984,24 +92343,24 @@ "discriminatorValue": "audio", "decorators": [], "baseModel": { - "$ref": "7110" + "$ref": "7075" }, "properties": [ { - "$id": "7129", + "$id": "7094", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7130", + "$id": "7095", "kind": "enumvalue", "name": "audio", "value": "audio", "valueType": { - "$ref": "1169" + "$ref": "1075" }, "enumType": { - "$ref": "7115" + "$ref": "7080" }, "decorators": [] }, @@ -93019,15 +92378,15 @@ "isHttpMetadata": false }, { - "$id": "7131", + "$id": "7096", "kind": "property", "name": "transcript", "serializedName": "transcript", "type": { - "$id": "7132", + "$id": "7097", "kind": "nullable", "type": { - "$id": "7133", + "$id": "7098", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93054,20 +92413,20 @@ }, "properties": [ { - "$id": "7134", + "$id": "7099", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7135", + "$id": "7100", "kind": "enumvalue", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "1169" + "$ref": "1075" }, "enumType": { - "$ref": "7115" + "$ref": "7080" }, "decorators": [] }, @@ -93085,12 +92444,12 @@ "isHttpMetadata": false }, { - "$id": "7136", + "$id": "7101", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "7137", + "$id": "7102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93130,7 +92489,7 @@ ] }, "user": { - "$id": "7138", + "$id": "7103", "kind": "model", "name": "RealtimeRequestUserMessageItem", "namespace": "OpenAI", @@ -93139,24 +92498,24 @@ "discriminatorValue": "user", "decorators": [], "baseModel": { - "$ref": "7089" + "$ref": "7054" }, "properties": [ { - "$id": "7139", + "$id": "7104", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$id": "7140", + "$id": "7105", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "1159" + "$ref": "1065" }, "enumType": { - "$ref": "7102" + "$ref": "7067" }, "decorators": [] }, @@ -93174,24 +92533,24 @@ "isHttpMetadata": false }, { - "$id": "7141", + "$id": "7106", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "7142", + "$id": "7107", "kind": "array", - "name": "Array42", + "name": "Array40", "valueType": { - "$id": "7143", + "$id": "7108", "kind": "union", "name": "RealtimeRequestUserMessageItemContent", "variantTypes": [ { - "$ref": "7109" + "$ref": "7074" }, { - "$ref": "7112" + "$ref": "7077" } ], "namespace": "OpenAI", @@ -93216,7 +92575,7 @@ ] }, "assistant": { - "$id": "7144", + "$id": "7109", "kind": "model", "name": "RealtimeRequestAssistantMessageItem", "namespace": "OpenAI", @@ -93225,24 +92584,24 @@ "discriminatorValue": "assistant", "decorators": [], "baseModel": { - "$ref": "7089" + "$ref": "7054" }, "properties": [ { - "$id": "7145", + "$id": "7110", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$id": "7146", + "$id": "7111", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "1159" + "$ref": "1065" }, "enumType": { - "$ref": "7102" + "$ref": "7067" }, "decorators": [] }, @@ -93260,12 +92619,12 @@ "isHttpMetadata": false }, { - "$id": "7147", + "$id": "7112", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$ref": "7108" + "$ref": "7073" }, "optional": false, "readOnly": false, @@ -93285,7 +92644,7 @@ } }, "function_call": { - "$id": "7148", + "$id": "7113", "kind": "model", "name": "RealtimeRequestFunctionCallItem", "namespace": "OpenAI", @@ -93294,24 +92653,24 @@ "discriminatorValue": "function_call", "decorators": [], "baseModel": { - "$ref": "7085" + "$ref": "7050" }, "properties": [ { - "$id": "7149", + "$id": "7114", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7150", + "$id": "7115", "kind": "enumvalue", "name": "function_call", "value": "function_call", "valueType": { - "$ref": "1154" + "$ref": "1060" }, "enumType": { - "$ref": "7093" + "$ref": "7058" }, "decorators": [] }, @@ -93329,12 +92688,12 @@ "isHttpMetadata": false }, { - "$id": "7151", + "$id": "7116", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "7152", + "$id": "7117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93354,12 +92713,12 @@ "isHttpMetadata": false }, { - "$id": "7153", + "$id": "7118", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "7154", + "$id": "7119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93379,12 +92738,12 @@ "isHttpMetadata": false }, { - "$id": "7155", + "$id": "7120", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "7156", + "$id": "7121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93404,12 +92763,12 @@ "isHttpMetadata": false }, { - "$id": "7157", + "$id": "7122", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "1163" + "$ref": "1069" }, "optional": true, "readOnly": false, @@ -93427,7 +92786,7 @@ ] }, "function_call_output": { - "$id": "7158", + "$id": "7123", "kind": "model", "name": "RealtimeRequestFunctionCallOutputItem", "namespace": "OpenAI", @@ -93436,24 +92795,24 @@ "discriminatorValue": "function_call_output", "decorators": [], "baseModel": { - "$ref": "7085" + "$ref": "7050" }, "properties": [ { - "$id": "7159", + "$id": "7124", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7160", + "$id": "7125", "kind": "enumvalue", "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "1154" + "$ref": "1060" }, "enumType": { - "$ref": "7093" + "$ref": "7058" }, "decorators": [] }, @@ -93471,12 +92830,12 @@ "isHttpMetadata": false }, { - "$id": "7161", + "$id": "7126", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "7162", + "$id": "7127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93496,12 +92855,12 @@ "isHttpMetadata": false }, { - "$id": "7163", + "$id": "7128", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "7164", + "$id": "7129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93540,7 +92899,7 @@ ] }, "conversation.item.truncate": { - "$id": "7165", + "$id": "7130", "kind": "model", "name": "RealtimeClientEventConversationItemTruncate", "namespace": "OpenAI", @@ -93550,25 +92909,25 @@ "discriminatorValue": "conversation.item.truncate", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7166", + "$id": "7131", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.truncate`.", "type": { - "$id": "7167", + "$id": "7132", "kind": "enumvalue", "name": "conversation_item_truncate", "value": "conversation.item.truncate", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -93586,13 +92945,13 @@ "isHttpMetadata": false }, { - "$id": "7168", + "$id": "7133", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the assistant message item to truncate. Only assistant message\nitems can be truncated.", "type": { - "$id": "7169", + "$id": "7134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93612,13 +92971,13 @@ "isHttpMetadata": false }, { - "$id": "7170", + "$id": "7135", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part to truncate. Set this to 0.", "type": { - "$id": "7171", + "$id": "7136", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -93638,13 +92997,13 @@ "isHttpMetadata": false }, { - "$id": "7172", + "$id": "7137", "kind": "property", "name": "audio_end_ms", "serializedName": "audio_end_ms", "doc": "Inclusive duration up to which audio is truncated, in milliseconds. If\nthe audio_end_ms is greater than the actual audio duration, the server\nwill respond with an error.", "type": { - "$id": "7173", + "$id": "7138", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -93666,7 +93025,7 @@ ] }, "conversation.item.delete": { - "$id": "7174", + "$id": "7139", "kind": "model", "name": "RealtimeClientEventConversationItemDelete", "namespace": "OpenAI", @@ -93676,25 +93035,25 @@ "discriminatorValue": "conversation.item.delete", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7175", + "$id": "7140", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.delete`.", "type": { - "$id": "7176", + "$id": "7141", "kind": "enumvalue", "name": "conversation_item_delete", "value": "conversation.item.delete", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -93712,13 +93071,13 @@ "isHttpMetadata": false }, { - "$id": "7177", + "$id": "7142", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to delete.", "type": { - "$id": "7178", + "$id": "7143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93740,7 +93099,7 @@ ] }, "response.create": { - "$id": "7179", + "$id": "7144", "kind": "model", "name": "RealtimeClientEventResponseCreate", "namespace": "OpenAI", @@ -93750,25 +93109,25 @@ "discriminatorValue": "response.create", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7180", + "$id": "7145", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.create`.", "type": { - "$id": "7181", + "$id": "7146", "kind": "enumvalue", "name": "response_create", "value": "response.create", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -93786,12 +93145,12 @@ "isHttpMetadata": false }, { - "$id": "7182", + "$id": "7147", "kind": "property", "name": "response", "serializedName": "response", "type": { - "$id": "7183", + "$id": "7148", "kind": "model", "name": "RealtimeResponseCreateParams", "namespace": "OpenAI", @@ -93801,13 +93160,13 @@ "decorators": [], "properties": [ { - "$id": "7184", + "$id": "7149", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", "type": { - "$ref": "6979" + "$ref": "6944" }, "optional": true, "readOnly": false, @@ -93823,13 +93182,13 @@ "isHttpMetadata": false }, { - "$id": "7185", + "$id": "7150", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The default system instructions (i.e. system message) prepended to model\ncalls. This field allows the client to guide the model on desired\nresponses. The model can be instructed on response content and format,\n(e.g. \"be extremely succinct\", \"act friendly\", \"here are examples of good\nresponses\") and on audio behavior (e.g. \"talk quickly\", \"inject emotion\ninto your voice\", \"laugh frequently\"). The instructions are not guaranteed\nto be followed by the model, but they provide guidance to the model on the\ndesired behavior.\n\nNote that the server sets default instructions which will be used if this\nfield is not set and are visible in the `session.created` event at the\nstart of the session.", "type": { - "$id": "7186", + "$id": "7151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93849,7 +93208,7 @@ "isHttpMetadata": false }, { - "$id": "7187", + "$id": "7152", "kind": "property", "name": "voice", "serializedName": "voice", @@ -93871,13 +93230,13 @@ "isHttpMetadata": false }, { - "$id": "7188", + "$id": "7153", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", "doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", "type": { - "$ref": "1123" + "$ref": "1029" }, "optional": true, "readOnly": false, @@ -93893,13 +93252,13 @@ "isHttpMetadata": false }, { - "$id": "7189", + "$id": "7154", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Tools (functions) available to the model.", "type": { - "$ref": "7035" + "$ref": "7000" }, "optional": true, "readOnly": false, @@ -93915,13 +93274,13 @@ "isHttpMetadata": false }, { - "$id": "7190", + "$id": "7155", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model chooses tools. Options are `auto`, `none`, `required`, or\nspecify a function, like `{\"type\": \"function\", \"function\": {\"name\": \"my_function\"}}`.", "type": { - "$id": "7191", + "$id": "7156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93941,13 +93300,13 @@ "isHttpMetadata": false }, { - "$id": "7192", + "$id": "7157", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", "type": { - "$id": "7193", + "$id": "7158", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -93967,25 +93326,25 @@ "isHttpMetadata": false }, { - "$id": "7194", + "$id": "7159", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.", "type": { - "$id": "7195", + "$id": "7160", "kind": "union", "name": "RealtimeResponseCreateParamsMaxOutputTokens", "variantTypes": [ { - "$id": "7196", + "$id": "7161", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1736" + "$ref": "1852" } ], "namespace": "OpenAI", @@ -94005,13 +93364,13 @@ "isHttpMetadata": false }, { - "$id": "7197", + "$id": "7162", "kind": "property", "name": "conversation", "serializedName": "conversation", "doc": "Controls which conversation the response is added to. Currently supports\n`auto` and `none`, with `auto` as the default value. The `auto` value\nmeans that the contents of the response will be added to the default\nconversation. Set this to `none` to create an out-of-band response which\nwill not add items to default conversation.", "type": { - "$ref": "1174" + "$ref": "1080" }, "optional": true, "readOnly": false, @@ -94027,13 +93386,13 @@ "isHttpMetadata": false }, { - "$id": "7198", + "$id": "7163", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -94049,17 +93408,17 @@ "isHttpMetadata": false }, { - "$id": "7199", + "$id": "7164", "kind": "property", "name": "input", "serializedName": "input", "doc": "Input items to include in the prompt for the model. Using this field\ncreates a new context for this Response instead of using the default\nconversation. An empty array `[]` will clear the context for this Response.\nNote that this can include references to items from the default conversation.", "type": { - "$id": "7200", + "$id": "7165", "kind": "array", "name": "ArrayRealtimeConversationRequestItem", "valueType": { - "$ref": "7085" + "$ref": "7050" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -94095,7 +93454,7 @@ ] }, "response.cancel": { - "$id": "7201", + "$id": "7166", "kind": "model", "name": "RealtimeClientEventResponseCancel", "namespace": "OpenAI", @@ -94105,25 +93464,25 @@ "discriminatorValue": "response.cancel", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7202", + "$id": "7167", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.cancel`.", "type": { - "$id": "7203", + "$id": "7168", "kind": "enumvalue", "name": "response_cancel", "value": "response.cancel", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -94141,13 +93500,13 @@ "isHttpMetadata": false }, { - "$id": "7204", + "$id": "7169", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "A specific response ID to cancel - if not provided, will cancel an\nin-progress response in the default conversation.", "type": { - "$id": "7205", + "$id": "7170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94169,7 +93528,7 @@ ] }, "conversation.item.retrieve": { - "$id": "7206", + "$id": "7171", "kind": "model", "name": "RealtimeClientEventConversationItemRetrieve", "namespace": "OpenAI", @@ -94179,25 +93538,25 @@ "discriminatorValue": "conversation.item.retrieve", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7207", + "$id": "7172", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.retrieve`.", "type": { - "$id": "7208", + "$id": "7173", "kind": "enumvalue", "name": "conversation_item_retrieve", "value": "conversation.item.retrieve", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -94215,13 +93574,13 @@ "isHttpMetadata": false }, { - "$id": "7209", + "$id": "7174", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to retrieve.", "type": { - "$id": "7210", + "$id": "7175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94243,7 +93602,7 @@ ] }, "transcription_session.update": { - "$id": "7211", + "$id": "7176", "kind": "model", "name": "RealtimeClientEventTranscriptionSessionUpdate", "namespace": "OpenAI", @@ -94253,25 +93612,25 @@ "discriminatorValue": "transcription_session.update", "decorators": [], "baseModel": { - "$ref": "6955" + "$ref": "6920" }, "properties": [ { - "$id": "7212", + "$id": "7177", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `transcription_session.update`.", "type": { - "$id": "7213", + "$id": "7178", "kind": "enumvalue", "name": "transcription_session_update", "value": "transcription_session.update", "valueType": { - "$ref": "1099" + "$ref": "1005" }, "enumType": { - "$ref": "6962" + "$ref": "6927" }, "decorators": [] }, @@ -94289,12 +93648,12 @@ "isHttpMetadata": false }, { - "$id": "7214", + "$id": "7179", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "7215", + "$id": "7180", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequest", "namespace": "OpenAI", @@ -94304,17 +93663,17 @@ "decorators": [], "properties": [ { - "$id": "7216", + "$id": "7181", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", "type": { - "$id": "7217", + "$id": "7182", "kind": "array", - "name": "Array43", + "name": "Array41", "valueType": { - "$ref": "1178" + "$ref": "1084" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -94333,13 +93692,13 @@ "isHttpMetadata": false }, { - "$id": "7218", + "$id": "7183", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", "doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.\nFor `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate,\nsingle channel (mono), and little-endian byte order.", "type": { - "$ref": "1182" + "$ref": "1088" }, "optional": true, "readOnly": false, @@ -94355,13 +93714,13 @@ "isHttpMetadata": false }, { - "$id": "7219", + "$id": "7184", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "doc": "Configuration for input audio transcription. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.", "type": { - "$id": "7220", + "$id": "7185", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioTranscription", "namespace": "OpenAI", @@ -94370,13 +93729,13 @@ "decorators": [], "properties": [ { - "$id": "7221", + "$id": "7186", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for transcription, current options are `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, and `whisper-1`.", "type": { - "$ref": "1187" + "$ref": "1093" }, "optional": true, "readOnly": false, @@ -94392,13 +93751,13 @@ "isHttpMetadata": false }, { - "$id": "7222", + "$id": "7187", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.", "type": { - "$id": "7223", + "$id": "7188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94418,13 +93777,13 @@ "isHttpMetadata": false }, { - "$id": "7224", + "$id": "7189", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "An optional text to guide the model's style or continue a previous audio\nsegment.\nFor `whisper-1`, the [prompt is a list of keywords](/docs/guides/speech-to-text#prompting).\nFor `gpt-4o-transcribe` models, the prompt is a free text string, for example \"expect words related to technology\".", "type": { - "$id": "7225", + "$id": "7190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94459,13 +93818,13 @@ "isHttpMetadata": false }, { - "$id": "7226", + "$id": "7191", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "doc": "Configuration for turn detection, ether Server VAD or Semantic VAD. This can be set to `null` to turn off, in which case the client must manually trigger model response.\nServer VAD means that the model will detect the start and end of speech based on audio volume and respond at the end of user speech.\nSemantic VAD is more advanced and uses a turn detection model (in conjuction with VAD) to semantically estimate whether the user has finished speaking, then dynamically sets a timeout based on this probability. For example, if user audio trails off with \"uhhm\", the model will score a low probability of turn end and wait longer for the user to continue speaking. This can be useful for more natural conversations, but may have a higher latency.", "type": { - "$id": "7227", + "$id": "7192", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestTurnDetection", "namespace": "OpenAI", @@ -94474,13 +93833,13 @@ "decorators": [], "properties": [ { - "$id": "7228", + "$id": "7193", "kind": "property", "name": "type", "serializedName": "type", "doc": "Type of turn detection.", "type": { - "$ref": "1192" + "$ref": "1098" }, "optional": true, "readOnly": false, @@ -94496,13 +93855,13 @@ "isHttpMetadata": false }, { - "$id": "7229", + "$id": "7194", "kind": "property", "name": "eagerness", "serializedName": "eagerness", "doc": "Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` will wait longer for the user to continue speaking, `high` will respond more quickly. `auto` is the default and is equivalent to `medium`.", "type": { - "$ref": "1196" + "$ref": "1102" }, "optional": true, "readOnly": false, @@ -94518,13 +93877,13 @@ "isHttpMetadata": false }, { - "$id": "7230", + "$id": "7195", "kind": "property", "name": "threshold", "serializedName": "threshold", "doc": "Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", "type": { - "$id": "7231", + "$id": "7196", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -94544,13 +93903,13 @@ "isHttpMetadata": false }, { - "$id": "7232", + "$id": "7197", "kind": "property", "name": "prefix_padding_ms", "serializedName": "prefix_padding_ms", "doc": "Used only for `server_vad` mode. Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", "type": { - "$id": "7233", + "$id": "7198", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -94570,13 +93929,13 @@ "isHttpMetadata": false }, { - "$id": "7234", + "$id": "7199", "kind": "property", "name": "silence_duration_ms", "serializedName": "silence_duration_ms", "doc": "Used only for `server_vad` mode. Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", "type": { - "$id": "7235", + "$id": "7200", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -94596,13 +93955,13 @@ "isHttpMetadata": false }, { - "$id": "7236", + "$id": "7201", "kind": "property", "name": "create_response", "serializedName": "create_response", "doc": "Whether or not to automatically generate a response when a VAD stop event occurs. Not available for transcription sessions.", "type": { - "$id": "7237", + "$id": "7202", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -94622,13 +93981,13 @@ "isHttpMetadata": false }, { - "$id": "7238", + "$id": "7203", "kind": "property", "name": "interrupt_response", "serializedName": "interrupt_response", "doc": "Whether or not to automatically interrupt any ongoing response with output to the default\nconversation (i.e. `conversation` of `auto`) when a VAD start event occurs. Not available for transcription sessions.", "type": { - "$id": "7239", + "$id": "7204", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -94663,16 +94022,16 @@ "isHttpMetadata": false }, { - "$id": "7240", + "$id": "7205", "kind": "property", "name": "input_audio_noise_reduction", "serializedName": "input_audio_noise_reduction", "doc": "Configuration for input audio noise reduction. This can be set to `null` to turn off.\nNoise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.\nFiltering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.", "type": { - "$id": "7241", + "$id": "7206", "kind": "nullable", "type": { - "$id": "7242", + "$id": "7207", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1", "namespace": "OpenAI", @@ -94681,13 +94040,13 @@ "decorators": [], "properties": [ { - "$id": "7243", + "$id": "7208", "kind": "property", "name": "type", "serializedName": "type", "doc": "Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.", "type": { - "$ref": "1202" + "$ref": "1108" }, "optional": true, "readOnly": false, @@ -94720,13 +94079,13 @@ "isHttpMetadata": false }, { - "$id": "7244", + "$id": "7209", "kind": "property", "name": "include", "serializedName": "include", "doc": "The set of items to include in the transcription. Current available items are:\n- `item.input_audio_transcription.logprobs`", "type": { - "$ref": "2438" + "$ref": "2548" }, "optional": true, "readOnly": false, @@ -94742,13 +94101,13 @@ "isHttpMetadata": false }, { - "$id": "7245", + "$id": "7210", "kind": "property", "name": "client_secret", "serializedName": "client_secret", "doc": "Configuration options for the generated client secret.", "type": { - "$id": "7246", + "$id": "7211", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestClientSecret", "namespace": "OpenAI", @@ -94757,13 +94116,13 @@ "decorators": [], "properties": [ { - "$id": "7247", + "$id": "7212", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Configuration for the ephemeral token expiration.", "type": { - "$id": "7248", + "$id": "7213", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt", "namespace": "OpenAI", @@ -94772,13 +94131,13 @@ "decorators": [], "properties": [ { - "$id": "7249", + "$id": "7214", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.", "type": { - "$ref": "1206" + "$ref": "1112" }, "optional": true, "readOnly": false, @@ -94794,13 +94153,13 @@ "isHttpMetadata": false }, { - "$id": "7250", + "$id": "7215", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "The number of seconds from the anchor point to the expiration. Select a value between `10` and `7200`.", "type": { - "$id": "7251", + "$id": "7216", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -94869,139 +94228,139 @@ } }, { - "$ref": "6959" + "$ref": "6924" }, { - "$ref": "6977" + "$ref": "6942" }, { - "$ref": "6988" + "$ref": "6953" }, { - "$ref": "6996" + "$ref": "6961" }, { - "$ref": "7002" + "$ref": "6967" }, { - "$ref": "7017" + "$ref": "6982" }, { - "$ref": "7022" + "$ref": "6987" }, { - "$ref": "7024" + "$ref": "6989" }, { - "$ref": "7031" + "$ref": "6996" }, { - "$ref": "7036" + "$ref": "7001" }, { - "$ref": "7038" + "$ref": "7003" }, { - "$ref": "7052" + "$ref": "7017" }, { - "$ref": "7054" + "$ref": "7019" }, { - "$ref": "7057" + "$ref": "7022" }, { - "$ref": "7065" + "$ref": "7030" }, { - "$ref": "7070" + "$ref": "7035" }, { - "$ref": "7073" + "$ref": "7038" }, { - "$ref": "7076" + "$ref": "7041" }, { - "$ref": "7079" + "$ref": "7044" }, { - "$ref": "7085" + "$ref": "7050" }, { - "$ref": "7089" + "$ref": "7054" }, { - "$ref": "7099" + "$ref": "7064" }, { - "$ref": "7109" + "$ref": "7074" }, { - "$ref": "7110" + "$ref": "7075" }, { - "$ref": "7112" + "$ref": "7077" }, { - "$ref": "7123" + "$ref": "7088" }, { - "$ref": "7128" + "$ref": "7093" }, { - "$ref": "7138" + "$ref": "7103" }, { - "$ref": "7144" + "$ref": "7109" }, { - "$ref": "7148" + "$ref": "7113" }, { - "$ref": "7158" + "$ref": "7123" }, { - "$ref": "7165" + "$ref": "7130" }, { - "$ref": "7174" + "$ref": "7139" }, { - "$ref": "7179" + "$ref": "7144" }, { - "$ref": "7183" + "$ref": "7148" }, { - "$ref": "7201" + "$ref": "7166" }, { - "$ref": "7206" + "$ref": "7171" }, { - "$ref": "7211" + "$ref": "7176" }, { - "$ref": "7215" + "$ref": "7180" }, { - "$ref": "7220" + "$ref": "7185" }, { - "$ref": "7227" + "$ref": "7192" }, { - "$ref": "7242" + "$ref": "7207" }, { - "$ref": "7246" + "$ref": "7211" }, { - "$ref": "7248" + "$ref": "7213" }, { - "$id": "7252", + "$id": "7217", "kind": "model", "name": "RealtimeServerEvent", "namespace": "OpenAI", @@ -95010,13 +94369,13 @@ "doc": "A realtime server event.", "decorators": [], "discriminatorProperty": { - "$id": "7253", + "$id": "7218", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of event.", "type": { - "$ref": "1210" + "$ref": "1116" }, "optional": false, "readOnly": false, @@ -95033,15 +94392,15 @@ }, "properties": [ { - "$ref": "7253" + "$ref": "7218" }, { - "$id": "7254", + "$id": "7219", "kind": "property", "name": "event_id", "serializedName": "event_id", "type": { - "$id": "7255", + "$id": "7220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95063,7 +94422,7 @@ ], "discriminatedSubtypes": { "error": { - "$id": "7256", + "$id": "7221", "kind": "model", "name": "RealtimeServerEventError", "namespace": "OpenAI", @@ -95073,32 +94432,32 @@ "discriminatorValue": "error", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7257", + "$id": "7222", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `error`.", "type": { - "$id": "7258", + "$id": "7223", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$id": "7259", + "$id": "7224", "kind": "enum", "decorators": [], "name": "RealtimeServerEventType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7260", + "$id": "7225", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -95107,445 +94466,445 @@ }, "values": [ { - "$id": "7261", + "$id": "7226", "kind": "enumvalue", "decorators": [], "name": "error", "value": "error", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7262", + "$id": "7227", "kind": "enumvalue", "decorators": [], "name": "session_created", "value": "session.created", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7263", + "$id": "7228", "kind": "enumvalue", "decorators": [], "name": "session_updated", "value": "session.updated", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7264", + "$id": "7229", "kind": "enumvalue", "decorators": [], "name": "conversation_created", "value": "conversation.created", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7265", + "$id": "7230", "kind": "enumvalue", "decorators": [], "name": "conversation_item_input_audio_transcription_completed", "value": "conversation.item.input_audio_transcription.completed", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7266", + "$id": "7231", "kind": "enumvalue", "decorators": [], "name": "conversation_item_input_audio_transcription_delta", "value": "conversation.item.input_audio_transcription.delta", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7267", + "$id": "7232", "kind": "enumvalue", "decorators": [], "name": "conversation_item_input_audio_transcription_failed", "value": "conversation.item.input_audio_transcription.failed", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7268", + "$id": "7233", "kind": "enumvalue", "decorators": [], "name": "conversation_item_created", "value": "conversation.item.created", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7269", + "$id": "7234", "kind": "enumvalue", "decorators": [], "name": "conversation_item_retrieved", "value": "conversation.item.retrieved", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7270", + "$id": "7235", "kind": "enumvalue", "decorators": [], "name": "conversation_item_truncated", "value": "conversation.item.truncated", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7271", + "$id": "7236", "kind": "enumvalue", "decorators": [], "name": "conversation_item_deleted", "value": "conversation.item.deleted", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7272", + "$id": "7237", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_committed", "value": "input_audio_buffer.committed", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7273", + "$id": "7238", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_cleared", "value": "input_audio_buffer.cleared", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7274", + "$id": "7239", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_speech_started", "value": "input_audio_buffer.speech_started", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7275", + "$id": "7240", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_speech_stopped", "value": "input_audio_buffer.speech_stopped", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7276", + "$id": "7241", "kind": "enumvalue", "decorators": [], "name": "output_audio_buffer_cleared", "value": "output_audio_buffer.cleared", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7277", + "$id": "7242", "kind": "enumvalue", "decorators": [], "name": "output_audio_buffer_started", "value": "output_audio_buffer.started", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7278", + "$id": "7243", "kind": "enumvalue", "decorators": [], "name": "output_audio_buffer_stopped", "value": "output_audio_buffer.stopped", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7279", + "$id": "7244", "kind": "enumvalue", "decorators": [], "name": "response_created", "value": "response.created", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7280", + "$id": "7245", "kind": "enumvalue", "decorators": [], "name": "response_done", "value": "response.done", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7281", + "$id": "7246", "kind": "enumvalue", "decorators": [], "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7282", + "$id": "7247", "kind": "enumvalue", "decorators": [], "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7283", + "$id": "7248", "kind": "enumvalue", "decorators": [], "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7284", + "$id": "7249", "kind": "enumvalue", "decorators": [], "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7285", + "$id": "7250", "kind": "enumvalue", "decorators": [], "name": "response_text_delta", "value": "response.text.delta", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7286", + "$id": "7251", "kind": "enumvalue", "decorators": [], "name": "response_text_done", "value": "response.text.done", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7287", + "$id": "7252", "kind": "enumvalue", "decorators": [], "name": "response_audio_transcript_delta", "value": "response.audio_transcript.delta", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7288", + "$id": "7253", "kind": "enumvalue", "decorators": [], "name": "response_audio_transcript_done", "value": "response.audio_transcript.done", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7289", + "$id": "7254", "kind": "enumvalue", "decorators": [], "name": "response_audio_delta", "value": "response.audio.delta", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7290", + "$id": "7255", "kind": "enumvalue", "decorators": [], "name": "response_audio_done", "value": "response.audio.done", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7291", + "$id": "7256", "kind": "enumvalue", "decorators": [], "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7292", + "$id": "7257", "kind": "enumvalue", "decorators": [], "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7293", + "$id": "7258", "kind": "enumvalue", "decorators": [], "name": "transcription_session_updated", "value": "transcription_session.updated", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } }, { - "$id": "7294", + "$id": "7259", "kind": "enumvalue", "decorators": [], "name": "rate_limits_updated", "value": "rate_limits.updated", "valueType": { - "$ref": "7260" + "$ref": "7225" }, "enumType": { - "$ref": "7259" + "$ref": "7224" } } ], @@ -95574,13 +94933,13 @@ "isHttpMetadata": false }, { - "$id": "7295", + "$id": "7260", "kind": "property", "name": "error", "serializedName": "error", "doc": "Details of the error.", "type": { - "$id": "7296", + "$id": "7261", "kind": "model", "name": "RealtimeServerEventErrorError", "namespace": "OpenAI", @@ -95589,13 +94948,13 @@ "decorators": [], "properties": [ { - "$id": "7297", + "$id": "7262", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error (e.g., \"invalid_request_error\", \"server_error\").", "type": { - "$id": "7298", + "$id": "7263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95615,16 +94974,16 @@ "isHttpMetadata": false }, { - "$id": "7299", + "$id": "7264", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "7300", + "$id": "7265", "kind": "nullable", "type": { - "$id": "7301", + "$id": "7266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95646,13 +95005,13 @@ "isHttpMetadata": false }, { - "$id": "7302", + "$id": "7267", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "7303", + "$id": "7268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95672,16 +95031,16 @@ "isHttpMetadata": false }, { - "$id": "7304", + "$id": "7269", "kind": "property", "name": "param", "serializedName": "param", "doc": "Parameter related to the error, if any.", "type": { - "$id": "7305", + "$id": "7270", "kind": "nullable", "type": { - "$id": "7306", + "$id": "7271", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95703,16 +95062,16 @@ "isHttpMetadata": false }, { - "$id": "7307", + "$id": "7272", "kind": "property", "name": "event_id", "serializedName": "event_id", "doc": "The event_id of the client event that caused the error, if applicable.", "type": { - "$id": "7308", + "$id": "7273", "kind": "nullable", "type": { - "$id": "7309", + "$id": "7274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95751,7 +95110,7 @@ ] }, "session.created": { - "$id": "7310", + "$id": "7275", "kind": "model", "name": "RealtimeServerEventSessionCreated", "namespace": "OpenAI", @@ -95761,25 +95120,25 @@ "discriminatorValue": "session.created", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7311", + "$id": "7276", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `session.created`.", "type": { - "$id": "7312", + "$id": "7277", "kind": "enumvalue", "name": "session_created", "value": "session.created", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -95797,12 +95156,12 @@ "isHttpMetadata": false }, { - "$id": "7313", + "$id": "7278", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "7314", + "$id": "7279", "kind": "model", "name": "RealtimeResponseSession", "namespace": "OpenAI", @@ -95811,12 +95170,12 @@ "decorators": [], "properties": [ { - "$id": "7315", + "$id": "7280", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1738" + "$ref": "1854" }, "optional": false, "readOnly": false, @@ -95832,12 +95191,12 @@ "isHttpMetadata": false }, { - "$id": "7316", + "$id": "7281", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "7317", + "$id": "7282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95857,12 +95216,12 @@ "isHttpMetadata": false }, { - "$id": "7318", + "$id": "7283", "kind": "property", "name": "model", "serializedName": "model", "type": { - "$id": "7319", + "$id": "7284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95882,12 +95241,12 @@ "isHttpMetadata": false }, { - "$id": "7320", + "$id": "7285", "kind": "property", "name": "modalities", "serializedName": "modalities", "type": { - "$ref": "6979" + "$ref": "6944" }, "optional": false, "readOnly": false, @@ -95903,12 +95262,12 @@ "isHttpMetadata": false }, { - "$id": "7321", + "$id": "7286", "kind": "property", "name": "instructions", "serializedName": "instructions", "type": { - "$id": "7322", + "$id": "7287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95928,7 +95287,7 @@ "isHttpMetadata": false }, { - "$id": "7323", + "$id": "7288", "kind": "property", "name": "voice", "serializedName": "voice", @@ -95949,12 +95308,12 @@ "isHttpMetadata": false }, { - "$id": "7324", + "$id": "7289", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", "type": { - "$ref": "1123" + "$ref": "1029" }, "optional": false, "readOnly": false, @@ -95970,12 +95329,12 @@ "isHttpMetadata": false }, { - "$id": "7325", + "$id": "7290", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", "type": { - "$ref": "1123" + "$ref": "1029" }, "optional": false, "readOnly": false, @@ -95991,15 +95350,15 @@ "isHttpMetadata": false }, { - "$id": "7326", + "$id": "7291", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "type": { - "$id": "7327", + "$id": "7292", "kind": "nullable", "type": { - "$ref": "6988" + "$ref": "6953" }, "namespace": "OpenAI" }, @@ -96017,12 +95376,12 @@ "isHttpMetadata": false }, { - "$id": "7328", + "$id": "7293", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "type": { - "$ref": "6996" + "$ref": "6961" }, "optional": false, "readOnly": false, @@ -96038,12 +95397,12 @@ "isHttpMetadata": false }, { - "$id": "7329", + "$id": "7294", "kind": "property", "name": "input_audio_noise_reduction", "serializedName": "input_audio_noise_reduction", "type": { - "$ref": "7022" + "$ref": "6987" }, "optional": false, "readOnly": false, @@ -96059,12 +95418,12 @@ "isHttpMetadata": false }, { - "$id": "7330", + "$id": "7295", "kind": "property", "name": "tools", "serializedName": "tools", "type": { - "$ref": "7035" + "$ref": "7000" }, "optional": false, "readOnly": false, @@ -96080,12 +95439,12 @@ "isHttpMetadata": false }, { - "$id": "7331", + "$id": "7296", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$ref": "7051" + "$ref": "7016" }, "optional": false, "readOnly": false, @@ -96101,12 +95460,12 @@ "isHttpMetadata": false }, { - "$id": "7332", + "$id": "7297", "kind": "property", "name": "temperature", "serializedName": "temperature", "type": { - "$id": "7333", + "$id": "7298", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -96126,27 +95485,27 @@ "isHttpMetadata": false }, { - "$id": "7334", + "$id": "7299", "kind": "property", "name": "max_response_output_tokens", "serializedName": "max_response_output_tokens", "type": { - "$id": "7335", + "$id": "7300", "kind": "nullable", "type": { - "$id": "7336", + "$id": "7301", "kind": "union", "name": "RealtimeResponseSessionMaxResponseOutputTokens", "variantTypes": [ { - "$id": "7337", + "$id": "7302", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1740" + "$ref": "1856" } ], "namespace": "OpenAI", @@ -96185,7 +95544,7 @@ ] }, "session.updated": { - "$id": "7338", + "$id": "7303", "kind": "model", "name": "RealtimeServerEventSessionUpdated", "namespace": "OpenAI", @@ -96195,25 +95554,25 @@ "discriminatorValue": "session.updated", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7339", + "$id": "7304", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `session.updated`.", "type": { - "$id": "7340", + "$id": "7305", "kind": "enumvalue", "name": "session_updated", "value": "session.updated", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96231,12 +95590,12 @@ "isHttpMetadata": false }, { - "$id": "7341", + "$id": "7306", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$ref": "7314" + "$ref": "7279" }, "optional": false, "readOnly": false, @@ -96254,7 +95613,7 @@ ] }, "conversation.created": { - "$id": "7342", + "$id": "7307", "kind": "model", "name": "RealtimeServerEventConversationCreated", "namespace": "OpenAI", @@ -96264,25 +95623,25 @@ "discriminatorValue": "conversation.created", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7343", + "$id": "7308", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.created`.", "type": { - "$id": "7344", + "$id": "7309", "kind": "enumvalue", "name": "conversation_created", "value": "conversation.created", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96300,13 +95659,13 @@ "isHttpMetadata": false }, { - "$id": "7345", + "$id": "7310", "kind": "property", "name": "conversation", "serializedName": "conversation", "doc": "The conversation resource.", "type": { - "$id": "7346", + "$id": "7311", "kind": "model", "name": "RealtimeServerEventConversationCreatedConversation", "namespace": "OpenAI", @@ -96315,13 +95674,13 @@ "decorators": [], "properties": [ { - "$id": "7347", + "$id": "7312", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the conversation.", "type": { - "$id": "7348", + "$id": "7313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96341,13 +95700,13 @@ "isHttpMetadata": false }, { - "$id": "7349", + "$id": "7314", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, must be `realtime.conversation`.", "type": { - "$id": "7350", + "$id": "7315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96384,7 +95743,7 @@ ] }, "input_audio_buffer.committed": { - "$id": "7351", + "$id": "7316", "kind": "model", "name": "RealtimeServerEventInputAudioBufferCommitted", "namespace": "OpenAI", @@ -96394,25 +95753,25 @@ "discriminatorValue": "input_audio_buffer.committed", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7352", + "$id": "7317", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.committed`.", "type": { - "$id": "7353", + "$id": "7318", "kind": "enumvalue", "name": "input_audio_buffer_committed", "value": "input_audio_buffer.committed", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96430,13 +95789,13 @@ "isHttpMetadata": false }, { - "$id": "7354", + "$id": "7319", "kind": "property", "name": "previous_item_id", "serializedName": "previous_item_id", "doc": "The ID of the preceding item after which the new item will be inserted.", "type": { - "$id": "7355", + "$id": "7320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96456,13 +95815,13 @@ "isHttpMetadata": false }, { - "$id": "7356", + "$id": "7321", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created.", "type": { - "$id": "7357", + "$id": "7322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96484,7 +95843,7 @@ ] }, "input_audio_buffer.cleared": { - "$id": "7358", + "$id": "7323", "kind": "model", "name": "RealtimeServerEventInputAudioBufferCleared", "namespace": "OpenAI", @@ -96494,25 +95853,25 @@ "discriminatorValue": "input_audio_buffer.cleared", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7359", + "$id": "7324", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.cleared`.", "type": { - "$id": "7360", + "$id": "7325", "kind": "enumvalue", "name": "input_audio_buffer_cleared", "value": "input_audio_buffer.cleared", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96532,7 +95891,7 @@ ] }, "input_audio_buffer.speech_started": { - "$id": "7361", + "$id": "7326", "kind": "model", "name": "RealtimeServerEventInputAudioBufferSpeechStarted", "namespace": "OpenAI", @@ -96542,25 +95901,25 @@ "discriminatorValue": "input_audio_buffer.speech_started", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7362", + "$id": "7327", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.speech_started`.", "type": { - "$id": "7363", + "$id": "7328", "kind": "enumvalue", "name": "input_audio_buffer_speech_started", "value": "input_audio_buffer.speech_started", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96578,13 +95937,13 @@ "isHttpMetadata": false }, { - "$id": "7364", + "$id": "7329", "kind": "property", "name": "audio_start_ms", "serializedName": "audio_start_ms", "doc": "Milliseconds from the start of all audio written to the buffer during the\nsession when speech was first detected. This will correspond to the\nbeginning of audio sent to the model, and thus includes the\n`prefix_padding_ms` configured in the Session.", "type": { - "$id": "7365", + "$id": "7330", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -96604,13 +95963,13 @@ "isHttpMetadata": false }, { - "$id": "7366", + "$id": "7331", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created when speech stops.", "type": { - "$id": "7367", + "$id": "7332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96632,7 +95991,7 @@ ] }, "input_audio_buffer.speech_stopped": { - "$id": "7368", + "$id": "7333", "kind": "model", "name": "RealtimeServerEventInputAudioBufferSpeechStopped", "namespace": "OpenAI", @@ -96642,25 +96001,25 @@ "discriminatorValue": "input_audio_buffer.speech_stopped", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7369", + "$id": "7334", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.speech_stopped`.", "type": { - "$id": "7370", + "$id": "7335", "kind": "enumvalue", "name": "input_audio_buffer_speech_stopped", "value": "input_audio_buffer.speech_stopped", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96678,13 +96037,13 @@ "isHttpMetadata": false }, { - "$id": "7371", + "$id": "7336", "kind": "property", "name": "audio_end_ms", "serializedName": "audio_end_ms", "doc": "Milliseconds since the session started when speech stopped. This will\ncorrespond to the end of audio sent to the model, and thus includes the\n`min_silence_duration_ms` configured in the Session.", "type": { - "$id": "7372", + "$id": "7337", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -96704,13 +96063,13 @@ "isHttpMetadata": false }, { - "$id": "7373", + "$id": "7338", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created.", "type": { - "$id": "7374", + "$id": "7339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96732,7 +96091,7 @@ ] }, "output_audio_buffer.cleared": { - "$id": "7375", + "$id": "7340", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferCleared", "namespace": "OpenAI", @@ -96742,25 +96101,25 @@ "discriminatorValue": "output_audio_buffer.cleared", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7376", + "$id": "7341", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `output_audio_buffer.cleared`.", "type": { - "$id": "7377", + "$id": "7342", "kind": "enumvalue", "name": "output_audio_buffer_cleared", "value": "output_audio_buffer.cleared", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96778,13 +96137,13 @@ "isHttpMetadata": false }, { - "$id": "7378", + "$id": "7343", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "7379", + "$id": "7344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96806,7 +96165,7 @@ ] }, "output_audio_buffer.started": { - "$id": "7380", + "$id": "7345", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferStarted", "namespace": "OpenAI", @@ -96816,25 +96175,25 @@ "discriminatorValue": "output_audio_buffer.started", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7381", + "$id": "7346", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `output_audio_buffer.started`.", "type": { - "$id": "7382", + "$id": "7347", "kind": "enumvalue", "name": "output_audio_buffer_started", "value": "output_audio_buffer.started", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96852,13 +96211,13 @@ "isHttpMetadata": false }, { - "$id": "7383", + "$id": "7348", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "7384", + "$id": "7349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96880,7 +96239,7 @@ ] }, "output_audio_buffer.stopped": { - "$id": "7385", + "$id": "7350", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferStopped", "namespace": "OpenAI", @@ -96890,25 +96249,25 @@ "discriminatorValue": "output_audio_buffer.stopped", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7386", + "$id": "7351", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `output_audio_buffer.stopped`.", "type": { - "$id": "7387", + "$id": "7352", "kind": "enumvalue", "name": "output_audio_buffer_stopped", "value": "output_audio_buffer.stopped", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -96926,13 +96285,13 @@ "isHttpMetadata": false }, { - "$id": "7388", + "$id": "7353", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "7389", + "$id": "7354", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96954,7 +96313,7 @@ ] }, "conversation.item.created": { - "$id": "7390", + "$id": "7355", "kind": "model", "name": "RealtimeServerEventConversationItemCreated", "namespace": "OpenAI", @@ -96964,25 +96323,25 @@ "discriminatorValue": "conversation.item.created", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7391", + "$id": "7356", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.created`.", "type": { - "$id": "7392", + "$id": "7357", "kind": "enumvalue", "name": "conversation_item_created", "value": "conversation.item.created", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -97000,13 +96359,13 @@ "isHttpMetadata": false }, { - "$id": "7393", + "$id": "7358", "kind": "property", "name": "previous_item_id", "serializedName": "previous_item_id", "doc": "The ID of the preceding item in the Conversation context, allows the\nclient to understand the order of the conversation.", "type": { - "$id": "7394", + "$id": "7359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97026,12 +96385,12 @@ "isHttpMetadata": false }, { - "$id": "7395", + "$id": "7360", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$id": "7396", + "$id": "7361", "kind": "model", "name": "RealtimeConversationResponseItem", "namespace": "OpenAI", @@ -97039,12 +96398,12 @@ "usage": "Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "7397", + "$id": "7362", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1153" + "$ref": "1059" }, "optional": false, "readOnly": false, @@ -97061,12 +96420,12 @@ }, "properties": [ { - "$id": "7398", + "$id": "7363", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1742" + "$ref": "1858" }, "optional": false, "readOnly": false, @@ -97082,18 +96441,18 @@ "isHttpMetadata": false }, { - "$ref": "7397" + "$ref": "7362" }, { - "$id": "7399", + "$id": "7364", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "7400", + "$id": "7365", "kind": "nullable", "type": { - "$id": "7401", + "$id": "7366", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97117,7 +96476,7 @@ ], "discriminatedSubtypes": { "message": { - "$id": "7402", + "$id": "7367", "kind": "model", "name": "RealtimeResponseMessageItem", "namespace": "OpenAI", @@ -97126,16 +96485,16 @@ "discriminatorValue": "message", "decorators": [], "baseModel": { - "$ref": "7396" + "$ref": "7361" }, "properties": [ { - "$id": "7403", + "$id": "7368", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "7092" + "$ref": "7057" }, "optional": false, "readOnly": false, @@ -97151,12 +96510,12 @@ "isHttpMetadata": false }, { - "$id": "7404", + "$id": "7369", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$ref": "1158" + "$ref": "1064" }, "optional": false, "readOnly": false, @@ -97172,16 +96531,16 @@ "isHttpMetadata": false }, { - "$id": "7405", + "$id": "7370", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "7406", + "$id": "7371", "kind": "array", "name": "ArrayRealtimeContentPart", "valueType": { - "$ref": "7110" + "$ref": "7075" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -97200,12 +96559,12 @@ "isHttpMetadata": false }, { - "$id": "7407", + "$id": "7372", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "1163" + "$ref": "1069" }, "optional": false, "readOnly": false, @@ -97223,7 +96582,7 @@ ] }, "function_call": { - "$id": "7408", + "$id": "7373", "kind": "model", "name": "RealtimeResponseFunctionCallItem", "namespace": "OpenAI", @@ -97232,16 +96591,16 @@ "discriminatorValue": "function_call", "decorators": [], "baseModel": { - "$ref": "7396" + "$ref": "7361" }, "properties": [ { - "$id": "7409", + "$id": "7374", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "7150" + "$ref": "7115" }, "optional": false, "readOnly": false, @@ -97257,12 +96616,12 @@ "isHttpMetadata": false }, { - "$id": "7410", + "$id": "7375", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "7411", + "$id": "7376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97282,12 +96641,12 @@ "isHttpMetadata": false }, { - "$id": "7412", + "$id": "7377", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "7413", + "$id": "7378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97307,12 +96666,12 @@ "isHttpMetadata": false }, { - "$id": "7414", + "$id": "7379", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "7415", + "$id": "7380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97332,12 +96691,12 @@ "isHttpMetadata": false }, { - "$id": "7416", + "$id": "7381", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "1163" + "$ref": "1069" }, "optional": false, "readOnly": false, @@ -97355,7 +96714,7 @@ ] }, "function_call_output": { - "$id": "7417", + "$id": "7382", "kind": "model", "name": "RealtimeResponseFunctionCallOutputItem", "namespace": "OpenAI", @@ -97364,16 +96723,16 @@ "discriminatorValue": "function_call_output", "decorators": [], "baseModel": { - "$ref": "7396" + "$ref": "7361" }, "properties": [ { - "$id": "7418", + "$id": "7383", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "7160" + "$ref": "7125" }, "optional": false, "readOnly": false, @@ -97389,12 +96748,12 @@ "isHttpMetadata": false }, { - "$id": "7419", + "$id": "7384", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "7420", + "$id": "7385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97414,12 +96773,12 @@ "isHttpMetadata": false }, { - "$id": "7421", + "$id": "7386", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "7422", + "$id": "7387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97458,7 +96817,7 @@ ] }, "conversation.item.input_audio_transcription.completed": { - "$id": "7423", + "$id": "7388", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionCompleted", "namespace": "OpenAI", @@ -97468,25 +96827,25 @@ "discriminatorValue": "conversation.item.input_audio_transcription.completed", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7424", + "$id": "7389", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be\n`conversation.item.input_audio_transcription.completed`.", "type": { - "$id": "7425", + "$id": "7390", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_completed", "value": "conversation.item.input_audio_transcription.completed", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -97504,13 +96863,13 @@ "isHttpMetadata": false }, { - "$id": "7426", + "$id": "7391", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item containing the audio.", "type": { - "$id": "7427", + "$id": "7392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97530,13 +96889,13 @@ "isHttpMetadata": false }, { - "$id": "7428", + "$id": "7393", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part containing the audio.", "type": { - "$id": "7429", + "$id": "7394", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -97556,13 +96915,13 @@ "isHttpMetadata": false }, { - "$id": "7430", + "$id": "7395", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "The transcribed text.", "type": { - "$id": "7431", + "$id": "7396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97582,20 +96941,20 @@ "isHttpMetadata": false }, { - "$id": "7432", + "$id": "7397", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "The log probabilities of the transcription.", "type": { - "$id": "7433", + "$id": "7398", "kind": "nullable", "type": { - "$id": "7434", + "$id": "7399", "kind": "array", "name": "ArrayLogProbProperties", "valueType": { - "$id": "7435", + "$id": "7400", "kind": "model", "name": "LogProbProperties", "namespace": "OpenAI", @@ -97605,13 +96964,13 @@ "decorators": [], "properties": [ { - "$id": "7436", + "$id": "7401", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "7437", + "$id": "7402", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97631,13 +96990,13 @@ "isHttpMetadata": false }, { - "$id": "7438", + "$id": "7403", "kind": "property", "name": "logprob", "serializedName": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "7439", + "$id": "7404", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -97657,13 +97016,13 @@ "isHttpMetadata": false }, { - "$id": "7440", + "$id": "7405", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { - "$ref": "2671" + "$ref": "2781" }, "optional": false, "readOnly": false, @@ -97701,7 +97060,7 @@ ] }, "conversation.item.input_audio_transcription.failed": { - "$id": "7441", + "$id": "7406", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionFailed", "namespace": "OpenAI", @@ -97711,25 +97070,25 @@ "discriminatorValue": "conversation.item.input_audio_transcription.failed", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7442", + "$id": "7407", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be\n`conversation.item.input_audio_transcription.failed`.", "type": { - "$id": "7443", + "$id": "7408", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_failed", "value": "conversation.item.input_audio_transcription.failed", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -97747,13 +97106,13 @@ "isHttpMetadata": false }, { - "$id": "7444", + "$id": "7409", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item.", "type": { - "$id": "7445", + "$id": "7410", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97773,13 +97132,13 @@ "isHttpMetadata": false }, { - "$id": "7446", + "$id": "7411", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part containing the audio.", "type": { - "$id": "7447", + "$id": "7412", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -97799,13 +97158,13 @@ "isHttpMetadata": false }, { - "$id": "7448", + "$id": "7413", "kind": "property", "name": "error", "serializedName": "error", "doc": "Details of the transcription error.", "type": { - "$id": "7449", + "$id": "7414", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionFailedError", "namespace": "OpenAI", @@ -97814,13 +97173,13 @@ "decorators": [], "properties": [ { - "$id": "7450", + "$id": "7415", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error.", "type": { - "$id": "7451", + "$id": "7416", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97840,13 +97199,13 @@ "isHttpMetadata": false }, { - "$id": "7452", + "$id": "7417", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "7453", + "$id": "7418", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97866,13 +97225,13 @@ "isHttpMetadata": false }, { - "$id": "7454", + "$id": "7419", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "7455", + "$id": "7420", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97892,13 +97251,13 @@ "isHttpMetadata": false }, { - "$id": "7456", + "$id": "7421", "kind": "property", "name": "param", "serializedName": "param", "doc": "Parameter related to the error, if any.", "type": { - "$id": "7457", + "$id": "7422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97935,7 +97294,7 @@ ] }, "conversation.item.truncated": { - "$id": "7458", + "$id": "7423", "kind": "model", "name": "RealtimeServerEventConversationItemTruncated", "namespace": "OpenAI", @@ -97945,25 +97304,25 @@ "discriminatorValue": "conversation.item.truncated", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7459", + "$id": "7424", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.truncated`.", "type": { - "$id": "7460", + "$id": "7425", "kind": "enumvalue", "name": "conversation_item_truncated", "value": "conversation.item.truncated", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -97981,13 +97340,13 @@ "isHttpMetadata": false }, { - "$id": "7461", + "$id": "7426", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the assistant message item that was truncated.", "type": { - "$id": "7462", + "$id": "7427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98007,13 +97366,13 @@ "isHttpMetadata": false }, { - "$id": "7463", + "$id": "7428", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that was truncated.", "type": { - "$id": "7464", + "$id": "7429", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98033,13 +97392,13 @@ "isHttpMetadata": false }, { - "$id": "7465", + "$id": "7430", "kind": "property", "name": "audio_end_ms", "serializedName": "audio_end_ms", "doc": "The duration up to which the audio was truncated, in milliseconds.", "type": { - "$id": "7466", + "$id": "7431", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98061,7 +97420,7 @@ ] }, "conversation.item.deleted": { - "$id": "7467", + "$id": "7432", "kind": "model", "name": "RealtimeServerEventConversationItemDeleted", "namespace": "OpenAI", @@ -98071,25 +97430,25 @@ "discriminatorValue": "conversation.item.deleted", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7468", + "$id": "7433", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.deleted`.", "type": { - "$id": "7469", + "$id": "7434", "kind": "enumvalue", "name": "conversation_item_deleted", "value": "conversation.item.deleted", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -98107,13 +97466,13 @@ "isHttpMetadata": false }, { - "$id": "7470", + "$id": "7435", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item that was deleted.", "type": { - "$id": "7471", + "$id": "7436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98135,7 +97494,7 @@ ] }, "response.created": { - "$id": "7472", + "$id": "7437", "kind": "model", "name": "RealtimeServerEventResponseCreated", "namespace": "OpenAI", @@ -98145,25 +97504,25 @@ "discriminatorValue": "response.created", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7473", + "$id": "7438", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.created`.", "type": { - "$id": "7474", + "$id": "7439", "kind": "enumvalue", "name": "response_created", "value": "response.created", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -98181,12 +97540,12 @@ "isHttpMetadata": false }, { - "$id": "7475", + "$id": "7440", "kind": "property", "name": "response", "serializedName": "response", "type": { - "$id": "7476", + "$id": "7441", "kind": "model", "name": "RealtimeResponse", "namespace": "OpenAI", @@ -98196,13 +97555,13 @@ "decorators": [], "properties": [ { - "$id": "7477", + "$id": "7442", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the response.", "type": { - "$id": "7478", + "$id": "7443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98222,13 +97581,13 @@ "isHttpMetadata": false }, { - "$id": "7479", + "$id": "7444", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, must be `realtime.response`.", "type": { - "$ref": "1246" + "$ref": "1152" }, "optional": true, "readOnly": false, @@ -98244,13 +97603,13 @@ "isHttpMetadata": false }, { - "$id": "7480", + "$id": "7445", "kind": "property", "name": "status", "serializedName": "status", "doc": "The final status of the response (`completed`, `cancelled`, `failed`, or\n`incomplete`).", "type": { - "$ref": "1250" + "$ref": "1156" }, "optional": true, "readOnly": false, @@ -98266,13 +97625,13 @@ "isHttpMetadata": false }, { - "$id": "7481", + "$id": "7446", "kind": "property", "name": "status_details", "serializedName": "status_details", "doc": "Additional details about the status.", "type": { - "$id": "7482", + "$id": "7447", "kind": "model", "name": "RealtimeResponseStatusDetails", "namespace": "OpenAI", @@ -98281,13 +97640,13 @@ "decorators": [], "properties": [ { - "$id": "7483", + "$id": "7448", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error that caused the response to fail, corresponding\nwith the `status` field (`completed`, `cancelled`, `incomplete`,\n`failed`).", "type": { - "$ref": "1256" + "$ref": "1162" }, "optional": true, "readOnly": false, @@ -98303,13 +97662,13 @@ "isHttpMetadata": false }, { - "$id": "7484", + "$id": "7449", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason the Response did not complete. For a `cancelled` Response,\none of `turn_detected` (the server VAD detected a new start of speech)\nor `client_cancelled` (the client sent a cancel event). For an\n`incomplete` Response, one of `max_output_tokens` or `content_filter`\n(the server-side safety filter activated and cut off the response).", "type": { - "$ref": "1262" + "$ref": "1168" }, "optional": true, "readOnly": false, @@ -98325,13 +97684,13 @@ "isHttpMetadata": false }, { - "$id": "7485", + "$id": "7450", "kind": "property", "name": "error", "serializedName": "error", "doc": "A description of the error that caused the response to fail,\npopulated when the `status` is `failed`.", "type": { - "$id": "7486", + "$id": "7451", "kind": "model", "name": "RealtimeResponseStatusDetailsError", "namespace": "OpenAI", @@ -98340,13 +97699,13 @@ "decorators": [], "properties": [ { - "$id": "7487", + "$id": "7452", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error.", "type": { - "$id": "7488", + "$id": "7453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98366,13 +97725,13 @@ "isHttpMetadata": false }, { - "$id": "7489", + "$id": "7454", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "7490", + "$id": "7455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98422,17 +97781,17 @@ "isHttpMetadata": false }, { - "$id": "7491", + "$id": "7456", "kind": "property", "name": "output", "serializedName": "output", "doc": "The list of output items generated by the response.", "type": { - "$id": "7492", + "$id": "7457", "kind": "array", "name": "ArrayRealtimeConversationResponseItem", "valueType": { - "$ref": "7396" + "$ref": "7361" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -98451,13 +97810,13 @@ "isHttpMetadata": false }, { - "$id": "7493", + "$id": "7458", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2444" + "$ref": "2554" }, "optional": false, "readOnly": false, @@ -98473,13 +97832,13 @@ "isHttpMetadata": false }, { - "$id": "7494", + "$id": "7459", "kind": "property", "name": "usage", "serializedName": "usage", "doc": "Usage statistics for the Response, this will correspond to billing. A\nRealtime API session will maintain a conversation context and append new\nItems to the Conversation, thus output from previous turns (text and\naudio tokens) will become the input for later turns.", "type": { - "$id": "7495", + "$id": "7460", "kind": "model", "name": "RealtimeResponseUsage", "namespace": "OpenAI", @@ -98488,13 +97847,13 @@ "decorators": [], "properties": [ { - "$id": "7496", + "$id": "7461", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens in the Response including input and output\ntext and audio tokens.", "type": { - "$id": "7497", + "$id": "7462", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98514,13 +97873,13 @@ "isHttpMetadata": false }, { - "$id": "7498", + "$id": "7463", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "doc": "The number of input tokens used in the Response, including text and\naudio tokens.", "type": { - "$id": "7499", + "$id": "7464", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98540,13 +97899,13 @@ "isHttpMetadata": false }, { - "$id": "7500", + "$id": "7465", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "doc": "The number of output tokens sent in the Response, including text and\naudio tokens.", "type": { - "$id": "7501", + "$id": "7466", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98566,13 +97925,13 @@ "isHttpMetadata": false }, { - "$id": "7502", + "$id": "7467", "kind": "property", "name": "input_token_details", "serializedName": "input_token_details", "doc": "Details about the input tokens used in the Response.", "type": { - "$id": "7503", + "$id": "7468", "kind": "model", "name": "RealtimeResponseUsageInputTokenDetails", "namespace": "OpenAI", @@ -98581,13 +97940,13 @@ "decorators": [], "properties": [ { - "$id": "7504", + "$id": "7469", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of cached tokens used in the Response.", "type": { - "$id": "7505", + "$id": "7470", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98607,13 +97966,13 @@ "isHttpMetadata": false }, { - "$id": "7506", + "$id": "7471", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text tokens used in the Response.", "type": { - "$id": "7507", + "$id": "7472", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98633,13 +97992,13 @@ "isHttpMetadata": false }, { - "$id": "7508", + "$id": "7473", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "The number of audio tokens used in the Response.", "type": { - "$id": "7509", + "$id": "7474", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98674,13 +98033,13 @@ "isHttpMetadata": false }, { - "$id": "7510", + "$id": "7475", "kind": "property", "name": "output_token_details", "serializedName": "output_token_details", "doc": "Details about the output tokens used in the Response.", "type": { - "$id": "7511", + "$id": "7476", "kind": "model", "name": "RealtimeResponseUsageOutputTokenDetails", "namespace": "OpenAI", @@ -98689,13 +98048,13 @@ "decorators": [], "properties": [ { - "$id": "7512", + "$id": "7477", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text tokens used in the Response.", "type": { - "$id": "7513", + "$id": "7478", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98715,13 +98074,13 @@ "isHttpMetadata": false }, { - "$id": "7514", + "$id": "7479", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "The number of audio tokens used in the Response.", "type": { - "$id": "7515", + "$id": "7480", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98771,13 +98130,13 @@ "isHttpMetadata": false }, { - "$id": "7516", + "$id": "7481", "kind": "property", "name": "conversation_id", "serializedName": "conversation_id", "doc": "Which conversation the response is added to, determined by the `conversation`\nfield in the `response.create` event. If `auto`, the response will be added to\nthe default conversation and the value of `conversation_id` will be an id like\n`conv_1234`. If `none`, the response will not be added to any conversation and\nthe value of `conversation_id` will be `null`. If responses are being triggered\nby server VAD, the response will be added to the default conversation, thus\nthe `conversation_id` will be an id like `conv_1234`.", "type": { - "$id": "7517", + "$id": "7482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98797,7 +98156,7 @@ "isHttpMetadata": false }, { - "$id": "7518", + "$id": "7483", "kind": "property", "name": "voice", "serializedName": "voice", @@ -98819,17 +98178,17 @@ "isHttpMetadata": false }, { - "$id": "7519", + "$id": "7484", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model used to respond. If there are multiple modalities,\nthe model will pick one, for example if `modalities` is `[\"text\", \"audio\"]`, the model\ncould be responding in either text or audio.", "type": { - "$id": "7520", + "$id": "7485", "kind": "array", - "name": "Array44", + "name": "Array42", "valueType": { - "$ref": "1268" + "$ref": "1174" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -98848,13 +98207,13 @@ "isHttpMetadata": false }, { - "$id": "7521", + "$id": "7486", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", "doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", "type": { - "$ref": "1272" + "$ref": "1178" }, "optional": true, "readOnly": false, @@ -98870,13 +98229,13 @@ "isHttpMetadata": false }, { - "$id": "7522", + "$id": "7487", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", "type": { - "$id": "7523", + "$id": "7488", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -98896,25 +98255,25 @@ "isHttpMetadata": false }, { - "$id": "7524", + "$id": "7489", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls, that was used in this response.", "type": { - "$id": "7525", + "$id": "7490", "kind": "union", "name": "RealtimeResponseMaxOutputTokens", "variantTypes": [ { - "$id": "7526", + "$id": "7491", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1744" + "$ref": "1860" } ], "namespace": "OpenAI", @@ -98940,46 +98299,531 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseCreated.response", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseCreated.response", + "serializationOptions": { + "json": { + "name": "response" + } + }, + "isHttpMetadata": false + } + ] + }, + "response.done": { + "$id": "7492", + "kind": "model", + "name": "RealtimeServerEventResponseDone", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseDone", + "usage": "Output,Json", + "doc": "Returned when a Response is done streaming. Always emitted, no matter the\nfinal state. The Response object included in the `response.done` event will\ninclude all output Items in the Response but will omit the raw audio data.", + "discriminatorValue": "response.done", + "decorators": [], + "baseModel": { + "$ref": "7217" + }, + "properties": [ + { + "$id": "7493", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The event type, must be `response.done`.", + "type": { + "$id": "7494", + "kind": "enumvalue", + "name": "response_done", + "value": "response.done", + "valueType": { + "$ref": "1117" + }, + "enumType": { + "$ref": "7224" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseDone.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7495", + "kind": "property", + "name": "response", + "serializedName": "response", + "type": { + "$ref": "7441" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseDone.response", + "serializationOptions": { + "json": { + "name": "response" + } + }, + "isHttpMetadata": false + } + ] + }, + "response.output_item.added": { + "$id": "7496", + "kind": "model", + "name": "RealtimeServerEventResponseOutputItemAdded", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded", + "usage": "Output,Json", + "doc": "Returned when a new Item is created during Response generation.", + "discriminatorValue": "response.output_item.added", + "decorators": [], + "baseModel": { + "$ref": "7217" + }, + "properties": [ + { + "$id": "7497", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The event type, must be `response.output_item.added`.", + "type": { + "$id": "7498", + "kind": "enumvalue", + "name": "response_output_item_added", + "value": "response.output_item.added", + "valueType": { + "$ref": "1117" + }, + "enumType": { + "$ref": "7224" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7499", + "kind": "property", + "name": "response_id", + "serializedName": "response_id", + "doc": "The ID of the Response to which the item belongs.", + "type": { + "$id": "7500", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded.response_id", + "serializationOptions": { + "json": { + "name": "response_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7501", + "kind": "property", + "name": "output_index", + "serializedName": "output_index", + "doc": "The index of the output item in the Response.", + "type": { + "$id": "7502", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded.output_index", + "serializationOptions": { + "json": { + "name": "output_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7503", + "kind": "property", + "name": "item", + "serializedName": "item", + "type": { + "$ref": "7361" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded.item", + "serializationOptions": { + "json": { + "name": "item" + } + }, + "isHttpMetadata": false + } + ] + }, + "response.output_item.done": { + "$id": "7504", + "kind": "model", + "name": "RealtimeServerEventResponseOutputItemDone", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone", + "usage": "Output,Json", + "doc": "Returned when an Item is done streaming. Also emitted when a Response is\ninterrupted, incomplete, or cancelled.", + "discriminatorValue": "response.output_item.done", + "decorators": [], + "baseModel": { + "$ref": "7217" + }, + "properties": [ + { + "$id": "7505", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The event type, must be `response.output_item.done`.", + "type": { + "$id": "7506", + "kind": "enumvalue", + "name": "response_output_item_done", + "value": "response.output_item.done", + "valueType": { + "$ref": "1117" + }, + "enumType": { + "$ref": "7224" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7507", + "kind": "property", + "name": "response_id", + "serializedName": "response_id", + "doc": "The ID of the Response to which the item belongs.", + "type": { + "$id": "7508", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone.response_id", + "serializationOptions": { + "json": { + "name": "response_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7509", + "kind": "property", + "name": "output_index", + "serializedName": "output_index", + "doc": "The index of the output item in the Response.", + "type": { + "$id": "7510", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone.output_index", + "serializationOptions": { + "json": { + "name": "output_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7511", + "kind": "property", + "name": "item", + "serializedName": "item", + "type": { + "$ref": "7361" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone.item", + "serializationOptions": { + "json": { + "name": "item" + } + }, + "isHttpMetadata": false + } + ] + }, + "response.content_part.added": { + "$id": "7512", + "kind": "model", + "name": "RealtimeServerEventResponseContentPartAdded", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded", + "usage": "Output,Json", + "doc": "Returned when a new content part is added to an assistant message item during\nresponse generation.", + "discriminatorValue": "response.content_part.added", + "decorators": [], + "baseModel": { + "$ref": "7217" + }, + "properties": [ + { + "$id": "7513", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The event type, must be `response.content_part.added`.", + "type": { + "$id": "7514", + "kind": "enumvalue", + "name": "response_content_part_added", + "value": "response.content_part.added", + "valueType": { + "$ref": "1117" + }, + "enumType": { + "$ref": "7224" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7515", + "kind": "property", + "name": "response_id", + "serializedName": "response_id", + "doc": "The ID of the response.", + "type": { + "$id": "7516", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.response_id", + "serializationOptions": { + "json": { + "name": "response_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7517", + "kind": "property", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item to which the content part was added.", + "type": { + "$id": "7518", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.item_id", + "serializationOptions": { + "json": { + "name": "item_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7519", + "kind": "property", + "name": "output_index", + "serializedName": "output_index", + "doc": "The index of the output item in the response.", + "type": { + "$id": "7520", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.output_index", + "serializationOptions": { + "json": { + "name": "output_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7521", + "kind": "property", + "name": "content_index", + "serializedName": "content_index", + "doc": "The index of the content part in the item's content array.", + "type": { + "$id": "7522", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.content_index", + "serializationOptions": { + "json": { + "name": "content_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7523", + "kind": "property", + "name": "part", + "serializedName": "part", + "doc": "The content part that was added.", + "type": { + "$ref": "7075" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.part", "serializationOptions": { "json": { - "name": "response" + "name": "part" } }, "isHttpMetadata": false } ] }, - "response.done": { - "$id": "7527", + "response.content_part.done": { + "$id": "7524", "kind": "model", - "name": "RealtimeServerEventResponseDone", + "name": "RealtimeServerEventResponseContentPartDone", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseDone", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone", "usage": "Output,Json", - "doc": "Returned when a Response is done streaming. Always emitted, no matter the\nfinal state. The Response object included in the `response.done` event will\ninclude all output Items in the Response but will omit the raw audio data.", - "discriminatorValue": "response.done", + "doc": "Returned when a content part is done streaming in an assistant message item.\nAlso emitted when a Response is interrupted, incomplete, or cancelled.", + "discriminatorValue": "response.content_part.done", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7528", + "$id": "7525", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.done`.", + "doc": "The event type, must be `response.content_part.done`.", "type": { - "$id": "7529", + "$id": "7526", "kind": "enumvalue", - "name": "response_done", - "value": "response.done", + "name": "response_content_part_done", + "value": "response.content_part.done", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -98988,7 +98832,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseDone.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.type", "serializationOptions": { "json": { "name": "type" @@ -98997,58 +98841,163 @@ "isHttpMetadata": false }, { - "$id": "7530", + "$id": "7527", "kind": "property", - "name": "response", - "serializedName": "response", + "name": "response_id", + "serializedName": "response_id", + "doc": "The ID of the response.", "type": { - "$ref": "7476" + "$id": "7528", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseDone.response", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.response_id", "serializationOptions": { "json": { - "name": "response" + "name": "response_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7529", + "kind": "property", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item.", + "type": { + "$id": "7530", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.item_id", + "serializationOptions": { + "json": { + "name": "item_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7531", + "kind": "property", + "name": "output_index", + "serializedName": "output_index", + "doc": "The index of the output item in the response.", + "type": { + "$id": "7532", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.output_index", + "serializationOptions": { + "json": { + "name": "output_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7533", + "kind": "property", + "name": "content_index", + "serializedName": "content_index", + "doc": "The index of the content part in the item's content array.", + "type": { + "$id": "7534", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.content_index", + "serializationOptions": { + "json": { + "name": "content_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7535", + "kind": "property", + "name": "part", + "serializedName": "part", + "doc": "The content part that is done.", + "type": { + "$ref": "7075" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.part", + "serializationOptions": { + "json": { + "name": "part" } }, "isHttpMetadata": false } ] }, - "response.output_item.added": { - "$id": "7531", + "response.text.delta": { + "$id": "7536", "kind": "model", - "name": "RealtimeServerEventResponseOutputItemAdded", + "name": "RealtimeServerEventResponseTextDelta", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta", "usage": "Output,Json", - "doc": "Returned when a new Item is created during Response generation.", - "discriminatorValue": "response.output_item.added", + "doc": "Returned when the text value of a \"text\" content part is updated.", + "discriminatorValue": "response.text.delta", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7532", + "$id": "7537", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.output_item.added`.", + "doc": "The event type, must be `response.text.delta`.", "type": { - "$id": "7533", + "$id": "7538", "kind": "enumvalue", - "name": "response_output_item_added", - "value": "response.output_item.added", + "name": "response_text_delta", + "value": "response.text.delta", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -99057,7 +99006,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.type", "serializationOptions": { "json": { "name": "type" @@ -99066,13 +99015,13 @@ "isHttpMetadata": false }, { - "$id": "7534", + "$id": "7539", "kind": "property", "name": "response_id", "serializedName": "response_id", - "doc": "The ID of the Response to which the item belongs.", + "doc": "The ID of the response.", "type": { - "$id": "7535", + "$id": "7540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99083,7 +99032,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded.response_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.response_id", "serializationOptions": { "json": { "name": "response_id" @@ -99092,13 +99041,39 @@ "isHttpMetadata": false }, { - "$id": "7536", + "$id": "7541", + "kind": "property", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item.", + "type": { + "$id": "7542", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.item_id", + "serializationOptions": { + "json": { + "name": "item_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7543", "kind": "property", "name": "output_index", "serializedName": "output_index", - "doc": "The index of the output item in the Response.", + "doc": "The index of the output item in the response.", "type": { - "$id": "7537", + "$id": "7544", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99109,7 +99084,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.output_index", "serializationOptions": { "json": { "name": "output_index" @@ -99118,58 +99093,89 @@ "isHttpMetadata": false }, { - "$id": "7538", + "$id": "7545", "kind": "property", - "name": "item", - "serializedName": "item", + "name": "content_index", + "serializedName": "content_index", + "doc": "The index of the content part in the item's content array.", "type": { - "$ref": "7396" + "$id": "7546", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemAdded.item", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.content_index", "serializationOptions": { "json": { - "name": "item" + "name": "content_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7547", + "kind": "property", + "name": "delta", + "serializedName": "delta", + "doc": "The text delta.", + "type": { + "$id": "7548", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.delta", + "serializationOptions": { + "json": { + "name": "delta" } }, "isHttpMetadata": false } ] }, - "response.output_item.done": { - "$id": "7539", + "response.text.done": { + "$id": "7549", "kind": "model", - "name": "RealtimeServerEventResponseOutputItemDone", + "name": "RealtimeServerEventResponseTextDone", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone", "usage": "Output,Json", - "doc": "Returned when an Item is done streaming. Also emitted when a Response is\ninterrupted, incomplete, or cancelled.", - "discriminatorValue": "response.output_item.done", + "doc": "Returned when the text value of a \"text\" content part is done streaming. Also\nemitted when a Response is interrupted, incomplete, or cancelled.", + "discriminatorValue": "response.text.done", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7540", + "$id": "7550", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.output_item.done`.", + "doc": "The event type, must be `response.text.done`.", "type": { - "$id": "7541", + "$id": "7551", "kind": "enumvalue", - "name": "response_output_item_done", - "value": "response.output_item.done", + "name": "response_text_done", + "value": "response.text.done", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -99178,7 +99184,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.type", "serializationOptions": { "json": { "name": "type" @@ -99187,13 +99193,13 @@ "isHttpMetadata": false }, { - "$id": "7542", + "$id": "7552", "kind": "property", "name": "response_id", "serializedName": "response_id", - "doc": "The ID of the Response to which the item belongs.", + "doc": "The ID of the response.", "type": { - "$id": "7543", + "$id": "7553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99204,7 +99210,185 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone.response_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.response_id", + "serializationOptions": { + "json": { + "name": "response_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7554", + "kind": "property", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item.", + "type": { + "$id": "7555", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.item_id", + "serializationOptions": { + "json": { + "name": "item_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7556", + "kind": "property", + "name": "output_index", + "serializedName": "output_index", + "doc": "The index of the output item in the response.", + "type": { + "$id": "7557", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.output_index", + "serializationOptions": { + "json": { + "name": "output_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7558", + "kind": "property", + "name": "content_index", + "serializedName": "content_index", + "doc": "The index of the content part in the item's content array.", + "type": { + "$id": "7559", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.content_index", + "serializationOptions": { + "json": { + "name": "content_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7560", + "kind": "property", + "name": "text", + "serializedName": "text", + "doc": "The final text content.", + "type": { + "$id": "7561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.text", + "serializationOptions": { + "json": { + "name": "text" + } + }, + "isHttpMetadata": false + } + ] + }, + "response.audio_transcript.delta": { + "$id": "7562", + "kind": "model", + "name": "RealtimeServerEventResponseAudioTranscriptDelta", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta", + "usage": "Output,Json", + "doc": "Returned when the model-generated transcription of audio output is updated.", + "discriminatorValue": "response.audio_transcript.delta", + "decorators": [], + "baseModel": { + "$ref": "7217" + }, + "properties": [ + { + "$id": "7563", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The event type, must be `response.audio_transcript.delta`.", + "type": { + "$id": "7564", + "kind": "enumvalue", + "name": "response_audio_transcript_delta", + "value": "response.audio_transcript.delta", + "valueType": { + "$ref": "1117" + }, + "enumType": { + "$ref": "7224" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7565", + "kind": "property", + "name": "response_id", + "serializedName": "response_id", + "doc": "The ID of the response.", + "type": { + "$id": "7566", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.response_id", "serializationOptions": { "json": { "name": "response_id" @@ -99213,13 +99397,39 @@ "isHttpMetadata": false }, { - "$id": "7544", + "$id": "7567", + "kind": "property", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item.", + "type": { + "$id": "7568", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.item_id", + "serializationOptions": { + "json": { + "name": "item_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7569", "kind": "property", "name": "output_index", "serializedName": "output_index", - "doc": "The index of the output item in the Response.", + "doc": "The index of the output item in the response.", "type": { - "$id": "7545", + "$id": "7570", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99230,7 +99440,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.output_index", "serializationOptions": { "json": { "name": "output_index" @@ -99239,58 +99449,89 @@ "isHttpMetadata": false }, { - "$id": "7546", + "$id": "7571", "kind": "property", - "name": "item", - "serializedName": "item", + "name": "content_index", + "serializedName": "content_index", + "doc": "The index of the content part in the item's content array.", "type": { - "$ref": "7396" + "$id": "7572", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseOutputItemDone.item", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.content_index", "serializationOptions": { "json": { - "name": "item" + "name": "content_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7573", + "kind": "property", + "name": "delta", + "serializedName": "delta", + "doc": "The transcript delta.", + "type": { + "$id": "7574", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.delta", + "serializationOptions": { + "json": { + "name": "delta" } }, "isHttpMetadata": false } ] }, - "response.content_part.added": { - "$id": "7547", + "response.audio_transcript.done": { + "$id": "7575", "kind": "model", - "name": "RealtimeServerEventResponseContentPartAdded", + "name": "RealtimeServerEventResponseAudioTranscriptDone", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone", "usage": "Output,Json", - "doc": "Returned when a new content part is added to an assistant message item during\nresponse generation.", - "discriminatorValue": "response.content_part.added", + "doc": "Returned when the model-generated transcription of audio output is done\nstreaming. Also emitted when a Response is interrupted, incomplete, or\ncancelled.", + "discriminatorValue": "response.audio_transcript.done", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7548", + "$id": "7576", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.content_part.added`.", + "doc": "The event type, must be `response.audio_transcript.done`.", "type": { - "$id": "7549", + "$id": "7577", "kind": "enumvalue", - "name": "response_content_part_added", - "value": "response.content_part.added", + "name": "response_audio_transcript_done", + "value": "response.audio_transcript.done", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -99299,7 +99540,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.type", "serializationOptions": { "json": { "name": "type" @@ -99308,13 +99549,13 @@ "isHttpMetadata": false }, { - "$id": "7550", + "$id": "7578", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7551", + "$id": "7579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99325,7 +99566,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.response_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.response_id", "serializationOptions": { "json": { "name": "response_id" @@ -99334,13 +99575,13 @@ "isHttpMetadata": false }, { - "$id": "7552", + "$id": "7580", "kind": "property", "name": "item_id", "serializedName": "item_id", - "doc": "The ID of the item to which the content part was added.", + "doc": "The ID of the item.", "type": { - "$id": "7553", + "$id": "7581", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99351,7 +99592,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.item_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.item_id", "serializationOptions": { "json": { "name": "item_id" @@ -99360,13 +99601,13 @@ "isHttpMetadata": false }, { - "$id": "7554", + "$id": "7582", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7555", + "$id": "7583", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99377,7 +99618,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.output_index", "serializationOptions": { "json": { "name": "output_index" @@ -99386,13 +99627,13 @@ "isHttpMetadata": false }, { - "$id": "7556", + "$id": "7584", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7557", + "$id": "7585", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99403,7 +99644,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.content_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.content_index", "serializationOptions": { "json": { "name": "content_index" @@ -99412,59 +99653,63 @@ "isHttpMetadata": false }, { - "$id": "7558", + "$id": "7586", "kind": "property", - "name": "part", - "serializedName": "part", - "doc": "The content part that was added.", + "name": "transcript", + "serializedName": "transcript", + "doc": "The final transcript of the audio.", "type": { - "$ref": "7110" + "$id": "7587", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartAdded.part", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.transcript", "serializationOptions": { "json": { - "name": "part" + "name": "transcript" } }, "isHttpMetadata": false } ] }, - "response.content_part.done": { - "$id": "7559", + "response.audio.delta": { + "$id": "7588", "kind": "model", - "name": "RealtimeServerEventResponseContentPartDone", + "name": "RealtimeServerEventResponseAudioDelta", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta", "usage": "Output,Json", - "doc": "Returned when a content part is done streaming in an assistant message item.\nAlso emitted when a Response is interrupted, incomplete, or cancelled.", - "discriminatorValue": "response.content_part.done", + "doc": "Returned when the model-generated audio is updated.", + "discriminatorValue": "response.audio.delta", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7560", + "$id": "7589", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.content_part.done`.", + "doc": "The event type, must be `response.audio.delta`.", "type": { - "$id": "7561", + "$id": "7590", "kind": "enumvalue", - "name": "response_content_part_done", - "value": "response.content_part.done", + "name": "response_audio_delta", + "value": "response.audio.delta", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -99473,7 +99718,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.type", "serializationOptions": { "json": { "name": "type" @@ -99482,13 +99727,13 @@ "isHttpMetadata": false }, { - "$id": "7562", + "$id": "7591", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7563", + "$id": "7592", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99499,7 +99744,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.response_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.response_id", "serializationOptions": { "json": { "name": "response_id" @@ -99508,13 +99753,13 @@ "isHttpMetadata": false }, { - "$id": "7564", + "$id": "7593", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7565", + "$id": "7594", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99525,7 +99770,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.item_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.item_id", "serializationOptions": { "json": { "name": "item_id" @@ -99534,13 +99779,13 @@ "isHttpMetadata": false }, { - "$id": "7566", + "$id": "7595", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7567", + "$id": "7596", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99551,7 +99796,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.output_index", "serializationOptions": { "json": { "name": "output_index" @@ -99560,13 +99805,13 @@ "isHttpMetadata": false }, { - "$id": "7568", + "$id": "7597", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7569", + "$id": "7598", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99577,7 +99822,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.content_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.content_index", "serializationOptions": { "json": { "name": "content_index" @@ -99586,59 +99831,64 @@ "isHttpMetadata": false }, { - "$id": "7570", + "$id": "7599", "kind": "property", - "name": "part", - "serializedName": "part", - "doc": "The content part that is done.", + "name": "delta", + "serializedName": "delta", + "doc": "Base64-encoded audio data delta.", "type": { - "$ref": "7110" + "$id": "7600", + "kind": "bytes", + "name": "bytes", + "encode": "base64", + "crossLanguageDefinitionId": "TypeSpec.bytes", + "decorators": [] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseContentPartDone.part", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.delta", "serializationOptions": { "json": { - "name": "part" + "name": "delta" } }, "isHttpMetadata": false } ] }, - "response.text.delta": { - "$id": "7571", + "response.audio.done": { + "$id": "7601", "kind": "model", - "name": "RealtimeServerEventResponseTextDelta", + "name": "RealtimeServerEventResponseAudioDone", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone", "usage": "Output,Json", - "doc": "Returned when the text value of a \"text\" content part is updated.", - "discriminatorValue": "response.text.delta", + "doc": "Returned when the model-generated audio is done. Also emitted when a Response\nis interrupted, incomplete, or cancelled.", + "discriminatorValue": "response.audio.done", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7572", + "$id": "7602", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.text.delta`.", + "doc": "The event type, must be `response.audio.done`.", "type": { - "$id": "7573", + "$id": "7603", "kind": "enumvalue", - "name": "response_text_delta", - "value": "response.text.delta", + "name": "response_audio_done", + "value": "response.audio.done", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -99647,7 +99897,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.type", "serializationOptions": { "json": { "name": "type" @@ -99656,13 +99906,13 @@ "isHttpMetadata": false }, { - "$id": "7574", + "$id": "7604", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7575", + "$id": "7605", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99673,7 +99923,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.response_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.response_id", "serializationOptions": { "json": { "name": "response_id" @@ -99682,13 +99932,13 @@ "isHttpMetadata": false }, { - "$id": "7576", + "$id": "7606", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7577", + "$id": "7607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99699,7 +99949,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.item_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.item_id", "serializationOptions": { "json": { "name": "item_id" @@ -99708,13 +99958,13 @@ "isHttpMetadata": false }, { - "$id": "7578", + "$id": "7608", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7579", + "$id": "7609", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99725,7 +99975,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.output_index", "serializationOptions": { "json": { "name": "output_index" @@ -99734,13 +99984,13 @@ "isHttpMetadata": false }, { - "$id": "7580", + "$id": "7610", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7581", + "$id": "7611", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99751,72 +100001,46 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.content_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.content_index", "serializationOptions": { "json": { "name": "content_index" } }, "isHttpMetadata": false - }, - { - "$id": "7582", - "kind": "property", - "name": "delta", - "serializedName": "delta", - "doc": "The text delta.", - "type": { - "$id": "7583", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDelta.delta", - "serializationOptions": { - "json": { - "name": "delta" - } - }, - "isHttpMetadata": false } ] }, - "response.text.done": { - "$id": "7584", + "response.function_call_arguments.delta": { + "$id": "7612", "kind": "model", - "name": "RealtimeServerEventResponseTextDone", + "name": "RealtimeServerEventResponseFunctionCallArgumentsDelta", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta", "usage": "Output,Json", - "doc": "Returned when the text value of a \"text\" content part is done streaming. Also\nemitted when a Response is interrupted, incomplete, or cancelled.", - "discriminatorValue": "response.text.done", + "doc": "Returned when the model-generated function call arguments are updated.", + "discriminatorValue": "response.function_call_arguments.delta", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7585", + "$id": "7613", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.text.done`.", + "doc": "The event type, must be `response.function_call_arguments.delta`.", "type": { - "$id": "7586", + "$id": "7614", "kind": "enumvalue", - "name": "response_text_done", - "value": "response.text.done", + "name": "response_function_call_arguments_delta", + "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -99825,7 +100049,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.type", "serializationOptions": { "json": { "name": "type" @@ -99834,13 +100058,13 @@ "isHttpMetadata": false }, { - "$id": "7587", + "$id": "7615", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7588", + "$id": "7616", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99851,7 +100075,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.response_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.response_id", "serializationOptions": { "json": { "name": "response_id" @@ -99860,13 +100084,13 @@ "isHttpMetadata": false }, { - "$id": "7589", + "$id": "7617", "kind": "property", "name": "item_id", "serializedName": "item_id", - "doc": "The ID of the item.", + "doc": "The ID of the function call item.", "type": { - "$id": "7590", + "$id": "7618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99877,7 +100101,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.item_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.item_id", "serializationOptions": { "json": { "name": "item_id" @@ -99886,13 +100110,13 @@ "isHttpMetadata": false }, { - "$id": "7591", + "$id": "7619", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7592", + "$id": "7620", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99903,7 +100127,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.output_index", "serializationOptions": { "json": { "name": "output_index" @@ -99912,16 +100136,16 @@ "isHttpMetadata": false }, { - "$id": "7593", + "$id": "7621", "kind": "property", - "name": "content_index", - "serializedName": "content_index", - "doc": "The index of the content part in the item's content array.", + "name": "call_id", + "serializedName": "call_id", + "doc": "The ID of the function call.", "type": { - "$id": "7594", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", + "$id": "7622", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "optional": false, @@ -99929,22 +100153,22 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.content_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.call_id", "serializationOptions": { "json": { - "name": "content_index" + "name": "call_id" } }, "isHttpMetadata": false }, { - "$id": "7595", + "$id": "7623", "kind": "property", - "name": "text", - "serializedName": "text", - "doc": "The final text content.", + "name": "delta", + "serializedName": "delta", + "doc": "The arguments delta as a JSON string.", "type": { - "$id": "7596", + "$id": "7624", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99955,46 +100179,46 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseTextDone.text", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.delta", "serializationOptions": { "json": { - "name": "text" + "name": "delta" } }, "isHttpMetadata": false } ] }, - "response.audio_transcript.delta": { - "$id": "7597", + "response.function_call_arguments.done": { + "$id": "7625", "kind": "model", - "name": "RealtimeServerEventResponseAudioTranscriptDelta", + "name": "RealtimeServerEventResponseFunctionCallArgumentsDone", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone", "usage": "Output,Json", - "doc": "Returned when the model-generated transcription of audio output is updated.", - "discriminatorValue": "response.audio_transcript.delta", + "doc": "Returned when the model-generated function call arguments are done streaming.\nAlso emitted when a Response is interrupted, incomplete, or cancelled.", + "discriminatorValue": "response.function_call_arguments.done", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7598", + "$id": "7626", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.audio_transcript.delta`.", + "doc": "The event type, must be `response.function_call_arguments.done`.", "type": { - "$id": "7599", + "$id": "7627", "kind": "enumvalue", - "name": "response_audio_transcript_delta", - "value": "response.audio_transcript.delta", + "name": "response_function_call_arguments_done", + "value": "response.function_call_arguments.done", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -100003,7 +100227,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.type", "serializationOptions": { "json": { "name": "type" @@ -100012,13 +100236,13 @@ "isHttpMetadata": false }, { - "$id": "7600", + "$id": "7628", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7601", + "$id": "7629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100029,7 +100253,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.response_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.response_id", "serializationOptions": { "json": { "name": "response_id" @@ -100038,13 +100262,13 @@ "isHttpMetadata": false }, { - "$id": "7602", + "$id": "7630", "kind": "property", "name": "item_id", "serializedName": "item_id", - "doc": "The ID of the item.", + "doc": "The ID of the function call item.", "type": { - "$id": "7603", + "$id": "7631", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100055,7 +100279,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.item_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.item_id", "serializationOptions": { "json": { "name": "item_id" @@ -100064,13 +100288,13 @@ "isHttpMetadata": false }, { - "$id": "7604", + "$id": "7632", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7605", + "$id": "7633", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100081,7 +100305,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.output_index", "serializationOptions": { "json": { "name": "output_index" @@ -100090,16 +100314,16 @@ "isHttpMetadata": false }, { - "$id": "7606", + "$id": "7634", "kind": "property", - "name": "content_index", - "serializedName": "content_index", - "doc": "The index of the content part in the item's content array.", + "name": "call_id", + "serializedName": "call_id", + "doc": "The ID of the function call.", "type": { - "$id": "7607", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", + "$id": "7635", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "optional": false, @@ -100107,22 +100331,22 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.content_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.call_id", "serializationOptions": { "json": { - "name": "content_index" + "name": "call_id" } }, "isHttpMetadata": false }, { - "$id": "7608", + "$id": "7636", "kind": "property", - "name": "delta", - "serializedName": "delta", - "doc": "The transcript delta.", + "name": "arguments", + "serializedName": "arguments", + "doc": "The final arguments as a JSON string.", "type": { - "$id": "7609", + "$id": "7637", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100133,46 +100357,46 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDelta.delta", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.arguments", "serializationOptions": { "json": { - "name": "delta" + "name": "arguments" } }, "isHttpMetadata": false } ] }, - "response.audio_transcript.done": { - "$id": "7610", + "rate_limits.updated": { + "$id": "7638", "kind": "model", - "name": "RealtimeServerEventResponseAudioTranscriptDone", + "name": "RealtimeServerEventRateLimitsUpdated", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdated", "usage": "Output,Json", - "doc": "Returned when the model-generated transcription of audio output is done\nstreaming. Also emitted when a Response is interrupted, incomplete, or\ncancelled.", - "discriminatorValue": "response.audio_transcript.done", + "doc": "Emitted at the beginning of a Response to indicate the updated rate limits.\nWhen a Response is created some tokens will be \"reserved\" for the output\ntokens, the rate limits shown here reflect that reservation, which is then\nadjusted accordingly once the Response is completed.", + "discriminatorValue": "rate_limits.updated", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7611", + "$id": "7639", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.audio_transcript.done`.", + "doc": "The event type, must be `rate_limits.updated`.", "type": { - "$id": "7612", + "$id": "7640", "kind": "enumvalue", - "name": "response_audio_transcript_done", - "value": "response.audio_transcript.done", + "name": "rate_limits_updated", + "value": "rate_limits.updated", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -100181,7 +100405,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdated.type", "serializationOptions": { "json": { "name": "type" @@ -100190,16 +100414,139 @@ "isHttpMetadata": false }, { - "$id": "7613", + "$id": "7641", "kind": "property", - "name": "response_id", - "serializedName": "response_id", - "doc": "The ID of the response.", + "name": "rate_limits", + "serializedName": "rate_limits", + "doc": "List of rate limit information.", "type": { - "$id": "7614", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "7642", + "kind": "array", + "name": "ArrayRealtimeServerEventRateLimitsUpdatedRateLimitsItem", + "valueType": { + "$id": "7643", + "kind": "model", + "name": "RealtimeServerEventRateLimitsUpdatedRateLimitsItem", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "7644", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The rate limit property name that this item includes information about.", + "type": { + "$id": "7645", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7646", + "kind": "property", + "name": "limit", + "serializedName": "limit", + "doc": "The maximum configured limit for this rate limit property.", + "type": { + "$id": "7647", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem.limit", + "serializationOptions": { + "json": { + "name": "limit" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7648", + "kind": "property", + "name": "remaining", + "serializedName": "remaining", + "doc": "The remaining quota available against the configured limit for this rate limit property.", + "type": { + "$id": "7649", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem.remaining", + "serializationOptions": { + "json": { + "name": "remaining" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7650", + "kind": "property", + "name": "reset_seconds", + "serializedName": "reset_seconds", + "doc": "The remaining time, in seconds, until this rate limit property is reset.", + "type": { + "$id": "7651", + "kind": "duration", + "name": "duration", + "encode": "seconds", + "wireType": { + "$id": "7652", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.duration", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem.reset_seconds", + "serializationOptions": { + "json": { + "name": "reset_seconds" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, "optional": false, @@ -100207,22 +100554,70 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.response_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdated.rate_limits", "serializationOptions": { "json": { - "name": "response_id" + "name": "rate_limits" + } + }, + "isHttpMetadata": false + } + ] + }, + "conversation.item.input_audio_transcription.delta": { + "$id": "7653", + "kind": "model", + "name": "RealtimeServerEventConversationItemInputAudioTranscriptionDelta", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta", + "usage": "Output,Json", + "doc": "Returned when the text value of an input audio transcription content part is updated.", + "discriminatorValue": "conversation.item.input_audio_transcription.delta", + "decorators": [], + "baseModel": { + "$ref": "7217" + }, + "properties": [ + { + "$id": "7654", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The event type, must be `conversation.item.input_audio_transcription.delta`.", + "type": { + "$id": "7655", + "kind": "enumvalue", + "name": "conversation_item_input_audio_transcription_delta", + "value": "conversation.item.input_audio_transcription.delta", + "valueType": { + "$ref": "1117" + }, + "enumType": { + "$ref": "7224" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.type", + "serializationOptions": { + "json": { + "name": "type" } }, "isHttpMetadata": false }, { - "$id": "7615", + "$id": "7656", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7616", + "$id": "7657", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100233,7 +100628,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.item_id", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.item_id", "serializationOptions": { "json": { "name": "item_id" @@ -100242,115 +100637,116 @@ "isHttpMetadata": false }, { - "$id": "7617", + "$id": "7658", "kind": "property", - "name": "output_index", - "serializedName": "output_index", - "doc": "The index of the output item in the response.", + "name": "content_index", + "serializedName": "content_index", + "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7618", + "$id": "7659", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.content_index", "serializationOptions": { "json": { - "name": "output_index" + "name": "content_index" } }, "isHttpMetadata": false }, { - "$id": "7619", + "$id": "7660", "kind": "property", - "name": "content_index", - "serializedName": "content_index", - "doc": "The index of the content part in the item's content array.", + "name": "delta", + "serializedName": "delta", + "doc": "The text delta.", "type": { - "$id": "7620", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", + "$id": "7661", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.content_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.delta", "serializationOptions": { "json": { - "name": "content_index" + "name": "delta" } }, "isHttpMetadata": false }, { - "$id": "7621", + "$id": "7662", "kind": "property", - "name": "transcript", - "serializedName": "transcript", - "doc": "The final transcript of the audio.", + "name": "logprobs", + "serializedName": "logprobs", + "doc": "The log probabilities of the transcription.", "type": { - "$id": "7622", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "7663", + "kind": "nullable", + "type": { + "$ref": "7399" + }, + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioTranscriptDone.transcript", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.logprobs", "serializationOptions": { "json": { - "name": "transcript" + "name": "logprobs" } }, "isHttpMetadata": false } ] }, - "response.audio.delta": { - "$id": "7623", + "conversation.item.retrieved": { + "$id": "7664", "kind": "model", - "name": "RealtimeServerEventResponseAudioDelta", + "name": "RealtimeServerEventConversationItemRetrieved", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemRetrieved", "usage": "Output,Json", - "doc": "Returned when the model-generated audio is updated.", - "discriminatorValue": "response.audio.delta", + "doc": "Returned when a conversation item is retrieved with `conversation.item.retrieve`.", + "discriminatorValue": "conversation.item.retrieved", "decorators": [], "baseModel": { - "$ref": "7252" + "$ref": "7217" }, "properties": [ { - "$id": "7624", + "$id": "7665", "kind": "property", "name": "type", "serializedName": "type", - "doc": "The event type, must be `response.audio.delta`.", + "doc": "The event type, must be `conversation.item.retrieved`.", "type": { - "$id": "7625", + "$id": "7666", "kind": "enumvalue", - "name": "response_audio_delta", - "value": "response.audio.delta", + "name": "conversation_item_retrieved", + "value": "conversation.item.retrieved", "valueType": { - "$ref": "1211" + "$ref": "1117" }, "enumType": { - "$ref": "7259" + "$ref": "7224" }, "decorators": [] }, @@ -100359,7 +100755,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.type", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemRetrieved.type", "serializationOptions": { "json": { "name": "type" @@ -100368,1230 +100764,1884 @@ "isHttpMetadata": false }, { - "$id": "7626", - "kind": "property", - "name": "response_id", - "serializedName": "response_id", - "doc": "The ID of the response.", - "type": { - "$id": "7627", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.response_id", - "serializationOptions": { - "json": { - "name": "response_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7628", - "kind": "property", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the item.", - "type": { - "$id": "7629", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.item_id", - "serializationOptions": { - "json": { - "name": "item_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7630", + "$id": "7667", "kind": "property", - "name": "output_index", - "serializedName": "output_index", - "doc": "The index of the output item in the response.", + "name": "item", + "serializedName": "item", "type": { - "$id": "7631", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "$ref": "7361" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.output_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemRetrieved.item", "serializationOptions": { "json": { - "name": "output_index" + "name": "item" } }, "isHttpMetadata": false - }, + } + ] + }, + "transcription_session.updated": { + "$id": "7668", + "kind": "model", + "name": "RealtimeServerEventTranscriptionSessionUpdated", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventTranscriptionSessionUpdated", + "usage": "Output,Json", + "doc": "Returned when a transcription session is updated with a `transcription_session.update` event, unless\nthere is an error.", + "discriminatorValue": "transcription_session.updated", + "decorators": [], + "baseModel": { + "$ref": "7217" + }, + "properties": [ { - "$id": "7632", + "$id": "7669", "kind": "property", - "name": "content_index", - "serializedName": "content_index", - "doc": "The index of the content part in the item's content array.", + "name": "type", + "serializedName": "type", + "doc": "The event type, must be `transcription_session.updated`.", "type": { - "$id": "7633", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", + "$id": "7670", + "kind": "enumvalue", + "name": "transcription_session_updated", + "value": "transcription_session.updated", + "valueType": { + "$ref": "1117" + }, + "enumType": { + "$ref": "7224" + }, "decorators": [] }, "optional": false, "readOnly": false, - "discriminator": false, + "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.content_index", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventTranscriptionSessionUpdated.type", "serializationOptions": { "json": { - "name": "content_index" + "name": "type" } }, "isHttpMetadata": false }, { - "$id": "7634", + "$id": "7671", "kind": "property", - "name": "delta", - "serializedName": "delta", - "doc": "Base64-encoded audio data delta.", + "name": "session", + "serializedName": "session", "type": { - "$id": "7635", - "kind": "bytes", - "name": "bytes", - "encode": "base64", - "crossLanguageDefinitionId": "TypeSpec.bytes", - "decorators": [] + "$id": "7672", + "kind": "model", + "name": "RealtimeTranscriptionSessionCreateResponse", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse", + "usage": "Output,Json", + "doc": "A new Realtime transcription session configuration.\n\nWhen a session is created on the server via REST API, the session object\nalso contains an ephemeral key. Default TTL for keys is 10 minutes. This\nproperty is not present when a session is updated via the WebSocket API.", + "decorators": [], + "properties": [ + { + "$id": "7673", + "kind": "property", + "name": "client_secret", + "serializedName": "client_secret", + "doc": "Ephemeral key returned by the API. Only present when the session is\ncreated on the server via REST API.", + "type": { + "$id": "7674", + "kind": "model", + "name": "RealtimeTranscriptionSessionCreateResponseClientSecret", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.client_secret.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "7675", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "Ephemeral key usable in client environments to authenticate connections\nto the Realtime API. Use this in client-side environments rather than\na standard API token, which should only be used server-side.", + "type": { + "$id": "7676", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.client_secret.anonymous.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7677", + "kind": "property", + "name": "expires_at", + "serializedName": "expires_at", + "doc": "Timestamp for when the token expires. Currently, all tokens expire\nafter one minute.", + "type": { + "$id": "7678", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "7679", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.client_secret.anonymous.expires_at", + "serializationOptions": { + "json": { + "name": "expires_at" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.client_secret", + "serializationOptions": { + "json": { + "name": "client_secret" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7680", + "kind": "property", + "name": "modalities", + "serializedName": "modalities", + "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", + "type": { + "$id": "7681", + "kind": "array", + "name": "Array43", + "valueType": { + "$ref": "1183" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.modalities", + "serializationOptions": { + "json": { + "name": "modalities" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7682", + "kind": "property", + "name": "input_audio_format", + "serializedName": "input_audio_format", + "doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", + "type": { + "$id": "7683", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_format", + "serializationOptions": { + "json": { + "name": "input_audio_format" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7684", + "kind": "property", + "name": "input_audio_transcription", + "serializedName": "input_audio_transcription", + "doc": "Configuration of the transcription model.", + "type": { + "$id": "7685", + "kind": "model", + "name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscription", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "7686", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "The model to use for transcription. Can be `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, or `whisper-1`.", + "type": { + "$ref": "1187" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.anonymous.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7687", + "kind": "property", + "name": "language", + "serializedName": "language", + "doc": "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.", + "type": { + "$id": "7688", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.anonymous.language", + "serializationOptions": { + "json": { + "name": "language" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7689", + "kind": "property", + "name": "prompt", + "serializedName": "prompt", + "doc": "An optional text to guide the model's style or continue a previous audio\nsegment. The [prompt](/docs/guides/speech-to-text#prompting) should match\nthe audio language.", + "type": { + "$id": "7690", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.anonymous.prompt", + "serializationOptions": { + "json": { + "name": "prompt" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription", + "serializationOptions": { + "json": { + "name": "input_audio_transcription" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7691", + "kind": "property", + "name": "turn_detection", + "serializedName": "turn_detection", + "doc": "Configuration for turn detection. Can be set to `null` to turn off. Server\nVAD means that the model will detect the start and end of speech based on\naudio volume and respond at the end of user speech.", + "type": { + "$id": "7692", + "kind": "model", + "name": "RealtimeTranscriptionSessionCreateResponseTurnDetection", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "7693", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of turn detection, only `server_vad` is currently supported.", + "type": { + "$id": "7694", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7695", + "kind": "property", + "name": "threshold", + "serializedName": "threshold", + "doc": "Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", + "type": { + "$id": "7696", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous.threshold", + "serializationOptions": { + "json": { + "name": "threshold" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7697", + "kind": "property", + "name": "prefix_padding_ms", + "serializedName": "prefix_padding_ms", + "doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", + "type": { + "$id": "7698", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous.prefix_padding_ms", + "serializationOptions": { + "json": { + "name": "prefix_padding_ms" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7699", + "kind": "property", + "name": "silence_duration_ms", + "serializedName": "silence_duration_ms", + "doc": "Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", + "type": { + "$id": "7700", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous.silence_duration_ms", + "serializationOptions": { + "json": { + "name": "silence_duration_ms" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection", + "serializationOptions": { + "json": { + "name": "turn_detection" + } + }, + "isHttpMetadata": false + } + ] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDelta.delta", + "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventTranscriptionSessionUpdated.session", "serializationOptions": { "json": { - "name": "delta" + "name": "session" } }, "isHttpMetadata": false } ] + } + } + }, + { + "$ref": "7221" + }, + { + "$ref": "7261" + }, + { + "$ref": "7275" + }, + { + "$ref": "7279" + }, + { + "$ref": "7303" + }, + { + "$ref": "7307" + }, + { + "$ref": "7311" + }, + { + "$ref": "7316" + }, + { + "$ref": "7323" + }, + { + "$ref": "7326" + }, + { + "$ref": "7333" + }, + { + "$ref": "7340" + }, + { + "$ref": "7345" + }, + { + "$ref": "7350" + }, + { + "$ref": "7355" + }, + { + "$ref": "7361" + }, + { + "$ref": "7367" + }, + { + "$ref": "7373" + }, + { + "$ref": "7382" + }, + { + "$ref": "7388" + }, + { + "$ref": "7400" + }, + { + "$ref": "7406" + }, + { + "$ref": "7414" + }, + { + "$ref": "7423" + }, + { + "$ref": "7432" + }, + { + "$ref": "7437" + }, + { + "$ref": "7441" + }, + { + "$ref": "7447" + }, + { + "$ref": "7451" + }, + { + "$ref": "7460" + }, + { + "$ref": "7468" + }, + { + "$ref": "7476" + }, + { + "$ref": "7492" + }, + { + "$ref": "7496" + }, + { + "$ref": "7504" + }, + { + "$ref": "7512" + }, + { + "$ref": "7524" + }, + { + "$ref": "7536" + }, + { + "$ref": "7549" + }, + { + "$ref": "7562" + }, + { + "$ref": "7575" + }, + { + "$ref": "7588" + }, + { + "$ref": "7601" + }, + { + "$ref": "7612" + }, + { + "$ref": "7625" + }, + { + "$ref": "7638" + }, + { + "$ref": "7643" + }, + { + "$ref": "7653" + }, + { + "$ref": "7664" + }, + { + "$ref": "7668" + }, + { + "$ref": "7672" + }, + { + "$ref": "7674" + }, + { + "$ref": "7685" + }, + { + "$ref": "7692" + }, + { + "$id": "7701", + "kind": "model", + "name": "RealtimeSessionCreateRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest", + "usage": "Input,Json", + "doc": "Realtime session object configuration.", + "decorators": [], + "properties": [ + { + "$id": "7702", + "kind": "property", + "name": "modalities", + "serializedName": "modalities", + "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", + "type": { + "$ref": "6944" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.modalities", + "serializationOptions": { + "json": { + "name": "modalities" + } + }, + "isHttpMetadata": false }, - "response.audio.done": { - "$id": "7636", - "kind": "model", - "name": "RealtimeServerEventResponseAudioDone", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone", - "usage": "Output,Json", - "doc": "Returned when the model-generated audio is done. Also emitted when a Response\nis interrupted, incomplete, or cancelled.", - "discriminatorValue": "response.audio.done", + { + "$id": "7703", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "The Realtime model used for this session.", + "type": { + "$ref": "1192" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "baseModel": { - "$ref": "7252" + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.model", + "serializationOptions": { + "json": { + "name": "model" + } }, - "properties": [ - { - "$id": "7637", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The event type, must be `response.audio.done`.", - "type": { - "$id": "7638", - "kind": "enumvalue", - "name": "response_audio_done", - "value": "response.audio.done", - "valueType": { - "$ref": "1211" + "isHttpMetadata": false + }, + { + "$id": "7704", + "kind": "property", + "name": "instructions", + "serializedName": "instructions", + "doc": "The default system instructions (i.e. system message) prepended to model calls. This field allows the client to guide the model on desired responses. The model can be instructed on response content and format, (e.g. \"be extremely succinct\", \"act friendly\", \"here are examples of good responses\") and on audio behavior (e.g. \"talk quickly\", \"inject emotion into your voice\", \"laugh frequently\"). The instructions are not guaranteed to be followed by the model, but they provide guidance to the model on the desired behavior.\n\nNote that the server sets default instructions which will be used if this field is not set and are visible in the `session.created` event at the start of the session.", + "type": { + "$id": "7705", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.instructions", + "serializationOptions": { + "json": { + "name": "instructions" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7706", + "kind": "property", + "name": "voice", + "serializedName": "voice", + "doc": "The voice the model uses to respond. Voice cannot be changed during the\nsession once the model has responded with audio at least once. Current\nvoice options are `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`,\n`onyx`, `nova`, `sage`, `shimmer`, and `verse`.", + "type": { + "$ref": "68" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.voice", + "serializationOptions": { + "json": { + "name": "voice" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7707", + "kind": "property", + "name": "input_audio_format", + "serializedName": "input_audio_format", + "doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.\nFor `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate,\nsingle channel (mono), and little-endian byte order.", + "type": { + "$ref": "1029" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_format", + "serializationOptions": { + "json": { + "name": "input_audio_format" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7708", + "kind": "property", + "name": "output_audio_format", + "serializedName": "output_audio_format", + "doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.\nFor `pcm16`, output audio is sampled at a rate of 24kHz.", + "type": { + "$ref": "1029" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.output_audio_format", + "serializationOptions": { + "json": { + "name": "output_audio_format" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7709", + "kind": "property", + "name": "input_audio_transcription", + "serializedName": "input_audio_transcription", + "doc": "Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.", + "type": { + "$id": "7710", + "kind": "model", + "name": "RealtimeSessionCreateRequestInputAudioTranscription", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription.anonymous", + "usage": "Input,Json", + "decorators": [], + "properties": [ + { + "$id": "7711", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "The model to use for transcription, current options are `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, and `whisper-1`.", + "type": { + "$id": "7712", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "enumType": { - "$ref": "7259" + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription.anonymous.model", + "serializationOptions": { + "json": { + "name": "model" + } }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7639", - "kind": "property", - "name": "response_id", - "serializedName": "response_id", - "doc": "The ID of the response.", - "type": { - "$id": "7640", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.response_id", - "serializationOptions": { - "json": { - "name": "response_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7641", - "kind": "property", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the item.", - "type": { - "$id": "7642", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.item_id", - "serializationOptions": { - "json": { - "name": "item_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7643", - "kind": "property", - "name": "output_index", - "serializedName": "output_index", - "doc": "The index of the output item in the response.", - "type": { - "$id": "7644", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.output_index", - "serializationOptions": { - "json": { - "name": "output_index" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7645", - "kind": "property", - "name": "content_index", - "serializedName": "content_index", - "doc": "The index of the content part in the item's content array.", - "type": { - "$id": "7646", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "isHttpMetadata": false }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseAudioDone.content_index", - "serializationOptions": { - "json": { - "name": "content_index" - } + { + "$id": "7713", + "kind": "property", + "name": "language", + "serializedName": "language", + "doc": "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.", + "type": { + "$id": "7714", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription.anonymous.language", + "serializationOptions": { + "json": { + "name": "language" + } + }, + "isHttpMetadata": false }, - "isHttpMetadata": false - } - ] - }, - "response.function_call_arguments.delta": { - "$id": "7647", - "kind": "model", - "name": "RealtimeServerEventResponseFunctionCallArgumentsDelta", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta", - "usage": "Output,Json", - "doc": "Returned when the model-generated function call arguments are updated.", - "discriminatorValue": "response.function_call_arguments.delta", + { + "$id": "7715", + "kind": "property", + "name": "prompt", + "serializedName": "prompt", + "doc": "An optional text to guide the model's style or continue a previous audio\nsegment.\nFor `whisper-1`, the [prompt is a list of keywords](/docs/guides/speech-to-text#prompting).\nFor `gpt-4o-transcribe` models, the prompt is a free text string, for example \"expect words related to technology\".", + "type": { + "$id": "7716", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription.anonymous.prompt", + "serializationOptions": { + "json": { + "name": "prompt" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "baseModel": { - "$ref": "7252" + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription", + "serializationOptions": { + "json": { + "name": "input_audio_transcription" + } }, - "properties": [ - { - "$id": "7648", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The event type, must be `response.function_call_arguments.delta`.", - "type": { - "$id": "7649", - "kind": "enumvalue", - "name": "response_function_call_arguments_delta", - "value": "response.function_call_arguments.delta", - "valueType": { - "$ref": "1211" + "isHttpMetadata": false + }, + { + "$id": "7717", + "kind": "property", + "name": "turn_detection", + "serializedName": "turn_detection", + "doc": "Configuration for turn detection, ether Server VAD or Semantic VAD. This can be set to `null` to turn off, in which case the client must manually trigger model response.\nServer VAD means that the model will detect the start and end of speech based on audio volume and respond at the end of user speech.\nSemantic VAD is more advanced and uses a turn detection model (in conjuction with VAD) to semantically estimate whether the user has finished speaking, then dynamically sets a timeout based on this probability. For example, if user audio trails off with \"uhhm\", the model will score a low probability of turn end and wait longer for the user to continue speaking. This can be useful for more natural conversations, but may have a higher latency.", + "type": { + "$id": "7718", + "kind": "model", + "name": "RealtimeSessionCreateRequestTurnDetection", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous", + "usage": "Input,Json", + "decorators": [], + "properties": [ + { + "$id": "7719", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of turn detection.", + "type": { + "$ref": "1200" }, - "enumType": { - "$ref": "7259" + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.type", + "serializationOptions": { + "json": { + "name": "type" + } }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7650", - "kind": "property", - "name": "response_id", - "serializedName": "response_id", - "doc": "The ID of the response.", - "type": { - "$id": "7651", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.response_id", - "serializationOptions": { - "json": { - "name": "response_id" - } + "isHttpMetadata": false }, - "isHttpMetadata": false - }, - { - "$id": "7652", - "kind": "property", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the function call item.", - "type": { - "$id": "7653", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + { + "$id": "7720", + "kind": "property", + "name": "eagerness", + "serializedName": "eagerness", + "doc": "Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` will wait longer for the user to continue speaking, `high` will respond more quickly. `auto` is the default and is equivalent to `medium`.", + "type": { + "$ref": "1204" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.eagerness", + "serializationOptions": { + "json": { + "name": "eagerness" + } + }, + "isHttpMetadata": false }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.item_id", - "serializationOptions": { - "json": { - "name": "item_id" - } + { + "$id": "7721", + "kind": "property", + "name": "threshold", + "serializedName": "threshold", + "doc": "Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", + "type": { + "$id": "7722", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.threshold", + "serializationOptions": { + "json": { + "name": "threshold" + } + }, + "isHttpMetadata": false }, - "isHttpMetadata": false - }, - { - "$id": "7654", - "kind": "property", - "name": "output_index", - "serializedName": "output_index", - "doc": "The index of the output item in the response.", - "type": { - "$id": "7655", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + { + "$id": "7723", + "kind": "property", + "name": "prefix_padding_ms", + "serializedName": "prefix_padding_ms", + "doc": "Used only for `server_vad` mode. Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", + "type": { + "$id": "7724", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.prefix_padding_ms", + "serializationOptions": { + "json": { + "name": "prefix_padding_ms" + } + }, + "isHttpMetadata": false }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.output_index", - "serializationOptions": { - "json": { - "name": "output_index" - } + { + "$id": "7725", + "kind": "property", + "name": "silence_duration_ms", + "serializedName": "silence_duration_ms", + "doc": "Used only for `server_vad` mode. Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", + "type": { + "$id": "7726", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.silence_duration_ms", + "serializationOptions": { + "json": { + "name": "silence_duration_ms" + } + }, + "isHttpMetadata": false }, - "isHttpMetadata": false - }, - { - "$id": "7656", - "kind": "property", - "name": "call_id", - "serializedName": "call_id", - "doc": "The ID of the function call.", - "type": { - "$id": "7657", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + { + "$id": "7727", + "kind": "property", + "name": "create_response", + "serializedName": "create_response", + "doc": "Whether or not to automatically generate a response when a VAD stop event occurs.", + "type": { + "$id": "7728", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.create_response", + "serializationOptions": { + "json": { + "name": "create_response" + } + }, + "isHttpMetadata": false }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, + { + "$id": "7729", + "kind": "property", + "name": "interrupt_response", + "serializedName": "interrupt_response", + "doc": "Whether or not to automatically interrupt any ongoing response with output to the default\nconversation (i.e. `conversation` of `auto`) when a VAD start event occurs.", + "type": { + "$id": "7730", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.interrupt_response", + "serializationOptions": { + "json": { + "name": "interrupt_response" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection", + "serializationOptions": { + "json": { + "name": "turn_detection" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7731", + "kind": "property", + "name": "input_audio_noise_reduction", + "serializedName": "input_audio_noise_reduction", + "doc": "Configuration for input audio noise reduction. This can be set to `null` to turn off.\nNoise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.\nFiltering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.", + "type": { + "$id": "7732", + "kind": "nullable", + "type": { + "$id": "7733", + "kind": "model", + "name": "RealtimeSessionCreateRequestInputAudioNoiseReduction1", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction.anonymous", + "usage": "Input,Json", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.call_id", - "serializationOptions": { - "json": { - "name": "call_id" + "properties": [ + { + "$id": "7734", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.", + "type": { + "$ref": "1210" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction.anonymous.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false } - }, - "isHttpMetadata": false + ] }, - { - "$id": "7658", - "kind": "property", - "name": "delta", - "serializedName": "delta", - "doc": "The arguments delta as a JSON string.", - "type": { - "$id": "7659", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta.delta", - "serializationOptions": { - "json": { - "name": "delta" - } + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction", + "serializationOptions": { + "json": { + "name": "input_audio_noise_reduction" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7735", + "kind": "property", + "name": "speed", + "serializedName": "speed", + "doc": "The speed of the model's spoken response. 1.0 is the default speed. 0.25 is\nthe minimum speed. 1.5 is the maximum speed. This value can only be changed\nin between model turns, not while a response is in progress.", + "type": { + "$id": "7736", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.speed", + "serializationOptions": { + "json": { + "name": "speed" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7737", + "kind": "property", + "name": "tracing", + "serializedName": "tracing", + "doc": "Configuration options for tracing. Set to null to disable tracing. Once\ntracing is enabled for a session, the configuration cannot be modified.\n\n`auto` will create a trace for the session with default values for the\nworkflow name, group id, and metadata.", + "type": { + "$id": "7738", + "kind": "union", + "name": "RealtimeSessionCreateRequestTracing", + "variantTypes": [ + { + "$ref": "1862" }, - "isHttpMetadata": false + { + "$id": "7739", + "kind": "model", + "name": "RealtimeSessionCreateRequestTracing1", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing.anonymous", + "usage": "Input,Json", + "decorators": [], + "properties": [ + { + "$id": "7740", + "kind": "property", + "name": "workflow_name", + "serializedName": "workflow_name", + "doc": "The name of the workflow to attach to this trace. This is used to\nname the trace in the traces dashboard.", + "type": { + "$id": "7741", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing.anonymous.workflow_name", + "serializationOptions": { + "json": { + "name": "workflow_name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7742", + "kind": "property", + "name": "group_id", + "serializedName": "group_id", + "doc": "The group id to attach to this trace to enable filtering and\ngrouping in the traces dashboard.", + "type": { + "$id": "7743", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing.anonymous.group_id", + "serializationOptions": { + "json": { + "name": "group_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7744", + "kind": "property", + "name": "metadata", + "serializedName": "metadata", + "doc": "The arbitrary metadata to attach to this trace to enable\nfiltering in the traces dashboard.", + "type": { + "$id": "7745", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing.anonymous.metadata", + "serializationOptions": { + "json": { + "name": "metadata" + } + }, + "isHttpMetadata": false + } + ] + } + ], + "namespace": "OpenAI", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing", + "serializationOptions": { + "json": { + "name": "tracing" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7746", + "kind": "property", + "name": "tools", + "serializedName": "tools", + "doc": "Tools (functions) available to the model.", + "type": { + "$ref": "7000" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tools", + "serializationOptions": { + "json": { + "name": "tools" } - ] + }, + "isHttpMetadata": false }, - "response.function_call_arguments.done": { - "$id": "7660", - "kind": "model", - "name": "RealtimeServerEventResponseFunctionCallArgumentsDone", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone", - "usage": "Output,Json", - "doc": "Returned when the model-generated function call arguments are done streaming.\nAlso emitted when a Response is interrupted, incomplete, or cancelled.", - "discriminatorValue": "response.function_call_arguments.done", + { + "$id": "7747", + "kind": "property", + "name": "tool_choice", + "serializedName": "tool_choice", + "doc": "How the model chooses tools. Options are `auto`, `none`, `required`, or\nspecify a function.", + "type": { + "$id": "7748", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "baseModel": { - "$ref": "7252" + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tool_choice", + "serializationOptions": { + "json": { + "name": "tool_choice" + } }, - "properties": [ - { - "$id": "7661", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The event type, must be `response.function_call_arguments.done`.", - "type": { - "$id": "7662", - "kind": "enumvalue", - "name": "response_function_call_arguments_done", - "value": "response.function_call_arguments.done", - "valueType": { - "$ref": "1211" - }, - "enumType": { - "$ref": "7259" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7663", - "kind": "property", - "name": "response_id", - "serializedName": "response_id", - "doc": "The ID of the response.", - "type": { - "$id": "7664", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.response_id", - "serializationOptions": { - "json": { - "name": "response_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7665", - "kind": "property", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the function call item.", - "type": { - "$id": "7666", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.item_id", - "serializationOptions": { - "json": { - "name": "item_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7667", - "kind": "property", - "name": "output_index", - "serializedName": "output_index", - "doc": "The index of the output item in the response.", - "type": { - "$id": "7668", + "isHttpMetadata": false + }, + { + "$id": "7749", + "kind": "property", + "name": "temperature", + "serializedName": "temperature", + "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a temperature of 0.8 is highly recommended for best performance.", + "type": { + "$id": "7750", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.temperature", + "serializationOptions": { + "json": { + "name": "temperature" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7751", + "kind": "property", + "name": "max_response_output_tokens", + "serializedName": "max_response_output_tokens", + "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.", + "type": { + "$id": "7752", + "kind": "union", + "name": "RealtimeSessionCreateRequestMaxResponseOutputTokens", + "variantTypes": [ + { + "$id": "7753", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.output_index", - "serializationOptions": { - "json": { - "name": "output_index" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7669", - "kind": "property", - "name": "call_id", - "serializedName": "call_id", - "doc": "The ID of the function call.", - "type": { - "$id": "7670", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.call_id", - "serializationOptions": { - "json": { - "name": "call_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7671", - "kind": "property", - "name": "arguments", - "serializedName": "arguments", - "doc": "The final arguments as a JSON string.", - "type": { - "$id": "7672", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone.arguments", - "serializationOptions": { - "json": { - "name": "arguments" - } - }, - "isHttpMetadata": false - } - ] - }, - "rate_limits.updated": { - "$id": "7673", - "kind": "model", - "name": "RealtimeServerEventRateLimitsUpdated", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdated", - "usage": "Output,Json", - "doc": "Emitted at the beginning of a Response to indicate the updated rate limits.\nWhen a Response is created some tokens will be \"reserved\" for the output\ntokens, the rate limits shown here reflect that reservation, which is then\nadjusted accordingly once the Response is completed.", - "discriminatorValue": "rate_limits.updated", + { + "$ref": "1864" + } + ], + "namespace": "OpenAI", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "baseModel": { - "$ref": "7252" + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.max_response_output_tokens", + "serializationOptions": { + "json": { + "name": "max_response_output_tokens" + } }, - "properties": [ - { - "$id": "7674", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The event type, must be `rate_limits.updated`.", - "type": { - "$id": "7675", - "kind": "enumvalue", - "name": "rate_limits_updated", - "value": "rate_limits.updated", - "valueType": { - "$ref": "1211" - }, - "enumType": { - "$ref": "7259" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdated.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7676", - "kind": "property", - "name": "rate_limits", - "serializedName": "rate_limits", - "doc": "List of rate limit information.", - "type": { - "$id": "7677", - "kind": "array", - "name": "ArrayRealtimeServerEventRateLimitsUpdatedRateLimitsItem", - "valueType": { - "$id": "7678", + "isHttpMetadata": false + }, + { + "$id": "7754", + "kind": "property", + "name": "client_secret", + "serializedName": "client_secret", + "doc": "Configuration options for the generated client secret.", + "type": { + "$id": "7755", + "kind": "model", + "name": "RealtimeSessionCreateRequestClientSecret", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.anonymous", + "usage": "Input,Json", + "decorators": [], + "properties": [ + { + "$id": "7756", + "kind": "property", + "name": "expires_at", + "serializedName": "expires_at", + "doc": "Configuration for the ephemeral token expiration.", + "type": { + "$id": "7757", "kind": "model", - "name": "RealtimeServerEventRateLimitsUpdatedRateLimitsItem", + "name": "RealtimeSessionCreateRequestClientSecretExpiresAt", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem", - "usage": "Output,Json", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.expires_at.anonymous", + "usage": "Input,Json", "decorators": [], "properties": [ { - "$id": "7679", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The rate limit property name that this item includes information about.", - "type": { - "$id": "7680", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7681", + "$id": "7758", "kind": "property", - "name": "limit", - "serializedName": "limit", - "doc": "The maximum configured limit for this rate limit property.", + "name": "anchor", + "serializedName": "anchor", + "doc": "The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.", "type": { - "$id": "7682", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "$ref": "1214" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem.limit", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.expires_at.anonymous.anchor", "serializationOptions": { "json": { - "name": "limit" + "name": "anchor" } }, "isHttpMetadata": false }, { - "$id": "7683", + "$id": "7759", "kind": "property", - "name": "remaining", - "serializedName": "remaining", - "doc": "The remaining quota available against the configured limit for this rate limit property.", + "name": "seconds", + "serializedName": "seconds", + "doc": "The number of seconds from the anchor point to the expiration. Select a value between `10` and `7200`.", "type": { - "$id": "7684", + "$id": "7760", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem.remaining", - "serializationOptions": { - "json": { - "name": "remaining" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7685", - "kind": "property", - "name": "reset_seconds", - "serializedName": "reset_seconds", - "doc": "The remaining time, in seconds, until this rate limit property is reset.", - "type": { - "$id": "7686", - "kind": "duration", - "name": "duration", - "encode": "seconds", - "wireType": { - "$id": "7687", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.duration", - "decorators": [] - }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitsItem.reset_seconds", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.expires_at.anonymous.seconds", "serializationOptions": { "json": { - "name": "reset_seconds" + "name": "seconds" } }, "isHttpMetadata": false } ] }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventRateLimitsUpdated.rate_limits", - "serializationOptions": { - "json": { - "name": "rate_limits" - } - }, - "isHttpMetadata": false - } - ] - }, - "conversation.item.input_audio_transcription.delta": { - "$id": "7688", - "kind": "model", - "name": "RealtimeServerEventConversationItemInputAudioTranscriptionDelta", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta", - "usage": "Output,Json", - "doc": "Returned when the text value of an input audio transcription content part is updated.", - "discriminatorValue": "conversation.item.input_audio_transcription.delta", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.anonymous.expires_at", + "serializationOptions": { + "json": { + "name": "expires_at" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "baseModel": { - "$ref": "7252" + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret", + "serializationOptions": { + "json": { + "name": "client_secret" + } }, - "properties": [ - { - "$id": "7689", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The event type, must be `conversation.item.input_audio_transcription.delta`.", - "type": { - "$id": "7690", - "kind": "enumvalue", - "name": "conversation_item_input_audio_transcription_delta", - "value": "conversation.item.input_audio_transcription.delta", - "valueType": { - "$ref": "1211" + "isHttpMetadata": false + } + ] + }, + { + "$ref": "7710" + }, + { + "$ref": "7718" + }, + { + "$ref": "7733" + }, + { + "$ref": "7739" + }, + { + "$ref": "7755" + }, + { + "$ref": "7757" + }, + { + "$id": "7761", + "kind": "model", + "name": "RealtimeSessionCreateResponse", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse", + "usage": "Output,Json", + "doc": "A new Realtime session configuration, with an ephermeral key. Default TTL\nfor keys is one minute.", + "decorators": [], + "properties": [ + { + "$id": "7762", + "kind": "property", + "name": "client_secret", + "serializedName": "client_secret", + "doc": "Ephemeral key returned by the API.", + "type": { + "$id": "7763", + "kind": "model", + "name": "RealtimeSessionCreateResponseClientSecret", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.client_secret.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "7764", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "Ephemeral key usable in client environments to authenticate connections\nto the Realtime API. Use this in client-side environments rather than\na standard API token, which should only be used server-side.", + "type": { + "$id": "7765", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "enumType": { - "$ref": "7259" + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.client_secret.anonymous.value", + "serializationOptions": { + "json": { + "name": "value" + } }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7691", - "kind": "property", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the item.", - "type": { - "$id": "7692", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.item_id", - "serializationOptions": { - "json": { - "name": "item_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7693", - "kind": "property", - "name": "content_index", - "serializedName": "content_index", - "doc": "The index of the content part in the item's content array.", - "type": { - "$id": "7694", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.content_index", - "serializationOptions": { - "json": { - "name": "content_index" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7695", - "kind": "property", - "name": "delta", - "serializedName": "delta", - "doc": "The text delta.", - "type": { - "$id": "7696", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.delta", - "serializationOptions": { - "json": { - "name": "delta" - } + "isHttpMetadata": false }, - "isHttpMetadata": false - }, - { - "$id": "7697", - "kind": "property", - "name": "logprobs", - "serializedName": "logprobs", - "doc": "The log probabilities of the transcription.", - "type": { - "$id": "7698", - "kind": "nullable", + { + "$id": "7766", + "kind": "property", + "name": "expires_at", + "serializedName": "expires_at", + "doc": "Timestamp for when the token expires. Currently, all tokens expire\nafter one minute.", "type": { - "$ref": "7434" + "$id": "7767", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "7768", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.logprobs", - "serializationOptions": { - "json": { - "name": "logprobs" - } - }, - "isHttpMetadata": false + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.client_secret.anonymous.expires_at", + "serializationOptions": { + "json": { + "name": "expires_at" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.client_secret", + "serializationOptions": { + "json": { + "name": "client_secret" } - ] + }, + "isHttpMetadata": false }, - "conversation.item.retrieved": { - "$id": "7699", - "kind": "model", - "name": "RealtimeServerEventConversationItemRetrieved", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemRetrieved", - "usage": "Output,Json", - "doc": "Returned when a conversation item is retrieved with `conversation.item.retrieve`.", - "discriminatorValue": "conversation.item.retrieved", + { + "$id": "7769", + "kind": "property", + "name": "modalities", + "serializedName": "modalities", + "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", + "type": { + "$ref": "6944" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "baseModel": { - "$ref": "7252" + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.modalities", + "serializationOptions": { + "json": { + "name": "modalities" + } }, - "properties": [ - { - "$id": "7700", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The event type, must be `conversation.item.retrieved`.", - "type": { - "$id": "7701", - "kind": "enumvalue", - "name": "conversation_item_retrieved", - "value": "conversation.item.retrieved", - "valueType": { - "$ref": "1211" - }, - "enumType": { - "$ref": "7259" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemRetrieved.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7702", - "kind": "property", - "name": "item", - "serializedName": "item", - "type": { - "$ref": "7396" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventConversationItemRetrieved.item", - "serializationOptions": { - "json": { - "name": "item" - } - }, - "isHttpMetadata": false + "isHttpMetadata": false + }, + { + "$id": "7770", + "kind": "property", + "name": "instructions", + "serializedName": "instructions", + "doc": "The default system instructions (i.e. system message) prepended to model\ncalls. This field allows the client to guide the model on desired\nresponses. The model can be instructed on response content and format,\n(e.g. \"be extremely succinct\", \"act friendly\", \"here are examples of good\nresponses\") and on audio behavior (e.g. \"talk quickly\", \"inject emotion\ninto your voice\", \"laugh frequently\"). The instructions are not guaranteed\nto be followed by the model, but they provide guidance to the model on the\ndesired behavior.\n\nNote that the server sets default instructions which will be used if this\nfield is not set and are visible in the `session.created` event at the\nstart of the session.", + "type": { + "$id": "7771", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.instructions", + "serializationOptions": { + "json": { + "name": "instructions" } - ] + }, + "isHttpMetadata": false }, - "transcription_session.updated": { - "$id": "7703", - "kind": "model", - "name": "RealtimeServerEventTranscriptionSessionUpdated", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventTranscriptionSessionUpdated", - "usage": "Output,Json", - "doc": "Returned when a transcription session is updated with a `transcription_session.update` event, unless\nthere is an error.", - "discriminatorValue": "transcription_session.updated", + { + "$id": "7772", + "kind": "property", + "name": "voice", + "serializedName": "voice", + "doc": "The voice the model uses to respond. Voice cannot be changed during the\nsession once the model has responded with audio at least once. Current\nvoice options are `alloy`, `ash`, `ballad`, `coral`, `echo` `sage`,\n`shimmer` and `verse`.", + "type": { + "$ref": "68" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "baseModel": { - "$ref": "7252" + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.voice", + "serializationOptions": { + "json": { + "name": "voice" + } }, - "properties": [ - { - "$id": "7704", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The event type, must be `transcription_session.updated`.", - "type": { - "$id": "7705", - "kind": "enumvalue", - "name": "transcription_session_updated", - "value": "transcription_session.updated", - "valueType": { - "$ref": "1211" - }, - "enumType": { - "$ref": "7259" + "isHttpMetadata": false + }, + { + "$id": "7773", + "kind": "property", + "name": "input_audio_format", + "serializedName": "input_audio_format", + "doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", + "type": { + "$ref": "1029" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.input_audio_format", + "serializationOptions": { + "json": { + "name": "input_audio_format" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7774", + "kind": "property", + "name": "output_audio_format", + "serializedName": "output_audio_format", + "doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", + "type": { + "$ref": "1029" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.output_audio_format", + "serializationOptions": { + "json": { + "name": "output_audio_format" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7775", + "kind": "property", + "name": "input_audio_transcription", + "serializedName": "input_audio_transcription", + "doc": "Configuration for input audio transcription, defaults to off and can be\nset to `null` to turn off once on. Input audio transcription is not native\nto the model, since the model consumes audio directly. Transcription runs\nasynchronously through Whisper and should be treated as rough guidance\nrather than the representation understood by the model.", + "type": { + "$id": "7776", + "kind": "model", + "name": "RealtimeSessionCreateResponseInputAudioTranscription", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.input_audio_transcription.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "7777", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "The model to use for transcription, `whisper-1` is the only currently\nsupported model.", + "type": { + "$id": "7778", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventTranscriptionSessionUpdated.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7706", - "kind": "property", - "name": "session", - "serializedName": "session", - "type": { - "$id": "7707", - "kind": "model", - "name": "RealtimeTranscriptionSessionCreateResponse", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse", - "usage": "Output,Json", - "doc": "A new Realtime transcription session configuration.\n\nWhen a session is created on the server via REST API, the session object\nalso contains an ephemeral key. Default TTL for keys is 10 minutes. This\nproperty is not present when a session is updated via the WebSocket API.", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "properties": [ - { - "$id": "7708", - "kind": "property", - "name": "client_secret", - "serializedName": "client_secret", - "doc": "Ephemeral key returned by the API. Only present when the session is\ncreated on the server via REST API.", - "type": { - "$id": "7709", - "kind": "model", - "name": "RealtimeTranscriptionSessionCreateResponseClientSecret", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.client_secret.anonymous", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "7710", - "kind": "property", - "name": "value", - "serializedName": "value", - "doc": "Ephemeral key usable in client environments to authenticate connections\nto the Realtime API. Use this in client-side environments rather than\na standard API token, which should only be used server-side.", - "type": { - "$id": "7711", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.client_secret.anonymous.value", - "serializationOptions": { - "json": { - "name": "value" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7712", - "kind": "property", - "name": "expires_at", - "serializedName": "expires_at", - "doc": "Timestamp for when the token expires. Currently, all tokens expire\nafter one minute.", - "type": { - "$id": "7713", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "7714", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.client_secret.anonymous.expires_at", - "serializationOptions": { - "json": { - "name": "expires_at" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.client_secret", - "serializationOptions": { - "json": { - "name": "client_secret" - } - }, - "isHttpMetadata": false - }, + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.input_audio_transcription.anonymous.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.input_audio_transcription", + "serializationOptions": { + "json": { + "name": "input_audio_transcription" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7779", + "kind": "property", + "name": "speed", + "serializedName": "speed", + "doc": "The speed of the model's spoken response. 1.0 is the default speed. 0.25 is\nthe minimum speed. 1.5 is the maximum speed. This value can only be changed\nin between model turns, not while a response is in progress.", + "type": { + "$id": "7780", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.speed", + "serializationOptions": { + "json": { + "name": "speed" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7781", + "kind": "property", + "name": "tracing", + "serializedName": "tracing", + "doc": "Configuration options for tracing. Set to null to disable tracing. Once\ntracing is enabled for a session, the configuration cannot be modified.\n\n`auto` will create a trace for the session with default values for the\nworkflow name, group id, and metadata.", + "type": { + "$id": "7782", + "kind": "union", + "name": "RealtimeSessionCreateResponseTracing", + "variantTypes": [ + { + "$ref": "1866" + }, + { + "$id": "7783", + "kind": "model", + "name": "RealtimeSessionCreateResponseTracing1", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [ { - "$id": "7715", + "$id": "7784", "kind": "property", - "name": "modalities", - "serializedName": "modalities", - "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", + "name": "workflow_name", + "serializedName": "workflow_name", + "doc": "The name of the workflow to attach to this trace. This is used to\nname the trace in the traces dashboard.", "type": { - "$id": "7716", - "kind": "array", - "name": "Array45", - "valueType": { - "$ref": "1277" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", + "$id": "7785", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "optional": true, @@ -101599,22 +102649,22 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.modalities", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing.anonymous.workflow_name", "serializationOptions": { "json": { - "name": "modalities" + "name": "workflow_name" } }, "isHttpMetadata": false }, { - "$id": "7717", + "$id": "7786", "kind": "property", - "name": "input_audio_format", - "serializedName": "input_audio_format", - "doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", + "name": "group_id", + "serializedName": "group_id", + "doc": "The group id to attach to this trace to enable filtering and\ngrouping in the traces dashboard.", "type": { - "$id": "7718", + "$id": "7787", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101625,932 +102675,1623 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_format", - "serializationOptions": { - "json": { - "name": "input_audio_format" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7719", - "kind": "property", - "name": "input_audio_transcription", - "serializedName": "input_audio_transcription", - "doc": "Configuration of the transcription model.", - "type": { - "$id": "7720", - "kind": "model", - "name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscription", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.anonymous", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "7721", - "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "The model to use for transcription. Can be `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, or `whisper-1`.", - "type": { - "$ref": "1281" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.anonymous.model", - "serializationOptions": { - "json": { - "name": "model" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7722", - "kind": "property", - "name": "language", - "serializedName": "language", - "doc": "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.", - "type": { - "$id": "7723", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.anonymous.language", - "serializationOptions": { - "json": { - "name": "language" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7724", - "kind": "property", - "name": "prompt", - "serializedName": "prompt", - "doc": "An optional text to guide the model's style or continue a previous audio\nsegment. The [prompt](/docs/guides/speech-to-text#prompting) should match\nthe audio language.", - "type": { - "$id": "7725", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.anonymous.prompt", - "serializationOptions": { - "json": { - "name": "prompt" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing.anonymous.group_id", "serializationOptions": { "json": { - "name": "input_audio_transcription" + "name": "group_id" } }, "isHttpMetadata": false }, { - "$id": "7726", + "$id": "7788", "kind": "property", - "name": "turn_detection", - "serializedName": "turn_detection", - "doc": "Configuration for turn detection. Can be set to `null` to turn off. Server\nVAD means that the model will detect the start and end of speech based on\naudio volume and respond at the end of user speech.", + "name": "metadata", + "serializedName": "metadata", + "doc": "The arbitrary metadata to attach to this trace to enable\nfiltering in the traces dashboard.", "type": { - "$id": "7727", - "kind": "model", - "name": "RealtimeTranscriptionSessionCreateResponseTurnDetection", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "7728", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "Type of turn detection, only `server_vad` is currently supported.", - "type": { - "$id": "7729", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7730", - "kind": "property", - "name": "threshold", - "serializedName": "threshold", - "doc": "Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", - "type": { - "$id": "7731", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous.threshold", - "serializationOptions": { - "json": { - "name": "threshold" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7732", - "kind": "property", - "name": "prefix_padding_ms", - "serializedName": "prefix_padding_ms", - "doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", - "type": { - "$id": "7733", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous.prefix_padding_ms", - "serializationOptions": { - "json": { - "name": "prefix_padding_ms" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7734", - "kind": "property", - "name": "silence_duration_ms", - "serializedName": "silence_duration_ms", - "doc": "Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", - "type": { - "$id": "7735", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection.anonymous.silence_duration_ms", - "serializationOptions": { - "json": { - "name": "silence_duration_ms" - } - }, - "isHttpMetadata": false - } - ] + "$id": "7789", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.turn_detection", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing.anonymous.metadata", "serializationOptions": { "json": { - "name": "turn_detection" + "name": "metadata" } }, "isHttpMetadata": false } ] + } + ], + "namespace": "OpenAI", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing", + "serializationOptions": { + "json": { + "name": "tracing" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7790", + "kind": "property", + "name": "turn_detection", + "serializedName": "turn_detection", + "doc": "Configuration for turn detection. Can be set to `null` to turn off. Server\nVAD means that the model will detect the start and end of speech based on\naudio volume and respond at the end of user speech.", + "type": { + "$id": "7791", + "kind": "model", + "name": "RealtimeSessionCreateResponseTurnDetection", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "7792", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of turn detection, only `server_vad` is currently supported.", + "type": { + "$id": "7793", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventTranscriptionSessionUpdated.session", - "serializationOptions": { - "json": { - "name": "session" - } + { + "$id": "7794", + "kind": "property", + "name": "threshold", + "serializedName": "threshold", + "doc": "Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", + "type": { + "$id": "7795", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous.threshold", + "serializationOptions": { + "json": { + "name": "threshold" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7796", + "kind": "property", + "name": "prefix_padding_ms", + "serializedName": "prefix_padding_ms", + "doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", + "type": { + "$id": "7797", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous.prefix_padding_ms", + "serializationOptions": { + "json": { + "name": "prefix_padding_ms" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7798", + "kind": "property", + "name": "silence_duration_ms", + "serializedName": "silence_duration_ms", + "doc": "Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", + "type": { + "$id": "7799", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous.silence_duration_ms", + "serializationOptions": { + "json": { + "name": "silence_duration_ms" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection", + "serializationOptions": { + "json": { + "name": "turn_detection" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7800", + "kind": "property", + "name": "tools", + "serializedName": "tools", + "doc": "Tools (functions) available to the model.", + "type": { + "$ref": "7000" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tools", + "serializationOptions": { + "json": { + "name": "tools" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7801", + "kind": "property", + "name": "tool_choice", + "serializedName": "tool_choice", + "doc": "How the model chooses tools. Options are `auto`, `none`, `required`, or\nspecify a function.", + "type": { + "$id": "7802", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tool_choice", + "serializationOptions": { + "json": { + "name": "tool_choice" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7803", + "kind": "property", + "name": "temperature", + "serializedName": "temperature", + "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", + "type": { + "$id": "7804", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.temperature", + "serializationOptions": { + "json": { + "name": "temperature" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7805", + "kind": "property", + "name": "max_response_output_tokens", + "serializedName": "max_response_output_tokens", + "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.", + "type": { + "$id": "7806", + "kind": "union", + "name": "RealtimeSessionCreateResponseMaxResponseOutputTokens", + "variantTypes": [ + { + "$id": "7807", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] }, - "isHttpMetadata": false + { + "$ref": "1868" + } + ], + "namespace": "OpenAI", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.max_response_output_tokens", + "serializationOptions": { + "json": { + "name": "max_response_output_tokens" } - ] + }, + "isHttpMetadata": false } - } - }, - { - "$ref": "7256" - }, - { - "$ref": "7296" - }, - { - "$ref": "7310" - }, - { - "$ref": "7314" - }, - { - "$ref": "7338" - }, - { - "$ref": "7342" - }, - { - "$ref": "7346" - }, - { - "$ref": "7351" - }, - { - "$ref": "7358" - }, - { - "$ref": "7361" - }, - { - "$ref": "7368" - }, - { - "$ref": "7375" - }, - { - "$ref": "7380" - }, - { - "$ref": "7385" - }, - { - "$ref": "7390" - }, - { - "$ref": "7396" - }, - { - "$ref": "7402" - }, - { - "$ref": "7408" - }, - { - "$ref": "7417" - }, - { - "$ref": "7423" - }, - { - "$ref": "7435" - }, - { - "$ref": "7441" - }, - { - "$ref": "7449" - }, - { - "$ref": "7458" - }, - { - "$ref": "7467" - }, - { - "$ref": "7472" - }, - { - "$ref": "7476" - }, - { - "$ref": "7482" - }, - { - "$ref": "7486" - }, - { - "$ref": "7495" - }, - { - "$ref": "7503" - }, - { - "$ref": "7511" - }, - { - "$ref": "7527" - }, - { - "$ref": "7531" - }, - { - "$ref": "7539" - }, - { - "$ref": "7547" - }, - { - "$ref": "7559" - }, - { - "$ref": "7571" - }, - { - "$ref": "7584" - }, - { - "$ref": "7597" - }, - { - "$ref": "7610" - }, - { - "$ref": "7623" - }, - { - "$ref": "7636" - }, - { - "$ref": "7647" + ] }, { - "$ref": "7660" + "$ref": "7763" }, { - "$ref": "7673" + "$ref": "7776" }, { - "$ref": "7678" + "$ref": "7783" }, { - "$ref": "7688" + "$ref": "7791" }, { - "$ref": "7699" + "$id": "7808", + "kind": "model", + "name": "CreateUploadRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest", + "usage": "Input,Json", + "decorators": [], + "properties": [ + { + "$id": "7809", + "kind": "property", + "name": "filename", + "serializedName": "filename", + "doc": "The name of the file to upload.", + "type": { + "$id": "7810", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.filename", + "serializationOptions": { + "json": { + "name": "filename" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7811", + "kind": "property", + "name": "purpose", + "serializedName": "purpose", + "doc": "The intended purpose of the uploaded file.\n\nSee the [documentation on File purposes](/docs/api-reference/files/create#files-create-purpose).", + "type": { + "$ref": "1218" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.purpose", + "serializationOptions": { + "json": { + "name": "purpose" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7812", + "kind": "property", + "name": "bytes", + "serializedName": "bytes", + "doc": "The number of bytes in the file you are uploading.", + "type": { + "$id": "7813", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.bytes", + "serializationOptions": { + "json": { + "name": "bytes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7814", + "kind": "property", + "name": "mime_type", + "serializedName": "mime_type", + "doc": "The MIME type of the file.\n\nThis must fall within the supported MIME types for your file purpose. See the supported MIME types for assistants and vision.", + "type": { + "$id": "7815", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.mime_type", + "serializationOptions": { + "json": { + "name": "mime_type" + } + }, + "isHttpMetadata": false + } + ] }, { - "$ref": "7703" + "$id": "7816", + "kind": "model", + "name": "Upload", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.Upload", + "usage": "Output,Json", + "doc": "The Upload object can accept byte chunks in the form of Parts.", + "decorators": [], + "properties": [ + { + "$id": "7817", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The Upload unique identifier, which can be referenced in API endpoints.", + "type": { + "$id": "7818", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7819", + "kind": "property", + "name": "created_at", + "serializedName": "created_at", + "doc": "The Unix timestamp (in seconds) for when the Upload was created.", + "type": { + "$id": "7820", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "7821", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.created_at", + "serializationOptions": { + "json": { + "name": "created_at" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7822", + "kind": "property", + "name": "filename", + "serializedName": "filename", + "doc": "The name of the file to be uploaded.", + "type": { + "$id": "7823", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.filename", + "serializationOptions": { + "json": { + "name": "filename" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7824", + "kind": "property", + "name": "bytes", + "serializedName": "bytes", + "doc": "The intended number of bytes to be uploaded.", + "type": { + "$id": "7825", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.bytes", + "serializationOptions": { + "json": { + "name": "bytes" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7826", + "kind": "property", + "name": "purpose", + "serializedName": "purpose", + "doc": "The intended purpose of the file. [Please refer here](/docs/api-reference/files/object#files/object-purpose) for acceptable values.", + "type": { + "$id": "7827", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.purpose", + "serializationOptions": { + "json": { + "name": "purpose" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7828", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The status of the Upload.", + "type": { + "$ref": "1224" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7829", + "kind": "property", + "name": "expires_at", + "serializedName": "expires_at", + "doc": "The Unix timestamp (in seconds) for when the Upload will expire.", + "type": { + "$id": "7830", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "7831", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.expires_at", + "serializationOptions": { + "json": { + "name": "expires_at" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7832", + "kind": "property", + "name": "object", + "serializedName": "object", + "doc": "The object type, which is always \"upload\".", + "type": { + "$ref": "1230" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.object", + "serializationOptions": { + "json": { + "name": "object" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7833", + "kind": "property", + "name": "file", + "serializedName": "file", + "type": { + "$id": "7834", + "kind": "nullable", + "type": { + "$ref": "3526" + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Upload.file", + "serializationOptions": { + "json": { + "name": "file" + } + }, + "isHttpMetadata": false + } + ] }, { - "$ref": "7707" + "$id": "7835", + "kind": "model", + "name": "AddUploadPartRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.AddUploadPartRequest", + "usage": "Input,MultipartFormData", + "decorators": [], + "properties": [ + { + "$id": "7836", + "kind": "property", + "name": "data", + "serializedName": "data", + "doc": "The chunk of bytes for this Part.", + "type": { + "$id": "7837", + "kind": "bytes", + "name": "bytes", + "encode": "base64", + "crossLanguageDefinitionId": "TypeSpec.bytes", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AddUploadPartRequest.data", + "serializationOptions": { + "multipart": { + "isFilePart": true, + "isMulti": false, + "defaultContentTypes": [ + "application/octet-stream" + ], + "name": "data", + "headers": [] + } + }, + "isHttpMetadata": false + } + ] }, { - "$ref": "7709" + "$id": "7838", + "kind": "model", + "name": "UploadPart", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.UploadPart", + "usage": "Output,Json", + "doc": "The upload Part represents a chunk of bytes we can add to an Upload object.", + "decorators": [], + "properties": [ + { + "$id": "7839", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The upload Part unique identifier, which can be referenced in API endpoints.", + "type": { + "$id": "7840", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.UploadPart.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7841", + "kind": "property", + "name": "created_at", + "serializedName": "created_at", + "doc": "The Unix timestamp (in seconds) for when the Part was created.", + "type": { + "$id": "7842", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "7843", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.UploadPart.created_at", + "serializationOptions": { + "json": { + "name": "created_at" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7844", + "kind": "property", + "name": "upload_id", + "serializedName": "upload_id", + "doc": "The ID of the Upload object that this Part was added to.", + "type": { + "$id": "7845", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.UploadPart.upload_id", + "serializationOptions": { + "json": { + "name": "upload_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7846", + "kind": "property", + "name": "object", + "serializedName": "object", + "doc": "The object type, which is always `upload.part`.", + "type": { + "$ref": "1870" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.UploadPart.object", + "serializationOptions": { + "json": { + "name": "object" + } + }, + "isHttpMetadata": false + } + ] }, { - "$ref": "7720" + "$id": "7847", + "kind": "model", + "name": "CompleteUploadRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CompleteUploadRequest", + "usage": "Input,Json", + "decorators": [], + "properties": [ + { + "$id": "7848", + "kind": "property", + "name": "part_ids", + "serializedName": "part_ids", + "doc": "The ordered list of Part IDs.", + "type": { + "$ref": "2548" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CompleteUploadRequest.part_ids", + "serializationOptions": { + "json": { + "name": "part_ids" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7849", + "kind": "property", + "name": "md5", + "serializedName": "md5", + "doc": "The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect.", + "type": { + "$id": "7850", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CompleteUploadRequest.md5", + "serializationOptions": { + "json": { + "name": "md5" + } + }, + "isHttpMetadata": false + } + ] }, { - "$ref": "7727" + "$id": "7851", + "kind": "model", + "name": "CreateEmbeddingRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest", + "usage": "Input,Json", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "properties": [ + { + "$id": "7852", + "kind": "property", + "name": "input", + "serializedName": "input", + "doc": "Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model (8192 tokens for all embedding models), cannot be an empty string, and any array must be 2048 dimensions or less. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens. In addition to the per-input token limit, all embedding models enforce a maximum of 300,000 tokens summed across all inputs in a single request.", + "type": { + "$id": "7853", + "kind": "union", + "name": "CreateEmbeddingRequestInput", + "variantTypes": [ + { + "$id": "7854", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + { + "$ref": "2548" + }, + { + "$id": "7855", + "kind": "array", + "name": "Array44", + "valueType": { + "$id": "7856", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + { + "$id": "7857", + "kind": "array", + "name": "ArrayArray1", + "valueType": { + "$ref": "7855" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + } + ], + "namespace": "OpenAI", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.input", + "serializationOptions": { + "json": { + "name": "input" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7858", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "ID of the model to use. You can use the [List models](https://platform.openai.com/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](https://platform.openai.com/docs/models) for descriptions of them.", + "type": { + "$ref": "1234" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7859", + "kind": "property", + "name": "encoding_format", + "serializedName": "encoding_format", + "doc": "The format to return the embeddings in. Can be either `float` or [`base64`](https://pypi.org/project/pybase64/).", + "type": { + "$ref": "1239" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.encoding_format", + "serializationOptions": { + "json": { + "name": "encoding_format" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7860", + "kind": "property", + "name": "dimensions", + "serializedName": "dimensions", + "doc": "The number of dimensions the resulting output embeddings should have. Only supported in `text-embedding-3` and later models.", + "type": { + "$id": "7861", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.dimensions", + "serializationOptions": { + "json": { + "name": "dimensions" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7862", + "kind": "property", + "name": "user", + "serializedName": "user", + "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids).", + "type": { + "$id": "7863", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.user", + "serializationOptions": { + "json": { + "name": "user" + } + }, + "isHttpMetadata": false + } + ] }, { - "$id": "7736", + "$id": "7864", "kind": "model", - "name": "RealtimeSessionCreateRequest", + "name": "CreateEmbeddingResponse", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest", - "usage": "Input,Json", - "doc": "Realtime session object configuration.", - "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse", + "usage": "Output,Json", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], "properties": [ { - "$id": "7737", + "$id": "7865", "kind": "property", - "name": "modalities", - "serializedName": "modalities", - "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", + "name": "Items", + "serializedName": "data", + "doc": "The list of embeddings generated by the model.", + "type": { + "$id": "7866", + "kind": "array", + "name": "ArrayEmbedding", + "valueType": { + "$id": "7867", + "kind": "model", + "name": "Embedding", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.Embedding", + "usage": "Output,Json", + "doc": "Represents an embedding vector returned by embedding endpoint.", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "properties": [ + { + "$id": "7868", + "kind": "property", + "name": "index", + "serializedName": "index", + "doc": "The index of the embedding in the list of embeddings.", + "type": { + "$id": "7869", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Embedding.index", + "serializationOptions": { + "json": { + "name": "index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7870", + "kind": "property", + "name": "embedding", + "serializedName": "embedding", + "doc": "The embedding vector, which is a list of floats. The length of vector depends on the model as listed in the [embedding guide](https://platform.openai.com/docs/guides/embeddings).", + "type": { + "$ref": "2802" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Embedding.embedding", + "serializationOptions": { + "json": { + "name": "embedding" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7871", + "kind": "property", + "name": "object", + "serializedName": "object", + "doc": "The object type, which is always \"embedding\".", + "type": { + "$ref": "1872" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Embedding.object", + "serializationOptions": { + "json": { + "name": "object" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.data", + "serializationOptions": { + "json": { + "name": "data" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7872", + "kind": "property", + "name": "model", + "serializedName": "model", + "doc": "The name of the model used to generate the embedding.", + "type": { + "$id": "7873", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.model", + "serializationOptions": { + "json": { + "name": "model" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7874", + "kind": "property", + "name": "object", + "serializedName": "object", + "doc": "The object type, which is always \"list\".", + "type": { + "$ref": "1874" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.object", + "serializationOptions": { + "json": { + "name": "object" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7875", + "kind": "property", + "name": "usage", + "serializedName": "usage", + "doc": "The usage information for the request.", "type": { - "$ref": "6979" + "$id": "7876", + "kind": "model", + "name": "CreateEmbeddingResponseUsage", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.usage.anonymous", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "7877", + "kind": "property", + "name": "prompt_tokens", + "serializedName": "prompt_tokens", + "type": { + "$id": "7878", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.usage.anonymous.prompt_tokens", + "serializationOptions": { + "json": { + "name": "prompt_tokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7879", + "kind": "property", + "name": "total_tokens", + "serializedName": "total_tokens", + "type": { + "$id": "7880", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.usage.anonymous.total_tokens", + "serializationOptions": { + "json": { + "name": "total_tokens" + } + }, + "isHttpMetadata": false + } + ] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.modalities", + "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingResponse.usage", "serializationOptions": { "json": { - "name": "modalities" + "name": "usage" } }, "isHttpMetadata": false - }, + } + ] + }, + { + "$ref": "7867" + }, + { + "$ref": "7876" + }, + { + "$id": "7881", + "kind": "model", + "name": "CreateImageEditRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest", + "usage": "Input,MultipartFormData", + "decorators": [], + "properties": [ { - "$id": "7738", + "$id": "7882", "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "The Realtime model used for this session.", + "name": "image", + "serializedName": "image", + "doc": "The image(s) to edit. Must be a supported image file or an array of images.\n\n For `gpt-image-1`, each image should be a `png`, `webp`, or `jpg` file less\n than 50MB. You can provide up to 16 images.\n\n For `dall-e-2`, you can only provide one image, and it should be a square\n `png` file less than 4MB.", "type": { - "$ref": "1286" + "$id": "7883", + "kind": "union", + "name": "CreateImageEditRequestImage", + "variantTypes": [ + { + "$id": "7884", + "kind": "bytes", + "name": "bytes", + "encode": "base64", + "crossLanguageDefinitionId": "TypeSpec.bytes", + "decorators": [] + }, + { + "$id": "7885", + "kind": "array", + "name": "Array45", + "valueType": { + "$id": "7886", + "kind": "bytes", + "name": "bytes", + "encode": "base64", + "crossLanguageDefinitionId": "TypeSpec.bytes", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + } + ], + "namespace": "OpenAI", + "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.model", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.image", "serializationOptions": { - "json": { - "name": "model" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/octet-stream", + "application/json" + ], + "name": "image", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7739", + "$id": "7887", "kind": "property", - "name": "instructions", - "serializedName": "instructions", - "doc": "The default system instructions (i.e. system message) prepended to model calls. This field allows the client to guide the model on desired responses. The model can be instructed on response content and format, (e.g. \"be extremely succinct\", \"act friendly\", \"here are examples of good responses\") and on audio behavior (e.g. \"talk quickly\", \"inject emotion into your voice\", \"laugh frequently\"). The instructions are not guaranteed to be followed by the model, but they provide guidance to the model on the desired behavior.\n\nNote that the server sets default instructions which will be used if this field is not set and are visible in the `session.created` event at the start of the session.", + "name": "prompt", + "serializedName": "prompt", + "doc": "A text description of the desired image(s). The maximum length is 1000 characters for `dall-e-2`, and 32000 characters for `gpt-image-1`.", "type": { - "$id": "7740", + "$id": "7888", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.instructions", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.prompt", "serializationOptions": { - "json": { - "name": "instructions" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "text/plain" + ], + "name": "prompt", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7741", + "$id": "7889", "kind": "property", - "name": "voice", - "serializedName": "voice", - "doc": "The voice the model uses to respond. Voice cannot be changed during the\nsession once the model has responded with audio at least once. Current\nvoice options are `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`,\n`onyx`, `nova`, `sage`, `shimmer`, and `verse`.", + "name": "mask", + "serializedName": "mask", + "doc": "An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.", "type": { - "$ref": "68" + "$id": "7890", + "kind": "bytes", + "name": "bytes", + "encode": "base64", + "crossLanguageDefinitionId": "TypeSpec.bytes", + "decorators": [] }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.voice", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.mask", "serializationOptions": { - "json": { - "name": "voice" + "multipart": { + "isFilePart": true, + "isMulti": false, + "defaultContentTypes": [ + "application/octet-stream" + ], + "name": "mask", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7742", + "$id": "7891", "kind": "property", - "name": "input_audio_format", - "serializedName": "input_audio_format", - "doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.\nFor `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate,\nsingle channel (mono), and little-endian byte order.", + "name": "background", + "serializedName": "background", + "doc": "Allows to set transparency for the background of the generated image(s).\n This parameter is only supported for `gpt-image-1`. Must be one of\n `transparent`, `opaque` or `auto` (default value). When `auto` is used, the\n model will automatically determine the best background for the image.\n\n If `transparent`, the output format needs to support transparency, so it\n should be set to either `png` (default value) or `webp`.", "type": { - "$ref": "1123" + "$id": "7892", + "kind": "nullable", + "type": { + "$ref": "1243" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_format", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.background", "serializationOptions": { - "json": { - "name": "input_audio_format" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "background", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7743", + "$id": "7893", "kind": "property", - "name": "output_audio_format", - "serializedName": "output_audio_format", - "doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.\nFor `pcm16`, output audio is sampled at a rate of 24kHz.", + "name": "model", + "serializedName": "model", + "doc": "The model to use for image generation. Only `dall-e-2` and `gpt-image-1` are supported. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used.", "type": { - "$ref": "1123" + "$id": "7894", + "kind": "nullable", + "type": { + "$ref": "1248" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.output_audio_format", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.model", "serializationOptions": { - "json": { - "name": "output_audio_format" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "model", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7744", + "$id": "7895", "kind": "property", - "name": "input_audio_transcription", - "serializedName": "input_audio_transcription", - "doc": "Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.", + "name": "n", + "serializedName": "n", + "doc": "The number of images to generate. Must be between 1 and 10.", "type": { - "$id": "7745", - "kind": "model", - "name": "RealtimeSessionCreateRequestInputAudioTranscription", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription.anonymous", - "usage": "Input,Json", - "decorators": [], - "properties": [ - { - "$id": "7746", - "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "The model to use for transcription, current options are `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, and `whisper-1`.", - "type": { - "$id": "7747", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription.anonymous.model", - "serializationOptions": { - "json": { - "name": "model" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7748", - "kind": "property", - "name": "language", - "serializedName": "language", - "doc": "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.", - "type": { - "$id": "7749", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription.anonymous.language", - "serializationOptions": { - "json": { - "name": "language" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7750", - "kind": "property", - "name": "prompt", - "serializedName": "prompt", - "doc": "An optional text to guide the model's style or continue a previous audio\nsegment.\nFor `whisper-1`, the [prompt is a list of keywords](/docs/guides/speech-to-text#prompting).\nFor `gpt-4o-transcribe` models, the prompt is a free text string, for example \"expect words related to technology\".", - "type": { - "$id": "7751", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription.anonymous.prompt", - "serializationOptions": { - "json": { - "name": "prompt" - } - }, - "isHttpMetadata": false - } - ] + "$id": "7896", + "kind": "nullable", + "type": { + "$id": "7897", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_transcription", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.n", "serializationOptions": { - "json": { - "name": "input_audio_transcription" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "n", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7752", + "$id": "7898", "kind": "property", - "name": "turn_detection", - "serializedName": "turn_detection", - "doc": "Configuration for turn detection, ether Server VAD or Semantic VAD. This can be set to `null` to turn off, in which case the client must manually trigger model response.\nServer VAD means that the model will detect the start and end of speech based on audio volume and respond at the end of user speech.\nSemantic VAD is more advanced and uses a turn detection model (in conjuction with VAD) to semantically estimate whether the user has finished speaking, then dynamically sets a timeout based on this probability. For example, if user audio trails off with \"uhhm\", the model will score a low probability of turn end and wait longer for the user to continue speaking. This can be useful for more natural conversations, but may have a higher latency.", + "name": "size", + "serializedName": "size", + "doc": "The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, and one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`.", "type": { - "$id": "7753", - "kind": "model", - "name": "RealtimeSessionCreateRequestTurnDetection", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous", - "usage": "Input,Json", - "decorators": [], - "properties": [ - { - "$id": "7754", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "Type of turn detection.", - "type": { - "$ref": "1294" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7755", - "kind": "property", - "name": "eagerness", - "serializedName": "eagerness", - "doc": "Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` will wait longer for the user to continue speaking, `high` will respond more quickly. `auto` is the default and is equivalent to `medium`.", - "type": { - "$ref": "1298" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.eagerness", - "serializationOptions": { - "json": { - "name": "eagerness" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7756", - "kind": "property", - "name": "threshold", - "serializedName": "threshold", - "doc": "Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", - "type": { - "$id": "7757", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.threshold", - "serializationOptions": { - "json": { - "name": "threshold" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7758", - "kind": "property", - "name": "prefix_padding_ms", - "serializedName": "prefix_padding_ms", - "doc": "Used only for `server_vad` mode. Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", - "type": { - "$id": "7759", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.prefix_padding_ms", - "serializationOptions": { - "json": { - "name": "prefix_padding_ms" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7760", - "kind": "property", - "name": "silence_duration_ms", - "serializedName": "silence_duration_ms", - "doc": "Used only for `server_vad` mode. Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", - "type": { - "$id": "7761", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.silence_duration_ms", - "serializationOptions": { - "json": { - "name": "silence_duration_ms" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7762", - "kind": "property", - "name": "create_response", - "serializedName": "create_response", - "doc": "Whether or not to automatically generate a response when a VAD stop event occurs.", - "type": { - "$id": "7763", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.create_response", - "serializationOptions": { - "json": { - "name": "create_response" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7764", - "kind": "property", - "name": "interrupt_response", - "serializedName": "interrupt_response", - "doc": "Whether or not to automatically interrupt any ongoing response with output to the default\nconversation (i.e. `conversation` of `auto`) when a VAD start event occurs.", - "type": { - "$id": "7765", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.anonymous.interrupt_response", - "serializationOptions": { - "json": { - "name": "interrupt_response" - } - }, - "isHttpMetadata": false - } - ] + "$id": "7899", + "kind": "nullable", + "type": { + "$ref": "1253" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.size", "serializationOptions": { - "json": { - "name": "turn_detection" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "size", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7766", + "$id": "7900", "kind": "property", - "name": "input_audio_noise_reduction", - "serializedName": "input_audio_noise_reduction", - "doc": "Configuration for input audio noise reduction. This can be set to `null` to turn off.\nNoise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.\nFiltering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.", + "name": "response_format", + "serializedName": "response_format", + "doc": "The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter is only supported for `dall-e-2`, as `gpt-image-1` will always return base64-encoded images.", "type": { - "$id": "7767", + "$id": "7901", "kind": "nullable", "type": { - "$id": "7768", - "kind": "model", - "name": "RealtimeSessionCreateRequestInputAudioNoiseReduction1", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction.anonymous", - "usage": "Input,Json", - "decorators": [], - "properties": [ - { - "$id": "7769", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.", - "type": { - "$ref": "1304" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction.anonymous.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - } - ] + "$ref": "1261" }, "namespace": "OpenAI" }, @@ -102559,376 +104300,256 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.response_format", "serializationOptions": { - "json": { - "name": "input_audio_noise_reduction" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "response_format", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7770", + "$id": "7902", "kind": "property", - "name": "speed", - "serializedName": "speed", - "doc": "The speed of the model's spoken response. 1.0 is the default speed. 0.25 is\nthe minimum speed. 1.5 is the maximum speed. This value can only be changed\nin between model turns, not while a response is in progress.", + "name": "output_format", + "serializedName": "output_format", + "doc": "The format in which the generated images are returned. This parameter is\n only supported for `gpt-image-1`. Must be one of `png`, `jpeg`, or `webp`.\n The default value is `png`.", "type": { - "$id": "7771", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] + "$id": "7903", + "kind": "nullable", + "type": { + "$ref": "1265" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.speed", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.output_format", "serializationOptions": { - "json": { - "name": "speed" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "output_format", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7772", + "$id": "7904", "kind": "property", - "name": "tracing", - "serializedName": "tracing", - "doc": "Configuration options for tracing. Set to null to disable tracing. Once\ntracing is enabled for a session, the configuration cannot be modified.\n\n`auto` will create a trace for the session with default values for the\nworkflow name, group id, and metadata.", + "name": "output_compression", + "serializedName": "output_compression", + "doc": "The compression level (0-100%) for the generated images. This parameter\n is only supported for `gpt-image-1` with the `webp` or `jpeg` output\n formats, and defaults to 100.", "type": { - "$id": "7773", - "kind": "union", - "name": "RealtimeSessionCreateRequestTracing", - "variantTypes": [ - { - "$ref": "1746" - }, - { - "$id": "7774", - "kind": "model", - "name": "RealtimeSessionCreateRequestTracing1", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing.anonymous", - "usage": "Input,Json", - "decorators": [], - "properties": [ - { - "$id": "7775", - "kind": "property", - "name": "workflow_name", - "serializedName": "workflow_name", - "doc": "The name of the workflow to attach to this trace. This is used to\nname the trace in the traces dashboard.", - "type": { - "$id": "7776", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing.anonymous.workflow_name", - "serializationOptions": { - "json": { - "name": "workflow_name" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7777", - "kind": "property", - "name": "group_id", - "serializedName": "group_id", - "doc": "The group id to attach to this trace to enable filtering and\ngrouping in the traces dashboard.", - "type": { - "$id": "7778", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing.anonymous.group_id", - "serializationOptions": { - "json": { - "name": "group_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7779", - "kind": "property", - "name": "metadata", - "serializedName": "metadata", - "doc": "The arbitrary metadata to attach to this trace to enable\nfiltering in the traces dashboard.", - "type": { - "$id": "7780", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing.anonymous.metadata", - "serializationOptions": { - "json": { - "name": "metadata" - } - }, - "isHttpMetadata": false - } - ] - } - ], - "namespace": "OpenAI", - "decorators": [] + "$id": "7905", + "kind": "nullable", + "type": { + "$id": "7906", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tracing", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.output_compression", "serializationOptions": { - "json": { - "name": "tracing" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "output_compression", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7781", + "$id": "7907", "kind": "property", - "name": "tools", - "serializedName": "tools", - "doc": "Tools (functions) available to the model.", + "name": "user", + "serializedName": "user", + "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$ref": "7035" + "$id": "7908", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tools", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.user", "serializationOptions": { - "json": { - "name": "tools" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "text/plain" + ], + "name": "user", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7782", + "$id": "7909", "kind": "property", - "name": "tool_choice", - "serializedName": "tool_choice", - "doc": "How the model chooses tools. Options are `auto`, `none`, `required`, or\nspecify a function.", + "name": "input_fidelity", + "serializedName": "input_fidelity", "type": { - "$id": "7783", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "7910", + "kind": "nullable", + "type": { + "$ref": "1270" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.tool_choice", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.input_fidelity", "serializationOptions": { - "json": { - "name": "tool_choice" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "input_fidelity", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7784", + "$id": "7911", "kind": "property", - "name": "temperature", - "serializedName": "temperature", - "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a temperature of 0.8 is highly recommended for best performance.", + "name": "stream", + "serializedName": "stream", + "doc": "Edit the image in streaming mode. Defaults to `false`. See the\n [Image generation guide](https://platform.openai.com/docs/guides/image-generation) for more information.", "type": { - "$id": "7785", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] + "$id": "7912", + "kind": "nullable", + "type": { + "$id": "7913", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.temperature", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.stream", "serializationOptions": { - "json": { - "name": "temperature" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "stream", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7786", + "$id": "7914", "kind": "property", - "name": "max_response_output_tokens", - "serializedName": "max_response_output_tokens", - "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.", + "name": "partial_images", + "serializedName": "partial_images", "type": { - "$id": "7787", - "kind": "union", - "name": "RealtimeSessionCreateRequestMaxResponseOutputTokens", - "variantTypes": [ - { - "$id": "7788", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - { - "$ref": "1748" - } - ], - "namespace": "OpenAI", - "decorators": [] + "$id": "7915", + "kind": "nullable", + "type": { + "$id": "7916", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.max_response_output_tokens", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.partial_images", "serializationOptions": { - "json": { - "name": "max_response_output_tokens" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "partial_images", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7789", + "$id": "7917", "kind": "property", - "name": "client_secret", - "serializedName": "client_secret", - "doc": "Configuration options for the generated client secret.", + "name": "quality", + "serializedName": "quality", + "doc": "The quality of the image that will be generated. `high`, `medium` and `low` are only supported for `gpt-image-1`. `dall-e-2` only supports `standard` quality. Defaults to `auto`.", "type": { - "$id": "7790", - "kind": "model", - "name": "RealtimeSessionCreateRequestClientSecret", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.anonymous", - "usage": "Input,Json", - "decorators": [], - "properties": [ - { - "$id": "7791", - "kind": "property", - "name": "expires_at", - "serializedName": "expires_at", - "doc": "Configuration for the ephemeral token expiration.", - "type": { - "$id": "7792", - "kind": "model", - "name": "RealtimeSessionCreateRequestClientSecretExpiresAt", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.expires_at.anonymous", - "usage": "Input,Json", - "decorators": [], - "properties": [ - { - "$id": "7793", - "kind": "property", - "name": "anchor", - "serializedName": "anchor", - "doc": "The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.", - "type": { - "$ref": "1308" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.expires_at.anonymous.anchor", - "serializationOptions": { - "json": { - "name": "anchor" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7794", - "kind": "property", - "name": "seconds", - "serializedName": "seconds", - "doc": "The number of seconds from the anchor point to the expiration. Select a value between `10` and `7200`.", - "type": { - "$id": "7795", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.expires_at.anonymous.seconds", - "serializationOptions": { - "json": { - "name": "seconds" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret.anonymous.expires_at", - "serializationOptions": { - "json": { - "name": "expires_at" - } - }, - "isHttpMetadata": false - } - ] + "$id": "7918", + "kind": "nullable", + "type": { + "$ref": "1274" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.client_secret", + "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.quality", "serializationOptions": { - "json": { - "name": "client_secret" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "quality", + "headers": [] } }, "isHttpMetadata": false @@ -102936,274 +104557,428 @@ ] }, { - "$ref": "7745" - }, - { - "$ref": "7753" - }, - { - "$ref": "7768" - }, - { - "$ref": "7774" - }, - { - "$ref": "7790" - }, - { - "$ref": "7792" - }, - { - "$id": "7796", + "$id": "7919", "kind": "model", - "name": "RealtimeSessionCreateResponse", + "name": "ImagesResponse", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse", "usage": "Output,Json", - "doc": "A new Realtime session configuration, with an ephermeral key. Default TTL\nfor keys is one minute.", + "doc": "The response from the image generation endpoint.", + "summary": "Image generation response", "decorators": [], "properties": [ { - "$id": "7797", + "$id": "7920", "kind": "property", - "name": "client_secret", - "serializedName": "client_secret", - "doc": "Ephemeral key returned by the API.", + "name": "created", + "serializedName": "created", + "doc": "The Unix timestamp (in seconds) of when the image was created.", "type": { - "$id": "7798", - "kind": "model", - "name": "RealtimeSessionCreateResponseClientSecret", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.client_secret.anonymous", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "7799", - "kind": "property", - "name": "value", - "serializedName": "value", - "doc": "Ephemeral key usable in client environments to authenticate connections\nto the Realtime API. Use this in client-side environments rather than\na standard API token, which should only be used server-side.", - "type": { - "$id": "7800", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.client_secret.anonymous.value", - "serializationOptions": { - "json": { - "name": "value" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7801", - "kind": "property", - "name": "expires_at", - "serializedName": "expires_at", - "doc": "Timestamp for when the token expires. Currently, all tokens expire\nafter one minute.", - "type": { - "$id": "7802", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "7803", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.client_secret.anonymous.expires_at", - "serializationOptions": { - "json": { - "name": "expires_at" - } - }, - "isHttpMetadata": false - } - ] + "$id": "7921", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "7922", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.client_secret", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.created", "serializationOptions": { "json": { - "name": "client_secret" + "name": "created" } }, "isHttpMetadata": false }, { - "$id": "7804", + "$id": "7923", "kind": "property", - "name": "modalities", - "serializedName": "modalities", - "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", + "name": "Items", + "serializedName": "data", + "doc": "The list of generated images.", "type": { - "$ref": "6979" + "$id": "7924", + "kind": "array", + "name": "ArrayImage", + "valueType": { + "$id": "7925", + "kind": "model", + "name": "Image", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.Image", + "usage": "Output,Json", + "doc": "Represents the content or the URL of an image generated by the OpenAI API.", + "decorators": [], + "properties": [ + { + "$id": "7926", + "kind": "property", + "name": "b64_json", + "serializedName": "b64_json", + "doc": "The base64-encoded JSON of the generated image. Default value for `gpt-image-1`, and only present if `response_format` is set to `b64_json` for `dall-e-2` and `dall-e-3`.", + "type": { + "$id": "7927", + "kind": "bytes", + "name": "bytes", + "encode": "base64", + "crossLanguageDefinitionId": "TypeSpec.bytes", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Image.b64_json", + "serializationOptions": { + "json": { + "name": "b64_json" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7928", + "kind": "property", + "name": "url", + "serializedName": "url", + "doc": "When using `dall-e-2` or `dall-e-3`, the URL of the generated image if `response_format` is set to `url` (default value). Unsupported for `gpt-image-1`.", + "type": { + "$id": "7929", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Image.url", + "serializationOptions": { + "json": { + "name": "url" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7930", + "kind": "property", + "name": "revised_prompt", + "serializedName": "revised_prompt", + "doc": "For `dall-e-3` only, the revised prompt that was used to generate the image.", + "type": { + "$id": "7931", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Image.revised_prompt", + "serializationOptions": { + "json": { + "name": "revised_prompt" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.modalities", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.data", "serializationOptions": { "json": { - "name": "modalities" + "name": "data" } }, "isHttpMetadata": false }, { - "$id": "7805", + "$id": "7932", "kind": "property", - "name": "instructions", - "serializedName": "instructions", - "doc": "The default system instructions (i.e. system message) prepended to model\ncalls. This field allows the client to guide the model on desired\nresponses. The model can be instructed on response content and format,\n(e.g. \"be extremely succinct\", \"act friendly\", \"here are examples of good\nresponses\") and on audio behavior (e.g. \"talk quickly\", \"inject emotion\ninto your voice\", \"laugh frequently\"). The instructions are not guaranteed\nto be followed by the model, but they provide guidance to the model on the\ndesired behavior.\n\nNote that the server sets default instructions which will be used if this\nfield is not set and are visible in the `session.created` event at the\nstart of the session.", + "name": "background", + "serializedName": "background", + "doc": "The background parameter used for the image generation. Either `transparent` or `opaque`.", "type": { - "$id": "7806", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "1281" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.instructions", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.background", "serializationOptions": { "json": { - "name": "instructions" + "name": "background" } }, "isHttpMetadata": false }, { - "$id": "7807", + "$id": "7933", "kind": "property", - "name": "voice", - "serializedName": "voice", - "doc": "The voice the model uses to respond. Voice cannot be changed during the\nsession once the model has responded with audio at least once. Current\nvoice options are `alloy`, `ash`, `ballad`, `coral`, `echo` `sage`,\n`shimmer` and `verse`.", + "name": "output_format", + "serializedName": "output_format", + "doc": "The output format of the image generation. Either `png`, `webp`, or `jpeg`.", "type": { - "$ref": "68" + "$ref": "1285" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.voice", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.output_format", "serializationOptions": { "json": { - "name": "voice" + "name": "output_format" } }, "isHttpMetadata": false }, { - "$id": "7808", + "$id": "7934", "kind": "property", - "name": "input_audio_format", - "serializedName": "input_audio_format", - "doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", + "name": "size", + "serializedName": "size", + "doc": "The size of the image generated. Either `1024x1024`, `1024x1536`, or `1536x1024`.", "type": { - "$ref": "1123" + "$ref": "1290" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.input_audio_format", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.size", "serializationOptions": { "json": { - "name": "input_audio_format" + "name": "size" } }, "isHttpMetadata": false }, { - "$id": "7809", + "$id": "7935", "kind": "property", - "name": "output_audio_format", - "serializedName": "output_audio_format", - "doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", + "name": "quality", + "serializedName": "quality", + "doc": "The quality of the image generated. Either `low`, `medium`, or `high`.", "type": { - "$ref": "1123" + "$ref": "1295" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.output_audio_format", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.quality", "serializationOptions": { "json": { - "name": "output_audio_format" + "name": "quality" } }, "isHttpMetadata": false }, { - "$id": "7810", + "$id": "7936", "kind": "property", - "name": "input_audio_transcription", - "serializedName": "input_audio_transcription", - "doc": "Configuration for input audio transcription, defaults to off and can be\nset to `null` to turn off once on. Input audio transcription is not native\nto the model, since the model consumes audio directly. Transcription runs\nasynchronously through Whisper and should be treated as rough guidance\nrather than the representation understood by the model.", + "name": "usage", + "serializedName": "usage", "type": { - "$id": "7811", + "$id": "7937", "kind": "model", - "name": "RealtimeSessionCreateResponseInputAudioTranscription", + "name": "ImageGenUsage", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.input_audio_transcription.anonymous", + "crossLanguageDefinitionId": "OpenAI.ImageGenUsage", "usage": "Output,Json", + "doc": "For `gpt-image-1` only, the token usage information for the image generation.", + "summary": "Image generation usage", "decorators": [], "properties": [ { - "$id": "7812", + "$id": "7938", "kind": "property", - "name": "model", - "serializedName": "model", - "doc": "The model to use for transcription, `whisper-1` is the only currently\nsupported model.", + "name": "input_tokens", + "serializedName": "input_tokens", + "doc": "The number of tokens (images and text) in the input prompt.", "type": { - "$id": "7813", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "7939", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.input_audio_transcription.anonymous.model", + "crossLanguageDefinitionId": "OpenAI.ImageGenUsage.input_tokens", "serializationOptions": { "json": { - "name": "model" + "name": "input_tokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7940", + "kind": "property", + "name": "total_tokens", + "serializedName": "total_tokens", + "doc": "The total number of tokens (images and text) used for the image generation.", + "type": { + "$id": "7941", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenUsage.total_tokens", + "serializationOptions": { + "json": { + "name": "total_tokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7942", + "kind": "property", + "name": "output_tokens", + "serializedName": "output_tokens", + "doc": "The number of output tokens generated by the model.", + "type": { + "$id": "7943", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenUsage.output_tokens", + "serializationOptions": { + "json": { + "name": "output_tokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7944", + "kind": "property", + "name": "input_tokens_details", + "serializedName": "input_tokens_details", + "type": { + "$id": "7945", + "kind": "model", + "name": "ImageGenInputUsageDetails", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImageGenInputUsageDetails", + "usage": "Output,Json", + "doc": "The input tokens detailed information for the image generation.", + "summary": "Input usage details", + "decorators": [], + "properties": [ + { + "$id": "7946", + "kind": "property", + "name": "text_tokens", + "serializedName": "text_tokens", + "doc": "The number of text tokens in the input prompt.", + "type": { + "$id": "7947", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenInputUsageDetails.text_tokens", + "serializationOptions": { + "json": { + "name": "text_tokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "7948", + "kind": "property", + "name": "image_tokens", + "serializedName": "image_tokens", + "doc": "The number of image tokens in the input prompt.", + "type": { + "$id": "7949", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenInputUsageDetails.image_tokens", + "serializationOptions": { + "json": { + "name": "image_tokens" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenUsage.input_tokens_details", + "serializationOptions": { + "json": { + "name": "input_tokens_details" } }, "isHttpMetadata": false @@ -103215,664 +104990,1442 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.input_audio_transcription", + "crossLanguageDefinitionId": "OpenAI.ImagesResponse.usage", "serializationOptions": { "json": { - "name": "input_audio_transcription" + "name": "usage" } }, "isHttpMetadata": false + } + ] + }, + { + "$ref": "7925" + }, + { + "$ref": "7937" + }, + { + "$ref": "7945" + }, + { + "$id": "7950", + "kind": "model", + "name": "ImageEditStreamEvent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImageEditStreamEvent", + "usage": "Output", + "decorators": [], + "discriminatorProperty": { + "$id": "7951", + "kind": "property", + "name": "type", + "type": { + "$ref": "1300" }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditStreamEvent.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + "properties": [ { - "$id": "7814", - "kind": "property", - "name": "speed", - "serializedName": "speed", - "doc": "The speed of the model's spoken response. 1.0 is the default speed. 0.25 is\nthe minimum speed. 1.5 is the maximum speed. This value can only be changed\nin between model turns, not while a response is in progress.", - "type": { - "$id": "7815", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, + "$ref": "7951" + } + ], + "discriminatedSubtypes": { + "image_edit.completed": { + "$id": "7952", + "kind": "model", + "name": "ImageEditCompletedEvent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent", + "usage": "Output", + "doc": "Emitted when image editing has completed and the final image is available.", + "discriminatorValue": "image_edit.completed", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.speed", - "serializationOptions": { - "json": { - "name": "speed" - } + "baseModel": { + "$ref": "7950" }, - "isHttpMetadata": false - }, - { - "$id": "7816", - "kind": "property", - "name": "tracing", - "serializedName": "tracing", - "doc": "Configuration options for tracing. Set to null to disable tracing. Once\ntracing is enabled for a session, the configuration cannot be modified.\n\n`auto` will create a trace for the session with default values for the\nworkflow name, group id, and metadata.", - "type": { - "$id": "7817", - "kind": "union", - "name": "RealtimeSessionCreateResponseTracing", - "variantTypes": [ - { - "$ref": "1750" + "properties": [ + { + "$id": "7953", + "kind": "property", + "name": "type", + "doc": "The type of the event. Always `image_edit.completed`.", + "type": { + "$id": "7954", + "kind": "enumvalue", + "name": "image_edit.completed", + "value": "image_edit.completed", + "valueType": { + "$ref": "1301" + }, + "enumType": { + "$id": "7955", + "kind": "enum", + "decorators": [], + "name": "ImageEditStreamEventType", + "isGeneratedName": false, + "namespace": "OpenAI", + "valueType": { + "$id": "7956", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "7957", + "kind": "enumvalue", + "decorators": [], + "name": "image_edit.partial_image", + "value": "image_edit.partial_image", + "valueType": { + "$ref": "7956" + }, + "enumType": { + "$ref": "7955" + } + }, + { + "$id": "7958", + "kind": "enumvalue", + "decorators": [], + "name": "image_edit.completed", + "value": "image_edit.completed", + "valueType": { + "$ref": "7956" + }, + "enumType": { + "$ref": "7955" + } + } + ], + "isFixed": false, + "isFlags": false, + "usage": "Output", + "access": "public", + "crossLanguageDefinitionId": "OpenAI.ImageEditStreamEventType", + "apiVersions": [], + "isUnionAsEnum": true, + "__accessSet": true + }, + "decorators": [] }, - { - "$id": "7818", + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7959", + "kind": "property", + "name": "b64_json", + "doc": "Base64-encoded final edited image data, suitable for rendering as an image.", + "type": { + "$id": "7960", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.b64_json", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7961", + "kind": "property", + "name": "created_at", + "doc": "The Unix timestamp when the event was created.", + "type": { + "$id": "7962", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.created_at", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7963", + "kind": "property", + "name": "size", + "doc": "The size of the edited image.", + "type": { + "$ref": "1304" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.size", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7964", + "kind": "property", + "name": "quality", + "doc": "The quality setting for the edited image.", + "type": { + "$ref": "1310" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.quality", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7965", + "kind": "property", + "name": "background", + "doc": "The background setting for the edited image.", + "type": { + "$ref": "1316" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.background", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7966", + "kind": "property", + "name": "output_format", + "doc": "The output format for the edited image.", + "type": { + "$ref": "1321" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.output_format", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7967", + "kind": "property", + "name": "usage", + "type": { + "$id": "7968", "kind": "model", - "name": "RealtimeSessionCreateResponseTracing1", + "name": "ImagesUsage", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing.anonymous", - "usage": "Output,Json", + "crossLanguageDefinitionId": "OpenAI.ImagesUsage", + "usage": "Output", + "doc": "For `gpt-image-1` only, the token usage information for the image generation.", "decorators": [], "properties": [ { - "$id": "7819", + "$id": "7969", "kind": "property", - "name": "workflow_name", - "serializedName": "workflow_name", - "doc": "The name of the workflow to attach to this trace. This is used to\nname the trace in the traces dashboard.", + "name": "total_tokens", + "doc": "The total number of tokens (images and text) used for the image generation.", "type": { - "$id": "7820", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "7970", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing.anonymous.workflow_name", - "serializationOptions": { - "json": { - "name": "workflow_name" - } - }, + "crossLanguageDefinitionId": "OpenAI.ImagesUsage.total_tokens", + "serializationOptions": {}, "isHttpMetadata": false }, { - "$id": "7821", + "$id": "7971", "kind": "property", - "name": "group_id", - "serializedName": "group_id", - "doc": "The group id to attach to this trace to enable filtering and\ngrouping in the traces dashboard.", + "name": "input_tokens", + "doc": "The number of tokens (images and text) in the input prompt.", "type": { - "$id": "7822", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "7972", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing.anonymous.group_id", - "serializationOptions": { - "json": { - "name": "group_id" - } - }, + "crossLanguageDefinitionId": "OpenAI.ImagesUsage.input_tokens", + "serializationOptions": {}, "isHttpMetadata": false }, { - "$id": "7823", + "$id": "7973", "kind": "property", - "name": "metadata", - "serializedName": "metadata", - "doc": "The arbitrary metadata to attach to this trace to enable\nfiltering in the traces dashboard.", + "name": "output_tokens", + "doc": "The number of image tokens in the output image.", "type": { - "$id": "7824", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", + "$id": "7974", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", "decorators": [] }, - "optional": true, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImagesUsage.output_tokens", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7975", + "kind": "property", + "name": "input_tokens_details", + "doc": "The input tokens detailed information for the image generation.", + "type": { + "$id": "7976", + "kind": "model", + "name": "ImagesUsageInputTokensDetails", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImagesUsageInputTokensDetails", + "usage": "Output", + "decorators": [], + "properties": [ + { + "$id": "7977", + "kind": "property", + "name": "text_tokens", + "type": { + "$id": "7978", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImagesUsageInputTokensDetails.text_tokens", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7979", + "kind": "property", + "name": "image_tokens", + "type": { + "$id": "7980", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImagesUsageInputTokensDetails.image_tokens", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing.anonymous.metadata", - "serializationOptions": { - "json": { - "name": "metadata" - } - }, + "crossLanguageDefinitionId": "OpenAI.ImagesUsage.input_tokens_details", + "serializationOptions": {}, "isHttpMetadata": false } ] - } - ], - "namespace": "OpenAI", + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.usage", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + "image_edit.partial_image": { + "$id": "7981", + "kind": "model", + "name": "ImageEditPartialImageEvent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent", + "usage": "Output", + "doc": "Emitted when a partial image is available during image editing streaming.", + "discriminatorValue": "image_edit.partial_image", + "decorators": [], + "baseModel": { + "$ref": "7950" + }, + "properties": [ + { + "$id": "7982", + "kind": "property", + "name": "type", + "doc": "The type of the event. Always `image_edit.partial_image`.", + "type": { + "$id": "7983", + "kind": "enumvalue", + "name": "image_edit.partial_image", + "value": "image_edit.partial_image", + "valueType": { + "$ref": "1301" + }, + "enumType": { + "$ref": "7955" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7984", + "kind": "property", + "name": "b64_json", + "doc": "Base64-encoded partial image data, suitable for rendering as an image.", + "type": { + "$id": "7985", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.b64_json", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7986", + "kind": "property", + "name": "created_at", + "doc": "The Unix timestamp when the event was created.", + "type": { + "$id": "7987", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.created_at", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7988", + "kind": "property", + "name": "size", + "doc": "The size of the requested edited image.", + "type": { + "$ref": "1326" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.size", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7989", + "kind": "property", + "name": "quality", + "doc": "The quality setting for the requested edited image.", + "type": { + "$ref": "1332" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.quality", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7990", + "kind": "property", + "name": "background", + "doc": "The background setting for the requested edited image.", + "type": { + "$ref": "1338" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.background", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7991", + "kind": "property", + "name": "output_format", + "doc": "The output format for the requested edited image.", + "type": { + "$ref": "1343" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.output_format", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7992", + "kind": "property", + "name": "partial_image_index", + "doc": "0-based index for the partial image (streaming).", + "type": { + "$id": "7993", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.partial_image_index", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + } + } + }, + { + "$ref": "7952" + }, + { + "$ref": "7968" + }, + { + "$ref": "7976" + }, + { + "$ref": "7981" + }, + { + "$id": "7994", + "kind": "model", + "name": "CreateImageRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest", + "usage": "Input,Json", + "decorators": [], + "properties": [ + { + "$id": "7995", + "kind": "property", + "name": "prompt", + "serializedName": "prompt", + "doc": "A text description of the desired image(s). The maximum length is 32000 characters for `gpt-image-1`, 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`.", + "type": { + "$id": "7996", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tracing", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.prompt", "serializationOptions": { "json": { - "name": "tracing" + "name": "prompt" } }, "isHttpMetadata": false }, { - "$id": "7825", + "$id": "7997", "kind": "property", - "name": "turn_detection", - "serializedName": "turn_detection", - "doc": "Configuration for turn detection. Can be set to `null` to turn off. Server\nVAD means that the model will detect the start and end of speech based on\naudio volume and respond at the end of user speech.", + "name": "model", + "serializedName": "model", + "doc": "The model to use for image generation. One of `dall-e-2`, `dall-e-3`, or `gpt-image-1`. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used.", "type": { - "$id": "7826", - "kind": "model", - "name": "RealtimeSessionCreateResponseTurnDetection", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "7827", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "Type of turn detection, only `server_vad` is currently supported.", - "type": { - "$id": "7828", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7829", - "kind": "property", - "name": "threshold", - "serializedName": "threshold", - "doc": "Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", - "type": { - "$id": "7830", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous.threshold", - "serializationOptions": { - "json": { - "name": "threshold" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7831", - "kind": "property", - "name": "prefix_padding_ms", - "serializedName": "prefix_padding_ms", - "doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", - "type": { - "$id": "7832", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous.prefix_padding_ms", - "serializationOptions": { - "json": { - "name": "prefix_padding_ms" - } - }, - "isHttpMetadata": false - }, - { - "$id": "7833", - "kind": "property", - "name": "silence_duration_ms", - "serializedName": "silence_duration_ms", - "doc": "Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", - "type": { - "$id": "7834", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection.anonymous.silence_duration_ms", - "serializationOptions": { - "json": { - "name": "silence_duration_ms" - } - }, - "isHttpMetadata": false - } - ] + "$id": "7998", + "kind": "nullable", + "type": { + "$ref": "1348" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.turn_detection", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.model", "serializationOptions": { "json": { - "name": "turn_detection" + "name": "model" } }, "isHttpMetadata": false }, { - "$id": "7835", + "$id": "7999", "kind": "property", - "name": "tools", - "serializedName": "tools", - "doc": "Tools (functions) available to the model.", + "name": "n", + "serializedName": "n", + "doc": "The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported.", "type": { - "$ref": "7035" + "$id": "8000", + "kind": "nullable", + "type": { + "$id": "8001", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tools", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.n", "serializationOptions": { "json": { - "name": "tools" + "name": "n" } }, "isHttpMetadata": false }, { - "$id": "7836", + "$id": "8002", "kind": "property", - "name": "tool_choice", - "serializedName": "tool_choice", - "doc": "How the model chooses tools. Options are `auto`, `none`, `required`, or\nspecify a function.", + "name": "quality", + "serializedName": "quality", + "doc": "The quality of the image that will be generated.\n\n - `auto` (default value) will automatically select the best quality for the given model.\n - `high`, `medium` and `low` are supported for `gpt-image-1`.\n - `hd` and `standard` are supported for `dall-e-3`.\n - `standard` is the only option for `dall-e-2`.", "type": { - "$id": "7837", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "8003", + "kind": "nullable", + "type": { + "$ref": "1354" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.tool_choice", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.quality", "serializationOptions": { "json": { - "name": "tool_choice" + "name": "quality" } }, "isHttpMetadata": false }, { - "$id": "7838", + "$id": "8004", "kind": "property", - "name": "temperature", - "serializedName": "temperature", - "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", + "name": "response_format", + "serializedName": "response_format", + "doc": "The format in which generated images with `dall-e-2` and `dall-e-3` are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter isn't supported for `gpt-image-1` which will always return base64-encoded images.", "type": { - "$id": "7839", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] + "$id": "8005", + "kind": "nullable", + "type": { + "$ref": "1362" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.temperature", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.response_format", "serializationOptions": { "json": { - "name": "temperature" + "name": "response_format" } }, "isHttpMetadata": false }, { - "$id": "7840", + "$id": "8006", "kind": "property", - "name": "max_response_output_tokens", - "serializedName": "max_response_output_tokens", - "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.", + "name": "output_format", + "serializedName": "output_format", + "doc": "The format in which the generated images are returned. This parameter is only supported for `gpt-image-1`. Must be one of `png`, `jpeg`, or `webp`.", "type": { - "$id": "7841", - "kind": "union", - "name": "RealtimeSessionCreateResponseMaxResponseOutputTokens", - "variantTypes": [ - { - "$id": "7842", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - { - "$ref": "1752" - } - ], - "namespace": "OpenAI", - "decorators": [] + "$id": "8007", + "kind": "nullable", + "type": { + "$ref": "1366" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponse.max_response_output_tokens", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.output_format", "serializationOptions": { "json": { - "name": "max_response_output_tokens" + "name": "output_format" } }, "isHttpMetadata": false - } - ] - }, - { - "$ref": "7798" - }, - { - "$ref": "7811" - }, - { - "$ref": "7818" - }, - { - "$ref": "7826" - }, - { - "$id": "7843", - "kind": "model", - "name": "CreateUploadRequest", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest", - "usage": "Input,Json", - "decorators": [], - "properties": [ + }, { - "$id": "7844", + "$id": "8008", "kind": "property", - "name": "filename", - "serializedName": "filename", - "doc": "The name of the file to upload.", + "name": "output_compression", + "serializedName": "output_compression", + "doc": "The compression level (0-100%) for the generated images. This parameter is only supported for `gpt-image-1` with the `webp` or `jpeg` output formats, and defaults to 100.", "type": { - "$id": "7845", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "8009", + "kind": "nullable", + "type": { + "$id": "8010", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.filename", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.output_compression", "serializationOptions": { "json": { - "name": "filename" + "name": "output_compression" } }, "isHttpMetadata": false }, { - "$id": "7846", + "$id": "8011", "kind": "property", - "name": "purpose", - "serializedName": "purpose", - "doc": "The intended purpose of the uploaded file.\n\nSee the [documentation on File purposes](/docs/api-reference/files/create#files-create-purpose).", + "name": "stream", + "serializedName": "stream", + "doc": "Generate the image in streaming mode. Defaults to `false`. See the\n [Image generation guide](https://platform.openai.com/docs/guides/image-generation) for more information.\n This parameter is only supported for `gpt-image-1`.", "type": { - "$ref": "1312" + "$id": "8012", + "kind": "nullable", + "type": { + "$id": "8013", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.purpose", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.stream", "serializationOptions": { "json": { - "name": "purpose" + "name": "stream" } }, "isHttpMetadata": false }, { - "$id": "7847", + "$id": "8014", "kind": "property", - "name": "bytes", - "serializedName": "bytes", - "doc": "The number of bytes in the file you are uploading.", + "name": "partial_images", + "serializedName": "partial_images", "type": { - "$id": "7848", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "$ref": "7915" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.bytes", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.partial_images", "serializationOptions": { "json": { - "name": "bytes" + "name": "partial_images" } }, "isHttpMetadata": false }, { - "$id": "7849", + "$id": "8015", "kind": "property", - "name": "mime_type", - "serializedName": "mime_type", - "doc": "The MIME type of the file.\n\nThis must fall within the supported MIME types for your file purpose. See the supported MIME types for assistants and vision.", + "name": "size", + "serializedName": "size", + "doc": "The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`, and one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3`.", "type": { - "$id": "7850", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "8016", + "kind": "nullable", + "type": { + "$ref": "1371" + }, + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.mime_type", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.size", "serializationOptions": { "json": { - "name": "mime_type" + "name": "size" } }, "isHttpMetadata": false - } - ] - }, - { - "$id": "7851", - "kind": "model", - "name": "Upload", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.Upload", - "usage": "Output,Json", - "doc": "The Upload object can accept byte chunks in the form of Parts.", - "decorators": [], - "properties": [ + }, { - "$id": "7852", + "$id": "8017", "kind": "property", - "name": "id", - "serializedName": "id", - "doc": "The Upload unique identifier, which can be referenced in API endpoints.", + "name": "moderation", + "serializedName": "moderation", + "doc": "Control the content-moderation level for images generated by `gpt-image-1`. Must be either `low` for less restrictive filtering or `auto` (default value).", "type": { - "$id": "7853", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "8018", + "kind": "nullable", + "type": { + "$ref": "1381" + }, + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.id", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.moderation", "serializationOptions": { "json": { - "name": "id" + "name": "moderation" } }, "isHttpMetadata": false }, { - "$id": "7854", + "$id": "8019", "kind": "property", - "name": "created_at", - "serializedName": "created_at", - "doc": "The Unix timestamp (in seconds) for when the Upload was created.", + "name": "background", + "serializedName": "background", + "doc": "Allows to set transparency for the background of the generated image(s).\n This parameter is only supported for `gpt-image-1`. Must be one of\n `transparent`, `opaque` or `auto` (default value). When `auto` is used, the\n model will automatically determine the best background for the image.\n\n If `transparent`, the output format needs to support transparency, so it\n should be set to either `png` (default value) or `webp`.", "type": { - "$id": "7855", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "7856", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "$id": "8020", + "kind": "nullable", + "type": { + "$ref": "1385" }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.created_at", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.background", "serializationOptions": { "json": { - "name": "created_at" + "name": "background" } }, "isHttpMetadata": false }, { - "$id": "7857", + "$id": "8021", "kind": "property", - "name": "filename", - "serializedName": "filename", - "doc": "The name of the file to be uploaded.", + "name": "style", + "serializedName": "style", + "doc": "The style of the generated images. This parameter is only supported for `dall-e-3`. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images.", "type": { - "$id": "7858", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "8022", + "kind": "nullable", + "type": { + "$ref": "1390" + }, + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.filename", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.style", "serializationOptions": { "json": { - "name": "filename" + "name": "style" } }, "isHttpMetadata": false }, { - "$id": "7859", + "$id": "8023", "kind": "property", - "name": "bytes", - "serializedName": "bytes", - "doc": "The intended number of bytes to be uploaded.", + "name": "user", + "serializedName": "user", + "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "7860", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", + "$id": "8024", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.bytes", + "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.user", "serializationOptions": { "json": { - "name": "bytes" + "name": "user" } }, "isHttpMetadata": false + } + ] + }, + { + "$id": "8025", + "kind": "model", + "name": "ImageGenStreamEvent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImageGenStreamEvent", + "usage": "Output", + "decorators": [], + "discriminatorProperty": { + "$id": "8026", + "kind": "property", + "name": "type", + "type": { + "$ref": "1394" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenStreamEvent.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "8026" + } + ], + "discriminatedSubtypes": { + "image_generation.completed": { + "$id": "8027", + "kind": "model", + "name": "ImageGenCompletedEvent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent", + "usage": "Output", + "doc": "Emitted when image generation has completed and the final image is available.", + "discriminatorValue": "image_generation.completed", + "decorators": [], + "baseModel": { + "$ref": "8025" + }, + "properties": [ + { + "$id": "8028", + "kind": "property", + "name": "type", + "doc": "The type of the event. Always `image_generation.completed`.", + "type": { + "$id": "8029", + "kind": "enumvalue", + "name": "image_generation.completed", + "value": "image_generation.completed", + "valueType": { + "$ref": "1395" + }, + "enumType": { + "$id": "8030", + "kind": "enum", + "decorators": [], + "name": "ImageGenStreamEventType", + "isGeneratedName": false, + "namespace": "OpenAI", + "valueType": { + "$id": "8031", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "8032", + "kind": "enumvalue", + "decorators": [], + "name": "image_generation.partial_image", + "value": "image_generation.partial_image", + "valueType": { + "$ref": "8031" + }, + "enumType": { + "$ref": "8030" + } + }, + { + "$id": "8033", + "kind": "enumvalue", + "decorators": [], + "name": "image_generation.completed", + "value": "image_generation.completed", + "valueType": { + "$ref": "8031" + }, + "enumType": { + "$ref": "8030" + } + } + ], + "isFixed": false, + "isFlags": false, + "usage": "Output", + "access": "public", + "crossLanguageDefinitionId": "OpenAI.ImageGenStreamEventType", + "apiVersions": [], + "isUnionAsEnum": true, + "__accessSet": true + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8034", + "kind": "property", + "name": "b64_json", + "doc": "Base64-encoded image data, suitable for rendering as an image.", + "type": { + "$id": "8035", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.b64_json", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8036", + "kind": "property", + "name": "created_at", + "doc": "The Unix timestamp when the event was created.", + "type": { + "$id": "8037", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.created_at", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8038", + "kind": "property", + "name": "size", + "doc": "The size of the generated image.", + "type": { + "$ref": "1398" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.size", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8039", + "kind": "property", + "name": "quality", + "doc": "The quality setting for the generated image.", + "type": { + "$ref": "1404" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.quality", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8040", + "kind": "property", + "name": "background", + "doc": "The background setting for the generated image.", + "type": { + "$ref": "1410" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.background", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8041", + "kind": "property", + "name": "output_format", + "doc": "The output format for the generated image.", + "type": { + "$ref": "1415" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.output_format", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8042", + "kind": "property", + "name": "usage", + "type": { + "$ref": "7968" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.usage", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] }, + "image_generation.partial_image": { + "$id": "8043", + "kind": "model", + "name": "ImageGenPartialImageEvent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent", + "usage": "Output", + "doc": "Emitted when a partial image is available during image generation streaming.", + "discriminatorValue": "image_generation.partial_image", + "decorators": [], + "baseModel": { + "$ref": "8025" + }, + "properties": [ + { + "$id": "8044", + "kind": "property", + "name": "type", + "doc": "The type of the event. Always `image_generation.partial_image`.", + "type": { + "$id": "8045", + "kind": "enumvalue", + "name": "image_generation.partial_image", + "value": "image_generation.partial_image", + "valueType": { + "$ref": "1395" + }, + "enumType": { + "$ref": "8030" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8046", + "kind": "property", + "name": "b64_json", + "doc": "Base64-encoded partial image data, suitable for rendering as an image.", + "type": { + "$id": "8047", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.b64_json", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8048", + "kind": "property", + "name": "created_at", + "doc": "The Unix timestamp when the event was created.", + "type": { + "$id": "8049", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.created_at", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8050", + "kind": "property", + "name": "size", + "doc": "The size of the requested image.", + "type": { + "$ref": "1420" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.size", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8051", + "kind": "property", + "name": "quality", + "doc": "The quality setting for the requested image.", + "type": { + "$ref": "1426" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.quality", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8052", + "kind": "property", + "name": "background", + "doc": "The background setting for the requested image.", + "type": { + "$ref": "1432" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.background", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8053", + "kind": "property", + "name": "output_format", + "doc": "The output format for the requested image.", + "type": { + "$ref": "1437" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.output_format", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "8054", + "kind": "property", + "name": "partial_image_index", + "doc": "0-based index for the partial image (streaming).", + "type": { + "$id": "8055", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.partial_image_index", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + } + } + }, + { + "$ref": "8027" + }, + { + "$ref": "8043" + }, + { + "$id": "8056", + "kind": "model", + "name": "CreateImageVariationRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest", + "usage": "Input,MultipartFormData", + "decorators": [], + "properties": [ { - "$id": "7861", + "$id": "8057", "kind": "property", - "name": "purpose", - "serializedName": "purpose", - "doc": "The intended purpose of the file. [Please refer here](/docs/api-reference/files/object#files/object-purpose) for acceptable values.", + "name": "image", + "serializedName": "image", + "doc": "The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.", "type": { - "$id": "7862", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "8058", + "kind": "bytes", + "name": "bytes", + "encode": "base64", + "crossLanguageDefinitionId": "TypeSpec.bytes", "decorators": [] }, "optional": false, @@ -103880,102 +106433,134 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.purpose", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.image", "serializationOptions": { - "json": { - "name": "purpose" + "multipart": { + "isFilePart": true, + "isMulti": false, + "defaultContentTypes": [ + "application/octet-stream" + ], + "name": "image", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7863", + "$id": "8059", "kind": "property", - "name": "status", - "serializedName": "status", - "doc": "The status of the Upload.", + "name": "model", + "serializedName": "model", + "doc": "The model to use for image generation. Only `dall-e-2` is supported at this time.", "type": { - "$ref": "1318" + "$id": "8060", + "kind": "nullable", + "type": { + "$ref": "1442" + }, + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.status", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.model", "serializationOptions": { - "json": { - "name": "status" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "model", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7864", + "$id": "8061", "kind": "property", - "name": "expires_at", - "serializedName": "expires_at", - "doc": "The Unix timestamp (in seconds) for when the Upload will expire.", + "name": "n", + "serializedName": "n", + "doc": "The number of images to generate. Must be between 1 and 10.", "type": { - "$id": "7865", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "7866", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", + "$id": "8062", + "kind": "nullable", + "type": { + "$id": "8063", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", "decorators": [] }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.expires_at", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.n", "serializationOptions": { - "json": { - "name": "expires_at" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "n", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7867", + "$id": "8064", "kind": "property", - "name": "object", - "serializedName": "object", - "doc": "The object type, which is always \"upload\".", + "name": "response_format", + "serializedName": "response_format", + "doc": "The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.", "type": { - "$ref": "1324" + "$id": "8065", + "kind": "nullable", + "type": { + "$ref": "1445" + }, + "namespace": "OpenAI" }, "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.object", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.response_format", "serializationOptions": { - "json": { - "name": "object" + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "response_format", + "headers": [] } }, "isHttpMetadata": false }, { - "$id": "7868", + "$id": "8066", "kind": "property", - "name": "file", - "serializedName": "file", + "name": "size", + "serializedName": "size", + "doc": "The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.", "type": { - "$id": "7869", + "$id": "8067", "kind": "nullable", "type": { - "$ref": "3448" + "$ref": "1449" }, "namespace": "OpenAI" }, @@ -103984,53 +106569,47 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Upload.file", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.size", "serializationOptions": { - "json": { - "name": "file" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "7870", - "kind": "model", - "name": "AddUploadPartRequest", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.AddUploadPartRequest", - "usage": "Input,MultipartFormData", - "decorators": [], - "properties": [ + "multipart": { + "isFilePart": false, + "isMulti": false, + "defaultContentTypes": [ + "application/json" + ], + "name": "size", + "headers": [] + } + }, + "isHttpMetadata": false + }, { - "$id": "7871", + "$id": "8068", "kind": "property", - "name": "data", - "serializedName": "data", - "doc": "The chunk of bytes for this Part.", + "name": "user", + "serializedName": "user", + "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "7872", - "kind": "bytes", - "name": "bytes", - "encode": "base64", - "crossLanguageDefinitionId": "TypeSpec.bytes", + "$id": "8069", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AddUploadPartRequest.data", + "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.user", "serializationOptions": { "multipart": { - "isFilePart": true, + "isFilePart": false, "isMulti": false, "defaultContentTypes": [ - "application/octet-stream" + "text/plain" ], - "name": "data", + "name": "user", "headers": [] } }, @@ -104039,60 +106618,166 @@ ] }, { - "$id": "7873", + "$id": "8070", "kind": "model", - "name": "UploadPart", + "name": "ListModelsResponse", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.UploadPart", + "crossLanguageDefinitionId": "OpenAI.ListModelsResponse", "usage": "Output,Json", - "doc": "The upload Part represents a chunk of bytes we can add to an Upload object.", "decorators": [], "properties": [ { - "$id": "7874", + "$id": "8071", "kind": "property", - "name": "id", - "serializedName": "id", - "doc": "The upload Part unique identifier, which can be referenced in API endpoints.", + "name": "object", + "serializedName": "object", "type": { - "$id": "7875", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "1876" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.UploadPart.id", + "crossLanguageDefinitionId": "OpenAI.ListModelsResponse.object", "serializationOptions": { "json": { - "name": "id" + "name": "object" } }, "isHttpMetadata": false }, { - "$id": "7876", + "$id": "8072", "kind": "property", - "name": "created_at", - "serializedName": "created_at", - "doc": "The Unix timestamp (in seconds) for when the Part was created.", + "name": "Items", + "serializedName": "data", "type": { - "$id": "7877", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "unixTimestamp", - "wireType": { - "$id": "7878", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "$id": "8073", + "kind": "array", + "name": "ArrayModel", + "valueType": { + "$id": "8074", + "kind": "model", + "name": "Model", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.Model", + "usage": "Output,Json", + "doc": "Describes an OpenAI model offering that can be used with the API.", + "summary": "Model", + "decorators": [], + "properties": [ + { + "$id": "8075", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The model identifier, which can be referenced in the API endpoints.", + "type": { + "$id": "8076", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Model.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "8077", + "kind": "property", + "name": "created", + "serializedName": "created", + "doc": "The Unix timestamp (in seconds) when the model was created.", + "type": { + "$id": "8078", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "unixTimestamp", + "wireType": { + "$id": "8079", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Model.created", + "serializationOptions": { + "json": { + "name": "created" + } + }, + "isHttpMetadata": false + }, + { + "$id": "8080", + "kind": "property", + "name": "object", + "serializedName": "object", + "doc": "The object type, which is always \"model\".", + "type": { + "$ref": "1878" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Model.object", + "serializationOptions": { + "json": { + "name": "object" + } + }, + "isHttpMetadata": false + }, + { + "$id": "8081", + "kind": "property", + "name": "owned_by", + "serializedName": "owned_by", + "doc": "The organization that owns the model.", + "type": { + "$id": "8082", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Model.owned_by", + "serializationOptions": { + "json": { + "name": "owned_by" + } + }, + "isHttpMetadata": false + } + ] }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, "optional": false, @@ -104100,22 +106785,35 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.UploadPart.created_at", + "crossLanguageDefinitionId": "OpenAI.ListModelsResponse.data", "serializationOptions": { "json": { - "name": "created_at" + "name": "data" } }, "isHttpMetadata": false - }, + } + ] + }, + { + "$ref": "8074" + }, + { + "$id": "8083", + "kind": "model", + "name": "DeleteModelResponse", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.DeleteModelResponse", + "usage": "Output,Json", + "decorators": [], + "properties": [ { - "$id": "7879", + "$id": "8084", "kind": "property", - "name": "upload_id", - "serializedName": "upload_id", - "doc": "The ID of the Upload object that this Part was added to.", + "name": "id", + "serializedName": "id", "type": { - "$id": "7880", + "$id": "8085", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104126,91 +106824,60 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.UploadPart.upload_id", + "crossLanguageDefinitionId": "OpenAI.DeleteModelResponse.id", "serializationOptions": { "json": { - "name": "upload_id" + "name": "id" } }, "isHttpMetadata": false }, { - "$id": "7881", - "kind": "property", - "name": "object", - "serializedName": "object", - "doc": "The object type, which is always `upload.part`.", - "type": { - "$ref": "1754" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.UploadPart.object", - "serializationOptions": { - "json": { - "name": "object" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "7882", - "kind": "model", - "name": "CompleteUploadRequest", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CompleteUploadRequest", - "usage": "Input,Json", - "decorators": [], - "properties": [ - { - "$id": "7883", + "$id": "8086", "kind": "property", - "name": "part_ids", - "serializedName": "part_ids", - "doc": "The ordered list of Part IDs.", + "name": "deleted", + "serializedName": "deleted", "type": { - "$ref": "2438" + "$id": "8087", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CompleteUploadRequest.part_ids", + "crossLanguageDefinitionId": "OpenAI.DeleteModelResponse.deleted", "serializationOptions": { "json": { - "name": "part_ids" + "name": "deleted" } }, "isHttpMetadata": false }, { - "$id": "7884", + "$id": "8088", "kind": "property", - "name": "md5", - "serializedName": "md5", - "doc": "The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect.", + "name": "object", + "serializedName": "object", "type": { - "$id": "7885", + "$id": "8089", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CompleteUploadRequest.md5", + "crossLanguageDefinitionId": "OpenAI.DeleteModelResponse.object", "serializationOptions": { "json": { - "name": "md5" + "name": "object" } }, "isHttpMetadata": false @@ -104218,7 +106885,7 @@ ] }, { - "$id": "7886", + "$id": "8090", "kind": "model", "name": "BatchRequestInput", "namespace": "OpenAI", @@ -104229,12 +106896,12 @@ "decorators": [], "properties": [ { - "$id": "7887", + "$id": "8091", "kind": "property", "name": "custom_id", "doc": "A developer-provided per-request id that will be used to match outputs to inputs. Must be unique for each request in a batch.", "type": { - "$id": "7888", + "$id": "8092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104250,12 +106917,12 @@ "isHttpMetadata": false }, { - "$id": "7889", + "$id": "8093", "kind": "property", "name": "method", "doc": "The HTTP method to be used for the request. Currently only `POST` is supported.", "type": { - "$ref": "1328" + "$ref": "1454" }, "optional": true, "readOnly": false, @@ -104267,12 +106934,12 @@ "isHttpMetadata": false }, { - "$id": "7890", + "$id": "8094", "kind": "property", "name": "url", "doc": "The OpenAI API relative URL to be used for the request. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported.", "type": { - "$id": "7891", + "$id": "8095", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -104290,7 +106957,7 @@ ] }, { - "$id": "7892", + "$id": "8096", "kind": "model", "name": "BatchRequestOutput", "namespace": "OpenAI", @@ -104301,11 +106968,11 @@ "decorators": [], "properties": [ { - "$id": "7893", + "$id": "8097", "kind": "property", "name": "id", "type": { - "$id": "7894", + "$id": "8098", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104321,12 +106988,12 @@ "isHttpMetadata": false }, { - "$id": "7895", + "$id": "8099", "kind": "property", "name": "custom_id", "doc": "A developer-provided per-request id that will be used to match outputs to inputs.", "type": { - "$id": "7896", + "$id": "8100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104342,14 +107009,14 @@ "isHttpMetadata": false }, { - "$id": "7897", + "$id": "8101", "kind": "property", "name": "response", "type": { - "$id": "7898", + "$id": "8102", "kind": "nullable", "type": { - "$id": "7899", + "$id": "8103", "kind": "model", "name": "BatchRequestOutputResponse1", "namespace": "OpenAI", @@ -104358,12 +107025,12 @@ "decorators": [], "properties": [ { - "$id": "7900", + "$id": "8104", "kind": "property", "name": "status_code", "doc": "The HTTP status code of the response", "type": { - "$id": "7901", + "$id": "8105", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -104379,12 +107046,12 @@ "isHttpMetadata": false }, { - "$id": "7902", + "$id": "8106", "kind": "property", "name": "request_id", "doc": "An unique identifier for the OpenAI API request. Please include this request ID when contacting support.", "type": { - "$id": "7903", + "$id": "8107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104400,12 +107067,12 @@ "isHttpMetadata": false }, { - "$id": "7904", + "$id": "8108", "kind": "property", "name": "body", "doc": "The JSON body of the response", "type": { - "$ref": "3948" + "$ref": "4026" }, "optional": true, "readOnly": false, @@ -104430,15 +107097,15 @@ "isHttpMetadata": false }, { - "$id": "7905", + "$id": "8109", "kind": "property", "name": "error", "doc": "For requests that failed with a non-HTTP error, this will contain more information on the cause of the failure.", "type": { - "$id": "7906", + "$id": "8110", "kind": "nullable", "type": { - "$id": "7907", + "$id": "8111", "kind": "model", "name": "BatchRequestOutputError1", "namespace": "OpenAI", @@ -104447,12 +107114,12 @@ "decorators": [], "properties": [ { - "$id": "7908", + "$id": "8112", "kind": "property", "name": "code", "doc": "A machine-readable error code.", "type": { - "$id": "7909", + "$id": "8113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104468,12 +107135,12 @@ "isHttpMetadata": false }, { - "$id": "7910", + "$id": "8114", "kind": "property", "name": "message", "doc": "A human-readable error message.", "type": { - "$id": "7911", + "$id": "8115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104504,13 +107171,13 @@ ] }, { - "$ref": "7899" + "$ref": "8103" }, { - "$ref": "7907" + "$ref": "8111" }, { - "$id": "7912", + "$id": "8116", "kind": "model", "name": "ChatCompletionFunctionChoice", "namespace": "OpenAI", @@ -104526,7 +107193,7 @@ "properties": [] }, { - "$id": "7913", + "$id": "8117", "kind": "model", "name": "ChatCompletionToolChoice", "namespace": "OpenAI", @@ -104542,7 +107209,7 @@ "properties": [] }, { - "$id": "7914", + "$id": "8118", "kind": "model", "name": "FineTuneChatCompletionRequestAssistantMessage", "namespace": "OpenAI", @@ -104551,12 +107218,12 @@ "decorators": [], "properties": [ { - "$id": "7915", + "$id": "8119", "kind": "property", "name": "weight", "doc": "Controls whether the assistant message is trained against (0 or 1)", "type": { - "$ref": "1332" + "$ref": "1458" }, "optional": true, "readOnly": false, @@ -104568,12 +107235,12 @@ "isHttpMetadata": false }, { - "$id": "7916", + "$id": "8120", "kind": "property", "name": "content", "doc": "The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.", "type": { - "$ref": "3076" + "$ref": "3186" }, "optional": true, "readOnly": false, @@ -104585,12 +107252,12 @@ "isHttpMetadata": false }, { - "$id": "7917", + "$id": "8121", "kind": "property", "name": "refusal", "doc": "The refusal message by the assistant.", "type": { - "$ref": "3082" + "$ref": "3192" }, "optional": true, "readOnly": false, @@ -104602,12 +107269,12 @@ "isHttpMetadata": false }, { - "$id": "7918", + "$id": "8122", "kind": "property", "name": "role", "doc": "The role of the messages author, in this case `assistant`.", "type": { - "$id": "7919", + "$id": "8123", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -104615,7 +107282,7 @@ "$ref": "154" }, "enumType": { - "$ref": "2885" + "$ref": "2995" }, "decorators": [] }, @@ -104629,12 +107296,12 @@ "isHttpMetadata": false }, { - "$id": "7920", + "$id": "8124", "kind": "property", "name": "name", "doc": "An optional name for the participant. Provides the model information to differentiate between participants of the same role.", "type": { - "$id": "7921", + "$id": "8125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104650,12 +107317,12 @@ "isHttpMetadata": false }, { - "$id": "7922", + "$id": "8126", "kind": "property", "name": "audio", "doc": "Data about a previous audio response from the model.\n[Learn more](/docs/guides/audio).", "type": { - "$ref": "3089" + "$ref": "3199" }, "optional": true, "readOnly": false, @@ -104667,11 +107334,11 @@ "isHttpMetadata": false }, { - "$id": "7923", + "$id": "8127", "kind": "property", "name": "tool_calls", "type": { - "$ref": "2854" + "$ref": "2964" }, "optional": true, "readOnly": false, @@ -104683,12 +107350,12 @@ "isHttpMetadata": false }, { - "$id": "7924", + "$id": "8128", "kind": "property", "name": "function_call", "doc": "Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.", "type": { - "$ref": "3095" + "$ref": "3205" }, "optional": true, "readOnly": false, @@ -104702,7 +107369,7 @@ ] }, { - "$id": "7925", + "$id": "8129", "kind": "model", "name": "FineTuneChatRequestInput", "namespace": "OpenAI", @@ -104713,32 +107380,32 @@ "decorators": [], "properties": [ { - "$id": "7926", + "$id": "8130", "kind": "property", "name": "messages", "type": { - "$id": "7927", + "$id": "8131", "kind": "array", "name": "Array46", "valueType": { - "$id": "7928", + "$id": "8132", "kind": "union", "name": "FineTuneChatRequestInputMessage", "variantTypes": [ { - "$ref": "3045" + "$ref": "3155" }, { - "$ref": "3064" + "$ref": "3174" }, { - "$ref": "7914" + "$ref": "8118" }, { - "$ref": "3101" + "$ref": "3211" }, { - "$ref": "3111" + "$ref": "3221" } ], "namespace": "OpenAI", @@ -104757,12 +107424,12 @@ "isHttpMetadata": false }, { - "$id": "7929", + "$id": "8133", "kind": "property", "name": "tools", "doc": "A list of tools the model may generate JSON inputs for.", "type": { - "$ref": "3203" + "$ref": "3313" }, "optional": true, "readOnly": false, @@ -104774,16 +107441,16 @@ "isHttpMetadata": false }, { - "$id": "7930", + "$id": "8134", "kind": "property", "name": "parallel_tool_calls", "type": { - "$id": "7931", + "$id": "8135", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "7932", + "$id": "8136", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -104801,12 +107468,12 @@ "isHttpMetadata": false }, { - "$id": "7933", + "$id": "8137", "kind": "property", "name": "functions", "doc": "A list of functions the model may generate JSON inputs for.", "type": { - "$ref": "3228" + "$ref": "3338" }, "optional": true, "readOnly": false, @@ -104820,7 +107487,7 @@ ] }, { - "$id": "7934", + "$id": "8138", "kind": "model", "name": "FineTuningJobsPageToken", "namespace": "OpenAI", @@ -104830,11 +107497,11 @@ "decorators": [], "properties": [ { - "$id": "7935", + "$id": "8139", "kind": "property", "name": "limit", "type": { - "$id": "7936", + "$id": "8140", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -104850,11 +107517,11 @@ "isHttpMetadata": false }, { - "$id": "7937", + "$id": "8141", "kind": "property", "name": "after", "type": { - "$id": "7938", + "$id": "8142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104872,7 +107539,7 @@ ] }, { - "$id": "7939", + "$id": "8143", "kind": "model", "name": "MessageDeltaContent", "namespace": "OpenAI", @@ -104882,12 +107549,12 @@ "doc": "Represents a single piece of incremental content in an Assistants API streaming response.", "decorators": [], "discriminatorProperty": { - "$id": "7940", + "$id": "8144", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the content item.", "type": { - "$ref": "920" + "$ref": "826" }, "optional": false, "readOnly": false, @@ -104900,12 +107567,12 @@ }, "properties": [ { - "$ref": "7940" + "$ref": "8144" } ], "discriminatedSubtypes": { "image_file": { - "$id": "7941", + "$id": "8145", "kind": "model", "name": "MessageDeltaContentImageFileObject", "namespace": "OpenAI", @@ -104916,16 +107583,16 @@ "discriminatorValue": "image_file", "decorators": [], "baseModel": { - "$ref": "7939" + "$ref": "8143" }, "properties": [ { - "$id": "7942", + "$id": "8146", "kind": "property", "name": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "7943", + "$id": "8147", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -104941,12 +107608,12 @@ "isHttpMetadata": false }, { - "$id": "7944", + "$id": "8148", "kind": "property", "name": "type", "doc": "Always `image_file`.", "type": { - "$ref": "5975" + "$ref": "5958" }, "optional": false, "readOnly": false, @@ -104958,11 +107625,11 @@ "isHttpMetadata": false }, { - "$id": "7945", + "$id": "8149", "kind": "property", "name": "image_file", "type": { - "$id": "7946", + "$id": "8150", "kind": "model", "name": "MessageDeltaContentImageFileObjectImageFile", "namespace": "OpenAI", @@ -104971,12 +107638,12 @@ "decorators": [], "properties": [ { - "$id": "7947", + "$id": "8151", "kind": "property", "name": "file_id", "doc": "The [File](/docs/api-reference/files) ID of the image in the message content. Set `purpose=\"vision\"` when uploading the File if you need to later display the file content.", "type": { - "$id": "7948", + "$id": "8152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104992,12 +107659,12 @@ "isHttpMetadata": false }, { - "$id": "7949", + "$id": "8153", "kind": "property", "name": "detail", "doc": "Specifies the detail level of the image if specified by the user. `low` uses fewer tokens, you can opt in to high resolution using `high`.", "type": { - "$ref": "1336" + "$ref": "1462" }, "optional": true, "readOnly": false, @@ -105022,7 +107689,7 @@ ] }, "image_url": { - "$id": "7950", + "$id": "8154", "kind": "model", "name": "MessageDeltaContentImageUrlObject", "namespace": "OpenAI", @@ -105033,16 +107700,16 @@ "discriminatorValue": "image_url", "decorators": [], "baseModel": { - "$ref": "7939" + "$ref": "8143" }, "properties": [ { - "$id": "7951", + "$id": "8155", "kind": "property", "name": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "7952", + "$id": "8156", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105058,12 +107725,12 @@ "isHttpMetadata": false }, { - "$id": "7953", + "$id": "8157", "kind": "property", "name": "type", "doc": "Always `image_url`.", "type": { - "$ref": "6037" + "$ref": "6020" }, "optional": false, "readOnly": false, @@ -105075,11 +107742,11 @@ "isHttpMetadata": false }, { - "$id": "7954", + "$id": "8158", "kind": "property", "name": "image_url", "type": { - "$id": "7955", + "$id": "8159", "kind": "model", "name": "MessageDeltaContentImageUrlObjectImageUrl", "namespace": "OpenAI", @@ -105088,12 +107755,12 @@ "decorators": [], "properties": [ { - "$id": "7956", + "$id": "8160", "kind": "property", "name": "url", "doc": "The URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.", "type": { - "$id": "7957", + "$id": "8161", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -105109,12 +107776,12 @@ "isHttpMetadata": false }, { - "$id": "7958", + "$id": "8162", "kind": "property", "name": "detail", "doc": "Specifies the detail level of the image. `low` uses fewer tokens, you can opt in to high resolution using `high`.", "type": { - "$ref": "1341" + "$ref": "1467" }, "optional": true, "readOnly": false, @@ -105139,7 +107806,7 @@ ] }, "text": { - "$id": "7959", + "$id": "8163", "kind": "model", "name": "MessageDeltaContentTextObject", "namespace": "OpenAI", @@ -105150,16 +107817,16 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "7939" + "$ref": "8143" }, "properties": [ { - "$id": "7960", + "$id": "8164", "kind": "property", "name": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "7961", + "$id": "8165", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105175,12 +107842,12 @@ "isHttpMetadata": false }, { - "$id": "7962", + "$id": "8166", "kind": "property", "name": "type", "doc": "Always `text`.", "type": { - "$ref": "5989" + "$ref": "5972" }, "optional": false, "readOnly": false, @@ -105192,11 +107859,11 @@ "isHttpMetadata": false }, { - "$id": "7963", + "$id": "8167", "kind": "property", "name": "text", "type": { - "$id": "7964", + "$id": "8168", "kind": "model", "name": "MessageDeltaContentTextObjectText", "namespace": "OpenAI", @@ -105205,12 +107872,12 @@ "decorators": [], "properties": [ { - "$id": "7965", + "$id": "8169", "kind": "property", "name": "value", "doc": "The data that makes up the text.", "type": { - "$id": "7966", + "$id": "8170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105226,15 +107893,15 @@ "isHttpMetadata": false }, { - "$id": "7967", + "$id": "8171", "kind": "property", "name": "annotations", "type": { - "$id": "7968", + "$id": "8172", "kind": "array", "name": "ArrayMessageDeltaTextContentAnnotation", "valueType": { - "$id": "7969", + "$id": "8173", "kind": "model", "name": "MessageDeltaTextContentAnnotation", "namespace": "OpenAI", @@ -105243,12 +107910,12 @@ "usage": "Output", "decorators": [], "discriminatorProperty": { - "$id": "7970", + "$id": "8174", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the content item.", "type": { - "$ref": "931" + "$ref": "837" }, "optional": false, "readOnly": false, @@ -105261,12 +107928,12 @@ }, "properties": [ { - "$ref": "7970" + "$ref": "8174" } ], "discriminatedSubtypes": { "file_citation": { - "$id": "7971", + "$id": "8175", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFileCitationObject", "namespace": "OpenAI", @@ -105277,16 +107944,16 @@ "discriminatorValue": "file_citation", "decorators": [], "baseModel": { - "$ref": "7969" + "$ref": "8173" }, "properties": [ { - "$id": "7972", + "$id": "8176", "kind": "property", "name": "index", "doc": "The index of the annotation in the text content part.", "type": { - "$id": "7973", + "$id": "8177", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105302,12 +107969,12 @@ "isHttpMetadata": false }, { - "$id": "7974", + "$id": "8178", "kind": "property", "name": "type", "doc": "Always `file_citation`.", "type": { - "$ref": "6002" + "$ref": "5985" }, "optional": false, "readOnly": false, @@ -105319,12 +107986,12 @@ "isHttpMetadata": false }, { - "$id": "7975", + "$id": "8179", "kind": "property", "name": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "7976", + "$id": "8180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105340,11 +108007,11 @@ "isHttpMetadata": false }, { - "$id": "7977", + "$id": "8181", "kind": "property", "name": "file_citation", "type": { - "$id": "7978", + "$id": "8182", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation", "namespace": "OpenAI", @@ -105353,12 +108020,12 @@ "decorators": [], "properties": [ { - "$id": "7979", + "$id": "8183", "kind": "property", "name": "file_id", "doc": "The ID of the specific File the citation is from.", "type": { - "$id": "7980", + "$id": "8184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105374,12 +108041,12 @@ "isHttpMetadata": false }, { - "$id": "7981", + "$id": "8185", "kind": "property", "name": "quote", "doc": "The specific quote in the file.", "type": { - "$id": "7982", + "$id": "8186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105406,11 +108073,11 @@ "isHttpMetadata": false }, { - "$id": "7983", + "$id": "8187", "kind": "property", "name": "start_index", "type": { - "$id": "7984", + "$id": "8188", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105426,11 +108093,11 @@ "isHttpMetadata": false }, { - "$id": "7985", + "$id": "8189", "kind": "property", "name": "end_index", "type": { - "$id": "7986", + "$id": "8190", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105448,7 +108115,7 @@ ] }, "file_path": { - "$id": "7987", + "$id": "8191", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFilePathObject", "namespace": "OpenAI", @@ -105459,16 +108126,16 @@ "discriminatorValue": "file_path", "decorators": [], "baseModel": { - "$ref": "7969" + "$ref": "8173" }, "properties": [ { - "$id": "7988", + "$id": "8192", "kind": "property", "name": "index", "doc": "The index of the annotation in the text content part.", "type": { - "$id": "7989", + "$id": "8193", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105484,12 +108151,12 @@ "isHttpMetadata": false }, { - "$id": "7990", + "$id": "8194", "kind": "property", "name": "type", "doc": "Always `file_path`.", "type": { - "$ref": "6019" + "$ref": "6002" }, "optional": false, "readOnly": false, @@ -105501,12 +108168,12 @@ "isHttpMetadata": false }, { - "$id": "7991", + "$id": "8195", "kind": "property", "name": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "7992", + "$id": "8196", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105522,11 +108189,11 @@ "isHttpMetadata": false }, { - "$id": "7993", + "$id": "8197", "kind": "property", "name": "file_path", "type": { - "$id": "7994", + "$id": "8198", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFilePathObjectFilePath", "namespace": "OpenAI", @@ -105535,12 +108202,12 @@ "decorators": [], "properties": [ { - "$id": "7995", + "$id": "8199", "kind": "property", "name": "file_id", "doc": "The ID of the file that was generated.", "type": { - "$id": "7996", + "$id": "8200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105567,11 +108234,11 @@ "isHttpMetadata": false }, { - "$id": "7997", + "$id": "8201", "kind": "property", "name": "start_index", "type": { - "$id": "7998", + "$id": "8202", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105587,11 +108254,11 @@ "isHttpMetadata": false }, { - "$id": "7999", + "$id": "8203", "kind": "property", "name": "end_index", "type": { - "$id": "8000", + "$id": "8204", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105636,7 +108303,7 @@ ] }, "refusal": { - "$id": "8001", + "$id": "8205", "kind": "model", "name": "MessageDeltaContentRefusalObject", "namespace": "OpenAI", @@ -105646,16 +108313,16 @@ "discriminatorValue": "refusal", "decorators": [], "baseModel": { - "$ref": "7939" + "$ref": "8143" }, "properties": [ { - "$id": "8002", + "$id": "8206", "kind": "property", "name": "index", "doc": "The index of the refusal part in the message.", "type": { - "$id": "8003", + "$id": "8207", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105671,12 +108338,12 @@ "isHttpMetadata": false }, { - "$id": "8004", + "$id": "8208", "kind": "property", "name": "type", "doc": "Always `refusal`.", "type": { - "$ref": "6032" + "$ref": "6015" }, "optional": false, "readOnly": false, @@ -105688,11 +108355,11 @@ "isHttpMetadata": false }, { - "$id": "8005", + "$id": "8209", "kind": "property", "name": "refusal", "type": { - "$id": "8006", + "$id": "8210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105712,43 +108379,43 @@ } }, { - "$ref": "7941" + "$ref": "8145" }, { - "$ref": "7946" + "$ref": "8150" }, { - "$ref": "7950" + "$ref": "8154" }, { - "$ref": "7955" + "$ref": "8159" }, { - "$ref": "7959" + "$ref": "8163" }, { - "$ref": "7964" + "$ref": "8168" }, { - "$ref": "7969" + "$ref": "8173" }, { - "$ref": "7971" + "$ref": "8175" }, { - "$ref": "7978" + "$ref": "8182" }, { - "$ref": "7987" + "$ref": "8191" }, { - "$ref": "7994" + "$ref": "8198" }, { - "$ref": "8001" + "$ref": "8205" }, { - "$id": "8007", + "$id": "8211", "kind": "model", "name": "MessageDeltaObject", "namespace": "OpenAI", @@ -105759,12 +108426,12 @@ "decorators": [], "properties": [ { - "$id": "8008", + "$id": "8212", "kind": "property", "name": "id", "doc": "The identifier of the message, which can be referenced in API endpoints.", "type": { - "$id": "8009", + "$id": "8213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105780,12 +108447,12 @@ "isHttpMetadata": false }, { - "$id": "8010", + "$id": "8214", "kind": "property", "name": "object", "doc": "The object type, which is always `thread.message.delta`.", "type": { - "$ref": "1756" + "$ref": "1880" }, "optional": false, "readOnly": false, @@ -105797,12 +108464,12 @@ "isHttpMetadata": false }, { - "$id": "8011", + "$id": "8215", "kind": "property", "name": "delta", "doc": "The delta containing the fields that have changed on the Message.", "type": { - "$id": "8012", + "$id": "8216", "kind": "model", "name": "MessageDeltaObjectDelta", "namespace": "OpenAI", @@ -105811,12 +108478,12 @@ "decorators": [], "properties": [ { - "$id": "8013", + "$id": "8217", "kind": "property", "name": "role", "doc": "The entity that produced the message. One of `user` or `assistant`.", "type": { - "$ref": "1346" + "$ref": "1472" }, "optional": true, "readOnly": false, @@ -105828,16 +108495,16 @@ "isHttpMetadata": false }, { - "$id": "8014", + "$id": "8218", "kind": "property", "name": "content", "doc": "The content of the message in array of text and/or images.", "type": { - "$id": "8015", + "$id": "8219", "kind": "array", "name": "ArrayMessageDeltaContent", "valueType": { - "$ref": "7939" + "$ref": "8143" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -105865,10 +108532,10 @@ ] }, { - "$ref": "8012" + "$ref": "8216" }, { - "$id": "8016", + "$id": "8220", "kind": "model", "name": "RunStepDeltaObject", "namespace": "OpenAI", @@ -105879,12 +108546,12 @@ "decorators": [], "properties": [ { - "$id": "8017", + "$id": "8221", "kind": "property", "name": "id", "doc": "The identifier of the run step, which can be referenced in API endpoints.", "type": { - "$id": "8018", + "$id": "8222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105900,12 +108567,12 @@ "isHttpMetadata": false }, { - "$id": "8019", + "$id": "8223", "kind": "property", "name": "object", "doc": "The object type, which is always `thread.run.step.delta`.", "type": { - "$ref": "1758" + "$ref": "1882" }, "optional": false, "readOnly": false, @@ -105917,12 +108584,12 @@ "isHttpMetadata": false }, { - "$id": "8020", + "$id": "8224", "kind": "property", "name": "delta", "doc": "The delta containing the fields that have changed on the run step.", "type": { - "$id": "8021", + "$id": "8225", "kind": "model", "name": "RunStepDeltaObjectDelta", "namespace": "OpenAI", @@ -105931,12 +108598,12 @@ "decorators": [], "properties": [ { - "$id": "8022", + "$id": "8226", "kind": "property", "name": "step_details", "doc": "The details of the run step.", "type": { - "$id": "8023", + "$id": "8227", "kind": "model", "name": "RunStepDeltaStepDetails", "namespace": "OpenAI", @@ -105944,12 +108611,12 @@ "usage": "Output", "decorators": [], "discriminatorProperty": { - "$id": "8024", + "$id": "8228", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "1041" + "$ref": "947" }, "optional": false, "readOnly": false, @@ -105962,12 +108629,12 @@ }, "properties": [ { - "$ref": "8024" + "$ref": "8228" } ], "discriminatedSubtypes": { "message_creation": { - "$id": "8025", + "$id": "8229", "kind": "model", "name": "RunStepDeltaStepDetailsMessageCreationObject", "namespace": "OpenAI", @@ -105978,16 +108645,16 @@ "discriminatorValue": "message_creation", "decorators": [], "baseModel": { - "$ref": "8023" + "$ref": "8227" }, "properties": [ { - "$id": "8026", + "$id": "8230", "kind": "property", "name": "type", "doc": "Always `message_creation`.", "type": { - "$ref": "6481" + "$ref": "6464" }, "optional": false, "readOnly": false, @@ -105999,11 +108666,11 @@ "isHttpMetadata": false }, { - "$id": "8027", + "$id": "8231", "kind": "property", "name": "message_creation", "type": { - "$id": "8028", + "$id": "8232", "kind": "model", "name": "RunStepDeltaStepDetailsMessageCreationObjectMessageCreation", "namespace": "OpenAI", @@ -106012,12 +108679,12 @@ "decorators": [], "properties": [ { - "$id": "8029", + "$id": "8233", "kind": "property", "name": "message_id", "doc": "The ID of the message that was created by this run step.", "type": { - "$id": "8030", + "$id": "8234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106046,7 +108713,7 @@ ] }, "tool_calls": { - "$id": "8031", + "$id": "8235", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsObject", "namespace": "OpenAI", @@ -106057,16 +108724,16 @@ "discriminatorValue": "tool_calls", "decorators": [], "baseModel": { - "$ref": "8023" + "$ref": "8227" }, "properties": [ { - "$id": "8032", + "$id": "8236", "kind": "property", "name": "type", "doc": "Always `tool_calls`.", "type": { - "$ref": "6492" + "$ref": "6475" }, "optional": false, "readOnly": false, @@ -106078,16 +108745,16 @@ "isHttpMetadata": false }, { - "$id": "8033", + "$id": "8237", "kind": "property", "name": "tool_calls", "doc": "An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `file_search`, or `function`.", "type": { - "$id": "8034", + "$id": "8238", "kind": "array", "name": "ArrayRunStepDeltaStepDetailsToolCallsObjectToolCallsObject", "valueType": { - "$id": "8035", + "$id": "8239", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsObjectToolCallsObject", "namespace": "OpenAI", @@ -106096,12 +108763,12 @@ "doc": "Abstractly represents a run step tool call details inner object.", "decorators": [], "discriminatorProperty": { - "$id": "8036", + "$id": "8240", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "1045" + "$ref": "951" }, "optional": false, "readOnly": false, @@ -106114,12 +108781,12 @@ }, "properties": [ { - "$ref": "8036" + "$ref": "8240" } ], "discriminatedSubtypes": { "code_interpreter": { - "$id": "8037", + "$id": "8241", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObject", "namespace": "OpenAI", @@ -106130,16 +108797,16 @@ "discriminatorValue": "code_interpreter", "decorators": [], "baseModel": { - "$ref": "8035" + "$ref": "8239" }, "properties": [ { - "$id": "8038", + "$id": "8242", "kind": "property", "name": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "8039", + "$id": "8243", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106155,12 +108822,12 @@ "isHttpMetadata": false }, { - "$id": "8040", + "$id": "8244", "kind": "property", "name": "id", "doc": "The ID of the tool call.", "type": { - "$id": "8041", + "$id": "8245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106176,12 +108843,12 @@ "isHttpMetadata": false }, { - "$id": "8042", + "$id": "8246", "kind": "property", "name": "type", "doc": "The type of tool call. This is always going to be `code_interpreter` for this type of tool call.", "type": { - "$ref": "6501" + "$ref": "6484" }, "optional": false, "readOnly": false, @@ -106193,12 +108860,12 @@ "isHttpMetadata": false }, { - "$id": "8043", + "$id": "8247", "kind": "property", "name": "code_interpreter", "doc": "The Code Interpreter tool call definition.", "type": { - "$id": "8044", + "$id": "8248", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter", "namespace": "OpenAI", @@ -106207,12 +108874,12 @@ "decorators": [], "properties": [ { - "$id": "8045", + "$id": "8249", "kind": "property", "name": "input", "doc": "The input to the Code Interpreter tool call.", "type": { - "$id": "8046", + "$id": "8250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106228,16 +108895,16 @@ "isHttpMetadata": false }, { - "$id": "8047", + "$id": "8251", "kind": "property", "name": "outputs", "doc": "The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (`logs`) or images (`image`). Each of these are represented by a different object type.", "type": { - "$id": "8048", + "$id": "8252", "kind": "array", "name": "ArrayRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "valueType": { - "$id": "8049", + "$id": "8253", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "namespace": "OpenAI", @@ -106246,12 +108913,12 @@ "doc": "Abstractly represents a run step tool call details code interpreter output.", "decorators": [], "discriminatorProperty": { - "$id": "8050", + "$id": "8254", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "1050" + "$ref": "956" }, "optional": false, "readOnly": false, @@ -106264,12 +108931,12 @@ }, "properties": [ { - "$ref": "8050" + "$ref": "8254" } ], "discriminatedSubtypes": { "logs": { - "$id": "8051", + "$id": "8255", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject", "namespace": "OpenAI", @@ -106280,16 +108947,16 @@ "discriminatorValue": "logs", "decorators": [], "baseModel": { - "$ref": "8049" + "$ref": "8253" }, "properties": [ { - "$id": "8052", + "$id": "8256", "kind": "property", "name": "index", "doc": "The index of the output in the outputs array.", "type": { - "$id": "8053", + "$id": "8257", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106305,12 +108972,12 @@ "isHttpMetadata": false }, { - "$id": "8054", + "$id": "8258", "kind": "property", "name": "type", "doc": "Always `logs`.", "type": { - "$ref": "6517" + "$ref": "6500" }, "optional": false, "readOnly": false, @@ -106322,12 +108989,12 @@ "isHttpMetadata": false }, { - "$id": "8055", + "$id": "8259", "kind": "property", "name": "logs", "doc": "The text output from the Code Interpreter tool call.", "type": { - "$id": "8056", + "$id": "8260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106345,7 +109012,7 @@ ] }, "image": { - "$id": "8057", + "$id": "8261", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputImageObject", "namespace": "OpenAI", @@ -106355,16 +109022,16 @@ "discriminatorValue": "image", "decorators": [], "baseModel": { - "$ref": "8049" + "$ref": "8253" }, "properties": [ { - "$id": "8058", + "$id": "8262", "kind": "property", "name": "index", "doc": "The index of the output in the outputs array.", "type": { - "$id": "8059", + "$id": "8263", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106380,12 +109047,12 @@ "isHttpMetadata": false }, { - "$id": "8060", + "$id": "8264", "kind": "property", "name": "type", "doc": "Always `image`.", "type": { - "$ref": "6526" + "$ref": "6509" }, "optional": false, "readOnly": false, @@ -106397,11 +109064,11 @@ "isHttpMetadata": false }, { - "$id": "8061", + "$id": "8265", "kind": "property", "name": "image", "type": { - "$id": "8062", + "$id": "8266", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage", "namespace": "OpenAI", @@ -106410,12 +109077,12 @@ "decorators": [], "properties": [ { - "$id": "8063", + "$id": "8267", "kind": "property", "name": "file_id", "doc": "The [file](/docs/api-reference/files) ID of the image.", "type": { - "$id": "8064", + "$id": "8268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106471,7 +109138,7 @@ ] }, "file_search": { - "$id": "8065", + "$id": "8269", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFileSearchObject", "namespace": "OpenAI", @@ -106481,16 +109148,16 @@ "discriminatorValue": "file_search", "decorators": [], "baseModel": { - "$ref": "8035" + "$ref": "8239" }, "properties": [ { - "$id": "8066", + "$id": "8270", "kind": "property", "name": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "8067", + "$id": "8271", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106506,12 +109173,12 @@ "isHttpMetadata": false }, { - "$id": "8068", + "$id": "8272", "kind": "property", "name": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "8069", + "$id": "8273", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106527,12 +109194,12 @@ "isHttpMetadata": false }, { - "$id": "8070", + "$id": "8274", "kind": "property", "name": "type", "doc": "The type of tool call. This is always going to be `file_search` for this type of tool call.", "type": { - "$ref": "6533" + "$ref": "6516" }, "optional": false, "readOnly": false, @@ -106544,12 +109211,12 @@ "isHttpMetadata": false }, { - "$id": "8071", + "$id": "8275", "kind": "property", "name": "file_search", "doc": "For now, this is always going to be an empty object.", "type": { - "$id": "8072", + "$id": "8276", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch", "namespace": "OpenAI", @@ -106558,11 +109225,11 @@ "decorators": [], "properties": [ { - "$id": "8073", + "$id": "8277", "kind": "property", "name": "ranking_options", "type": { - "$ref": "6537" + "$ref": "6520" }, "optional": true, "readOnly": false, @@ -106574,12 +109241,12 @@ "isHttpMetadata": false }, { - "$id": "8074", + "$id": "8278", "kind": "property", "name": "results", "doc": "The results of the file search.", "type": { - "$ref": "6542" + "$ref": "6525" }, "optional": true, "readOnly": true, @@ -106604,7 +109271,7 @@ ] }, "function": { - "$id": "8075", + "$id": "8279", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFunctionObject", "namespace": "OpenAI", @@ -106614,16 +109281,16 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "8035" + "$ref": "8239" }, "properties": [ { - "$id": "8076", + "$id": "8280", "kind": "property", "name": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "8077", + "$id": "8281", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106639,12 +109306,12 @@ "isHttpMetadata": false }, { - "$id": "8078", + "$id": "8282", "kind": "property", "name": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "8079", + "$id": "8283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106660,12 +109327,12 @@ "isHttpMetadata": false }, { - "$id": "8080", + "$id": "8284", "kind": "property", "name": "type", "doc": "The type of tool call. This is always going to be `function` for this type of tool call.", "type": { - "$ref": "6562" + "$ref": "6545" }, "optional": false, "readOnly": false, @@ -106677,12 +109344,12 @@ "isHttpMetadata": false }, { - "$id": "8081", + "$id": "8285", "kind": "property", "name": "function", "doc": "The definition of the function that was called.", "type": { - "$id": "8082", + "$id": "8286", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFunctionObjectFunction", "namespace": "OpenAI", @@ -106691,12 +109358,12 @@ "decorators": [], "properties": [ { - "$id": "8083", + "$id": "8287", "kind": "property", "name": "name", "doc": "The name of the function.", "type": { - "$id": "8084", + "$id": "8288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106712,12 +109379,12 @@ "isHttpMetadata": false }, { - "$id": "8085", + "$id": "8289", "kind": "property", "name": "arguments", "doc": "The arguments passed to the function.", "type": { - "$id": "8086", + "$id": "8290", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106733,15 +109400,15 @@ "isHttpMetadata": false }, { - "$id": "8087", + "$id": "8291", "kind": "property", "name": "output", "doc": "The output of the function. This will be `null` if the outputs have not been [submitted](/docs/api-reference/runs/submitToolOutputs) yet.", "type": { - "$id": "8088", + "$id": "8292", "kind": "nullable", "type": { - "$id": "8089", + "$id": "8293", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106812,55 +109479,55 @@ ] }, { - "$ref": "8021" + "$ref": "8225" }, { - "$ref": "8023" + "$ref": "8227" }, { - "$ref": "8025" + "$ref": "8229" }, { - "$ref": "8028" + "$ref": "8232" }, { - "$ref": "8031" + "$ref": "8235" }, { - "$ref": "8035" + "$ref": "8239" }, { - "$ref": "8037" + "$ref": "8241" }, { - "$ref": "8044" + "$ref": "8248" }, { - "$ref": "8049" + "$ref": "8253" }, { - "$ref": "8051" + "$ref": "8255" }, { - "$ref": "8057" + "$ref": "8261" }, { - "$ref": "8062" + "$ref": "8266" }, { - "$ref": "8065" + "$ref": "8269" }, { - "$ref": "8072" + "$ref": "8276" }, { - "$ref": "8075" + "$ref": "8279" }, { - "$ref": "8082" + "$ref": "8286" }, { - "$id": "8090", + "$id": "8294", "kind": "model", "name": "CreateThreadRequestToolResourcesFileSearchBase", "namespace": "OpenAI", @@ -106871,7 +109538,7 @@ "properties": [] }, { - "$id": "8091", + "$id": "8295", "kind": "model", "name": "AssistantCollectionOptions", "namespace": "OpenAI", @@ -106881,12 +109548,12 @@ "decorators": [], "properties": [ { - "$id": "8092", + "$id": "8296", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8093", + "$id": "8297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106902,12 +109569,12 @@ "isHttpMetadata": true }, { - "$id": "8094", + "$id": "8298", "kind": "property", "name": "beforeId", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8095", + "$id": "8299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106923,12 +109590,12 @@ "isHttpMetadata": true }, { - "$id": "8096", + "$id": "8300", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8097", + "$id": "8301", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106944,12 +109611,12 @@ "isHttpMetadata": true }, { - "$id": "8098", + "$id": "8302", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1350" + "$ref": "1476" }, "optional": true, "readOnly": false, @@ -106963,7 +109630,7 @@ ] }, { - "$id": "8099", + "$id": "8303", "kind": "model", "name": "MessageCollectionOptions", "namespace": "OpenAI", @@ -106973,12 +109640,12 @@ "decorators": [], "properties": [ { - "$id": "8100", + "$id": "8304", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8101", + "$id": "8305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106994,12 +109661,12 @@ "isHttpMetadata": true }, { - "$id": "8102", + "$id": "8306", "kind": "property", "name": "beforeId", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8103", + "$id": "8307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107015,12 +109682,12 @@ "isHttpMetadata": true }, { - "$id": "8104", + "$id": "8308", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8105", + "$id": "8309", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -107036,12 +109703,12 @@ "isHttpMetadata": true }, { - "$id": "8106", + "$id": "8310", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1354" + "$ref": "1480" }, "optional": true, "readOnly": false, @@ -107055,7 +109722,7 @@ ] }, { - "$id": "8107", + "$id": "8311", "kind": "model", "name": "RunCollectionOptions", "namespace": "OpenAI", @@ -107065,12 +109732,12 @@ "decorators": [], "properties": [ { - "$id": "8108", + "$id": "8312", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8109", + "$id": "8313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107086,12 +109753,12 @@ "isHttpMetadata": true }, { - "$id": "8110", + "$id": "8314", "kind": "property", "name": "beforeId", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8111", + "$id": "8315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107107,12 +109774,12 @@ "isHttpMetadata": true }, { - "$id": "8112", + "$id": "8316", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8113", + "$id": "8317", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -107128,12 +109795,12 @@ "isHttpMetadata": true }, { - "$id": "8114", + "$id": "8318", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1358" + "$ref": "1484" }, "optional": true, "readOnly": false, @@ -107147,7 +109814,7 @@ ] }, { - "$id": "8115", + "$id": "8319", "kind": "model", "name": "RunStepCollectionOptions", "namespace": "OpenAI", @@ -107157,12 +109824,12 @@ "decorators": [], "properties": [ { - "$id": "8116", + "$id": "8320", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8117", + "$id": "8321", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107178,12 +109845,12 @@ "isHttpMetadata": true }, { - "$id": "8118", + "$id": "8322", "kind": "property", "name": "beforeId", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8119", + "$id": "8323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107199,12 +109866,12 @@ "isHttpMetadata": true }, { - "$id": "8120", + "$id": "8324", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8121", + "$id": "8325", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -107220,12 +109887,12 @@ "isHttpMetadata": true }, { - "$id": "8122", + "$id": "8326", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1362" + "$ref": "1488" }, "optional": true, "readOnly": false, @@ -107239,7 +109906,7 @@ ] }, { - "$id": "8123", + "$id": "8327", "kind": "model", "name": "DotNetChatResponseFormat", "namespace": "OpenAI", @@ -107253,7 +109920,7 @@ } ], "discriminatorProperty": { - "$id": "8124", + "$id": "8328", "kind": "property", "name": "type", "type": { @@ -107270,12 +109937,12 @@ }, "properties": [ { - "$ref": "8124" + "$ref": "8328" } ], "discriminatedSubtypes": { "text": { - "$id": "8125", + "$id": "8329", "kind": "model", "name": "DotNetChatResponseFormatText", "namespace": "OpenAI", @@ -107290,16 +109957,16 @@ } ], "baseModel": { - "$ref": "8123" + "$ref": "8327" }, "properties": [ { - "$id": "8126", + "$id": "8330", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `text`.", "type": { - "$ref": "2484" + "$ref": "2594" }, "optional": false, "readOnly": false, @@ -107313,7 +109980,7 @@ ] }, "json_object": { - "$id": "8127", + "$id": "8331", "kind": "model", "name": "DotNetChatResponseFormatJsonObject", "namespace": "OpenAI", @@ -107328,16 +109995,16 @@ } ], "baseModel": { - "$ref": "8123" + "$ref": "8327" }, "properties": [ { - "$id": "8128", + "$id": "8332", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `json_object`.", "type": { - "$ref": "2462" + "$ref": "2572" }, "optional": false, "readOnly": false, @@ -107351,7 +110018,7 @@ ] }, "json_schema": { - "$id": "8129", + "$id": "8333", "kind": "model", "name": "DotNetChatResponseFormatJsonSchema", "namespace": "OpenAI", @@ -107366,15 +110033,15 @@ } ], "baseModel": { - "$ref": "8123" + "$ref": "8327" }, "properties": [ { - "$id": "8130", + "$id": "8334", "kind": "property", "name": "type", "type": { - "$ref": "2470" + "$ref": "2580" }, "optional": false, "readOnly": false, @@ -107386,11 +110053,11 @@ "isHttpMetadata": false }, { - "$id": "8131", + "$id": "8335", "kind": "property", "name": "json_schema", "type": { - "$id": "8132", + "$id": "8336", "kind": "model", "name": "DotNetChatResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -107399,11 +110066,11 @@ "decorators": [], "properties": [ { - "$id": "8133", + "$id": "8337", "kind": "property", "name": "description", "type": { - "$id": "8134", + "$id": "8338", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107419,11 +110086,11 @@ "isHttpMetadata": false }, { - "$id": "8135", + "$id": "8339", "kind": "property", "name": "name", "type": { - "$id": "8136", + "$id": "8340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107439,11 +110106,11 @@ "isHttpMetadata": false }, { - "$id": "8137", + "$id": "8341", "kind": "property", "name": "schema", "type": { - "$id": "8138", + "$id": "8342", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -107459,14 +110126,14 @@ "isHttpMetadata": false }, { - "$id": "8139", + "$id": "8343", "kind": "property", "name": "strict", "type": { - "$id": "8140", + "$id": "8344", "kind": "nullable", "type": { - "$id": "8141", + "$id": "8345", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -107499,19 +110166,19 @@ } }, { - "$ref": "8125" + "$ref": "8329" }, { - "$ref": "8127" + "$ref": "8331" }, { - "$ref": "8129" + "$ref": "8333" }, { - "$ref": "8132" + "$ref": "8336" }, { - "$id": "8142", + "$id": "8346", "kind": "model", "name": "DotNetAssistantResponseFormat", "namespace": "OpenAI", @@ -107520,7 +110187,7 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "8143", + "$id": "8347", "kind": "property", "name": "type", "type": { @@ -107537,12 +110204,12 @@ }, "properties": [ { - "$ref": "8143" + "$ref": "8347" } ], "discriminatedSubtypes": { "text": { - "$id": "8144", + "$id": "8348", "kind": "model", "name": "DotNetAssistantResponseFormatText", "namespace": "OpenAI", @@ -107552,16 +110219,16 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "8142" + "$ref": "8346" }, "properties": [ { - "$id": "8145", + "$id": "8349", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `text`.", "type": { - "$ref": "2484" + "$ref": "2594" }, "optional": false, "readOnly": false, @@ -107575,7 +110242,7 @@ ] }, "json_object": { - "$id": "8146", + "$id": "8350", "kind": "model", "name": "DotNetAssistantResponseFormatJsonObject", "namespace": "OpenAI", @@ -107585,16 +110252,16 @@ "discriminatorValue": "json_object", "decorators": [], "baseModel": { - "$ref": "8142" + "$ref": "8346" }, "properties": [ { - "$id": "8147", + "$id": "8351", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `json_object`.", "type": { - "$ref": "2462" + "$ref": "2572" }, "optional": false, "readOnly": false, @@ -107608,7 +110275,7 @@ ] }, "json_schema": { - "$id": "8148", + "$id": "8352", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchema", "namespace": "OpenAI", @@ -107618,15 +110285,15 @@ "discriminatorValue": "json_schema", "decorators": [], "baseModel": { - "$ref": "8142" + "$ref": "8346" }, "properties": [ { - "$id": "8149", + "$id": "8353", "kind": "property", "name": "type", "type": { - "$ref": "2470" + "$ref": "2580" }, "optional": false, "readOnly": false, @@ -107638,11 +110305,11 @@ "isHttpMetadata": false }, { - "$id": "8150", + "$id": "8354", "kind": "property", "name": "json_schema", "type": { - "$id": "8151", + "$id": "8355", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -107651,11 +110318,11 @@ "decorators": [], "properties": [ { - "$id": "8152", + "$id": "8356", "kind": "property", "name": "description", "type": { - "$id": "8153", + "$id": "8357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107671,11 +110338,11 @@ "isHttpMetadata": false }, { - "$id": "8154", + "$id": "8358", "kind": "property", "name": "name", "type": { - "$id": "8155", + "$id": "8359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107691,11 +110358,11 @@ "isHttpMetadata": false }, { - "$id": "8156", + "$id": "8360", "kind": "property", "name": "schema", "type": { - "$id": "8157", + "$id": "8361", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -107711,14 +110378,14 @@ "isHttpMetadata": false }, { - "$id": "8158", + "$id": "8362", "kind": "property", "name": "strict", "type": { - "$id": "8159", + "$id": "8363", "kind": "nullable", "type": { - "$id": "8160", + "$id": "8364", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -107751,19 +110418,19 @@ } }, { - "$ref": "8144" + "$ref": "8348" }, { - "$ref": "8146" + "$ref": "8350" }, { - "$ref": "8148" + "$ref": "8352" }, { - "$ref": "8151" + "$ref": "8355" }, { - "$id": "8161", + "$id": "8365", "kind": "model", "name": "DotNetAudioLogProbsProperties", "namespace": "OpenAI", @@ -107773,12 +110440,12 @@ "decorators": [], "properties": [ { - "$id": "8162", + "$id": "8366", "kind": "property", "name": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "8163", + "$id": "8367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107794,12 +110461,12 @@ "isHttpMetadata": false }, { - "$id": "8164", + "$id": "8368", "kind": "property", "name": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "8165", + "$id": "8369", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -107815,12 +110482,12 @@ "isHttpMetadata": false }, { - "$id": "8166", + "$id": "8370", "kind": "property", "name": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { - "$ref": "2671" + "$ref": "2781" }, "optional": false, "readOnly": false, @@ -107834,7 +110501,7 @@ ] }, { - "$id": "8167", + "$id": "8371", "kind": "model", "name": "DotNetRealtimeLogProbsProperties", "namespace": "OpenAI", @@ -107844,12 +110511,12 @@ "decorators": [], "properties": [ { - "$id": "8168", + "$id": "8372", "kind": "property", "name": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "8169", + "$id": "8373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107865,12 +110532,12 @@ "isHttpMetadata": false }, { - "$id": "8170", + "$id": "8374", "kind": "property", "name": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "8171", + "$id": "8375", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -107886,12 +110553,12 @@ "isHttpMetadata": false }, { - "$id": "8172", + "$id": "8376", "kind": "property", "name": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { - "$ref": "2671" + "$ref": "2781" }, "optional": false, "readOnly": false, @@ -107905,7 +110572,7 @@ ] }, { - "$id": "8173", + "$id": "8377", "kind": "model", "name": "DotNetCombinedJsonTranscriptionResponse", "namespace": "OpenAI", @@ -107915,12 +110582,12 @@ "decorators": [], "properties": [ { - "$id": "8174", + "$id": "8378", "kind": "property", "name": "task", "doc": "The task label.", "type": { - "$ref": "1760" + "$ref": "1884" }, "optional": false, "readOnly": false, @@ -107932,12 +110599,12 @@ "isHttpMetadata": false }, { - "$id": "8175", + "$id": "8379", "kind": "property", "name": "language", "doc": "The language of the input audio.", "type": { - "$id": "8176", + "$id": "8380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107953,17 +110620,17 @@ "isHttpMetadata": false }, { - "$id": "8177", + "$id": "8381", "kind": "property", "name": "duration", "doc": "The duration of the input audio.", "type": { - "$id": "8178", + "$id": "8382", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8179", + "$id": "8383", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -107982,12 +110649,12 @@ "isHttpMetadata": false }, { - "$id": "8180", + "$id": "8384", "kind": "property", "name": "text", "doc": "The transcribed text.", "type": { - "$id": "8181", + "$id": "8385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108003,12 +110670,12 @@ "isHttpMetadata": false }, { - "$id": "8182", + "$id": "8386", "kind": "property", "name": "words", "doc": "Extracted words and their corresponding timestamps.", "type": { - "$ref": "2645" + "$ref": "2755" }, "optional": true, "readOnly": true, @@ -108020,12 +110687,12 @@ "isHttpMetadata": false }, { - "$id": "8183", + "$id": "8387", "kind": "property", "name": "segments", "doc": "Segments of the transcribed text and their corresponding details.", "type": { - "$ref": "2656" + "$ref": "2766" }, "optional": true, "readOnly": true, @@ -108037,11 +110704,11 @@ "isHttpMetadata": false }, { - "$id": "8184", + "$id": "8388", "kind": "property", "name": "logprobs", "type": { - "$ref": "7434" + "$ref": "7399" }, "optional": true, "readOnly": false, @@ -108055,7 +110722,7 @@ ] }, { - "$id": "8185", + "$id": "8389", "kind": "model", "name": "BatchCollectionOptions", "namespace": "OpenAI", @@ -108065,12 +110732,12 @@ "decorators": [], "properties": [ { - "$id": "8186", + "$id": "8390", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8187", + "$id": "8391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108086,12 +110753,12 @@ "isHttpMetadata": true }, { - "$id": "8188", + "$id": "8392", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8189", + "$id": "8393", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108109,7 +110776,7 @@ ] }, { - "$id": "8190", + "$id": "8394", "kind": "model", "name": "ChatCompletionCollectionOptions", "namespace": "OpenAI", @@ -108124,12 +110791,12 @@ ], "properties": [ { - "$id": "8191", + "$id": "8395", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8192", + "$id": "8396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108145,12 +110812,12 @@ "isHttpMetadata": true }, { - "$id": "8193", + "$id": "8397", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8194", + "$id": "8398", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108166,12 +110833,12 @@ "isHttpMetadata": true }, { - "$id": "8195", + "$id": "8399", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1366" + "$ref": "1492" }, "optional": true, "readOnly": false, @@ -108183,11 +110850,11 @@ "isHttpMetadata": true }, { - "$id": "8196", + "$id": "8400", "kind": "property", "name": "metadata", "type": { - "$ref": "2445" + "$ref": "2555" }, "optional": true, "readOnly": false, @@ -108199,11 +110866,11 @@ "isHttpMetadata": true }, { - "$id": "8197", + "$id": "8401", "kind": "property", "name": "model", "type": { - "$id": "8198", + "$id": "8402", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108221,7 +110888,7 @@ ] }, { - "$id": "8199", + "$id": "8403", "kind": "model", "name": "ChatCompletionMessageCollectionOptions", "namespace": "OpenAI", @@ -108236,12 +110903,12 @@ ], "properties": [ { - "$id": "8200", + "$id": "8404", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8201", + "$id": "8405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108257,12 +110924,12 @@ "isHttpMetadata": true }, { - "$id": "8202", + "$id": "8406", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8203", + "$id": "8407", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108278,12 +110945,12 @@ "isHttpMetadata": true }, { - "$id": "8204", + "$id": "8408", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1370" + "$ref": "1496" }, "optional": true, "readOnly": false, @@ -108297,7 +110964,7 @@ ] }, { - "$id": "8205", + "$id": "8409", "kind": "model", "name": "ContainerCollectionOptions", "namespace": "OpenAI", @@ -108307,12 +110974,12 @@ "decorators": [], "properties": [ { - "$id": "8206", + "$id": "8410", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8207", + "$id": "8411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108328,12 +110995,12 @@ "isHttpMetadata": true }, { - "$id": "8208", + "$id": "8412", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8209", + "$id": "8413", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108349,12 +111016,12 @@ "isHttpMetadata": true }, { - "$id": "8210", + "$id": "8414", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1374" + "$ref": "1500" }, "optional": true, "readOnly": false, @@ -108368,7 +111035,7 @@ ] }, { - "$id": "8211", + "$id": "8415", "kind": "model", "name": "ContainerFileCollectionOptions", "namespace": "OpenAI", @@ -108378,12 +111045,12 @@ "decorators": [], "properties": [ { - "$id": "8212", + "$id": "8416", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8213", + "$id": "8417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108399,12 +111066,12 @@ "isHttpMetadata": true }, { - "$id": "8214", + "$id": "8418", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8215", + "$id": "8419", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108420,12 +111087,12 @@ "isHttpMetadata": true }, { - "$id": "8216", + "$id": "8420", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1374" + "$ref": "1500" }, "optional": true, "readOnly": false, @@ -108439,7 +111106,7 @@ ] }, { - "$id": "8217", + "$id": "8421", "kind": "model", "name": "ConversationItemCollectionOptions", "namespace": "OpenAI", @@ -108449,12 +111116,12 @@ "decorators": [], "properties": [ { - "$id": "8218", + "$id": "8422", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8219", + "$id": "8423", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108470,12 +111137,12 @@ "isHttpMetadata": true }, { - "$id": "8220", + "$id": "8424", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8221", + "$id": "8425", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108491,12 +111158,12 @@ "isHttpMetadata": true }, { - "$id": "8222", + "$id": "8426", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1378" + "$ref": "1504" }, "optional": true, "readOnly": false, @@ -108510,7 +111177,7 @@ ] }, { - "$id": "8223", + "$id": "8427", "kind": "model", "name": "ResponseItemCollectionOptions", "namespace": "OpenAI", @@ -108525,12 +111192,12 @@ ], "properties": [ { - "$id": "8224", + "$id": "8428", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8225", + "$id": "8429", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108546,12 +111213,12 @@ "isHttpMetadata": true }, { - "$id": "8226", + "$id": "8430", "kind": "property", "name": "beforeId", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8227", + "$id": "8431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108567,12 +111234,12 @@ "isHttpMetadata": true }, { - "$id": "8228", + "$id": "8432", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8229", + "$id": "8433", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108588,12 +111255,12 @@ "isHttpMetadata": true }, { - "$id": "8230", + "$id": "8434", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1382" + "$ref": "1508" }, "optional": true, "readOnly": false, @@ -108607,7 +111274,7 @@ ] }, { - "$id": "8231", + "$id": "8435", "kind": "model", "name": "DotNetCustomToolCallApprovalPolicy", "namespace": "OpenAI", @@ -108622,12 +111289,12 @@ ], "properties": [ { - "$id": "8232", + "$id": "8436", "kind": "property", "name": "always", "doc": "A list of tools that always require approval.", "type": { - "$ref": "4539" + "$ref": "4617" }, "optional": true, "readOnly": false, @@ -108639,12 +111306,12 @@ "isHttpMetadata": false }, { - "$id": "8233", + "$id": "8437", "kind": "property", "name": "never", "doc": "A list of tools that never require approval.", "type": { - "$ref": "4539" + "$ref": "4617" }, "optional": true, "readOnly": false, @@ -108658,7 +111325,7 @@ ] }, { - "$id": "8234", + "$id": "8438", "kind": "model", "name": "DotNetToolCallApprovalPolicy", "namespace": "OpenAI", @@ -108673,11 +111340,11 @@ ], "properties": [ { - "$id": "8235", + "$id": "8439", "kind": "property", "name": "global_policy", "type": { - "$ref": "1386" + "$ref": "1512" }, "optional": true, "readOnly": false, @@ -108689,11 +111356,11 @@ "isHttpMetadata": false }, { - "$id": "8236", + "$id": "8440", "kind": "property", "name": "custom_policy", "type": { - "$ref": "8231" + "$ref": "8435" }, "optional": true, "readOnly": false, @@ -108707,7 +111374,7 @@ ] }, { - "$id": "8237", + "$id": "8441", "kind": "model", "name": "DotNetCodeInterpreterToolContainer", "namespace": "OpenAI", @@ -108722,11 +111389,11 @@ ], "properties": [ { - "$id": "8238", + "$id": "8442", "kind": "property", "name": "container_id", "type": { - "$id": "8239", + "$id": "8443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108742,11 +111409,11 @@ "isHttpMetadata": false }, { - "$id": "8240", + "$id": "8444", "kind": "property", "name": "container", "type": { - "$ref": "4492" + "$ref": "4570" }, "optional": true, "readOnly": false, @@ -108760,7 +111427,7 @@ ] }, { - "$id": "8241", + "$id": "8445", "kind": "model", "name": "DotNetCombinedChunkingStrategyParam", "namespace": "OpenAI", @@ -108768,11 +111435,11 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "8242", + "$id": "8446", "kind": "property", "name": "type", "type": { - "$ref": "1390" + "$ref": "1516" }, "optional": false, "readOnly": false, @@ -108785,12 +111452,12 @@ }, "properties": [ { - "$ref": "8242" + "$ref": "8446" } ], "discriminatedSubtypes": { "auto": { - "$id": "8243", + "$id": "8447", "kind": "model", "name": "DotNetCombinedAutoChunkingStrategyParam", "namespace": "OpenAI", @@ -108800,31 +111467,31 @@ "discriminatorValue": "auto", "decorators": [], "baseModel": { - "$ref": "8241" + "$ref": "8445" }, "properties": [ { - "$id": "8244", + "$id": "8448", "kind": "property", "name": "type", "doc": "Always `auto`.", "type": { - "$id": "8245", + "$id": "8449", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1391" + "$ref": "1517" }, "enumType": { - "$id": "8246", + "$id": "8450", "kind": "enum", "decorators": [], "name": "DotNetCombinedChunkingStrategyParamType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "8247", + "$id": "8451", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -108833,42 +111500,42 @@ }, "values": [ { - "$id": "8248", + "$id": "8452", "kind": "enumvalue", "decorators": [], "name": "auto", "value": "auto", "valueType": { - "$ref": "8247" + "$ref": "8451" }, "enumType": { - "$ref": "8246" + "$ref": "8450" } }, { - "$id": "8249", + "$id": "8453", "kind": "enumvalue", "decorators": [], "name": "static", "value": "static", "valueType": { - "$ref": "8247" + "$ref": "8451" }, "enumType": { - "$ref": "8246" + "$ref": "8450" } }, { - "$id": "8250", + "$id": "8454", "kind": "enumvalue", "decorators": [], "name": "other", "value": "other", "valueType": { - "$ref": "8247" + "$ref": "8451" }, "enumType": { - "$ref": "8246" + "$ref": "8450" } } ], @@ -108895,7 +111562,7 @@ ] }, "static": { - "$id": "8251", + "$id": "8455", "kind": "model", "name": "DotNetCombinedStaticChunkingStrategyParam", "namespace": "OpenAI", @@ -108905,24 +111572,24 @@ "discriminatorValue": "static", "decorators": [], "baseModel": { - "$ref": "8241" + "$ref": "8445" }, "properties": [ { - "$id": "8252", + "$id": "8456", "kind": "property", "name": "type", "doc": "Always `static`.", "type": { - "$id": "8253", + "$id": "8457", "kind": "enumvalue", "name": "static", "value": "static", "valueType": { - "$ref": "1391" + "$ref": "1517" }, "enumType": { - "$ref": "8246" + "$ref": "8450" }, "decorators": [] }, @@ -108936,11 +111603,11 @@ "isHttpMetadata": false }, { - "$id": "8254", + "$id": "8458", "kind": "property", "name": "static", "type": { - "$ref": "2545" + "$ref": "2655" }, "optional": false, "readOnly": false, @@ -108954,7 +111621,7 @@ ] }, "other": { - "$id": "8255", + "$id": "8459", "kind": "model", "name": "DotNetCombinedOtherChunkingStrategyParam", "namespace": "OpenAI", @@ -108964,24 +111631,24 @@ "discriminatorValue": "other", "decorators": [], "baseModel": { - "$ref": "8241" + "$ref": "8445" }, "properties": [ { - "$id": "8256", + "$id": "8460", "kind": "property", "name": "type", "doc": "Always `other`.", "type": { - "$id": "8257", + "$id": "8461", "kind": "enumvalue", "name": "other", "value": "other", "valueType": { - "$ref": "1391" + "$ref": "1517" }, "enumType": { - "$ref": "8246" + "$ref": "8450" }, "decorators": [] }, @@ -108999,16 +111666,16 @@ } }, { - "$ref": "8243" + "$ref": "8447" }, { - "$ref": "8251" + "$ref": "8455" }, { - "$ref": "8255" + "$ref": "8459" }, { - "$id": "8258", + "$id": "8462", "kind": "model", "name": "VectorStoreCollectionOptions", "namespace": "OpenAI", @@ -109018,12 +111685,12 @@ "decorators": [], "properties": [ { - "$id": "8259", + "$id": "8463", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8260", + "$id": "8464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109039,12 +111706,12 @@ "isHttpMetadata": true }, { - "$id": "8261", + "$id": "8465", "kind": "property", "name": "beforeId", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8262", + "$id": "8466", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109060,12 +111727,12 @@ "isHttpMetadata": true }, { - "$id": "8263", + "$id": "8467", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8264", + "$id": "8468", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -109081,12 +111748,12 @@ "isHttpMetadata": true }, { - "$id": "8265", + "$id": "8469", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "optional": true, "readOnly": false, @@ -109100,7 +111767,7 @@ ] }, { - "$id": "8266", + "$id": "8470", "kind": "model", "name": "VectorStoreFileCollectionOptions", "namespace": "OpenAI", @@ -109110,12 +111777,12 @@ "decorators": [], "properties": [ { - "$id": "8267", + "$id": "8471", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8268", + "$id": "8472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109131,12 +111798,12 @@ "isHttpMetadata": true }, { - "$id": "8269", + "$id": "8473", "kind": "property", "name": "beforeId", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8270", + "$id": "8474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109152,12 +111819,12 @@ "isHttpMetadata": true }, { - "$id": "8271", + "$id": "8475", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8272", + "$id": "8476", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -109173,12 +111840,12 @@ "isHttpMetadata": true }, { - "$id": "8273", + "$id": "8477", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1399" + "$ref": "1525" }, "optional": true, "readOnly": false, @@ -109190,11 +111857,11 @@ "isHttpMetadata": true }, { - "$id": "8274", + "$id": "8478", "kind": "property", "name": "filter", "type": { - "$ref": "1403" + "$ref": "1529" }, "optional": true, "readOnly": false, @@ -109208,7 +111875,7 @@ ] }, { - "$id": "8275", + "$id": "8479", "kind": "model", "name": "VideoCollectionOptions", "namespace": "OpenAI", @@ -109218,12 +111885,12 @@ "decorators": [], "properties": [ { - "$id": "8276", + "$id": "8480", "kind": "property", "name": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8277", + "$id": "8481", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109239,12 +111906,12 @@ "isHttpMetadata": true }, { - "$id": "8278", + "$id": "8482", "kind": "property", "name": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8279", + "$id": "8483", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -109260,12 +111927,12 @@ "isHttpMetadata": true }, { - "$id": "8280", + "$id": "8484", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1409" + "$ref": "1535" }, "optional": true, "readOnly": false, @@ -109281,20 +111948,20 @@ ], "clients": [ { - "$id": "8281", + "$id": "8485", "kind": "client", "name": "OpenAIClient", "namespace": "OpenAI", "methods": [], "parameters": [ { - "$id": "8282", + "$id": "8486", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8283", + "$id": "8487", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -109305,7 +111972,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8284", + "$id": "8488", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -109324,32 +111991,32 @@ "apiVersions": [], "children": [ { - "$id": "8285", + "$id": "8489", "kind": "client", "name": "Assistants", "namespace": "OpenAI", "methods": [ { - "$id": "8286", + "$id": "8490", "kind": "paging", "name": "GetAssistants", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of assistants.", "operation": { - "$id": "8287", + "$id": "8491", "name": "GetAssistants", "resourceName": "Assistants", "summary": "Returns a list of assistants.", "accessibility": "public", "parameters": [ { - "$id": "8288", + "$id": "8492", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1762" + "$ref": "1886" }, "isApiVersion": false, "optional": false, @@ -109360,12 +112027,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.accept" }, { - "$id": "8289", + "$id": "8493", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1764" + "$ref": "1888" }, "isApiVersion": false, "optional": false, @@ -109376,13 +112043,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.openAIBeta" }, { - "$id": "8290", + "$id": "8494", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8291", + "$id": "8495", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -109397,13 +112064,13 @@ "readOnly": false }, { - "$id": "8292", + "$id": "8496", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -109414,13 +112081,13 @@ "readOnly": false }, { - "$id": "8293", + "$id": "8497", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8294", + "$id": "8498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109435,13 +112102,13 @@ "readOnly": false }, { - "$id": "8295", + "$id": "8499", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8296", + "$id": "8500", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109462,7 +112129,7 @@ 200 ], "bodyType": { - "$ref": "2372" + "$ref": "2482" }, "headers": [], "isErrorResponse": false, @@ -109482,12 +112149,12 @@ }, "parameters": [ { - "$id": "8297", + "$id": "8501", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1766" + "$ref": "1890" }, "location": "Header", "isApiVersion": false, @@ -109499,12 +112166,12 @@ "decorators": [] }, { - "$id": "8298", + "$id": "8502", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1768" + "$ref": "1892" }, "location": "Header", "isApiVersion": false, @@ -109516,13 +112183,13 @@ "decorators": [] }, { - "$id": "8299", + "$id": "8503", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8300", + "$id": "8504", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -109538,13 +112205,13 @@ "decorators": [] }, { - "$id": "8301", + "$id": "8505", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -109556,13 +112223,13 @@ "decorators": [] }, { - "$id": "8302", + "$id": "8506", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8303", + "$id": "8507", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109578,13 +112245,13 @@ "decorators": [] }, { - "$id": "8304", + "$id": "8508", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8305", + "$id": "8509", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109602,7 +112269,7 @@ ], "response": { "type": { - "$ref": "2375" + "$ref": "2485" }, "resultSegments": [ "data" @@ -109618,7 +112285,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8293" + "$ref": "8497" }, "responseSegments": [ "last_id" @@ -109629,26 +112296,26 @@ } }, { - "$id": "8306", + "$id": "8510", "kind": "basic", "name": "createAssistant", "accessibility": "public", "apiVersions": [], "summary": "Create an assistant with a model and instructions.", "operation": { - "$id": "8307", + "$id": "8511", "name": "createAssistant", "resourceName": "Assistants", "summary": "Create an assistant with a model and instructions.", "accessibility": "public", "parameters": [ { - "$id": "8308", + "$id": "8512", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1770" + "$ref": "1894" }, "isApiVersion": false, "optional": false, @@ -109659,12 +112326,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.accept" }, { - "$id": "8309", + "$id": "8513", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1772" + "$ref": "1896" }, "isApiVersion": false, "optional": false, @@ -109675,13 +112342,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.openAIBeta" }, { - "$id": "8310", + "$id": "8514", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1774" + "$ref": "1898" }, "isApiVersion": false, "optional": false, @@ -109692,12 +112359,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.contentType" }, { - "$id": "8311", + "$id": "8515", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2504" + "$ref": "2614" }, "isApiVersion": false, "contentTypes": [ @@ -109717,7 +112384,7 @@ 200 ], "bodyType": { - "$ref": "2376" + "$ref": "2486" }, "headers": [], "isErrorResponse": false, @@ -109740,12 +112407,12 @@ }, "parameters": [ { - "$id": "8312", + "$id": "8516", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1776" + "$ref": "1900" }, "location": "Header", "isApiVersion": false, @@ -109757,12 +112424,12 @@ "decorators": [] }, { - "$id": "8313", + "$id": "8517", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1778" + "$ref": "1902" }, "location": "Header", "isApiVersion": false, @@ -109774,12 +112441,12 @@ "decorators": [] }, { - "$id": "8314", + "$id": "8518", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2504" + "$ref": "2614" }, "location": "Body", "isApiVersion": false, @@ -109791,13 +112458,13 @@ "decorators": [] }, { - "$id": "8315", + "$id": "8519", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1774" + "$ref": "1898" }, "location": "Header", "isApiVersion": false, @@ -109811,7 +112478,7 @@ ], "response": { "type": { - "$ref": "2376" + "$ref": "2486" } }, "isOverride": false, @@ -109820,26 +112487,26 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant" }, { - "$id": "8316", + "$id": "8520", "kind": "basic", "name": "getAssistant", "accessibility": "public", "apiVersions": [], "summary": "Retrieves an assistant.", "operation": { - "$id": "8317", + "$id": "8521", "name": "getAssistant", "resourceName": "Assistants", "summary": "Retrieves an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8318", + "$id": "8522", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1780" + "$ref": "1904" }, "isApiVersion": false, "optional": false, @@ -109850,12 +112517,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.accept" }, { - "$id": "8319", + "$id": "8523", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1782" + "$ref": "1906" }, "isApiVersion": false, "optional": false, @@ -109866,13 +112533,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.openAIBeta" }, { - "$id": "8320", + "$id": "8524", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { - "$id": "8321", + "$id": "8525", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109896,7 +112563,7 @@ 200 ], "bodyType": { - "$ref": "2376" + "$ref": "2486" }, "headers": [], "isErrorResponse": false, @@ -109916,12 +112583,12 @@ }, "parameters": [ { - "$id": "8322", + "$id": "8526", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1784" + "$ref": "1908" }, "location": "Header", "isApiVersion": false, @@ -109933,12 +112600,12 @@ "decorators": [] }, { - "$id": "8323", + "$id": "8527", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1786" + "$ref": "1910" }, "location": "Header", "isApiVersion": false, @@ -109950,13 +112617,13 @@ "decorators": [] }, { - "$id": "8324", + "$id": "8528", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { - "$id": "8325", + "$id": "8529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109974,7 +112641,7 @@ ], "response": { "type": { - "$ref": "2376" + "$ref": "2486" } }, "isOverride": false, @@ -109983,26 +112650,26 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant" }, { - "$id": "8326", + "$id": "8530", "kind": "basic", "name": "modifyAssistant", "accessibility": "public", "apiVersions": [], "summary": "Modifies an assistant.", "operation": { - "$id": "8327", + "$id": "8531", "name": "modifyAssistant", "resourceName": "Assistants", "summary": "Modifies an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8328", + "$id": "8532", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1788" + "$ref": "1912" }, "isApiVersion": false, "optional": false, @@ -110013,12 +112680,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.accept" }, { - "$id": "8329", + "$id": "8533", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1790" + "$ref": "1914" }, "isApiVersion": false, "optional": false, @@ -110029,13 +112696,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.openAIBeta" }, { - "$id": "8330", + "$id": "8534", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { - "$id": "8331", + "$id": "8535", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110053,13 +112720,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.assistant_id" }, { - "$id": "8332", + "$id": "8536", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1792" + "$ref": "1916" }, "isApiVersion": false, "optional": false, @@ -110070,12 +112737,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.contentType" }, { - "$id": "8333", + "$id": "8537", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2560" + "$ref": "2670" }, "isApiVersion": false, "contentTypes": [ @@ -110095,7 +112762,7 @@ 200 ], "bodyType": { - "$ref": "2376" + "$ref": "2486" }, "headers": [], "isErrorResponse": false, @@ -110118,12 +112785,12 @@ }, "parameters": [ { - "$id": "8334", + "$id": "8538", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1794" + "$ref": "1918" }, "location": "Header", "isApiVersion": false, @@ -110135,12 +112802,12 @@ "decorators": [] }, { - "$id": "8335", + "$id": "8539", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1796" + "$ref": "1920" }, "location": "Header", "isApiVersion": false, @@ -110152,13 +112819,13 @@ "decorators": [] }, { - "$id": "8336", + "$id": "8540", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { - "$id": "8337", + "$id": "8541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110174,12 +112841,12 @@ "decorators": [] }, { - "$id": "8338", + "$id": "8542", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2560" + "$ref": "2670" }, "location": "Body", "isApiVersion": false, @@ -110191,13 +112858,13 @@ "decorators": [] }, { - "$id": "8339", + "$id": "8543", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1792" + "$ref": "1916" }, "location": "Header", "isApiVersion": false, @@ -110211,7 +112878,7 @@ ], "response": { "type": { - "$ref": "2376" + "$ref": "2486" } }, "isOverride": false, @@ -110220,26 +112887,26 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant" }, { - "$id": "8340", + "$id": "8544", "kind": "basic", "name": "deleteAssistant", "accessibility": "public", "apiVersions": [], "summary": "Delete an assistant.", "operation": { - "$id": "8341", + "$id": "8545", "name": "deleteAssistant", "resourceName": "Assistants", "summary": "Delete an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8342", + "$id": "8546", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1798" + "$ref": "1922" }, "isApiVersion": false, "optional": false, @@ -110250,12 +112917,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.accept" }, { - "$id": "8343", + "$id": "8547", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1800" + "$ref": "1924" }, "isApiVersion": false, "optional": false, @@ -110266,13 +112933,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.openAIBeta" }, { - "$id": "8344", + "$id": "8548", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { - "$id": "8345", + "$id": "8549", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110296,7 +112963,7 @@ 200 ], "bodyType": { - "$ref": "2590" + "$ref": "2700" }, "headers": [], "isErrorResponse": false, @@ -110316,12 +112983,12 @@ }, "parameters": [ { - "$id": "8346", + "$id": "8550", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1802" + "$ref": "1926" }, "location": "Header", "isApiVersion": false, @@ -110333,12 +113000,12 @@ "decorators": [] }, { - "$id": "8347", + "$id": "8551", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1804" + "$ref": "1928" }, "location": "Header", "isApiVersion": false, @@ -110350,13 +113017,13 @@ "decorators": [] }, { - "$id": "8348", + "$id": "8552", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { - "$id": "8349", + "$id": "8553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110374,7 +113041,7 @@ ], "response": { "type": { - "$ref": "2590" + "$ref": "2700" } }, "isOverride": false, @@ -110385,13 +113052,13 @@ ], "parameters": [ { - "$id": "8350", + "$id": "8554", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8351", + "$id": "8555", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -110402,7 +113069,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8352", + "$id": "8556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -110420,36 +113087,36 @@ "crossLanguageDefinitionId": "OpenAI.Assistants", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8353", + "$id": "8557", "kind": "client", "name": "Audio", "namespace": "OpenAI", "methods": [ { - "$id": "8354", + "$id": "8558", "kind": "basic", "name": "GenerateSpeech", "accessibility": "public", "apiVersions": [], "summary": "Generates audio from the input text.", "operation": { - "$id": "8355", + "$id": "8559", "name": "GenerateSpeech", "resourceName": "Audio", "summary": "Generates audio from the input text.", "accessibility": "public", "parameters": [ { - "$id": "8356", + "$id": "8560", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1806" + "$ref": "1930" }, "isApiVersion": false, "optional": false, @@ -110460,13 +113127,13 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.accept" }, { - "$id": "8357", + "$id": "8561", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1808" + "$ref": "1932" }, "isApiVersion": false, "optional": false, @@ -110477,12 +113144,12 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.contentType" }, { - "$id": "8358", + "$id": "8562", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2596" + "$ref": "2706" }, "isApiVersion": false, "contentTypes": [ @@ -110502,7 +113169,7 @@ 200 ], "bodyType": { - "$id": "8359", + "$id": "8563", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -110514,7 +113181,7 @@ "nameInResponse": "Transfer-Encoding", "doc": "chunked", "type": { - "$id": "8360", + "$id": "8564", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110525,7 +113192,7 @@ "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "1810" + "$ref": "1934" } } ], @@ -110549,12 +113216,12 @@ }, "parameters": [ { - "$id": "8361", + "$id": "8565", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1812" + "$ref": "1936" }, "location": "Header", "isApiVersion": false, @@ -110566,12 +113233,12 @@ "decorators": [] }, { - "$id": "8362", + "$id": "8566", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2596" + "$ref": "2706" }, "location": "Body", "isApiVersion": false, @@ -110583,13 +113250,13 @@ "decorators": [] }, { - "$id": "8363", + "$id": "8567", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1808" + "$ref": "1932" }, "location": "Header", "isApiVersion": false, @@ -110603,7 +113270,7 @@ ], "response": { "type": { - "$ref": "8359" + "$ref": "8563" } }, "isOverride": false, @@ -110612,26 +113279,26 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech" }, { - "$id": "8364", + "$id": "8568", "kind": "basic", "name": "TranscribeAudio", "accessibility": "public", "apiVersions": [], "summary": "Transcribes audio into the input language.", "operation": { - "$id": "8365", + "$id": "8569", "name": "TranscribeAudio", "resourceName": "Audio", "summary": "Transcribes audio into the input language.", "accessibility": "public", "parameters": [ { - "$id": "8366", + "$id": "8570", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "isApiVersion": false, "optional": false, @@ -110642,12 +113309,12 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.accept" }, { - "$id": "8367", + "$id": "8571", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1814" + "$ref": "1938" }, "isApiVersion": false, "optional": false, @@ -110658,12 +113325,12 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.contentType" }, { - "$id": "8368", + "$id": "8572", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2606" + "$ref": "2716" }, "isApiVersion": false, "contentTypes": [ @@ -110683,27 +113350,27 @@ 200 ], "bodyType": { - "$id": "8369", + "$id": "8573", "kind": "union", "name": "", "variantTypes": [ { - "$id": "8370", + "$id": "8574", "kind": "union", "name": "", "variantTypes": [ { - "$ref": "2635" + "$ref": "2745" }, { - "$ref": "2681" + "$ref": "2791" } ], "namespace": "", "decorators": [] }, { - "$ref": "2694" + "$ref": "2804" } ], "namespace": "", @@ -110714,7 +113381,7 @@ "name": "contentType", "nameInResponse": "Content-Type", "type": { - "$ref": "1816" + "$ref": "1940" } } ], @@ -110740,12 +113407,12 @@ }, "parameters": [ { - "$id": "8371", + "$id": "8575", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "location": "Header", "isApiVersion": false, @@ -110757,12 +113424,12 @@ "decorators": [] }, { - "$id": "8372", + "$id": "8576", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1818" + "$ref": "1942" }, "location": "Header", "isApiVersion": false, @@ -110774,12 +113441,12 @@ "decorators": [] }, { - "$id": "8373", + "$id": "8577", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2606" + "$ref": "2716" }, "location": "Body", "isApiVersion": false, @@ -110793,7 +113460,7 @@ ], "response": { "type": { - "$ref": "8369" + "$ref": "8573" } }, "isOverride": false, @@ -110802,26 +113469,26 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription" }, { - "$id": "8374", + "$id": "8578", "kind": "basic", "name": "TranslateAudio", "accessibility": "public", "apiVersions": [], "summary": "Translates audio into English..", "operation": { - "$id": "8375", + "$id": "8579", "name": "TranslateAudio", "resourceName": "Audio", "summary": "Translates audio into English..", "accessibility": "public", "parameters": [ { - "$id": "8376", + "$id": "8580", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1820" + "$ref": "1944" }, "isApiVersion": false, "optional": false, @@ -110832,12 +113499,12 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.accept" }, { - "$id": "8377", + "$id": "8581", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1822" + "$ref": "1946" }, "isApiVersion": false, "optional": false, @@ -110848,12 +113515,12 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.contentType" }, { - "$id": "8378", + "$id": "8582", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2726" + "$ref": "2836" }, "isApiVersion": false, "contentTypes": [ @@ -110873,27 +113540,27 @@ 200 ], "bodyType": { - "$id": "8379", + "$id": "8583", "kind": "union", "name": "", "variantTypes": [ { - "$id": "8380", + "$id": "8584", "kind": "union", "name": "", "variantTypes": [ { - "$ref": "2736" + "$ref": "2846" }, { - "$ref": "2746" + "$ref": "2856" } ], "namespace": "", "decorators": [] }, { - "$id": "8381", + "$id": "8585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110908,7 +113575,7 @@ "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "1824" + "$ref": "1948" } } ], @@ -110934,12 +113601,12 @@ }, "parameters": [ { - "$id": "8382", + "$id": "8586", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1826" + "$ref": "1950" }, "location": "Header", "isApiVersion": false, @@ -110951,12 +113618,12 @@ "decorators": [] }, { - "$id": "8383", + "$id": "8587", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1828" + "$ref": "1952" }, "location": "Header", "isApiVersion": false, @@ -110968,12 +113635,12 @@ "decorators": [] }, { - "$id": "8384", + "$id": "8588", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2726" + "$ref": "2836" }, "location": "Body", "isApiVersion": false, @@ -110987,7 +113654,7 @@ ], "response": { "type": { - "$ref": "8379" + "$ref": "8583" } }, "isOverride": false, @@ -110998,13 +113665,13 @@ ], "parameters": [ { - "$id": "8385", + "$id": "8589", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8386", + "$id": "8590", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -111015,7 +113682,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8387", + "$id": "8591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -111033,36 +113700,36 @@ "crossLanguageDefinitionId": "OpenAI.Audio", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8388", + "$id": "8592", "kind": "client", "name": "Batches", "namespace": "OpenAI", "methods": [ { - "$id": "8389", + "$id": "8593", "kind": "basic", "name": "createBatch", "accessibility": "public", "apiVersions": [], "summary": "Creates and executes a batch from an uploaded file of requests", "operation": { - "$id": "8390", + "$id": "8594", "name": "createBatch", "resourceName": "Batches", "summary": "Creates and executes a batch from an uploaded file of requests", "accessibility": "public", "parameters": [ { - "$id": "8391", + "$id": "8595", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1830" + "$ref": "1954" }, "isApiVersion": false, "optional": false, @@ -111073,13 +113740,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.accept" }, { - "$id": "8392", + "$id": "8596", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1832" + "$ref": "1956" }, "isApiVersion": false, "optional": false, @@ -111090,12 +113757,12 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.contentType" }, { - "$id": "8393", + "$id": "8597", "kind": "body", "name": "createBatchRequest", "serializedName": "createBatchRequest", "type": { - "$ref": "2749" + "$ref": "2859" }, "isApiVersion": false, "contentTypes": [ @@ -111115,7 +113782,7 @@ 200 ], "bodyType": { - "$ref": "2755" + "$ref": "2865" }, "headers": [], "isErrorResponse": false, @@ -111138,12 +113805,12 @@ }, "parameters": [ { - "$id": "8394", + "$id": "8598", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1834" + "$ref": "1958" }, "location": "Header", "isApiVersion": false, @@ -111155,13 +113822,13 @@ "decorators": [] }, { - "$id": "8395", + "$id": "8599", "kind": "method", "name": "input_file_id", "serializedName": "input_file_id", "doc": "The ID of an uploaded file that contains requests for the new batch.\n\nSee [upload file](/docs/api-reference/files/create) for how to upload a file.\n\nYour input file must be formatted as a [JSONL file](/docs/api-reference/batch/requestInput),\nand must be uploaded with the purpose `batch`.", "type": { - "$id": "8396", + "$id": "8600", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111177,7 +113844,7 @@ "decorators": [] }, { - "$id": "8397", + "$id": "8601", "kind": "method", "name": "endpoint", "serializedName": "endpoint", @@ -111195,13 +113862,13 @@ "decorators": [] }, { - "$id": "8398", + "$id": "8602", "kind": "method", "name": "completion_window", "serializedName": "completion_window", "doc": "The time frame within which the batch should be processed. Currently only `24h` is supported.", "type": { - "$ref": "1534" + "$ref": "1660" }, "location": "Body", "isApiVersion": false, @@ -111213,13 +113880,13 @@ "decorators": [] }, { - "$id": "8399", + "$id": "8603", "kind": "method", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "location": "Body", "isApiVersion": false, @@ -111231,13 +113898,13 @@ "decorators": [] }, { - "$id": "8400", + "$id": "8604", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1832" + "$ref": "1956" }, "location": "Header", "isApiVersion": false, @@ -111251,7 +113918,7 @@ ], "response": { "type": { - "$ref": "2755" + "$ref": "2865" } }, "isOverride": false, @@ -111260,26 +113927,26 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch" }, { - "$id": "8401", + "$id": "8605", "kind": "paging", "name": "GetBatches", "accessibility": "public", "apiVersions": [], "summary": "List your organization's batches.", "operation": { - "$id": "8402", + "$id": "8606", "name": "GetBatches", "resourceName": "Batches", "summary": "List your organization's batches.", "accessibility": "public", "parameters": [ { - "$id": "8403", + "$id": "8607", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1838" + "$ref": "1962" }, "isApiVersion": false, "optional": false, @@ -111290,13 +113957,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.accept" }, { - "$id": "8404", + "$id": "8608", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8405", + "$id": "8609", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111311,13 +113978,13 @@ "readOnly": false }, { - "$id": "8406", + "$id": "8610", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8407", + "$id": "8611", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -111338,7 +114005,7 @@ 200 ], "bodyType": { - "$ref": "2822" + "$ref": "2932" }, "headers": [], "isErrorResponse": false, @@ -111358,12 +114025,12 @@ }, "parameters": [ { - "$id": "8408", + "$id": "8612", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1840" + "$ref": "1964" }, "location": "Header", "isApiVersion": false, @@ -111375,13 +114042,13 @@ "decorators": [] }, { - "$id": "8409", + "$id": "8613", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8410", + "$id": "8614", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111397,13 +114064,13 @@ "decorators": [] }, { - "$id": "8411", + "$id": "8615", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8412", + "$id": "8616", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -111421,7 +114088,7 @@ ], "response": { "type": { - "$ref": "2824" + "$ref": "2934" }, "resultSegments": [ "data" @@ -111437,7 +114104,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8404" + "$ref": "8608" }, "responseSegments": [ "last_id" @@ -111448,26 +114115,26 @@ } }, { - "$id": "8413", + "$id": "8617", "kind": "basic", "name": "GetBatch", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a batch.", "operation": { - "$id": "8414", + "$id": "8618", "name": "GetBatch", "resourceName": "Batches", "summary": "Retrieves a batch.", "accessibility": "public", "parameters": [ { - "$id": "8415", + "$id": "8619", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1842" + "$ref": "1966" }, "isApiVersion": false, "optional": false, @@ -111478,13 +114145,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch.accept" }, { - "$id": "8416", + "$id": "8620", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { - "$id": "8417", + "$id": "8621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111508,7 +114175,7 @@ 200 ], "bodyType": { - "$ref": "2755" + "$ref": "2865" }, "headers": [], "isErrorResponse": false, @@ -111528,12 +114195,12 @@ }, "parameters": [ { - "$id": "8418", + "$id": "8622", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1844" + "$ref": "1968" }, "location": "Header", "isApiVersion": false, @@ -111545,13 +114212,13 @@ "decorators": [] }, { - "$id": "8419", + "$id": "8623", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { - "$id": "8420", + "$id": "8624", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111569,7 +114236,7 @@ ], "response": { "type": { - "$ref": "2755" + "$ref": "2865" } }, "isOverride": false, @@ -111578,26 +114245,26 @@ "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch" }, { - "$id": "8421", + "$id": "8625", "kind": "basic", "name": "cancelBatch", "accessibility": "public", "apiVersions": [], "summary": "Cancels an in-progress batch.", "operation": { - "$id": "8422", + "$id": "8626", "name": "cancelBatch", "resourceName": "Batches", "summary": "Cancels an in-progress batch.", "accessibility": "public", "parameters": [ { - "$id": "8423", + "$id": "8627", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1846" + "$ref": "1970" }, "isApiVersion": false, "optional": false, @@ -111608,13 +114275,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.cancelBatch.accept" }, { - "$id": "8424", + "$id": "8628", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to cancel.", "type": { - "$id": "8425", + "$id": "8629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111638,7 +114305,7 @@ 200 ], "bodyType": { - "$ref": "2755" + "$ref": "2865" }, "headers": [], "isErrorResponse": false, @@ -111658,12 +114325,12 @@ }, "parameters": [ { - "$id": "8426", + "$id": "8630", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1848" + "$ref": "1972" }, "location": "Header", "isApiVersion": false, @@ -111675,13 +114342,13 @@ "decorators": [] }, { - "$id": "8427", + "$id": "8631", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to cancel.", "type": { - "$id": "8428", + "$id": "8632", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111699,7 +114366,7 @@ ], "response": { "type": { - "$ref": "2755" + "$ref": "2865" } }, "isOverride": false, @@ -111710,13 +114377,13 @@ ], "parameters": [ { - "$id": "8429", + "$id": "8633", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8430", + "$id": "8634", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -111727,7 +114394,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8431", + "$id": "8635", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -111745,37 +114412,37 @@ "crossLanguageDefinitionId": "OpenAI.Batches", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8432", + "$id": "8636", "kind": "client", "name": "Chat", "namespace": "OpenAI", "methods": [ { - "$id": "8433", + "$id": "8637", "kind": "paging", "name": "listChatCompletions", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of chat completions.", "operation": { - "$id": "8434", + "$id": "8638", "name": "listChatCompletions", "resourceName": "Chat", "summary": "Returns a list of chat completions.", "accessibility": "public", "parameters": [ { - "$id": "8435", + "$id": "8639", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8436", + "$id": "8640", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111790,13 +114457,13 @@ "readOnly": false }, { - "$id": "8437", + "$id": "8641", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8438", + "$id": "8642", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -111811,13 +114478,13 @@ "readOnly": false }, { - "$id": "8439", + "$id": "8643", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -111828,12 +114495,12 @@ "readOnly": false }, { - "$id": "8440", + "$id": "8644", "kind": "query", "name": "metadata", "serializedName": "metadata", "type": { - "$ref": "2445" + "$ref": "2555" }, "isApiVersion": false, "explode": false, @@ -111844,12 +114511,12 @@ "readOnly": false }, { - "$id": "8441", + "$id": "8645", "kind": "query", "name": "model", "serializedName": "model", "type": { - "$id": "8442", + "$id": "8646", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111864,12 +114531,12 @@ "readOnly": false }, { - "$id": "8443", + "$id": "8647", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1850" + "$ref": "1974" }, "isApiVersion": false, "optional": false, @@ -111886,7 +114553,7 @@ 200 ], "bodyType": { - "$ref": "2832" + "$ref": "2942" }, "headers": [], "isErrorResponse": false, @@ -111906,13 +114573,13 @@ }, "parameters": [ { - "$id": "8444", + "$id": "8648", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8445", + "$id": "8649", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111928,13 +114595,13 @@ "decorators": [] }, { - "$id": "8446", + "$id": "8650", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8447", + "$id": "8651", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -111950,13 +114617,13 @@ "decorators": [] }, { - "$id": "8448", + "$id": "8652", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -111968,12 +114635,12 @@ "decorators": [] }, { - "$id": "8449", + "$id": "8653", "kind": "method", "name": "metadata", "serializedName": "metadata", "type": { - "$ref": "2445" + "$ref": "2555" }, "location": "Query", "isApiVersion": false, @@ -111985,12 +114652,12 @@ "decorators": [] }, { - "$id": "8450", + "$id": "8654", "kind": "method", "name": "model", "serializedName": "model", "type": { - "$id": "8451", + "$id": "8655", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112006,12 +114673,12 @@ "decorators": [] }, { - "$id": "8452", + "$id": "8656", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1850" + "$ref": "1974" }, "location": "Header", "isApiVersion": false, @@ -112025,7 +114692,7 @@ ], "response": { "type": { - "$ref": "2835" + "$ref": "2945" }, "resultSegments": [ "data" @@ -112041,7 +114708,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8435" + "$ref": "8639" }, "responseSegments": [ "last_id" @@ -112052,26 +114719,26 @@ } }, { - "$id": "8453", + "$id": "8657", "kind": "basic", "name": "CompleteChat", "accessibility": "public", "apiVersions": [], "summary": "Creates a model response for the given chat conversation.", "operation": { - "$id": "8454", + "$id": "8658", "name": "CompleteChat", "resourceName": "Chat", "summary": "Creates a model response for the given chat conversation.", "accessibility": "public", "parameters": [ { - "$id": "8455", + "$id": "8659", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1852" + "$ref": "1976" }, "isApiVersion": false, "optional": false, @@ -112082,13 +114749,13 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.accept" }, { - "$id": "8456", + "$id": "8660", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1854" + "$ref": "1978" }, "isApiVersion": false, "optional": false, @@ -112099,12 +114766,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.contentType" }, { - "$id": "8457", + "$id": "8661", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2974" + "$ref": "3084" }, "isApiVersion": false, "contentTypes": [ @@ -112124,15 +114791,15 @@ 200 ], "bodyType": { - "$id": "8458", + "$id": "8662", "kind": "union", "name": "", "variantTypes": [ { - "$ref": "2836" + "$ref": "2946" }, { - "$ref": "3236" + "$ref": "3346" } ], "namespace": "", @@ -112143,7 +114810,7 @@ "name": "contentType", "nameInResponse": "Content-Type", "type": { - "$ref": "1856" + "$ref": "1980" } } ], @@ -112168,12 +114835,12 @@ }, "parameters": [ { - "$id": "8459", + "$id": "8663", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1858" + "$ref": "1982" }, "location": "Header", "isApiVersion": false, @@ -112185,12 +114852,12 @@ "decorators": [] }, { - "$id": "8460", + "$id": "8664", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2974" + "$ref": "3084" }, "location": "Body", "isApiVersion": false, @@ -112202,13 +114869,13 @@ "decorators": [] }, { - "$id": "8461", + "$id": "8665", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1854" + "$ref": "1978" }, "location": "Header", "isApiVersion": false, @@ -112222,7 +114889,7 @@ ], "response": { "type": { - "$ref": "8458" + "$ref": "8662" } }, "isOverride": false, @@ -112231,27 +114898,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion" }, { - "$id": "8462", + "$id": "8666", "kind": "basic", "name": "getChatCompletion", "accessibility": "public", "apiVersions": [], "summary": "Get a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.", "operation": { - "$id": "8463", + "$id": "8667", "name": "getChatCompletion", "resourceName": "Chat", "summary": "Get a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.", "accessibility": "public", "parameters": [ { - "$id": "8464", + "$id": "8668", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { - "$id": "8465", + "$id": "8669", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112269,12 +114936,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion.completion_id" }, { - "$id": "8466", + "$id": "8670", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1860" + "$ref": "1984" }, "isApiVersion": false, "optional": false, @@ -112291,7 +114958,7 @@ 200 ], "bodyType": { - "$ref": "2836" + "$ref": "2946" }, "headers": [], "isErrorResponse": false, @@ -112311,13 +114978,13 @@ }, "parameters": [ { - "$id": "8467", + "$id": "8671", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { - "$id": "8468", + "$id": "8672", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112333,12 +115000,12 @@ "decorators": [] }, { - "$id": "8469", + "$id": "8673", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1860" + "$ref": "1984" }, "location": "Header", "isApiVersion": false, @@ -112352,7 +115019,7 @@ ], "response": { "type": { - "$ref": "2836" + "$ref": "2946" } }, "isOverride": false, @@ -112361,27 +115028,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion" }, { - "$id": "8470", + "$id": "8674", "kind": "basic", "name": "updateChatCompletion", "accessibility": "public", "apiVersions": [], "summary": "Modify a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be modified. Currently, the only supported modification is to update the `metadata` field.\")", "operation": { - "$id": "8471", + "$id": "8675", "name": "updateChatCompletion", "resourceName": "Chat", "summary": "Modify a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be modified. Currently, the only supported modification is to update the `metadata` field.\")", "accessibility": "public", "parameters": [ { - "$id": "8472", + "$id": "8676", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { - "$id": "8473", + "$id": "8677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112399,13 +115066,13 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.completion_id" }, { - "$id": "8474", + "$id": "8678", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1862" + "$ref": "1986" }, "isApiVersion": false, "optional": false, @@ -112416,12 +115083,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.contentType" }, { - "$id": "8475", + "$id": "8679", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1864" + "$ref": "1988" }, "isApiVersion": false, "optional": false, @@ -112432,12 +115099,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.accept" }, { - "$id": "8476", + "$id": "8680", "kind": "body", "name": "updateChatCompletionRequest", "serializedName": "updateChatCompletionRequest", "type": { - "$ref": "3304" + "$ref": "3414" }, "isApiVersion": false, "contentTypes": [ @@ -112457,7 +115124,7 @@ 200 ], "bodyType": { - "$ref": "2836" + "$ref": "2946" }, "headers": [], "isErrorResponse": false, @@ -112480,13 +115147,13 @@ }, "parameters": [ { - "$id": "8477", + "$id": "8681", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { - "$id": "8478", + "$id": "8682", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112502,13 +115169,13 @@ "decorators": [] }, { - "$id": "8479", + "$id": "8683", "kind": "method", "name": "metadata", "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { - "$ref": "2445" + "$ref": "2555" }, "location": "Body", "isApiVersion": false, @@ -112520,13 +115187,13 @@ "decorators": [] }, { - "$id": "8480", + "$id": "8684", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1862" + "$ref": "1986" }, "location": "Header", "isApiVersion": false, @@ -112538,12 +115205,12 @@ "decorators": [] }, { - "$id": "8481", + "$id": "8685", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1864" + "$ref": "1988" }, "location": "Header", "isApiVersion": false, @@ -112557,7 +115224,7 @@ ], "response": { "type": { - "$ref": "2836" + "$ref": "2946" } }, "isOverride": false, @@ -112566,27 +115233,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion" }, { - "$id": "8482", + "$id": "8686", "kind": "basic", "name": "deleteChatCompletion", "accessibility": "public", "apiVersions": [], "summary": "Delete a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be deleted.", "operation": { - "$id": "8483", + "$id": "8687", "name": "deleteChatCompletion", "resourceName": "Chat", "summary": "Delete a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be deleted.", "accessibility": "public", "parameters": [ { - "$id": "8484", + "$id": "8688", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { - "$id": "8485", + "$id": "8689", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112604,12 +115271,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion.completion_id" }, { - "$id": "8486", + "$id": "8690", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1866" + "$ref": "1990" }, "isApiVersion": false, "optional": false, @@ -112626,7 +115293,7 @@ 200 ], "bodyType": { - "$ref": "3306" + "$ref": "3416" }, "headers": [], "isErrorResponse": false, @@ -112646,13 +115313,13 @@ }, "parameters": [ { - "$id": "8487", + "$id": "8691", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { - "$id": "8488", + "$id": "8692", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112668,12 +115335,12 @@ "decorators": [] }, { - "$id": "8489", + "$id": "8693", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1866" + "$ref": "1990" }, "location": "Header", "isApiVersion": false, @@ -112687,7 +115354,7 @@ ], "response": { "type": { - "$ref": "3306" + "$ref": "3416" } }, "isOverride": false, @@ -112696,27 +115363,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion" }, { - "$id": "8490", + "$id": "8694", "kind": "paging", "name": "getChatCompletionMessages", "accessibility": "public", "apiVersions": [], "summary": "Get the messages of a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.", "operation": { - "$id": "8491", + "$id": "8695", "name": "getChatCompletionMessages", "resourceName": "Chat", "summary": "Get the messages of a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.", "accessibility": "public", "parameters": [ { - "$id": "8492", + "$id": "8696", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { - "$id": "8493", + "$id": "8697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112734,13 +115401,13 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.completion_id" }, { - "$id": "8494", + "$id": "8698", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8495", + "$id": "8699", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112755,13 +115422,13 @@ "readOnly": false }, { - "$id": "8496", + "$id": "8700", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8497", + "$id": "8701", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -112776,13 +115443,13 @@ "readOnly": false }, { - "$id": "8498", + "$id": "8702", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -112793,12 +115460,12 @@ "readOnly": false }, { - "$id": "8499", + "$id": "8703", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1868" + "$ref": "1992" }, "isApiVersion": false, "optional": false, @@ -112815,7 +115482,7 @@ 200 ], "bodyType": { - "$ref": "3312" + "$ref": "3422" }, "headers": [], "isErrorResponse": false, @@ -112835,13 +115502,13 @@ }, "parameters": [ { - "$id": "8500", + "$id": "8704", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { - "$id": "8501", + "$id": "8705", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112857,13 +115524,13 @@ "decorators": [] }, { - "$id": "8502", + "$id": "8706", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8503", + "$id": "8707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112879,13 +115546,13 @@ "decorators": [] }, { - "$id": "8504", + "$id": "8708", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8505", + "$id": "8709", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -112901,13 +115568,13 @@ "decorators": [] }, { - "$id": "8506", + "$id": "8710", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -112919,12 +115586,12 @@ "decorators": [] }, { - "$id": "8507", + "$id": "8711", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1868" + "$ref": "1992" }, "location": "Header", "isApiVersion": false, @@ -112938,7 +115605,7 @@ ], "response": { "type": { - "$ref": "3315" + "$ref": "3425" }, "resultSegments": [ "data" @@ -112954,7 +115621,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8494" + "$ref": "8698" }, "responseSegments": [ "last_id" @@ -112967,13 +115634,13 @@ ], "parameters": [ { - "$id": "8508", + "$id": "8712", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8509", + "$id": "8713", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -112984,7 +115651,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8510", + "$id": "8714", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -113002,35 +115669,35 @@ "crossLanguageDefinitionId": "OpenAI.Chat", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8511", + "$id": "8715", "kind": "client", "name": "Containers", "namespace": "OpenAI", "methods": [ { - "$id": "8512", + "$id": "8716", "kind": "paging", "name": "listContainers", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8513", + "$id": "8717", "name": "listContainers", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8514", + "$id": "8718", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8515", + "$id": "8719", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113045,13 +115712,13 @@ "readOnly": false }, { - "$id": "8516", + "$id": "8720", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -113062,13 +115729,13 @@ "readOnly": false }, { - "$id": "8517", + "$id": "8721", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8518", + "$id": "8722", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113083,12 +115750,12 @@ "readOnly": false }, { - "$id": "8519", + "$id": "8723", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1870" + "$ref": "1994" }, "isApiVersion": false, "optional": false, @@ -113105,7 +115772,7 @@ 200 ], "bodyType": { - "$ref": "3335" + "$ref": "3445" }, "headers": [], "isErrorResponse": false, @@ -113125,13 +115792,13 @@ }, "parameters": [ { - "$id": "8520", + "$id": "8724", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8521", + "$id": "8725", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113147,13 +115814,13 @@ "decorators": [] }, { - "$id": "8522", + "$id": "8726", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -113165,13 +115832,13 @@ "decorators": [] }, { - "$id": "8523", + "$id": "8727", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8524", + "$id": "8728", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113187,12 +115854,12 @@ "decorators": [] }, { - "$id": "8525", + "$id": "8729", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1870" + "$ref": "1994" }, "location": "Header", "isApiVersion": false, @@ -113206,7 +115873,7 @@ ], "response": { "type": { - "$ref": "3338" + "$ref": "3448" }, "resultSegments": [ "data" @@ -113222,7 +115889,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8517" + "$ref": "8721" }, "responseSegments": [ "last_id" @@ -113233,25 +115900,25 @@ } }, { - "$id": "8526", + "$id": "8730", "kind": "basic", "name": "createContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8527", + "$id": "8731", "name": "createContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8528", + "$id": "8732", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1872" + "$ref": "1996" }, "isApiVersion": false, "optional": false, @@ -113262,12 +115929,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.contentType" }, { - "$id": "8529", + "$id": "8733", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1874" + "$ref": "1998" }, "isApiVersion": false, "optional": false, @@ -113278,12 +115945,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.accept" }, { - "$id": "8530", + "$id": "8734", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "3362" + "$ref": "3472" }, "isApiVersion": false, "contentTypes": [ @@ -113303,7 +115970,7 @@ 200 ], "bodyType": { - "$ref": "3339" + "$ref": "3449" }, "headers": [], "isErrorResponse": false, @@ -113326,12 +115993,12 @@ }, "parameters": [ { - "$id": "8531", + "$id": "8735", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "3362" + "$ref": "3472" }, "location": "Body", "isApiVersion": false, @@ -113343,13 +116010,13 @@ "decorators": [] }, { - "$id": "8532", + "$id": "8736", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1872" + "$ref": "1996" }, "location": "Header", "isApiVersion": false, @@ -113361,12 +116028,12 @@ "decorators": [] }, { - "$id": "8533", + "$id": "8737", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1874" + "$ref": "1998" }, "location": "Header", "isApiVersion": false, @@ -113380,7 +116047,7 @@ ], "response": { "type": { - "$ref": "3339" + "$ref": "3449" } }, "isOverride": false, @@ -113389,24 +116056,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer" }, { - "$id": "8534", + "$id": "8738", "kind": "basic", "name": "GetContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8535", + "$id": "8739", "name": "GetContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8536", + "$id": "8740", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8537", + "$id": "8741", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113424,12 +116091,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer.container_id" }, { - "$id": "8538", + "$id": "8742", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1876" + "$ref": "2000" }, "isApiVersion": false, "optional": false, @@ -113446,7 +116113,7 @@ 200 ], "bodyType": { - "$ref": "3339" + "$ref": "3449" }, "headers": [], "isErrorResponse": false, @@ -113466,12 +116133,12 @@ }, "parameters": [ { - "$id": "8539", + "$id": "8743", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8540", + "$id": "8744", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113487,12 +116154,12 @@ "decorators": [] }, { - "$id": "8541", + "$id": "8745", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1876" + "$ref": "2000" }, "location": "Header", "isApiVersion": false, @@ -113506,7 +116173,7 @@ ], "response": { "type": { - "$ref": "3339" + "$ref": "3449" } }, "isOverride": false, @@ -113515,24 +116182,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer" }, { - "$id": "8542", + "$id": "8746", "kind": "basic", "name": "deleteContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8543", + "$id": "8747", "name": "deleteContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8544", + "$id": "8748", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8545", + "$id": "8749", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113550,12 +116217,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer.container_id" }, { - "$id": "8546", + "$id": "8750", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1878" + "$ref": "2002" }, "isApiVersion": false, "optional": false, @@ -113572,7 +116239,7 @@ 200 ], "bodyType": { - "$ref": "3371" + "$ref": "3481" }, "headers": [], "isErrorResponse": false, @@ -113592,12 +116259,12 @@ }, "parameters": [ { - "$id": "8547", + "$id": "8751", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8548", + "$id": "8752", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113613,12 +116280,12 @@ "decorators": [] }, { - "$id": "8549", + "$id": "8753", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1878" + "$ref": "2002" }, "location": "Header", "isApiVersion": false, @@ -113632,7 +116299,7 @@ ], "response": { "type": { - "$ref": "3371" + "$ref": "3481" } }, "isOverride": false, @@ -113641,24 +116308,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer" }, { - "$id": "8550", + "$id": "8754", "kind": "basic", "name": "createContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8551", + "$id": "8755", "name": "createContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8552", + "$id": "8756", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8553", + "$id": "8757", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113676,12 +116343,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.container_id" }, { - "$id": "8554", + "$id": "8758", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1880" + "$ref": "2004" }, "isApiVersion": false, "optional": false, @@ -113692,12 +116359,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.contentType" }, { - "$id": "8555", + "$id": "8759", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1882" + "$ref": "2006" }, "isApiVersion": false, "optional": false, @@ -113708,12 +116375,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.accept" }, { - "$id": "8556", + "$id": "8760", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "3376" + "$ref": "3486" }, "isApiVersion": false, "contentTypes": [ @@ -113733,7 +116400,7 @@ 200 ], "bodyType": { - "$ref": "3381" + "$ref": "3491" }, "headers": [], "isErrorResponse": false, @@ -113756,12 +116423,12 @@ }, "parameters": [ { - "$id": "8557", + "$id": "8761", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8558", + "$id": "8762", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113777,12 +116444,12 @@ "decorators": [] }, { - "$id": "8559", + "$id": "8763", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1884" + "$ref": "2008" }, "location": "Header", "isApiVersion": false, @@ -113794,12 +116461,12 @@ "decorators": [] }, { - "$id": "8560", + "$id": "8764", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "3376" + "$ref": "3486" }, "location": "Body", "isApiVersion": false, @@ -113811,12 +116478,12 @@ "decorators": [] }, { - "$id": "8561", + "$id": "8765", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1882" + "$ref": "2006" }, "location": "Header", "isApiVersion": false, @@ -113830,7 +116497,7 @@ ], "response": { "type": { - "$ref": "3381" + "$ref": "3491" } }, "isOverride": false, @@ -113839,24 +116506,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile" }, { - "$id": "8562", + "$id": "8766", "kind": "paging", "name": "listContainerFiles", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8563", + "$id": "8767", "name": "listContainerFiles", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8564", + "$id": "8768", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8565", + "$id": "8769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113874,13 +116541,13 @@ "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.container_id" }, { - "$id": "8566", + "$id": "8770", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8567", + "$id": "8771", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113895,13 +116562,13 @@ "readOnly": false }, { - "$id": "8568", + "$id": "8772", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -113912,13 +116579,13 @@ "readOnly": false }, { - "$id": "8569", + "$id": "8773", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8570", + "$id": "8774", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113933,12 +116600,12 @@ "readOnly": false }, { - "$id": "8571", + "$id": "8775", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1886" + "$ref": "2010" }, "isApiVersion": false, "optional": false, @@ -113955,7 +116622,7 @@ 200 ], "bodyType": { - "$ref": "3397" + "$ref": "3507" }, "headers": [], "isErrorResponse": false, @@ -113975,12 +116642,12 @@ }, "parameters": [ { - "$id": "8572", + "$id": "8776", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8573", + "$id": "8777", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113996,13 +116663,13 @@ "decorators": [] }, { - "$id": "8574", + "$id": "8778", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8575", + "$id": "8779", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -114018,13 +116685,13 @@ "decorators": [] }, { - "$id": "8576", + "$id": "8780", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -114036,13 +116703,13 @@ "decorators": [] }, { - "$id": "8577", + "$id": "8781", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8578", + "$id": "8782", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114058,12 +116725,12 @@ "decorators": [] }, { - "$id": "8579", + "$id": "8783", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1886" + "$ref": "2010" }, "location": "Header", "isApiVersion": false, @@ -114077,7 +116744,7 @@ ], "response": { "type": { - "$ref": "3400" + "$ref": "3510" }, "resultSegments": [ "data" @@ -114093,7 +116760,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8569" + "$ref": "8773" }, "responseSegments": [ "last_id" @@ -114104,24 +116771,24 @@ } }, { - "$id": "8580", + "$id": "8784", "kind": "basic", "name": "GetContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8581", + "$id": "8785", "name": "GetContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8582", + "$id": "8786", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8583", + "$id": "8787", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114139,12 +116806,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.container_id" }, { - "$id": "8584", + "$id": "8788", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8585", + "$id": "8789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114162,12 +116829,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.file_id" }, { - "$id": "8586", + "$id": "8790", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1888" + "$ref": "2012" }, "isApiVersion": false, "optional": false, @@ -114184,7 +116851,7 @@ 200 ], "bodyType": { - "$ref": "3381" + "$ref": "3491" }, "headers": [], "isErrorResponse": false, @@ -114204,12 +116871,12 @@ }, "parameters": [ { - "$id": "8587", + "$id": "8791", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8588", + "$id": "8792", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114225,12 +116892,12 @@ "decorators": [] }, { - "$id": "8589", + "$id": "8793", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8590", + "$id": "8794", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114246,12 +116913,12 @@ "decorators": [] }, { - "$id": "8591", + "$id": "8795", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1888" + "$ref": "2012" }, "location": "Header", "isApiVersion": false, @@ -114265,7 +116932,7 @@ ], "response": { "type": { - "$ref": "3381" + "$ref": "3491" } }, "isOverride": false, @@ -114274,24 +116941,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile" }, { - "$id": "8592", + "$id": "8796", "kind": "basic", "name": "deleteContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8593", + "$id": "8797", "name": "deleteContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8594", + "$id": "8798", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8595", + "$id": "8799", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114309,12 +116976,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.container_id" }, { - "$id": "8596", + "$id": "8800", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8597", + "$id": "8801", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114332,12 +116999,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.file_id" }, { - "$id": "8598", + "$id": "8802", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1890" + "$ref": "2014" }, "isApiVersion": false, "optional": false, @@ -114354,7 +117021,7 @@ 200 ], "bodyType": { - "$ref": "3407" + "$ref": "3517" }, "headers": [], "isErrorResponse": false, @@ -114374,12 +117041,12 @@ }, "parameters": [ { - "$id": "8599", + "$id": "8803", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8600", + "$id": "8804", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114395,12 +117062,12 @@ "decorators": [] }, { - "$id": "8601", + "$id": "8805", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8602", + "$id": "8806", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114416,12 +117083,12 @@ "decorators": [] }, { - "$id": "8603", + "$id": "8807", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1890" + "$ref": "2014" }, "location": "Header", "isApiVersion": false, @@ -114435,7 +117102,7 @@ ], "response": { "type": { - "$ref": "3407" + "$ref": "3517" } }, "isOverride": false, @@ -114444,24 +117111,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile" }, { - "$id": "8604", + "$id": "8808", "kind": "basic", "name": "DownloadContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8605", + "$id": "8809", "name": "DownloadContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8606", + "$id": "8810", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8607", + "$id": "8811", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114479,12 +117146,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.container_id" }, { - "$id": "8608", + "$id": "8812", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8609", + "$id": "8813", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114502,12 +117169,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.file_id" }, { - "$id": "8610", + "$id": "8814", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1892" + "$ref": "2016" }, "isApiVersion": false, "optional": false, @@ -114524,7 +117191,7 @@ 200 ], "bodyType": { - "$id": "8611", + "$id": "8815", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -114549,12 +117216,12 @@ }, "parameters": [ { - "$id": "8612", + "$id": "8816", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8613", + "$id": "8817", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114570,12 +117237,12 @@ "decorators": [] }, { - "$id": "8614", + "$id": "8818", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8615", + "$id": "8819", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114591,12 +117258,12 @@ "decorators": [] }, { - "$id": "8616", + "$id": "8820", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1892" + "$ref": "2016" }, "location": "Header", "isApiVersion": false, @@ -114610,7 +117277,7 @@ ], "response": { "type": { - "$ref": "8611" + "$ref": "8815" } }, "isOverride": false, @@ -114621,13 +117288,13 @@ ], "parameters": [ { - "$id": "8617", + "$id": "8821", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8618", + "$id": "8822", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -114638,7 +117305,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8619", + "$id": "8823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -114656,241 +117323,36 @@ "crossLanguageDefinitionId": "OpenAI.Containers", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8620", - "kind": "client", - "name": "Embeddings", - "namespace": "OpenAI", - "methods": [ - { - "$id": "8621", - "kind": "basic", - "name": "GenerateEmbeddings", - "accessibility": "public", - "apiVersions": [], - "summary": "Creates an embedding vector representing the input text.", - "operation": { - "$id": "8622", - "name": "GenerateEmbeddings", - "resourceName": "Embeddings", - "summary": "Creates an embedding vector representing the input text.", - "accessibility": "public", - "parameters": [ - { - "$id": "8623", - "kind": "header", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "1894" - }, - "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.accept" - }, - { - "$id": "8624", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "1896" - }, - "isApiVersion": false, - "optional": false, - "isContentType": true, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.contentType" - }, - { - "$id": "8625", - "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", - "type": { - "$ref": "3412" - }, - "isApiVersion": false, - "contentTypes": [ - "application/json" - ], - "defaultContentType": "application/json", - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.requestBody" - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "3423" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "POST", - "uri": "{endpoint}", - "path": "/embeddings", - "requestMediaTypes": [ - "application/json" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding", - "decorators": [] - }, - "parameters": [ - { - "$id": "8626", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "1898" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.accept", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "8627", - "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", - "type": { - "$ref": "3412" - }, - "location": "Body", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.requestBody", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "8628", - "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "1896" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.contentType", - "readOnly": false, - "access": "public", - "decorators": [] - } - ], - "response": { - "type": { - "$ref": "3423" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding" - } - ], - "parameters": [ - { - "$id": "8629", - "kind": "endpoint", - "name": "endpoint", - "serializedName": "endpoint", - "doc": "Service host", - "type": { - "$id": "8630", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "isApiVersion": false, - "optional": false, - "scope": "Client", - "isEndpoint": true, - "defaultValue": { - "type": { - "$id": "8631", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://api.openai.com/v1" - }, - "serverUrlTemplate": "{endpoint}", - "skipUrlEncoding": false, - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.endpoint" - } - ], - "initializedBy": 0, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Embeddings", - "apiVersions": [], - "parent": { - "$ref": "8281" - } - }, - { - "$id": "8632", + "$id": "8824", "kind": "client", "name": "Files", "namespace": "OpenAI", "methods": [ { - "$id": "8633", + "$id": "8825", "kind": "basic", "name": "GetFiles", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of files that belong to the user's organization.", "operation": { - "$id": "8634", + "$id": "8826", "name": "GetFiles", "resourceName": "Files", "summary": "Returns a list of files that belong to the user's organization.", "accessibility": "public", "parameters": [ { - "$id": "8635", + "$id": "8827", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1900" + "$ref": "2018" }, "isApiVersion": false, "optional": false, @@ -114901,13 +117363,13 @@ "crossLanguageDefinitionId": "OpenAI.Files.listFiles.accept" }, { - "$id": "8636", + "$id": "8828", "kind": "query", "name": "purpose", "serializedName": "purpose", "doc": "Only return files with the given purpose.", "type": { - "$id": "8637", + "$id": "8829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114928,7 +117390,7 @@ 200 ], "bodyType": { - "$ref": "3444" + "$ref": "3522" }, "headers": [], "isErrorResponse": false, @@ -114948,12 +117410,12 @@ }, "parameters": [ { - "$id": "8638", + "$id": "8830", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1902" + "$ref": "2020" }, "location": "Header", "isApiVersion": false, @@ -114965,13 +117427,13 @@ "decorators": [] }, { - "$id": "8639", + "$id": "8831", "kind": "method", "name": "purpose", "serializedName": "purpose", "doc": "Only return files with the given purpose.", "type": { - "$id": "8640", + "$id": "8832", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114989,7 +117451,7 @@ ], "response": { "type": { - "$ref": "3444" + "$ref": "3522" } }, "isOverride": false, @@ -114998,26 +117460,26 @@ "crossLanguageDefinitionId": "OpenAI.Files.listFiles" }, { - "$id": "8641", + "$id": "8833", "kind": "basic", "name": "UploadFile", "accessibility": "public", "apiVersions": [], "summary": "Upload a file that can be used across various endpoints. The size of all the files uploaded by\none organization can be up to 100 GB.\n\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See\nthe [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files\nsupported. The Fine-tuning API only supports `.jsonl` files.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.", "operation": { - "$id": "8642", + "$id": "8834", "name": "UploadFile", "resourceName": "Files", "summary": "Upload a file that can be used across various endpoints. The size of all the files uploaded by\none organization can be up to 100 GB.\n\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See\nthe [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files\nsupported. The Fine-tuning API only supports `.jsonl` files.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.", "accessibility": "public", "parameters": [ { - "$id": "8643", + "$id": "8835", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1904" + "$ref": "2022" }, "isApiVersion": false, "optional": false, @@ -115028,12 +117490,12 @@ "crossLanguageDefinitionId": "OpenAI.Files.createFile.accept" }, { - "$id": "8644", + "$id": "8836", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1906" + "$ref": "2024" }, "isApiVersion": false, "optional": false, @@ -115044,12 +117506,12 @@ "crossLanguageDefinitionId": "OpenAI.Files.createFile.contentType" }, { - "$id": "8645", + "$id": "8837", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "3473" + "$ref": "3551" }, "isApiVersion": false, "contentTypes": [ @@ -115069,7 +117531,7 @@ 200 ], "bodyType": { - "$ref": "3448" + "$ref": "3526" }, "headers": [], "isErrorResponse": false, @@ -115092,12 +117554,12 @@ }, "parameters": [ { - "$id": "8646", + "$id": "8838", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1908" + "$ref": "2026" }, "location": "Header", "isApiVersion": false, @@ -115109,12 +117571,12 @@ "decorators": [] }, { - "$id": "8647", + "$id": "8839", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1910" + "$ref": "2028" }, "location": "Header", "isApiVersion": false, @@ -115126,12 +117588,12 @@ "decorators": [] }, { - "$id": "8648", + "$id": "8840", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "3473" + "$ref": "3551" }, "location": "Body", "isApiVersion": false, @@ -115145,7 +117607,7 @@ ], "response": { "type": { - "$ref": "3448" + "$ref": "3526" } }, "isOverride": false, @@ -115154,26 +117616,26 @@ "crossLanguageDefinitionId": "OpenAI.Files.createFile" }, { - "$id": "8649", + "$id": "8841", "kind": "basic", "name": "deleteFile", "accessibility": "public", "apiVersions": [], "summary": "Delete a file", "operation": { - "$id": "8650", + "$id": "8842", "name": "deleteFile", "resourceName": "Files", "summary": "Delete a file", "accessibility": "public", "parameters": [ { - "$id": "8651", + "$id": "8843", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1912" + "$ref": "2030" }, "isApiVersion": false, "optional": false, @@ -115184,13 +117646,13 @@ "crossLanguageDefinitionId": "OpenAI.Files.deleteFile.accept" }, { - "$id": "8652", + "$id": "8844", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8653", + "$id": "8845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115214,7 +117676,7 @@ 200 ], "bodyType": { - "$ref": "3477" + "$ref": "3555" }, "headers": [], "isErrorResponse": false, @@ -115234,12 +117696,12 @@ }, "parameters": [ { - "$id": "8654", + "$id": "8846", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1914" + "$ref": "2032" }, "location": "Header", "isApiVersion": false, @@ -115251,13 +117713,13 @@ "decorators": [] }, { - "$id": "8655", + "$id": "8847", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8656", + "$id": "8848", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115275,7 +117737,7 @@ ], "response": { "type": { - "$ref": "3477" + "$ref": "3555" } }, "isOverride": false, @@ -115284,26 +117746,26 @@ "crossLanguageDefinitionId": "OpenAI.Files.deleteFile" }, { - "$id": "8657", + "$id": "8849", "kind": "basic", "name": "GetFile", "accessibility": "public", "apiVersions": [], "summary": "Returns information about a specific file.", "operation": { - "$id": "8658", + "$id": "8850", "name": "GetFile", "resourceName": "Files", "summary": "Returns information about a specific file.", "accessibility": "public", "parameters": [ { - "$id": "8659", + "$id": "8851", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1916" + "$ref": "2034" }, "isApiVersion": false, "optional": false, @@ -115314,13 +117776,13 @@ "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile.accept" }, { - "$id": "8660", + "$id": "8852", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8661", + "$id": "8853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115344,7 +117806,7 @@ 200 ], "bodyType": { - "$ref": "3448" + "$ref": "3526" }, "headers": [], "isErrorResponse": false, @@ -115364,12 +117826,12 @@ }, "parameters": [ { - "$id": "8662", + "$id": "8854", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1918" + "$ref": "2036" }, "location": "Header", "isApiVersion": false, @@ -115381,13 +117843,13 @@ "decorators": [] }, { - "$id": "8663", + "$id": "8855", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8664", + "$id": "8856", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115405,7 +117867,7 @@ ], "response": { "type": { - "$ref": "3448" + "$ref": "3526" } }, "isOverride": false, @@ -115414,26 +117876,26 @@ "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile" }, { - "$id": "8665", + "$id": "8857", "kind": "basic", "name": "downloadFile", "accessibility": "public", "apiVersions": [], "summary": "Returns the contents of the specified file.", "operation": { - "$id": "8666", + "$id": "8858", "name": "downloadFile", "resourceName": "Files", "summary": "Returns the contents of the specified file.", "accessibility": "public", "parameters": [ { - "$id": "8667", + "$id": "8859", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1920" + "$ref": "2038" }, "isApiVersion": false, "optional": false, @@ -115444,13 +117906,13 @@ "crossLanguageDefinitionId": "OpenAI.Files.downloadFile.accept" }, { - "$id": "8668", + "$id": "8860", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8669", + "$id": "8861", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115474,7 +117936,7 @@ 200 ], "bodyType": { - "$id": "8670", + "$id": "8862", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -115499,12 +117961,12 @@ }, "parameters": [ { - "$id": "8671", + "$id": "8863", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1922" + "$ref": "2040" }, "location": "Header", "isApiVersion": false, @@ -115516,13 +117978,13 @@ "decorators": [] }, { - "$id": "8672", + "$id": "8864", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8673", + "$id": "8865", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115540,7 +118002,7 @@ ], "response": { "type": { - "$ref": "8670" + "$ref": "8862" } }, "isOverride": false, @@ -115551,13 +118013,13 @@ ], "parameters": [ { - "$id": "8674", + "$id": "8866", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8675", + "$id": "8867", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -115568,7 +118030,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8676", + "$id": "8868", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -115586,37 +118048,37 @@ "crossLanguageDefinitionId": "OpenAI.Files", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8677", + "$id": "8869", "kind": "client", "name": "FineTuning", "namespace": "OpenAI", "methods": [ { - "$id": "8678", + "$id": "8870", "kind": "basic", "name": "listFineTuningCheckpointPermissions", "accessibility": "public", "apiVersions": [], "summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.", "operation": { - "$id": "8679", + "$id": "8871", "name": "listFineTuningCheckpointPermissions", "resourceName": "FineTuning", "summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.", "accessibility": "public", "parameters": [ { - "$id": "8680", + "$id": "8872", "kind": "path", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to get permissions for.", "type": { - "$id": "8681", + "$id": "8873", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115634,13 +118096,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.fine_tuned_model_checkpoint" }, { - "$id": "8682", + "$id": "8874", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8683", + "$id": "8875", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115655,13 +118117,13 @@ "readOnly": false }, { - "$id": "8684", + "$id": "8876", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8685", + "$id": "8877", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -115676,13 +118138,13 @@ "readOnly": false }, { - "$id": "8686", + "$id": "8878", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -115693,13 +118155,13 @@ "readOnly": false }, { - "$id": "8687", + "$id": "8879", "kind": "query", "name": "project_id", "serializedName": "project_id", "doc": "The ID of the project to get permissions for.", "type": { - "$id": "8688", + "$id": "8880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115714,12 +118176,12 @@ "readOnly": false }, { - "$id": "8689", + "$id": "8881", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1924" + "$ref": "2042" }, "isApiVersion": false, "optional": false, @@ -115736,7 +118198,7 @@ 200 ], "bodyType": { - "$ref": "3483" + "$ref": "3561" }, "headers": [], "isErrorResponse": false, @@ -115756,13 +118218,13 @@ }, "parameters": [ { - "$id": "8690", + "$id": "8882", "kind": "method", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to get permissions for.", "type": { - "$id": "8691", + "$id": "8883", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115778,13 +118240,13 @@ "decorators": [] }, { - "$id": "8692", + "$id": "8884", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "8693", + "$id": "8885", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115800,13 +118262,13 @@ "decorators": [] }, { - "$id": "8694", + "$id": "8886", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "8695", + "$id": "8887", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -115822,13 +118284,13 @@ "decorators": [] }, { - "$id": "8696", + "$id": "8888", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -115840,13 +118302,13 @@ "decorators": [] }, { - "$id": "8697", + "$id": "8889", "kind": "method", "name": "project_id", "serializedName": "project_id", "doc": "The ID of the project to get permissions for.", "type": { - "$id": "8698", + "$id": "8890", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115862,12 +118324,12 @@ "decorators": [] }, { - "$id": "8699", + "$id": "8891", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1924" + "$ref": "2042" }, "location": "Header", "isApiVersion": false, @@ -115881,7 +118343,7 @@ ], "response": { "type": { - "$ref": "3483" + "$ref": "3561" } }, "isOverride": false, @@ -115890,27 +118352,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions" }, { - "$id": "8700", + "$id": "8892", "kind": "basic", "name": "createFineTuningCheckpointPermission", "accessibility": "public", "apiVersions": [], "summary": "NOTE: This endpoint requires an admin API key.\nThis enables organization owners to share fine-tuned models with other projects in their organization.", "operation": { - "$id": "8701", + "$id": "8893", "name": "createFineTuningCheckpointPermission", "resourceName": "FineTuning", "summary": "NOTE: This endpoint requires an admin API key.\nThis enables organization owners to share fine-tuned models with other projects in their organization.", "accessibility": "public", "parameters": [ { - "$id": "8702", + "$id": "8894", "kind": "path", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to create a permission for.", "type": { - "$id": "8703", + "$id": "8895", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115928,13 +118390,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.fine_tuned_model_checkpoint" }, { - "$id": "8704", + "$id": "8896", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1926" + "$ref": "2044" }, "isApiVersion": false, "optional": false, @@ -115945,12 +118407,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.contentType" }, { - "$id": "8705", + "$id": "8897", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1928" + "$ref": "2046" }, "isApiVersion": false, "optional": false, @@ -115961,12 +118423,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.accept" }, { - "$id": "8706", + "$id": "8898", "kind": "body", "name": "createFineTuningCheckpointPermissionRequest", "serializedName": "createFineTuningCheckpointPermissionRequest", "type": { - "$ref": "3504" + "$ref": "3582" }, "isApiVersion": false, "contentTypes": [ @@ -115986,7 +118448,7 @@ 200 ], "bodyType": { - "$ref": "3483" + "$ref": "3561" }, "headers": [], "isErrorResponse": false, @@ -116009,13 +118471,13 @@ }, "parameters": [ { - "$id": "8707", + "$id": "8899", "kind": "method", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to create a permission for.", "type": { - "$id": "8708", + "$id": "8900", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116031,13 +118493,13 @@ "decorators": [] }, { - "$id": "8709", + "$id": "8901", "kind": "method", "name": "project_ids", "serializedName": "project_ids", "doc": "The project identifiers to grant access to.", "type": { - "$ref": "2438" + "$ref": "2548" }, "location": "Body", "isApiVersion": false, @@ -116049,13 +118511,13 @@ "decorators": [] }, { - "$id": "8710", + "$id": "8902", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1926" + "$ref": "2044" }, "location": "Header", "isApiVersion": false, @@ -116067,12 +118529,12 @@ "decorators": [] }, { - "$id": "8711", + "$id": "8903", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1928" + "$ref": "2046" }, "location": "Header", "isApiVersion": false, @@ -116086,7 +118548,7 @@ ], "response": { "type": { - "$ref": "3483" + "$ref": "3561" } }, "isOverride": false, @@ -116095,27 +118557,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission" }, { - "$id": "8712", + "$id": "8904", "kind": "basic", "name": "deleteFineTuningCheckpointPermission", "accessibility": "public", "apiVersions": [], "summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.", "operation": { - "$id": "8713", + "$id": "8905", "name": "deleteFineTuningCheckpointPermission", "resourceName": "FineTuning", "summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.", "accessibility": "public", "parameters": [ { - "$id": "8714", + "$id": "8906", "kind": "path", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to delete a permission for.", "type": { - "$id": "8715", + "$id": "8907", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116133,13 +118595,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.fine_tuned_model_checkpoint" }, { - "$id": "8716", + "$id": "8908", "kind": "path", "name": "permission_id", "serializedName": "permission_id", "doc": "The ID of the permission to delete.", "type": { - "$id": "8717", + "$id": "8909", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116157,12 +118619,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.permission_id" }, { - "$id": "8718", + "$id": "8910", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1930" + "$ref": "2048" }, "isApiVersion": false, "optional": false, @@ -116179,7 +118641,7 @@ 200 ], "bodyType": { - "$ref": "3506" + "$ref": "3584" }, "headers": [], "isErrorResponse": false, @@ -116199,13 +118661,13 @@ }, "parameters": [ { - "$id": "8719", + "$id": "8911", "kind": "method", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to delete a permission for.", "type": { - "$id": "8720", + "$id": "8912", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116221,13 +118683,13 @@ "decorators": [] }, { - "$id": "8721", + "$id": "8913", "kind": "method", "name": "permission_id", "serializedName": "permission_id", "doc": "The ID of the permission to delete.", "type": { - "$id": "8722", + "$id": "8914", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116243,12 +118705,12 @@ "decorators": [] }, { - "$id": "8723", + "$id": "8915", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1930" + "$ref": "2048" }, "location": "Header", "isApiVersion": false, @@ -116262,7 +118724,7 @@ ], "response": { "type": { - "$ref": "3506" + "$ref": "3584" } }, "isOverride": false, @@ -116271,26 +118733,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission" }, { - "$id": "8724", + "$id": "8916", "kind": "basic", "name": "createFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Creates a fine-tuning job which begins the process of creating a new model from a given dataset.\n\nResponse includes details of the enqueued job including job status and the name of the fine-tuned models once complete.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)", "operation": { - "$id": "8725", + "$id": "8917", "name": "createFineTuningJob", "resourceName": "FineTuning", "summary": "Creates a fine-tuning job which begins the process of creating a new model from a given dataset.\n\nResponse includes details of the enqueued job including job status and the name of the fine-tuned models once complete.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)", "accessibility": "public", "parameters": [ { - "$id": "8726", + "$id": "8918", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1932" + "$ref": "2050" }, "isApiVersion": false, "optional": false, @@ -116301,13 +118763,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.accept" }, { - "$id": "8727", + "$id": "8919", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1934" + "$ref": "2052" }, "isApiVersion": false, "optional": false, @@ -116318,12 +118780,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.contentType" }, { - "$id": "8728", + "$id": "8920", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "3512" + "$ref": "3590" }, "isApiVersion": false, "contentTypes": [ @@ -116343,7 +118805,7 @@ 200 ], "bodyType": { - "$ref": "3708" + "$ref": "3786" }, "headers": [], "isErrorResponse": false, @@ -116366,12 +118828,12 @@ }, "parameters": [ { - "$id": "8729", + "$id": "8921", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1936" + "$ref": "2054" }, "location": "Header", "isApiVersion": false, @@ -116383,12 +118845,12 @@ "decorators": [] }, { - "$id": "8730", + "$id": "8922", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "3512" + "$ref": "3590" }, "location": "Body", "isApiVersion": false, @@ -116400,13 +118862,13 @@ "decorators": [] }, { - "$id": "8731", + "$id": "8923", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1934" + "$ref": "2052" }, "location": "Header", "isApiVersion": false, @@ -116420,7 +118882,7 @@ ], "response": { "type": { - "$ref": "3708" + "$ref": "3786" } }, "isOverride": false, @@ -116429,26 +118891,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob" }, { - "$id": "8732", + "$id": "8924", "kind": "basic", "name": "listPaginatedFineTuningJobs", "accessibility": "public", "apiVersions": [], "summary": "List your organization's fine-tuning jobs", "operation": { - "$id": "8733", + "$id": "8925", "name": "listPaginatedFineTuningJobs", "resourceName": "FineTuning", "summary": "List your organization's fine-tuning jobs", "accessibility": "public", "parameters": [ { - "$id": "8734", + "$id": "8926", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1938" + "$ref": "2056" }, "isApiVersion": false, "optional": false, @@ -116459,13 +118921,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.accept" }, { - "$id": "8735", + "$id": "8927", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { - "$id": "8736", + "$id": "8928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116480,13 +118942,13 @@ "readOnly": false }, { - "$id": "8737", + "$id": "8929", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { - "$id": "8738", + "$id": "8930", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116507,7 +118969,7 @@ 200 ], "bodyType": { - "$ref": "3791" + "$ref": "3869" }, "headers": [], "isErrorResponse": false, @@ -116527,12 +118989,12 @@ }, "parameters": [ { - "$id": "8739", + "$id": "8931", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1940" + "$ref": "2058" }, "location": "Header", "isApiVersion": false, @@ -116544,13 +119006,13 @@ "decorators": [] }, { - "$id": "8740", + "$id": "8932", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { - "$id": "8741", + "$id": "8933", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116566,13 +119028,13 @@ "decorators": [] }, { - "$id": "8742", + "$id": "8934", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { - "$id": "8743", + "$id": "8935", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116590,7 +119052,7 @@ ], "response": { "type": { - "$ref": "3791" + "$ref": "3869" } }, "isOverride": false, @@ -116599,26 +119061,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs" }, { - "$id": "8744", + "$id": "8936", "kind": "basic", "name": "retrieveFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)", "operation": { - "$id": "8745", + "$id": "8937", "name": "retrieveFineTuningJob", "resourceName": "FineTuning", "summary": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)", "accessibility": "public", "parameters": [ { - "$id": "8746", + "$id": "8938", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1942" + "$ref": "2060" }, "isApiVersion": false, "optional": false, @@ -116629,13 +119091,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob.accept" }, { - "$id": "8747", + "$id": "8939", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { - "$id": "8748", + "$id": "8940", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116659,7 +119121,7 @@ 200 ], "bodyType": { - "$ref": "3708" + "$ref": "3786" }, "headers": [], "isErrorResponse": false, @@ -116679,12 +119141,12 @@ }, "parameters": [ { - "$id": "8749", + "$id": "8941", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1944" + "$ref": "2062" }, "location": "Header", "isApiVersion": false, @@ -116696,13 +119158,13 @@ "decorators": [] }, { - "$id": "8750", + "$id": "8942", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { - "$id": "8751", + "$id": "8943", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116720,7 +119182,7 @@ ], "response": { "type": { - "$ref": "3708" + "$ref": "3786" } }, "isOverride": false, @@ -116729,26 +119191,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob" }, { - "$id": "8752", + "$id": "8944", "kind": "basic", "name": "cancelFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Immediately cancel a fine-tune job.", "operation": { - "$id": "8753", + "$id": "8945", "name": "cancelFineTuningJob", "resourceName": "FineTuning", "summary": "Immediately cancel a fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "8754", + "$id": "8946", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1946" + "$ref": "2064" }, "isApiVersion": false, "optional": false, @@ -116759,13 +119221,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob.accept" }, { - "$id": "8755", + "$id": "8947", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { - "$id": "8756", + "$id": "8948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116789,7 +119251,7 @@ 200 ], "bodyType": { - "$ref": "3708" + "$ref": "3786" }, "headers": [], "isErrorResponse": false, @@ -116809,12 +119271,12 @@ }, "parameters": [ { - "$id": "8757", + "$id": "8949", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1948" + "$ref": "2066" }, "location": "Header", "isApiVersion": false, @@ -116826,13 +119288,13 @@ "decorators": [] }, { - "$id": "8758", + "$id": "8950", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { - "$id": "8759", + "$id": "8951", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116850,7 +119312,7 @@ ], "response": { "type": { - "$ref": "3708" + "$ref": "3786" } }, "isOverride": false, @@ -116859,26 +119321,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob" }, { - "$id": "8760", + "$id": "8952", "kind": "basic", "name": "listFineTuningJobCheckpoints", "accessibility": "public", "apiVersions": [], "summary": "List the checkpoints for a fine-tuning job.", "operation": { - "$id": "8761", + "$id": "8953", "name": "listFineTuningJobCheckpoints", "resourceName": "FineTuning", "summary": "List the checkpoints for a fine-tuning job.", "accessibility": "public", "parameters": [ { - "$id": "8762", + "$id": "8954", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1950" + "$ref": "2068" }, "isApiVersion": false, "optional": false, @@ -116889,13 +119351,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.accept" }, { - "$id": "8763", + "$id": "8955", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get checkpoints for.", "type": { - "$id": "8764", + "$id": "8956", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116913,13 +119375,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.fine_tuning_job_id" }, { - "$id": "8765", + "$id": "8957", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { - "$id": "8766", + "$id": "8958", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116934,13 +119396,13 @@ "readOnly": false }, { - "$id": "8767", + "$id": "8959", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of checkpoints to retrieve.", "type": { - "$id": "8768", + "$id": "8960", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116961,7 +119423,7 @@ 200 ], "bodyType": { - "$ref": "3797" + "$ref": "3875" }, "headers": [], "isErrorResponse": false, @@ -116981,12 +119443,12 @@ }, "parameters": [ { - "$id": "8769", + "$id": "8961", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1952" + "$ref": "2070" }, "location": "Header", "isApiVersion": false, @@ -116998,13 +119460,13 @@ "decorators": [] }, { - "$id": "8770", + "$id": "8962", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get checkpoints for.", "type": { - "$id": "8771", + "$id": "8963", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117020,13 +119482,13 @@ "decorators": [] }, { - "$id": "8772", + "$id": "8964", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { - "$id": "8773", + "$id": "8965", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117042,13 +119504,13 @@ "decorators": [] }, { - "$id": "8774", + "$id": "8966", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of checkpoints to retrieve.", "type": { - "$id": "8775", + "$id": "8967", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117066,7 +119528,7 @@ ], "response": { "type": { - "$ref": "3797" + "$ref": "3875" } }, "isOverride": false, @@ -117075,26 +119537,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints" }, { - "$id": "8776", + "$id": "8968", "kind": "basic", "name": "listFineTuningEvents", "accessibility": "public", "apiVersions": [], "summary": "Get status updates for a fine-tuning job.", "operation": { - "$id": "8777", + "$id": "8969", "name": "listFineTuningEvents", "resourceName": "FineTuning", "summary": "Get status updates for a fine-tuning job.", "accessibility": "public", "parameters": [ { - "$id": "8778", + "$id": "8970", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1954" + "$ref": "2072" }, "isApiVersion": false, "optional": false, @@ -117105,13 +119567,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.accept" }, { - "$id": "8779", + "$id": "8971", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get events for.", "type": { - "$id": "8780", + "$id": "8972", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117129,13 +119591,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.fine_tuning_job_id" }, { - "$id": "8781", + "$id": "8973", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { - "$id": "8782", + "$id": "8974", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117150,13 +119612,13 @@ "readOnly": false }, { - "$id": "8783", + "$id": "8975", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of events to retrieve.", "type": { - "$id": "8784", + "$id": "8976", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117177,7 +119639,7 @@ 200 ], "bodyType": { - "$ref": "3838" + "$ref": "3916" }, "headers": [], "isErrorResponse": false, @@ -117197,12 +119659,12 @@ }, "parameters": [ { - "$id": "8785", + "$id": "8977", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1956" + "$ref": "2074" }, "location": "Header", "isApiVersion": false, @@ -117214,13 +119676,13 @@ "decorators": [] }, { - "$id": "8786", + "$id": "8978", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get events for.", "type": { - "$id": "8787", + "$id": "8979", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117236,13 +119698,13 @@ "decorators": [] }, { - "$id": "8788", + "$id": "8980", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { - "$id": "8789", + "$id": "8981", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117258,13 +119720,13 @@ "decorators": [] }, { - "$id": "8790", + "$id": "8982", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of events to retrieve.", "type": { - "$id": "8791", + "$id": "8983", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117282,7 +119744,7 @@ ], "response": { "type": { - "$ref": "3838" + "$ref": "3916" } }, "isOverride": false, @@ -117291,27 +119753,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents" }, { - "$id": "8792", + "$id": "8984", "kind": "basic", "name": "pauseFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Pause a fine-tune job.", "operation": { - "$id": "8793", + "$id": "8985", "name": "pauseFineTuningJob", "resourceName": "FineTuning", "summary": "Pause a fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "8794", + "$id": "8986", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { - "$id": "8795", + "$id": "8987", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117329,12 +119791,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob.fine_tuning_job_id" }, { - "$id": "8796", + "$id": "8988", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1958" + "$ref": "2076" }, "isApiVersion": false, "optional": false, @@ -117351,7 +119813,7 @@ 200 ], "bodyType": { - "$ref": "3708" + "$ref": "3786" }, "headers": [], "isErrorResponse": false, @@ -117371,13 +119833,13 @@ }, "parameters": [ { - "$id": "8797", + "$id": "8989", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { - "$id": "8798", + "$id": "8990", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117393,12 +119855,12 @@ "decorators": [] }, { - "$id": "8799", + "$id": "8991", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1958" + "$ref": "2076" }, "location": "Header", "isApiVersion": false, @@ -117412,7 +119874,7 @@ ], "response": { "type": { - "$ref": "3708" + "$ref": "3786" } }, "isOverride": false, @@ -117421,27 +119883,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob" }, { - "$id": "8800", + "$id": "8992", "kind": "basic", "name": "resumeFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Resume a paused fine-tune job.", "operation": { - "$id": "8801", + "$id": "8993", "name": "resumeFineTuningJob", "resourceName": "FineTuning", "summary": "Resume a paused fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "8802", + "$id": "8994", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { - "$id": "8803", + "$id": "8995", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117459,12 +119921,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.resumeFineTuningJob.fine_tuning_job_id" }, { - "$id": "8804", + "$id": "8996", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1960" + "$ref": "2078" }, "isApiVersion": false, "optional": false, @@ -117481,7 +119943,7 @@ 200 ], "bodyType": { - "$ref": "3708" + "$ref": "3786" }, "headers": [], "isErrorResponse": false, @@ -117501,13 +119963,13 @@ }, "parameters": [ { - "$id": "8805", + "$id": "8997", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { - "$id": "8806", + "$id": "8998", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117523,12 +119985,12 @@ "decorators": [] }, { - "$id": "8807", + "$id": "8999", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1960" + "$ref": "2078" }, "location": "Header", "isApiVersion": false, @@ -117542,7 +120004,7 @@ ], "response": { "type": { - "$ref": "3708" + "$ref": "3786" } }, "isOverride": false, @@ -117553,13 +120015,13 @@ ], "parameters": [ { - "$id": "8808", + "$id": "9000", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8809", + "$id": "9001", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -117570,7 +120032,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8810", + "$id": "9002", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -117588,37 +120050,37 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8811", + "$id": "9003", "kind": "client", "name": "Graders", "namespace": "OpenAI", "methods": [ { - "$id": "8812", + "$id": "9004", "kind": "basic", "name": "runGrader", "accessibility": "public", "apiVersions": [], "summary": "Run a grader.", "operation": { - "$id": "8813", + "$id": "9005", "name": "runGrader", "resourceName": "Graders", "summary": "Run a grader.", "accessibility": "public", "parameters": [ { - "$id": "8814", + "$id": "9006", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1962" + "$ref": "2080" }, "isApiVersion": false, "optional": false, @@ -117629,12 +120091,12 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.contentType" }, { - "$id": "8815", + "$id": "9007", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1964" + "$ref": "2082" }, "isApiVersion": false, "optional": false, @@ -117645,12 +120107,12 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.accept" }, { - "$id": "8816", + "$id": "9008", "kind": "body", "name": "request", "serializedName": "request", "type": { - "$ref": "3857" + "$ref": "3935" }, "isApiVersion": false, "contentTypes": [ @@ -117670,7 +120132,7 @@ 200 ], "bodyType": { - "$ref": "3864" + "$ref": "3942" }, "headers": [], "isErrorResponse": false, @@ -117693,12 +120155,12 @@ }, "parameters": [ { - "$id": "8817", + "$id": "9009", "kind": "method", "name": "request", "serializedName": "request", "type": { - "$ref": "3857" + "$ref": "3935" }, "location": "Body", "isApiVersion": false, @@ -117710,13 +120172,13 @@ "decorators": [] }, { - "$id": "8818", + "$id": "9010", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1962" + "$ref": "2080" }, "location": "Header", "isApiVersion": false, @@ -117728,12 +120190,12 @@ "decorators": [] }, { - "$id": "8819", + "$id": "9011", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1964" + "$ref": "2082" }, "location": "Header", "isApiVersion": false, @@ -117747,7 +120209,7 @@ ], "response": { "type": { - "$ref": "3864" + "$ref": "3942" } }, "isOverride": false, @@ -117756,27 +120218,27 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader" }, { - "$id": "8820", + "$id": "9012", "kind": "basic", "name": "validateGrader", "accessibility": "public", "apiVersions": [], "summary": "Validate a grader.", "operation": { - "$id": "8821", + "$id": "9013", "name": "validateGrader", "resourceName": "Graders", "summary": "Validate a grader.", "accessibility": "public", "parameters": [ { - "$id": "8822", + "$id": "9014", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1966" + "$ref": "2084" }, "isApiVersion": false, "optional": false, @@ -117787,12 +120249,12 @@ "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.contentType" }, { - "$id": "8823", + "$id": "9015", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1968" + "$ref": "2086" }, "isApiVersion": false, "optional": false, @@ -117803,12 +120265,12 @@ "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.accept" }, { - "$id": "8824", + "$id": "9016", "kind": "body", "name": "request", "serializedName": "request", "type": { - "$ref": "3920" + "$ref": "3998" }, "isApiVersion": false, "contentTypes": [ @@ -117828,7 +120290,7 @@ 200 ], "bodyType": { - "$ref": "3923" + "$ref": "4001" }, "headers": [], "isErrorResponse": false, @@ -117851,12 +120313,12 @@ }, "parameters": [ { - "$id": "8825", + "$id": "9017", "kind": "method", "name": "request", "serializedName": "request", "type": { - "$ref": "3920" + "$ref": "3998" }, "location": "Body", "isApiVersion": false, @@ -117868,13 +120330,13 @@ "decorators": [] }, { - "$id": "8826", + "$id": "9018", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1966" + "$ref": "2084" }, "location": "Header", "isApiVersion": false, @@ -117886,12 +120348,12 @@ "decorators": [] }, { - "$id": "8827", + "$id": "9019", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1968" + "$ref": "2086" }, "location": "Header", "isApiVersion": false, @@ -117905,7 +120367,7 @@ ], "response": { "type": { - "$ref": "3923" + "$ref": "4001" } }, "isOverride": false, @@ -117916,13 +120378,13 @@ ], "parameters": [ { - "$id": "8828", + "$id": "9020", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8829", + "$id": "9021", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -117933,7 +120395,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8830", + "$id": "9022", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -117951,37 +120413,37 @@ "crossLanguageDefinitionId": "OpenAI.Graders", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8831", + "$id": "9023", "kind": "client", "name": "Evals", "namespace": "OpenAI", "methods": [ { - "$id": "8832", + "$id": "9024", "kind": "basic", "name": "listEvals", "accessibility": "public", "apiVersions": [], "summary": "List evaluations for a project.", "operation": { - "$id": "8833", + "$id": "9025", "name": "listEvals", "resourceName": "Evals", "summary": "List evaluations for a project.", "accessibility": "public", "parameters": [ { - "$id": "8834", + "$id": "9026", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { - "$id": "8835", + "$id": "9027", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117996,13 +120458,13 @@ "readOnly": false }, { - "$id": "8836", + "$id": "9028", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { - "$id": "8837", + "$id": "9029", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118017,13 +120479,13 @@ "readOnly": false }, { - "$id": "8838", + "$id": "9030", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order for evals by timestamp. Use `asc` for ascending order or\n`desc` for descending order.", "type": { - "$ref": "1423" + "$ref": "1549" }, "isApiVersion": false, "explode": false, @@ -118034,13 +120496,13 @@ "readOnly": false }, { - "$id": "8839", + "$id": "9031", "kind": "query", "name": "order_by", "serializedName": "order_by", "doc": "Evals can be ordered by creation time or last updated time. Use\n`created_at` for creation time or `updated_at` for last updated\ntime.", "type": { - "$ref": "1427" + "$ref": "1553" }, "isApiVersion": false, "explode": false, @@ -118051,12 +120513,12 @@ "readOnly": false }, { - "$id": "8840", + "$id": "9032", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1970" + "$ref": "2088" }, "isApiVersion": false, "optional": false, @@ -118073,7 +120535,7 @@ 200 ], "bodyType": { - "$ref": "3926" + "$ref": "4004" }, "headers": [], "isErrorResponse": false, @@ -118093,13 +120555,13 @@ }, "parameters": [ { - "$id": "8841", + "$id": "9033", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { - "$id": "8842", + "$id": "9034", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118115,13 +120577,13 @@ "decorators": [] }, { - "$id": "8843", + "$id": "9035", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { - "$id": "8844", + "$id": "9036", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118137,13 +120599,13 @@ "decorators": [] }, { - "$id": "8845", + "$id": "9037", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order for evals by timestamp. Use `asc` for ascending order or\n`desc` for descending order.", "type": { - "$ref": "1423" + "$ref": "1549" }, "location": "Query", "isApiVersion": false, @@ -118155,13 +120617,13 @@ "decorators": [] }, { - "$id": "8846", + "$id": "9038", "kind": "method", "name": "order_by", "serializedName": "order_by", "doc": "Evals can be ordered by creation time or last updated time. Use\n`created_at` for creation time or `updated_at` for last updated\ntime.", "type": { - "$ref": "1427" + "$ref": "1553" }, "location": "Query", "isApiVersion": false, @@ -118173,12 +120635,12 @@ "decorators": [] }, { - "$id": "8847", + "$id": "9039", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1970" + "$ref": "2088" }, "location": "Header", "isApiVersion": false, @@ -118192,7 +120654,7 @@ ], "response": { "type": { - "$ref": "3926" + "$ref": "4004" } }, "isOverride": false, @@ -118201,27 +120663,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.listEvals" }, { - "$id": "8848", + "$id": "9040", "kind": "basic", "name": "createEval", "accessibility": "public", "apiVersions": [], "doc": "Create the structure of an evaluation that can be used to test a model's\nperformance.\n\nAn evaluation is a set of testing criteria and a datasource. After\ncreating an evaluation, you can run it on different models and model\nparameters. We support several types of graders and datasources.\n\nFor more information, see the [Evals guide](/docs/guides/evals).", "operation": { - "$id": "8849", + "$id": "9041", "name": "createEval", "resourceName": "Evals", "doc": "Create the structure of an evaluation that can be used to test a model's\nperformance.\n\nAn evaluation is a set of testing criteria and a datasource. After\ncreating an evaluation, you can run it on different models and model\nparameters. We support several types of graders and datasources.\n\nFor more information, see the [Evals guide](/docs/guides/evals).", "accessibility": "public", "parameters": [ { - "$id": "8850", + "$id": "9042", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1972" + "$ref": "2090" }, "isApiVersion": false, "optional": false, @@ -118232,12 +120694,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval.contentType" }, { - "$id": "8851", + "$id": "9043", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1974" + "$ref": "2092" }, "isApiVersion": false, "optional": false, @@ -118248,12 +120710,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval.accept" }, { - "$id": "8852", + "$id": "9044", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "4018" + "$ref": "4096" }, "isApiVersion": false, "contentTypes": [ @@ -118273,7 +120735,7 @@ 201 ], "bodyType": { - "$ref": "3930" + "$ref": "4008" }, "headers": [], "isErrorResponse": false, @@ -118296,12 +120758,12 @@ }, "parameters": [ { - "$id": "8853", + "$id": "9045", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "4018" + "$ref": "4096" }, "location": "Body", "isApiVersion": false, @@ -118313,13 +120775,13 @@ "decorators": [] }, { - "$id": "8854", + "$id": "9046", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1972" + "$ref": "2090" }, "location": "Header", "isApiVersion": false, @@ -118331,12 +120793,12 @@ "decorators": [] }, { - "$id": "8855", + "$id": "9047", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1974" + "$ref": "2092" }, "location": "Header", "isApiVersion": false, @@ -118350,7 +120812,7 @@ ], "response": { "type": { - "$ref": "3930" + "$ref": "4008" } }, "isOverride": false, @@ -118359,26 +120821,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval" }, { - "$id": "8856", + "$id": "9048", "kind": "basic", "name": "getEval", "accessibility": "public", "apiVersions": [], "summary": "Retrieve an evaluation by its ID.", "operation": { - "$id": "8857", + "$id": "9049", "name": "getEval", "resourceName": "Evals", "summary": "Retrieve an evaluation by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8858", + "$id": "9050", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "8859", + "$id": "9051", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118396,12 +120858,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEval.eval_id" }, { - "$id": "8860", + "$id": "9052", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1976" + "$ref": "2094" }, "isApiVersion": false, "optional": false, @@ -118418,7 +120880,7 @@ 200 ], "bodyType": { - "$ref": "3930" + "$ref": "4008" }, "headers": [], "isErrorResponse": false, @@ -118438,12 +120900,12 @@ }, "parameters": [ { - "$id": "8861", + "$id": "9053", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "8862", + "$id": "9054", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118459,12 +120921,12 @@ "decorators": [] }, { - "$id": "8863", + "$id": "9055", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1976" + "$ref": "2094" }, "location": "Header", "isApiVersion": false, @@ -118478,7 +120940,7 @@ ], "response": { "type": { - "$ref": "3930" + "$ref": "4008" } }, "isOverride": false, @@ -118487,27 +120949,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEval" }, { - "$id": "8864", + "$id": "9056", "kind": "basic", "name": "updateEval", "accessibility": "public", "apiVersions": [], "doc": "Update select, mutable properties of a specified evaluation.", "operation": { - "$id": "8865", + "$id": "9057", "name": "updateEval", "resourceName": "Evals", "doc": "Update select, mutable properties of a specified evaluation.", "accessibility": "public", "parameters": [ { - "$id": "8866", + "$id": "9058", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to update.", "type": { - "$id": "8867", + "$id": "9059", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118525,13 +120987,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.eval_id" }, { - "$id": "8868", + "$id": "9060", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1978" + "$ref": "2096" }, "isApiVersion": false, "optional": false, @@ -118542,12 +121004,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.contentType" }, { - "$id": "8869", + "$id": "9061", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1980" + "$ref": "2098" }, "isApiVersion": false, "optional": false, @@ -118558,12 +121020,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.accept" }, { - "$id": "8870", + "$id": "9062", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "4098" + "$ref": "4176" }, "isApiVersion": false, "contentTypes": [ @@ -118583,7 +121045,7 @@ 200 ], "bodyType": { - "$ref": "3930" + "$ref": "4008" }, "headers": [], "isErrorResponse": false, @@ -118606,13 +121068,13 @@ }, "parameters": [ { - "$id": "8871", + "$id": "9063", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to update.", "type": { - "$id": "8872", + "$id": "9064", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118628,12 +121090,12 @@ "decorators": [] }, { - "$id": "8873", + "$id": "9065", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "4098" + "$ref": "4176" }, "location": "Body", "isApiVersion": false, @@ -118645,13 +121107,13 @@ "decorators": [] }, { - "$id": "8874", + "$id": "9066", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1978" + "$ref": "2096" }, "location": "Header", "isApiVersion": false, @@ -118663,12 +121125,12 @@ "decorators": [] }, { - "$id": "8875", + "$id": "9067", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1980" + "$ref": "2098" }, "location": "Header", "isApiVersion": false, @@ -118682,7 +121144,7 @@ ], "response": { "type": { - "$ref": "3930" + "$ref": "4008" } }, "isOverride": false, @@ -118691,27 +121153,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval" }, { - "$id": "8876", + "$id": "9068", "kind": "basic", "name": "deleteEval", "accessibility": "public", "apiVersions": [], "doc": "Delete a specified evaluation.", "operation": { - "$id": "8877", + "$id": "9069", "name": "deleteEval", "resourceName": "Evals", "doc": "Delete a specified evaluation.", "accessibility": "public", "parameters": [ { - "$id": "8878", + "$id": "9070", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { - "$id": "8879", + "$id": "9071", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118729,12 +121191,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval.eval_id" }, { - "$id": "8880", + "$id": "9072", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1982" + "$ref": "2100" }, "isApiVersion": false, "optional": false, @@ -118751,7 +121213,7 @@ 200 ], "bodyType": { - "$ref": "4104" + "$ref": "4182" }, "headers": [], "isErrorResponse": false, @@ -118771,13 +121233,13 @@ }, "parameters": [ { - "$id": "8881", + "$id": "9073", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { - "$id": "8882", + "$id": "9074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118793,12 +121255,12 @@ "decorators": [] }, { - "$id": "8883", + "$id": "9075", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1982" + "$ref": "2100" }, "location": "Header", "isApiVersion": false, @@ -118812,7 +121274,7 @@ ], "response": { "type": { - "$ref": "4104" + "$ref": "4182" } }, "isOverride": false, @@ -118821,7 +121283,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval" }, { - "$id": "8884", + "$id": "9076", "kind": "basic", "name": "getEvalRuns", "accessibility": "public", @@ -118829,7 +121291,7 @@ "doc": "Retrieve a list of runs for a specified evaluation.", "summary": "", "operation": { - "$id": "8885", + "$id": "9077", "name": "getEvalRuns", "resourceName": "Evals", "summary": "", @@ -118837,13 +121299,13 @@ "accessibility": "public", "parameters": [ { - "$id": "8886", + "$id": "9078", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { - "$id": "8887", + "$id": "9079", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118861,13 +121323,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.eval_id" }, { - "$id": "8888", + "$id": "9080", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { - "$id": "8889", + "$id": "9081", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118882,13 +121344,13 @@ "readOnly": false }, { - "$id": "8890", + "$id": "9082", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { - "$id": "8891", + "$id": "9083", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118903,13 +121365,13 @@ "readOnly": false }, { - "$id": "8892", + "$id": "9084", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$ref": "1431" + "$ref": "1557" }, "isApiVersion": false, "explode": false, @@ -118920,13 +121382,13 @@ "readOnly": false }, { - "$id": "8893", + "$id": "9085", "kind": "query", "name": "status", "serializedName": "status", "doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.", "type": { - "$ref": "1435" + "$ref": "1561" }, "isApiVersion": false, "explode": false, @@ -118937,12 +121399,12 @@ "readOnly": false }, { - "$id": "8894", + "$id": "9086", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1984" + "$ref": "2102" }, "isApiVersion": false, "optional": false, @@ -118959,7 +121421,7 @@ 200 ], "bodyType": { - "$ref": "4110" + "$ref": "4188" }, "headers": [], "isErrorResponse": false, @@ -118979,13 +121441,13 @@ }, "parameters": [ { - "$id": "8895", + "$id": "9087", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { - "$id": "8896", + "$id": "9088", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119001,13 +121463,13 @@ "decorators": [] }, { - "$id": "8897", + "$id": "9089", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { - "$id": "8898", + "$id": "9090", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119023,13 +121485,13 @@ "decorators": [] }, { - "$id": "8899", + "$id": "9091", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { - "$id": "8900", + "$id": "9092", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -119045,13 +121507,13 @@ "decorators": [] }, { - "$id": "8901", + "$id": "9093", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$ref": "1431" + "$ref": "1557" }, "location": "Query", "isApiVersion": false, @@ -119063,13 +121525,13 @@ "decorators": [] }, { - "$id": "8902", + "$id": "9094", "kind": "method", "name": "status", "serializedName": "status", "doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.", "type": { - "$ref": "1435" + "$ref": "1561" }, "location": "Query", "isApiVersion": false, @@ -119081,12 +121543,12 @@ "decorators": [] }, { - "$id": "8903", + "$id": "9095", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1984" + "$ref": "2102" }, "location": "Header", "isApiVersion": false, @@ -119100,7 +121562,7 @@ ], "response": { "type": { - "$ref": "4110" + "$ref": "4188" } }, "isOverride": false, @@ -119109,27 +121571,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns" }, { - "$id": "8904", + "$id": "9096", "kind": "basic", "name": "createEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Create a new evaluation run, beginning the grading process.", "operation": { - "$id": "8905", + "$id": "9097", "name": "createEvalRun", "resourceName": "Evals", "doc": "Create a new evaluation run, beginning the grading process.", "accessibility": "public", "parameters": [ { - "$id": "8906", + "$id": "9098", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to run.", "type": { - "$id": "8907", + "$id": "9099", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119147,13 +121609,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.eval_id" }, { - "$id": "8908", + "$id": "9100", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1986" + "$ref": "2104" }, "isApiVersion": false, "optional": false, @@ -119164,12 +121626,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.contentType" }, { - "$id": "8909", + "$id": "9101", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1988" + "$ref": "2106" }, "isApiVersion": false, "optional": false, @@ -119180,12 +121642,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.accept" }, { - "$id": "8910", + "$id": "9102", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "4181" + "$ref": "4259" }, "isApiVersion": false, "contentTypes": [ @@ -119205,7 +121667,7 @@ 201 ], "bodyType": { - "$ref": "4114" + "$ref": "4192" }, "headers": [], "isErrorResponse": false, @@ -119228,13 +121690,13 @@ }, "parameters": [ { - "$id": "8911", + "$id": "9103", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to run.", "type": { - "$id": "8912", + "$id": "9104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119250,12 +121712,12 @@ "decorators": [] }, { - "$id": "8913", + "$id": "9105", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "4181" + "$ref": "4259" }, "location": "Body", "isApiVersion": false, @@ -119267,13 +121729,13 @@ "decorators": [] }, { - "$id": "8914", + "$id": "9106", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1986" + "$ref": "2104" }, "location": "Header", "isApiVersion": false, @@ -119285,12 +121747,12 @@ "decorators": [] }, { - "$id": "8915", + "$id": "9107", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1988" + "$ref": "2106" }, "location": "Header", "isApiVersion": false, @@ -119304,7 +121766,7 @@ ], "response": { "type": { - "$ref": "4114" + "$ref": "4192" } }, "isOverride": false, @@ -119313,27 +121775,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun" }, { - "$id": "8916", + "$id": "9108", "kind": "basic", "name": "getEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Retrieve a specific evaluation run by its ID.", "operation": { - "$id": "8917", + "$id": "9109", "name": "getEvalRun", "resourceName": "Evals", "doc": "Retrieve a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8918", + "$id": "9110", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8919", + "$id": "9111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119351,13 +121813,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.eval_id" }, { - "$id": "8920", + "$id": "9112", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { - "$id": "8921", + "$id": "9113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119375,12 +121837,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.run_id" }, { - "$id": "8922", + "$id": "9114", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1990" + "$ref": "2108" }, "isApiVersion": false, "optional": false, @@ -119397,7 +121859,7 @@ 200 ], "bodyType": { - "$ref": "4114" + "$ref": "4192" }, "headers": [], "isErrorResponse": false, @@ -119417,13 +121879,13 @@ }, "parameters": [ { - "$id": "8923", + "$id": "9115", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8924", + "$id": "9116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119439,13 +121901,13 @@ "decorators": [] }, { - "$id": "8925", + "$id": "9117", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { - "$id": "8926", + "$id": "9118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119461,12 +121923,12 @@ "decorators": [] }, { - "$id": "8927", + "$id": "9119", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1990" + "$ref": "2108" }, "location": "Header", "isApiVersion": false, @@ -119480,7 +121942,7 @@ ], "response": { "type": { - "$ref": "4114" + "$ref": "4192" } }, "isOverride": false, @@ -119489,27 +121951,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun" }, { - "$id": "8928", + "$id": "9120", "kind": "basic", "name": "cancelEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Cancel a specific evaluation run by its ID.", "operation": { - "$id": "8929", + "$id": "9121", "name": "cancelEvalRun", "resourceName": "Evals", "doc": "Cancel a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8930", + "$id": "9122", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8931", + "$id": "9123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119527,13 +121989,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.eval_id" }, { - "$id": "8932", + "$id": "9124", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { - "$id": "8933", + "$id": "9125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119551,12 +122013,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.run_id" }, { - "$id": "8934", + "$id": "9126", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1992" + "$ref": "2110" }, "isApiVersion": false, "optional": false, @@ -119573,7 +122035,7 @@ 200 ], "bodyType": { - "$ref": "4114" + "$ref": "4192" }, "headers": [], "isErrorResponse": false, @@ -119593,13 +122055,13 @@ }, "parameters": [ { - "$id": "8935", + "$id": "9127", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8936", + "$id": "9128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119615,13 +122077,13 @@ "decorators": [] }, { - "$id": "8937", + "$id": "9129", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { - "$id": "8938", + "$id": "9130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119637,12 +122099,12 @@ "decorators": [] }, { - "$id": "8939", + "$id": "9131", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1992" + "$ref": "2110" }, "location": "Header", "isApiVersion": false, @@ -119656,7 +122118,7 @@ ], "response": { "type": { - "$ref": "4114" + "$ref": "4192" } }, "isOverride": false, @@ -119665,27 +122127,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun" }, { - "$id": "8940", + "$id": "9132", "kind": "basic", "name": "deleteEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Delete a specific evaluation run by its ID.", "operation": { - "$id": "8941", + "$id": "9133", "name": "deleteEvalRun", "resourceName": "Evals", "doc": "Delete a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8942", + "$id": "9134", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8943", + "$id": "9135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119703,13 +122165,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.eval_id" }, { - "$id": "8944", + "$id": "9136", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { - "$id": "8945", + "$id": "9137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119727,12 +122189,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.run_id" }, { - "$id": "8946", + "$id": "9138", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1994" + "$ref": "2112" }, "isApiVersion": false, "optional": false, @@ -119749,7 +122211,7 @@ 200 ], "bodyType": { - "$ref": "4556" + "$ref": "4634" }, "headers": [], "isErrorResponse": false, @@ -119769,13 +122231,13 @@ }, "parameters": [ { - "$id": "8947", + "$id": "9139", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8948", + "$id": "9140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119791,13 +122253,13 @@ "decorators": [] }, { - "$id": "8949", + "$id": "9141", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { - "$id": "8950", + "$id": "9142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119813,12 +122275,12 @@ "decorators": [] }, { - "$id": "8951", + "$id": "9143", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1994" + "$ref": "2112" }, "location": "Header", "isApiVersion": false, @@ -119832,7 +122294,7 @@ ], "response": { "type": { - "$ref": "4556" + "$ref": "4634" } }, "isOverride": false, @@ -119841,27 +122303,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun" }, { - "$id": "8952", + "$id": "9144", "kind": "basic", "name": "getEvalRunOutputItems", "accessibility": "public", "apiVersions": [], "doc": "Get a list of output items for a specified evaluation run.", "operation": { - "$id": "8953", + "$id": "9145", "name": "getEvalRunOutputItems", "resourceName": "Evals", "doc": "Get a list of output items for a specified evaluation run.", "accessibility": "public", "parameters": [ { - "$id": "8954", + "$id": "9146", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8955", + "$id": "9147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119879,13 +122341,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.eval_id" }, { - "$id": "8956", + "$id": "9148", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { - "$id": "8957", + "$id": "9149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119903,13 +122365,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.run_id" }, { - "$id": "8958", + "$id": "9150", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { - "$id": "8959", + "$id": "9151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119924,13 +122386,13 @@ "readOnly": false }, { - "$id": "8960", + "$id": "9152", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of output items to be returned in a single pagination response.", "type": { - "$id": "8961", + "$id": "9153", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -119945,13 +122407,13 @@ "readOnly": false }, { - "$id": "8962", + "$id": "9154", "kind": "query", "name": "status", "serializedName": "status", "doc": "Filter output items by their status. Possible values are `fail` and `pass`.", "type": { - "$ref": "1442" + "$ref": "1568" }, "isApiVersion": false, "explode": false, @@ -119962,13 +122424,13 @@ "readOnly": false }, { - "$id": "8963", + "$id": "9155", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$ref": "1446" + "$ref": "1572" }, "isApiVersion": false, "explode": false, @@ -119979,12 +122441,12 @@ "readOnly": false }, { - "$id": "8964", + "$id": "9156", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1996" + "$ref": "2114" }, "isApiVersion": false, "optional": false, @@ -120001,7 +122463,7 @@ 200 ], "bodyType": { - "$ref": "4562" + "$ref": "4640" }, "headers": [], "isErrorResponse": false, @@ -120021,13 +122483,13 @@ }, "parameters": [ { - "$id": "8965", + "$id": "9157", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8966", + "$id": "9158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120043,13 +122505,13 @@ "decorators": [] }, { - "$id": "8967", + "$id": "9159", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { - "$id": "8968", + "$id": "9160", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120065,13 +122527,13 @@ "decorators": [] }, { - "$id": "8969", + "$id": "9161", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { - "$id": "8970", + "$id": "9162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120087,13 +122549,13 @@ "decorators": [] }, { - "$id": "8971", + "$id": "9163", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of output items to be returned in a single pagination response.", "type": { - "$id": "8972", + "$id": "9164", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120109,13 +122571,13 @@ "decorators": [] }, { - "$id": "8973", + "$id": "9165", "kind": "method", "name": "status", "serializedName": "status", "doc": "Filter output items by their status. Possible values are `fail` and `pass`.", "type": { - "$ref": "1442" + "$ref": "1568" }, "location": "Query", "isApiVersion": false, @@ -120127,13 +122589,13 @@ "decorators": [] }, { - "$id": "8974", + "$id": "9166", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$ref": "1446" + "$ref": "1572" }, "location": "Query", "isApiVersion": false, @@ -120145,12 +122607,12 @@ "decorators": [] }, { - "$id": "8975", + "$id": "9167", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1996" + "$ref": "2114" }, "location": "Header", "isApiVersion": false, @@ -120164,7 +122626,7 @@ ], "response": { "type": { - "$ref": "4562" + "$ref": "4640" } }, "isOverride": false, @@ -120173,27 +122635,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems" }, { - "$id": "8976", + "$id": "9168", "kind": "basic", "name": "getEvalRunOutputItem", "accessibility": "public", "apiVersions": [], "doc": "Retrieve a specific output item from an evaluation run by its ID.", "operation": { - "$id": "8977", + "$id": "9169", "name": "getEvalRunOutputItem", "resourceName": "Evals", "doc": "Retrieve a specific output item from an evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8978", + "$id": "9170", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8979", + "$id": "9171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120211,13 +122673,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.eval_id" }, { - "$id": "8980", + "$id": "9172", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { - "$id": "8981", + "$id": "9173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120235,13 +122697,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.run_id" }, { - "$id": "8982", + "$id": "9174", "kind": "path", "name": "output_item_id", "serializedName": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { - "$id": "8983", + "$id": "9175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120259,12 +122721,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.output_item_id" }, { - "$id": "8984", + "$id": "9176", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1998" + "$ref": "2116" }, "isApiVersion": false, "optional": false, @@ -120281,7 +122743,7 @@ 200 ], "bodyType": { - "$ref": "4566" + "$ref": "4644" }, "headers": [], "isErrorResponse": false, @@ -120301,13 +122763,13 @@ }, "parameters": [ { - "$id": "8985", + "$id": "9177", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8986", + "$id": "9178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120323,13 +122785,13 @@ "decorators": [] }, { - "$id": "8987", + "$id": "9179", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { - "$id": "8988", + "$id": "9180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120345,13 +122807,13 @@ "decorators": [] }, { - "$id": "8989", + "$id": "9181", "kind": "method", "name": "output_item_id", "serializedName": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { - "$id": "8990", + "$id": "9182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120367,12 +122829,12 @@ "decorators": [] }, { - "$id": "8991", + "$id": "9183", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1998" + "$ref": "2116" }, "location": "Header", "isApiVersion": false, @@ -120386,7 +122848,7 @@ ], "response": { "type": { - "$ref": "4566" + "$ref": "4644" } }, "isOverride": false, @@ -120397,13 +122859,13 @@ ], "parameters": [ { - "$id": "8992", + "$id": "9184", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8993", + "$id": "9185", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -120414,7 +122876,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8994", + "$id": "9186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -120432,36 +122894,36 @@ "crossLanguageDefinitionId": "OpenAI.Evals", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "8995", + "$id": "9187", "kind": "client", "name": "Responses", "namespace": "OpenAI", "methods": [ { - "$id": "8996", + "$id": "9188", "kind": "basic", "name": "createResponse", "accessibility": "public", "apiVersions": [], "doc": "Creates a model response.", "operation": { - "$id": "8997", + "$id": "9189", "name": "createResponse", "resourceName": "Responses", "doc": "Creates a model response.", "accessibility": "public", "parameters": [ { - "$id": "8998", + "$id": "9190", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "isApiVersion": false, "optional": false, @@ -120472,13 +122934,13 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.accept" }, { - "$id": "8999", + "$id": "9191", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2000" + "$ref": "2118" }, "isApiVersion": false, "optional": false, @@ -120489,12 +122951,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.contentType" }, { - "$id": "9000", + "$id": "9192", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "4629" + "$ref": "4707" }, "isApiVersion": false, "contentTypes": [ @@ -120514,15 +122976,15 @@ 200 ], "bodyType": { - "$id": "9001", + "$id": "9193", "kind": "union", "name": "", "variantTypes": [ { - "$ref": "5176" + "$ref": "5254" }, { - "$ref": "5372" + "$ref": "5450" } ], "namespace": "", @@ -120533,7 +122995,7 @@ "name": "contentType", "nameInResponse": "Content-Type", "type": { - "$ref": "2002" + "$ref": "2120" } } ], @@ -120558,12 +123020,12 @@ }, "parameters": [ { - "$id": "9002", + "$id": "9194", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "location": "Header", "isApiVersion": false, @@ -120575,12 +123037,12 @@ "decorators": [] }, { - "$id": "9003", + "$id": "9195", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "4629" + "$ref": "4707" }, "location": "Body", "isApiVersion": false, @@ -120592,13 +123054,13 @@ "decorators": [] }, { - "$id": "9004", + "$id": "9196", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2000" + "$ref": "2118" }, "location": "Header", "isApiVersion": false, @@ -120612,7 +123074,7 @@ ], "response": { "type": { - "$ref": "9001" + "$ref": "9193" } }, "isOverride": false, @@ -120621,27 +123083,27 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse" }, { - "$id": "9005", + "$id": "9197", "kind": "basic", "name": "getResponse", "accessibility": "public", "apiVersions": [], "doc": "Retrieves a model response with the given ID.", "operation": { - "$id": "9006", + "$id": "9198", "name": "getResponse", "resourceName": "Responses", "doc": "Retrieves a model response with the given ID.", "accessibility": "public", "parameters": [ { - "$id": "9007", + "$id": "9199", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9008", + "$id": "9200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120659,13 +123121,13 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.response_id" }, { - "$id": "9009", + "$id": "9201", "kind": "query", "name": "include", "serializedName": "include[]", "doc": "Specifies additional output data to include in the model response.", "type": { - "$ref": "5164" + "$ref": "5242" }, "isApiVersion": false, "explode": true, @@ -120676,13 +123138,13 @@ "readOnly": false }, { - "$id": "9010", + "$id": "9202", "kind": "query", "name": "stream", "serializedName": "stream", "doc": "If set to true, model response data will be streamed to the client as it is generated using server-sent events.", "type": { - "$id": "9011", + "$id": "9203", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -120697,13 +123159,13 @@ "readOnly": false }, { - "$id": "9012", + "$id": "9204", "kind": "query", "name": "starting_after", "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "9013", + "$id": "9205", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120718,12 +123180,12 @@ "readOnly": false }, { - "$id": "9014", + "$id": "9206", "kind": "query", "name": "include_obfuscation", "serializedName": "include_obfuscation", "type": { - "$id": "9015", + "$id": "9207", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -120738,12 +123200,12 @@ "readOnly": false }, { - "$id": "9016", + "$id": "9208", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "9017", + "$id": "9209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120764,15 +123226,15 @@ 200 ], "bodyType": { - "$id": "9018", + "$id": "9210", "kind": "union", "name": "", "variantTypes": [ { - "$ref": "5176" + "$ref": "5254" }, { - "$ref": "5372" + "$ref": "5450" } ], "namespace": "", @@ -120783,7 +123245,7 @@ "name": "contentType", "nameInResponse": "Content-Type", "type": { - "$ref": "2004" + "$ref": "2122" } } ], @@ -120805,13 +123267,13 @@ }, "parameters": [ { - "$id": "9019", + "$id": "9211", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9020", + "$id": "9212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120827,13 +123289,13 @@ "decorators": [] }, { - "$id": "9021", + "$id": "9213", "kind": "method", "name": "include", "serializedName": "include[]", "doc": "Specifies additional output data to include in the model response.", "type": { - "$ref": "5164" + "$ref": "5242" }, "location": "Query", "isApiVersion": false, @@ -120845,13 +123307,13 @@ "decorators": [] }, { - "$id": "9022", + "$id": "9214", "kind": "method", "name": "stream", "serializedName": "stream", "doc": "If set to true, model response data will be streamed to the client as it is generated using server-sent events.", "type": { - "$id": "9023", + "$id": "9215", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -120867,13 +123329,13 @@ "decorators": [] }, { - "$id": "9024", + "$id": "9216", "kind": "method", "name": "starting_after", "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "9025", + "$id": "9217", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120889,12 +123351,12 @@ "decorators": [] }, { - "$id": "9026", + "$id": "9218", "kind": "method", "name": "include_obfuscation", "serializedName": "include_obfuscation", "type": { - "$id": "9027", + "$id": "9219", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -120910,12 +123372,12 @@ "decorators": [] }, { - "$id": "9028", + "$id": "9220", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "9017" + "$ref": "9209" }, "location": "Header", "isApiVersion": false, @@ -120929,7 +123391,7 @@ ], "response": { "type": { - "$ref": "9018" + "$ref": "9210" } }, "isOverride": false, @@ -120938,25 +123400,25 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getResponse" }, { - "$id": "9029", + "$id": "9221", "kind": "basic", "name": "deleteResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9030", + "$id": "9222", "name": "deleteResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "9031", + "$id": "9223", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "9032", + "$id": "9224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120974,12 +123436,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.response_id" }, { - "$id": "9033", + "$id": "9225", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2006" + "$ref": "2124" }, "isApiVersion": false, "optional": false, @@ -120996,7 +123458,7 @@ 200 ], "bodyType": { - "$ref": "5858" + "$ref": "5936" }, "headers": [], "isErrorResponse": false, @@ -121016,13 +123478,13 @@ }, "parameters": [ { - "$id": "9034", + "$id": "9226", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "9035", + "$id": "9227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121038,12 +123500,12 @@ "decorators": [] }, { - "$id": "9036", + "$id": "9228", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2006" + "$ref": "2124" }, "location": "Header", "isApiVersion": false, @@ -121057,7 +123519,7 @@ ], "response": { "type": { - "$ref": "5858" + "$ref": "5936" } }, "isOverride": false, @@ -121066,25 +123528,25 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse" }, { - "$id": "9037", + "$id": "9229", "kind": "basic", "name": "cancelResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9038", + "$id": "9230", "name": "cancelResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "9039", + "$id": "9231", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "9040", + "$id": "9232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121102,12 +123564,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.response_id" }, { - "$id": "9041", + "$id": "9233", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2008" + "$ref": "2126" }, "isApiVersion": false, "optional": false, @@ -121124,7 +123586,7 @@ 200 ], "bodyType": { - "$ref": "5176" + "$ref": "5254" }, "headers": [], "isErrorResponse": false, @@ -121144,13 +123606,13 @@ }, "parameters": [ { - "$id": "9042", + "$id": "9234", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "9043", + "$id": "9235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121166,12 +123628,12 @@ "decorators": [] }, { - "$id": "9044", + "$id": "9236", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2008" + "$ref": "2126" }, "location": "Header", "isApiVersion": false, @@ -121185,7 +123647,7 @@ ], "response": { "type": { - "$ref": "5176" + "$ref": "5254" } }, "isOverride": false, @@ -121194,27 +123656,27 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse" }, { - "$id": "9045", + "$id": "9237", "kind": "paging", "name": "GetResponseInputItems", "accessibility": "public", "apiVersions": [], "doc": "Returns a list of input items for a given response.", "operation": { - "$id": "9046", + "$id": "9238", "name": "GetResponseInputItems", "resourceName": "Responses", "doc": "Returns a list of input items for a given response.", "accessibility": "public", "parameters": [ { - "$id": "9047", + "$id": "9239", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9048", + "$id": "9240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121232,13 +123694,13 @@ "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.response_id" }, { - "$id": "9049", + "$id": "9241", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9050", + "$id": "9242", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121253,13 +123715,13 @@ "readOnly": false }, { - "$id": "9051", + "$id": "9243", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -121270,13 +123732,13 @@ "readOnly": false }, { - "$id": "9052", + "$id": "9244", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9053", + "$id": "9245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121291,13 +123753,13 @@ "readOnly": false }, { - "$id": "9054", + "$id": "9246", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9055", + "$id": "9247", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121312,12 +123774,12 @@ "readOnly": false }, { - "$id": "9056", + "$id": "9248", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2010" + "$ref": "2128" }, "isApiVersion": false, "optional": false, @@ -121334,7 +123796,7 @@ 200 ], "bodyType": { - "$ref": "5863" + "$ref": "5941" }, "headers": [], "isErrorResponse": false, @@ -121354,13 +123816,13 @@ }, "parameters": [ { - "$id": "9057", + "$id": "9249", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9058", + "$id": "9250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121376,13 +123838,13 @@ "decorators": [] }, { - "$id": "9059", + "$id": "9251", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9060", + "$id": "9252", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121398,13 +123860,13 @@ "decorators": [] }, { - "$id": "9061", + "$id": "9253", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -121416,13 +123878,13 @@ "decorators": [] }, { - "$id": "9062", + "$id": "9254", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9063", + "$id": "9255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121438,13 +123900,13 @@ "decorators": [] }, { - "$id": "9064", + "$id": "9256", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9065", + "$id": "9257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121460,12 +123922,12 @@ "decorators": [] }, { - "$id": "9066", + "$id": "9258", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2010" + "$ref": "2128" }, "location": "Header", "isApiVersion": false, @@ -121479,7 +123941,7 @@ ], "response": { "type": { - "$ref": "5222" + "$ref": "5300" }, "resultSegments": [ "data" @@ -121495,7 +123957,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9052" + "$ref": "9244" }, "responseSegments": [ "last_id" @@ -121508,13 +123970,13 @@ ], "parameters": [ { - "$id": "9067", + "$id": "9259", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9068", + "$id": "9260", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -121525,7 +123987,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9069", + "$id": "9261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -121543,553 +124005,36 @@ "crossLanguageDefinitionId": "OpenAI.Responses", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "9070", - "kind": "client", - "name": "Images", - "namespace": "OpenAI", - "methods": [ - { - "$id": "9071", - "kind": "basic", - "name": "GenerateImages", - "accessibility": "public", - "apiVersions": [], - "summary": "Creates an image given a prompt", - "operation": { - "$id": "9072", - "name": "GenerateImages", - "resourceName": "Images", - "summary": "Creates an image given a prompt", - "accessibility": "public", - "parameters": [ - { - "$id": "9073", - "kind": "header", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2012" - }, - "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Images.createImage.accept" - }, - { - "$id": "9074", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "2014" - }, - "isApiVersion": false, - "optional": false, - "isContentType": true, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Images.createImage.contentType" - }, - { - "$id": "9075", - "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", - "type": { - "$ref": "5872" - }, - "isApiVersion": false, - "contentTypes": [ - "application/json" - ], - "defaultContentType": "application/json", - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Images.createImage.requestBody" - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "5899" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "POST", - "uri": "{endpoint}", - "path": "/images/generations", - "requestMediaTypes": [ - "application/json" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Images.createImage", - "decorators": [] - }, - "parameters": [ - { - "$id": "9076", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2016" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Images.createImage.accept", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9077", - "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", - "type": { - "$ref": "5872" - }, - "location": "Body", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Images.createImage.requestBody", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9078", - "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "2014" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Images.createImage.contentType", - "readOnly": false, - "access": "public", - "decorators": [] - } - ], - "response": { - "type": { - "$ref": "5899" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Images.createImage" - }, - { - "$id": "9079", - "kind": "basic", - "name": "GenerateImageEdits", - "accessibility": "public", - "apiVersions": [], - "summary": "Creates an edited or extended image given an original image and a prompt.", - "operation": { - "$id": "9080", - "name": "GenerateImageEdits", - "resourceName": "Images", - "summary": "Creates an edited or extended image given an original image and a prompt.", - "accessibility": "public", - "parameters": [ - { - "$id": "9081", - "kind": "header", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2018" - }, - "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.accept" - }, - { - "$id": "9082", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "type": { - "$ref": "2020" - }, - "isApiVersion": false, - "optional": false, - "isContentType": true, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.contentType" - }, - { - "$id": "9083", - "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", - "type": { - "$ref": "5926" - }, - "isApiVersion": false, - "contentTypes": [ - "multipart/form-data" - ], - "defaultContentType": "multipart/form-data", - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.requestBody" - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "5899" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "POST", - "uri": "{endpoint}", - "path": "/images/edits", - "requestMediaTypes": [ - "multipart/form-data" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit", - "decorators": [] - }, - "parameters": [ - { - "$id": "9084", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2022" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.accept", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9085", - "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "type": { - "$ref": "2024" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.contentType", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9086", - "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", - "type": { - "$ref": "5926" - }, - "location": "Body", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.requestBody", - "readOnly": false, - "access": "public", - "decorators": [] - } - ], - "response": { - "type": { - "$ref": "5899" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit" - }, - { - "$id": "9087", - "kind": "basic", - "name": "GenerateImageVariations", - "accessibility": "public", - "apiVersions": [], - "summary": "Creates an edited or extended image given an original image and a prompt.", - "operation": { - "$id": "9088", - "name": "GenerateImageVariations", - "resourceName": "Images", - "summary": "Creates an edited or extended image given an original image and a prompt.", - "accessibility": "public", - "parameters": [ - { - "$id": "9089", - "kind": "header", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2026" - }, - "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.accept" - }, - { - "$id": "9090", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "type": { - "$ref": "2028" - }, - "isApiVersion": false, - "optional": false, - "isContentType": true, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.contentType" - }, - { - "$id": "9091", - "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", - "type": { - "$ref": "5952" - }, - "isApiVersion": false, - "contentTypes": [ - "multipart/form-data" - ], - "defaultContentType": "multipart/form-data", - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.requestBody" - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "5899" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "POST", - "uri": "{endpoint}", - "path": "/images/variations", - "requestMediaTypes": [ - "multipart/form-data" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation", - "decorators": [] - }, - "parameters": [ - { - "$id": "9092", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2030" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.accept", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9093", - "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "type": { - "$ref": "2032" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.contentType", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9094", - "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", - "type": { - "$ref": "5952" - }, - "location": "Body", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.requestBody", - "readOnly": false, - "access": "public", - "decorators": [] - } - ], - "response": { - "type": { - "$ref": "5899" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation" - } - ], - "parameters": [ - { - "$id": "9095", - "kind": "endpoint", - "name": "endpoint", - "serializedName": "endpoint", - "doc": "Service host", - "type": { - "$id": "9096", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "isApiVersion": false, - "optional": false, - "scope": "Client", - "isEndpoint": true, - "defaultValue": { - "type": { - "$id": "9097", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://api.openai.com/v1" - }, - "serverUrlTemplate": "{endpoint}", - "skipUrlEncoding": false, - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.endpoint" - } - ], - "initializedBy": 0, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Images", - "apiVersions": [], - "parent": { - "$ref": "8281" - } - }, - { - "$id": "9098", + "$id": "9262", "kind": "client", "name": "Messages", "namespace": "OpenAI", "methods": [ { - "$id": "9099", + "$id": "9263", "kind": "basic", "name": "createMessage", "accessibility": "public", "apiVersions": [], "summary": "Create a message.", "operation": { - "$id": "9100", + "$id": "9264", "name": "createMessage", "resourceName": "Messages", "summary": "Create a message.", "accessibility": "public", "parameters": [ { - "$id": "9101", + "$id": "9265", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2034" + "$ref": "2130" }, "isApiVersion": false, "optional": false, @@ -122100,12 +124045,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.accept" }, { - "$id": "9102", + "$id": "9266", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2036" + "$ref": "2132" }, "isApiVersion": false, "optional": false, @@ -122116,13 +124061,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.openAIBeta" }, { - "$id": "9103", + "$id": "9267", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.", "type": { - "$id": "9104", + "$id": "9268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122140,13 +124085,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.thread_id" }, { - "$id": "9105", + "$id": "9269", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2038" + "$ref": "2134" }, "isApiVersion": false, "optional": false, @@ -122157,12 +124102,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.contentType" }, { - "$id": "9106", + "$id": "9270", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5967" + "$ref": "5950" }, "isApiVersion": false, "contentTypes": [ @@ -122182,7 +124127,7 @@ 200 ], "bodyType": { - "$ref": "6055" + "$ref": "6038" }, "headers": [], "isErrorResponse": false, @@ -122205,12 +124150,12 @@ }, "parameters": [ { - "$id": "9107", + "$id": "9271", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2040" + "$ref": "2136" }, "location": "Header", "isApiVersion": false, @@ -122222,12 +124167,12 @@ "decorators": [] }, { - "$id": "9108", + "$id": "9272", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2042" + "$ref": "2138" }, "location": "Header", "isApiVersion": false, @@ -122239,13 +124184,13 @@ "decorators": [] }, { - "$id": "9109", + "$id": "9273", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.", "type": { - "$id": "9110", + "$id": "9274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122261,12 +124206,12 @@ "decorators": [] }, { - "$id": "9111", + "$id": "9275", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5967" + "$ref": "5950" }, "location": "Body", "isApiVersion": false, @@ -122278,13 +124223,13 @@ "decorators": [] }, { - "$id": "9112", + "$id": "9276", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2038" + "$ref": "2134" }, "location": "Header", "isApiVersion": false, @@ -122298,7 +124243,7 @@ ], "response": { "type": { - "$ref": "6055" + "$ref": "6038" } }, "isOverride": false, @@ -122307,26 +124252,26 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage" }, { - "$id": "9113", + "$id": "9277", "kind": "paging", "name": "listMessages", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of messages for a given thread.", "operation": { - "$id": "9114", + "$id": "9278", "name": "listMessages", "resourceName": "Messages", "summary": "Returns a list of messages for a given thread.", "accessibility": "public", "parameters": [ { - "$id": "9115", + "$id": "9279", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2044" + "$ref": "2140" }, "isApiVersion": false, "optional": false, @@ -122337,12 +124282,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.accept" }, { - "$id": "9116", + "$id": "9280", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2046" + "$ref": "2142" }, "isApiVersion": false, "optional": false, @@ -122353,13 +124298,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.openAIBeta" }, { - "$id": "9117", + "$id": "9281", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "9118", + "$id": "9282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122377,13 +124322,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.thread_id" }, { - "$id": "9119", + "$id": "9283", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9120", + "$id": "9284", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -122398,13 +124343,13 @@ "readOnly": false }, { - "$id": "9121", + "$id": "9285", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -122415,13 +124360,13 @@ "readOnly": false }, { - "$id": "9122", + "$id": "9286", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9123", + "$id": "9287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122436,13 +124381,13 @@ "readOnly": false }, { - "$id": "9124", + "$id": "9288", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9125", + "$id": "9289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122463,7 +124408,7 @@ 200 ], "bodyType": { - "$ref": "6095" + "$ref": "6078" }, "headers": [], "isErrorResponse": false, @@ -122483,12 +124428,12 @@ }, "parameters": [ { - "$id": "9126", + "$id": "9290", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2048" + "$ref": "2144" }, "location": "Header", "isApiVersion": false, @@ -122500,12 +124445,12 @@ "decorators": [] }, { - "$id": "9127", + "$id": "9291", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2050" + "$ref": "2146" }, "location": "Header", "isApiVersion": false, @@ -122517,13 +124462,13 @@ "decorators": [] }, { - "$id": "9128", + "$id": "9292", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "9129", + "$id": "9293", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122539,13 +124484,13 @@ "decorators": [] }, { - "$id": "9130", + "$id": "9294", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9131", + "$id": "9295", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -122561,13 +124506,13 @@ "decorators": [] }, { - "$id": "9132", + "$id": "9296", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -122579,13 +124524,13 @@ "decorators": [] }, { - "$id": "9133", + "$id": "9297", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9134", + "$id": "9298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122601,13 +124546,13 @@ "decorators": [] }, { - "$id": "9135", + "$id": "9299", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9136", + "$id": "9300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122625,7 +124570,7 @@ ], "response": { "type": { - "$ref": "6098" + "$ref": "6081" }, "resultSegments": [ "data" @@ -122641,7 +124586,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9122" + "$ref": "9286" }, "responseSegments": [ "last_id" @@ -122652,26 +124597,26 @@ } }, { - "$id": "9137", + "$id": "9301", "kind": "basic", "name": "getMessage", "accessibility": "public", "apiVersions": [], "summary": "Retrieve a message.", "operation": { - "$id": "9138", + "$id": "9302", "name": "getMessage", "resourceName": "Messages", "summary": "Retrieve a message.", "accessibility": "public", "parameters": [ { - "$id": "9139", + "$id": "9303", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2052" + "$ref": "2148" }, "isApiVersion": false, "optional": false, @@ -122682,12 +124627,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.accept" }, { - "$id": "9140", + "$id": "9304", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2054" + "$ref": "2150" }, "isApiVersion": false, "optional": false, @@ -122698,13 +124643,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.openAIBeta" }, { - "$id": "9141", + "$id": "9305", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.", "type": { - "$id": "9142", + "$id": "9306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122722,13 +124667,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.thread_id" }, { - "$id": "9143", + "$id": "9307", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "9144", + "$id": "9308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122752,7 +124697,7 @@ 200 ], "bodyType": { - "$ref": "6055" + "$ref": "6038" }, "headers": [], "isErrorResponse": false, @@ -122772,12 +124717,12 @@ }, "parameters": [ { - "$id": "9145", + "$id": "9309", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2056" + "$ref": "2152" }, "location": "Header", "isApiVersion": false, @@ -122789,12 +124734,12 @@ "decorators": [] }, { - "$id": "9146", + "$id": "9310", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2058" + "$ref": "2154" }, "location": "Header", "isApiVersion": false, @@ -122806,13 +124751,13 @@ "decorators": [] }, { - "$id": "9147", + "$id": "9311", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.", "type": { - "$id": "9148", + "$id": "9312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122828,13 +124773,13 @@ "decorators": [] }, { - "$id": "9149", + "$id": "9313", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "9150", + "$id": "9314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122852,7 +124797,7 @@ ], "response": { "type": { - "$ref": "6055" + "$ref": "6038" } }, "isOverride": false, @@ -122861,26 +124806,26 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage" }, { - "$id": "9151", + "$id": "9315", "kind": "basic", "name": "modifyMessage", "accessibility": "public", "apiVersions": [], "summary": "Modifies a message.", "operation": { - "$id": "9152", + "$id": "9316", "name": "modifyMessage", "resourceName": "Messages", "summary": "Modifies a message.", "accessibility": "public", "parameters": [ { - "$id": "9153", + "$id": "9317", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2060" + "$ref": "2156" }, "isApiVersion": false, "optional": false, @@ -122891,12 +124836,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.accept" }, { - "$id": "9154", + "$id": "9318", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2062" + "$ref": "2158" }, "isApiVersion": false, "optional": false, @@ -122907,13 +124852,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.openAIBeta" }, { - "$id": "9155", + "$id": "9319", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9156", + "$id": "9320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122931,13 +124876,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.thread_id" }, { - "$id": "9157", + "$id": "9321", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "9158", + "$id": "9322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122955,13 +124900,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.message_id" }, { - "$id": "9159", + "$id": "9323", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2064" + "$ref": "2160" }, "isApiVersion": false, "optional": false, @@ -122972,12 +124917,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.contentType" }, { - "$id": "9160", + "$id": "9324", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6105" + "$ref": "6088" }, "isApiVersion": false, "contentTypes": [ @@ -122997,7 +124942,7 @@ 200 ], "bodyType": { - "$ref": "6055" + "$ref": "6038" }, "headers": [], "isErrorResponse": false, @@ -123020,12 +124965,12 @@ }, "parameters": [ { - "$id": "9161", + "$id": "9325", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2066" + "$ref": "2162" }, "location": "Header", "isApiVersion": false, @@ -123037,12 +124982,12 @@ "decorators": [] }, { - "$id": "9162", + "$id": "9326", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2068" + "$ref": "2164" }, "location": "Header", "isApiVersion": false, @@ -123054,13 +124999,13 @@ "decorators": [] }, { - "$id": "9163", + "$id": "9327", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9164", + "$id": "9328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123076,13 +125021,13 @@ "decorators": [] }, { - "$id": "9165", + "$id": "9329", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "9166", + "$id": "9330", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123098,12 +125043,12 @@ "decorators": [] }, { - "$id": "9167", + "$id": "9331", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6105" + "$ref": "6088" }, "location": "Body", "isApiVersion": false, @@ -123115,13 +125060,13 @@ "decorators": [] }, { - "$id": "9168", + "$id": "9332", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2064" + "$ref": "2160" }, "location": "Header", "isApiVersion": false, @@ -123135,7 +125080,7 @@ ], "response": { "type": { - "$ref": "6055" + "$ref": "6038" } }, "isOverride": false, @@ -123144,26 +125089,26 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage" }, { - "$id": "9169", + "$id": "9333", "kind": "basic", "name": "deleteMessage", "accessibility": "public", "apiVersions": [], "summary": "Deletes a message.", "operation": { - "$id": "9170", + "$id": "9334", "name": "deleteMessage", "resourceName": "Messages", "summary": "Deletes a message.", "accessibility": "public", "parameters": [ { - "$id": "9171", + "$id": "9335", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2070" + "$ref": "2166" }, "isApiVersion": false, "optional": false, @@ -123174,12 +125119,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.accept" }, { - "$id": "9172", + "$id": "9336", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2072" + "$ref": "2168" }, "isApiVersion": false, "optional": false, @@ -123190,13 +125135,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.openAIBeta" }, { - "$id": "9173", + "$id": "9337", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9174", + "$id": "9338", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123214,13 +125159,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.thread_id" }, { - "$id": "9175", + "$id": "9339", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "9176", + "$id": "9340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123244,7 +125189,7 @@ 200 ], "bodyType": { - "$ref": "6107" + "$ref": "6090" }, "headers": [], "isErrorResponse": false, @@ -123264,12 +125209,12 @@ }, "parameters": [ { - "$id": "9177", + "$id": "9341", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2074" + "$ref": "2170" }, "location": "Header", "isApiVersion": false, @@ -123281,12 +125226,12 @@ "decorators": [] }, { - "$id": "9178", + "$id": "9342", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2076" + "$ref": "2172" }, "location": "Header", "isApiVersion": false, @@ -123298,13 +125243,13 @@ "decorators": [] }, { - "$id": "9179", + "$id": "9343", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9180", + "$id": "9344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123320,13 +125265,13 @@ "decorators": [] }, { - "$id": "9181", + "$id": "9345", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "9182", + "$id": "9346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123344,7 +125289,7 @@ ], "response": { "type": { - "$ref": "6107" + "$ref": "6090" } }, "isOverride": false, @@ -123355,13 +125300,13 @@ ], "parameters": [ { - "$id": "9183", + "$id": "9347", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9184", + "$id": "9348", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -123372,7 +125317,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9185", + "$id": "9349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -123390,36 +125335,36 @@ "crossLanguageDefinitionId": "OpenAI.Messages", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "9186", + "$id": "9350", "kind": "client", "name": "Moderations", "namespace": "OpenAI", "methods": [ { - "$id": "9187", + "$id": "9351", "kind": "basic", "name": "ClassifyText", "accessibility": "public", "apiVersions": [], "summary": "Classifies if text is potentially harmful.", "operation": { - "$id": "9188", + "$id": "9352", "name": "ClassifyText", "resourceName": "Moderations", "summary": "Classifies if text is potentially harmful.", "accessibility": "public", "parameters": [ { - "$id": "9189", + "$id": "9353", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2078" + "$ref": "2174" }, "isApiVersion": false, "optional": false, @@ -123430,13 +125375,13 @@ "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.accept" }, { - "$id": "9190", + "$id": "9354", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2080" + "$ref": "2176" }, "isApiVersion": false, "optional": false, @@ -123447,12 +125392,12 @@ "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.contentType" }, { - "$id": "9191", + "$id": "9355", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6113" + "$ref": "6096" }, "isApiVersion": false, "contentTypes": [ @@ -123472,7 +125417,7 @@ 200 ], "bodyType": { - "$ref": "6130" + "$ref": "6113" }, "headers": [], "isErrorResponse": false, @@ -123495,12 +125440,12 @@ }, "parameters": [ { - "$id": "9192", + "$id": "9356", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2082" + "$ref": "2178" }, "location": "Header", "isApiVersion": false, @@ -123512,12 +125457,12 @@ "decorators": [] }, { - "$id": "9193", + "$id": "9357", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6113" + "$ref": "6096" }, "location": "Body", "isApiVersion": false, @@ -123529,13 +125474,13 @@ "decorators": [] }, { - "$id": "9194", + "$id": "9358", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2080" + "$ref": "2176" }, "location": "Header", "isApiVersion": false, @@ -123549,7 +125494,7 @@ ], "response": { "type": { - "$ref": "6130" + "$ref": "6113" } }, "isOverride": false, @@ -123560,13 +125505,13 @@ ], "parameters": [ { - "$id": "9195", + "$id": "9359", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9196", + "$id": "9360", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -123577,7 +125522,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9197", + "$id": "9361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -123595,36 +125540,36 @@ "crossLanguageDefinitionId": "OpenAI.Moderations", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "9198", + "$id": "9362", "kind": "client", "name": "Runs", "namespace": "OpenAI", "methods": [ { - "$id": "9199", + "$id": "9363", "kind": "basic", "name": "createThreadAndRun", "accessibility": "public", "apiVersions": [], "summary": "Create a thread and run it in one request.", "operation": { - "$id": "9200", + "$id": "9364", "name": "createThreadAndRun", "resourceName": "Runs", "summary": "Create a thread and run it in one request.", "accessibility": "public", "parameters": [ { - "$id": "9201", + "$id": "9365", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "isApiVersion": false, "optional": false, @@ -123635,12 +125580,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.accept" }, { - "$id": "9202", + "$id": "9366", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2084" + "$ref": "2180" }, "isApiVersion": false, "optional": false, @@ -123651,13 +125596,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.openAIBeta" }, { - "$id": "9203", + "$id": "9367", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2086" + "$ref": "2182" }, "isApiVersion": false, "optional": false, @@ -123668,12 +125613,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.contentType" }, { - "$id": "9204", + "$id": "9368", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6230" + "$ref": "6213" }, "isApiVersion": false, "contentTypes": [ @@ -123693,7 +125638,7 @@ 200 ], "bodyType": { - "$ref": "6296" + "$ref": "6279" }, "headers": [], "isErrorResponse": false, @@ -123716,12 +125661,12 @@ }, "parameters": [ { - "$id": "9205", + "$id": "9369", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "location": "Header", "isApiVersion": false, @@ -123733,12 +125678,12 @@ "decorators": [] }, { - "$id": "9206", + "$id": "9370", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2088" + "$ref": "2184" }, "location": "Header", "isApiVersion": false, @@ -123750,12 +125695,12 @@ "decorators": [] }, { - "$id": "9207", + "$id": "9371", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6230" + "$ref": "6213" }, "location": "Body", "isApiVersion": false, @@ -123767,13 +125712,13 @@ "decorators": [] }, { - "$id": "9208", + "$id": "9372", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2086" + "$ref": "2182" }, "location": "Header", "isApiVersion": false, @@ -123787,7 +125732,7 @@ ], "response": { "type": { - "$ref": "6296" + "$ref": "6279" } }, "isOverride": false, @@ -123796,26 +125741,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun" }, { - "$id": "9209", + "$id": "9373", "kind": "basic", "name": "createRun", "accessibility": "public", "apiVersions": [], "summary": "Create a run.", "operation": { - "$id": "9210", + "$id": "9374", "name": "createRun", "resourceName": "Runs", "summary": "Create a run.", "accessibility": "public", "parameters": [ { - "$id": "9211", + "$id": "9375", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "isApiVersion": false, "optional": false, @@ -123826,12 +125771,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.accept" }, { - "$id": "9212", + "$id": "9376", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2090" + "$ref": "2186" }, "isApiVersion": false, "optional": false, @@ -123842,13 +125787,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.openAIBeta" }, { - "$id": "9213", + "$id": "9377", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "9214", + "$id": "9378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123866,17 +125811,17 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.thread_id" }, { - "$id": "9215", + "$id": "9379", "kind": "query", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$id": "9216", + "$id": "9380", "kind": "array", "name": "ArrayIncludedRunStepProperty", "valueType": { - "$ref": "1454" + "$ref": "1580" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -123891,13 +125836,13 @@ "readOnly": false }, { - "$id": "9217", + "$id": "9381", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2092" + "$ref": "2188" }, "isApiVersion": false, "optional": false, @@ -123908,12 +125853,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.contentType" }, { - "$id": "9218", + "$id": "9382", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6392" + "$ref": "6375" }, "isApiVersion": false, "contentTypes": [ @@ -123933,7 +125878,7 @@ 200 ], "bodyType": { - "$ref": "6296" + "$ref": "6279" }, "headers": [], "isErrorResponse": false, @@ -123956,12 +125901,12 @@ }, "parameters": [ { - "$id": "9219", + "$id": "9383", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "location": "Header", "isApiVersion": false, @@ -123973,12 +125918,12 @@ "decorators": [] }, { - "$id": "9220", + "$id": "9384", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2094" + "$ref": "2190" }, "location": "Header", "isApiVersion": false, @@ -123990,13 +125935,13 @@ "decorators": [] }, { - "$id": "9221", + "$id": "9385", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "9222", + "$id": "9386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124012,13 +125957,13 @@ "decorators": [] }, { - "$id": "9223", + "$id": "9387", "kind": "method", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9216" + "$ref": "9380" }, "location": "Query", "isApiVersion": false, @@ -124030,12 +125975,12 @@ "decorators": [] }, { - "$id": "9224", + "$id": "9388", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6392" + "$ref": "6375" }, "location": "Body", "isApiVersion": false, @@ -124047,13 +125992,13 @@ "decorators": [] }, { - "$id": "9225", + "$id": "9389", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2092" + "$ref": "2188" }, "location": "Header", "isApiVersion": false, @@ -124067,7 +126012,7 @@ ], "response": { "type": { - "$ref": "6296" + "$ref": "6279" } }, "isOverride": false, @@ -124076,26 +126021,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun" }, { - "$id": "9226", + "$id": "9390", "kind": "paging", "name": "listRuns", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of runs belonging to a thread.", "operation": { - "$id": "9227", + "$id": "9391", "name": "listRuns", "resourceName": "Runs", "summary": "Returns a list of runs belonging to a thread.", "accessibility": "public", "parameters": [ { - "$id": "9228", + "$id": "9392", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2096" + "$ref": "2192" }, "isApiVersion": false, "optional": false, @@ -124106,12 +126051,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.accept" }, { - "$id": "9229", + "$id": "9393", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2098" + "$ref": "2194" }, "isApiVersion": false, "optional": false, @@ -124122,13 +126067,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.openAIBeta" }, { - "$id": "9230", + "$id": "9394", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "9231", + "$id": "9395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124146,13 +126091,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.thread_id" }, { - "$id": "9232", + "$id": "9396", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9233", + "$id": "9397", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124167,13 +126112,13 @@ "readOnly": false }, { - "$id": "9234", + "$id": "9398", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -124184,13 +126129,13 @@ "readOnly": false }, { - "$id": "9235", + "$id": "9399", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9236", + "$id": "9400", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124205,13 +126150,13 @@ "readOnly": false }, { - "$id": "9237", + "$id": "9401", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9238", + "$id": "9402", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124232,7 +126177,7 @@ 200 ], "bodyType": { - "$ref": "6434" + "$ref": "6417" }, "headers": [], "isErrorResponse": false, @@ -124252,12 +126197,12 @@ }, "parameters": [ { - "$id": "9239", + "$id": "9403", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2100" + "$ref": "2196" }, "location": "Header", "isApiVersion": false, @@ -124269,12 +126214,12 @@ "decorators": [] }, { - "$id": "9240", + "$id": "9404", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2102" + "$ref": "2198" }, "location": "Header", "isApiVersion": false, @@ -124286,13 +126231,13 @@ "decorators": [] }, { - "$id": "9241", + "$id": "9405", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "9242", + "$id": "9406", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124308,13 +126253,13 @@ "decorators": [] }, { - "$id": "9243", + "$id": "9407", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9244", + "$id": "9408", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124330,13 +126275,13 @@ "decorators": [] }, { - "$id": "9245", + "$id": "9409", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -124348,13 +126293,13 @@ "decorators": [] }, { - "$id": "9246", + "$id": "9410", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9247", + "$id": "9411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124370,13 +126315,13 @@ "decorators": [] }, { - "$id": "9248", + "$id": "9412", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9249", + "$id": "9413", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124394,7 +126339,7 @@ ], "response": { "type": { - "$ref": "6437" + "$ref": "6420" }, "resultSegments": [ "data" @@ -124410,7 +126355,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9235" + "$ref": "9399" }, "responseSegments": [ "last_id" @@ -124421,26 +126366,26 @@ } }, { - "$id": "9250", + "$id": "9414", "kind": "basic", "name": "getRun", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run.", "operation": { - "$id": "9251", + "$id": "9415", "name": "getRun", "resourceName": "Runs", "summary": "Retrieves a run.", "accessibility": "public", "parameters": [ { - "$id": "9252", + "$id": "9416", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2104" + "$ref": "2200" }, "isApiVersion": false, "optional": false, @@ -124451,12 +126396,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.accept" }, { - "$id": "9253", + "$id": "9417", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2106" + "$ref": "2202" }, "isApiVersion": false, "optional": false, @@ -124467,13 +126412,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.openAIBeta" }, { - "$id": "9254", + "$id": "9418", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9255", + "$id": "9419", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124491,13 +126436,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.thread_id" }, { - "$id": "9256", + "$id": "9420", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "9257", + "$id": "9421", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124521,7 +126466,7 @@ 200 ], "bodyType": { - "$ref": "6296" + "$ref": "6279" }, "headers": [], "isErrorResponse": false, @@ -124541,12 +126486,12 @@ }, "parameters": [ { - "$id": "9258", + "$id": "9422", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2108" + "$ref": "2204" }, "location": "Header", "isApiVersion": false, @@ -124558,12 +126503,12 @@ "decorators": [] }, { - "$id": "9259", + "$id": "9423", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2110" + "$ref": "2206" }, "location": "Header", "isApiVersion": false, @@ -124575,13 +126520,13 @@ "decorators": [] }, { - "$id": "9260", + "$id": "9424", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9261", + "$id": "9425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124597,13 +126542,13 @@ "decorators": [] }, { - "$id": "9262", + "$id": "9426", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "9263", + "$id": "9427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124621,7 +126566,7 @@ ], "response": { "type": { - "$ref": "6296" + "$ref": "6279" } }, "isOverride": false, @@ -124630,26 +126575,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun" }, { - "$id": "9264", + "$id": "9428", "kind": "basic", "name": "modifyRun", "accessibility": "public", "apiVersions": [], "summary": "Modifies a run.", "operation": { - "$id": "9265", + "$id": "9429", "name": "modifyRun", "resourceName": "Runs", "summary": "Modifies a run.", "accessibility": "public", "parameters": [ { - "$id": "9266", + "$id": "9430", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2112" + "$ref": "2208" }, "isApiVersion": false, "optional": false, @@ -124660,12 +126605,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.accept" }, { - "$id": "9267", + "$id": "9431", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2114" + "$ref": "2210" }, "isApiVersion": false, "optional": false, @@ -124676,13 +126621,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.openAIBeta" }, { - "$id": "9268", + "$id": "9432", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9269", + "$id": "9433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124700,13 +126645,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.thread_id" }, { - "$id": "9270", + "$id": "9434", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "9271", + "$id": "9435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124724,13 +126669,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.run_id" }, { - "$id": "9272", + "$id": "9436", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2116" + "$ref": "2212" }, "isApiVersion": false, "optional": false, @@ -124741,12 +126686,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.contentType" }, { - "$id": "9273", + "$id": "9437", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6444" + "$ref": "6427" }, "isApiVersion": false, "contentTypes": [ @@ -124766,7 +126711,7 @@ 200 ], "bodyType": { - "$ref": "6296" + "$ref": "6279" }, "headers": [], "isErrorResponse": false, @@ -124789,12 +126734,12 @@ }, "parameters": [ { - "$id": "9274", + "$id": "9438", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2118" + "$ref": "2214" }, "location": "Header", "isApiVersion": false, @@ -124806,12 +126751,12 @@ "decorators": [] }, { - "$id": "9275", + "$id": "9439", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2120" + "$ref": "2216" }, "location": "Header", "isApiVersion": false, @@ -124823,13 +126768,13 @@ "decorators": [] }, { - "$id": "9276", + "$id": "9440", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9277", + "$id": "9441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124845,13 +126790,13 @@ "decorators": [] }, { - "$id": "9278", + "$id": "9442", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "9279", + "$id": "9443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124867,12 +126812,12 @@ "decorators": [] }, { - "$id": "9280", + "$id": "9444", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6444" + "$ref": "6427" }, "location": "Body", "isApiVersion": false, @@ -124884,13 +126829,13 @@ "decorators": [] }, { - "$id": "9281", + "$id": "9445", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2116" + "$ref": "2212" }, "location": "Header", "isApiVersion": false, @@ -124904,7 +126849,7 @@ ], "response": { "type": { - "$ref": "6296" + "$ref": "6279" } }, "isOverride": false, @@ -124913,26 +126858,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun" }, { - "$id": "9282", + "$id": "9446", "kind": "basic", "name": "cancelRun", "accessibility": "public", "apiVersions": [], "summary": "Cancels a run that is `in_progress`.", "operation": { - "$id": "9283", + "$id": "9447", "name": "cancelRun", "resourceName": "Runs", "summary": "Cancels a run that is `in_progress`.", "accessibility": "public", "parameters": [ { - "$id": "9284", + "$id": "9448", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2122" + "$ref": "2218" }, "isApiVersion": false, "optional": false, @@ -124943,12 +126888,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.accept" }, { - "$id": "9285", + "$id": "9449", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2124" + "$ref": "2220" }, "isApiVersion": false, "optional": false, @@ -124959,13 +126904,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.openAIBeta" }, { - "$id": "9286", + "$id": "9450", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "9287", + "$id": "9451", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124983,13 +126928,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.thread_id" }, { - "$id": "9288", + "$id": "9452", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "9289", + "$id": "9453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125013,7 +126958,7 @@ 200 ], "bodyType": { - "$ref": "6296" + "$ref": "6279" }, "headers": [], "isErrorResponse": false, @@ -125033,12 +126978,12 @@ }, "parameters": [ { - "$id": "9290", + "$id": "9454", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2126" + "$ref": "2222" }, "location": "Header", "isApiVersion": false, @@ -125050,12 +126995,12 @@ "decorators": [] }, { - "$id": "9291", + "$id": "9455", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2128" + "$ref": "2224" }, "location": "Header", "isApiVersion": false, @@ -125067,13 +127012,13 @@ "decorators": [] }, { - "$id": "9292", + "$id": "9456", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "9293", + "$id": "9457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125089,13 +127034,13 @@ "decorators": [] }, { - "$id": "9294", + "$id": "9458", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "9295", + "$id": "9459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125113,7 +127058,7 @@ ], "response": { "type": { - "$ref": "6296" + "$ref": "6279" } }, "isOverride": false, @@ -125122,26 +127067,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun" }, { - "$id": "9296", + "$id": "9460", "kind": "basic", "name": "submitToolOutputsToRun", "accessibility": "public", "apiVersions": [], "summary": "When a run has the `status: \"requires_action\"` and `required_action.type` is\n`submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once\nthey're all completed. All outputs must be submitted in a single request.", "operation": { - "$id": "9297", + "$id": "9461", "name": "submitToolOutputsToRun", "resourceName": "Runs", "summary": "When a run has the `status: \"requires_action\"` and `required_action.type` is\n`submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once\nthey're all completed. All outputs must be submitted in a single request.", "accessibility": "public", "parameters": [ { - "$id": "9298", + "$id": "9462", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "isApiVersion": false, "optional": false, @@ -125152,12 +127097,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.accept" }, { - "$id": "9299", + "$id": "9463", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2130" + "$ref": "2226" }, "isApiVersion": false, "optional": false, @@ -125168,13 +127113,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.openAIBeta" }, { - "$id": "9300", + "$id": "9464", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.", "type": { - "$id": "9301", + "$id": "9465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125192,13 +127137,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.thread_id" }, { - "$id": "9302", + "$id": "9466", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "9303", + "$id": "9467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125216,13 +127161,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.run_id" }, { - "$id": "9304", + "$id": "9468", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2132" + "$ref": "2228" }, "isApiVersion": false, "optional": false, @@ -125233,12 +127178,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.contentType" }, { - "$id": "9305", + "$id": "9469", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6446" + "$ref": "6429" }, "isApiVersion": false, "contentTypes": [ @@ -125258,7 +127203,7 @@ 200 ], "bodyType": { - "$ref": "6296" + "$ref": "6279" }, "headers": [], "isErrorResponse": false, @@ -125281,12 +127226,12 @@ }, "parameters": [ { - "$id": "9306", + "$id": "9470", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1413" + "$ref": "1539" }, "location": "Header", "isApiVersion": false, @@ -125298,12 +127243,12 @@ "decorators": [] }, { - "$id": "9307", + "$id": "9471", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2134" + "$ref": "2230" }, "location": "Header", "isApiVersion": false, @@ -125315,13 +127260,13 @@ "decorators": [] }, { - "$id": "9308", + "$id": "9472", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.", "type": { - "$id": "9309", + "$id": "9473", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125337,13 +127282,13 @@ "decorators": [] }, { - "$id": "9310", + "$id": "9474", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "9311", + "$id": "9475", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125359,12 +127304,12 @@ "decorators": [] }, { - "$id": "9312", + "$id": "9476", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6446" + "$ref": "6429" }, "location": "Body", "isApiVersion": false, @@ -125376,13 +127321,13 @@ "decorators": [] }, { - "$id": "9313", + "$id": "9477", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2132" + "$ref": "2228" }, "location": "Header", "isApiVersion": false, @@ -125396,7 +127341,7 @@ ], "response": { "type": { - "$ref": "6296" + "$ref": "6279" } }, "isOverride": false, @@ -125405,26 +127350,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun" }, { - "$id": "9314", + "$id": "9478", "kind": "paging", "name": "listRunSteps", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of run steps belonging to a run.", "operation": { - "$id": "9315", + "$id": "9479", "name": "listRunSteps", "resourceName": "Runs", "summary": "Returns a list of run steps belonging to a run.", "accessibility": "public", "parameters": [ { - "$id": "9316", + "$id": "9480", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2136" + "$ref": "2232" }, "isApiVersion": false, "optional": false, @@ -125435,12 +127380,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.accept" }, { - "$id": "9317", + "$id": "9481", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2138" + "$ref": "2234" }, "isApiVersion": false, "optional": false, @@ -125451,13 +127396,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.openAIBeta" }, { - "$id": "9318", + "$id": "9482", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "9319", + "$id": "9483", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125475,13 +127420,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.thread_id" }, { - "$id": "9320", + "$id": "9484", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "9321", + "$id": "9485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125499,13 +127444,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.run_id" }, { - "$id": "9322", + "$id": "9486", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9323", + "$id": "9487", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -125520,13 +127465,13 @@ "readOnly": false }, { - "$id": "9324", + "$id": "9488", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -125537,13 +127482,13 @@ "readOnly": false }, { - "$id": "9325", + "$id": "9489", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9326", + "$id": "9490", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125558,13 +127503,13 @@ "readOnly": false }, { - "$id": "9327", + "$id": "9491", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9328", + "$id": "9492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125579,13 +127524,13 @@ "readOnly": false }, { - "$id": "9329", + "$id": "9493", "kind": "query", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9216" + "$ref": "9380" }, "isApiVersion": false, "explode": false, @@ -125603,7 +127548,7 @@ 200 ], "bodyType": { - "$ref": "6457" + "$ref": "6440" }, "headers": [], "isErrorResponse": false, @@ -125623,12 +127568,12 @@ }, "parameters": [ { - "$id": "9330", + "$id": "9494", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2140" + "$ref": "2236" }, "location": "Header", "isApiVersion": false, @@ -125640,12 +127585,12 @@ "decorators": [] }, { - "$id": "9331", + "$id": "9495", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2142" + "$ref": "2238" }, "location": "Header", "isApiVersion": false, @@ -125657,13 +127602,13 @@ "decorators": [] }, { - "$id": "9332", + "$id": "9496", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "9333", + "$id": "9497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125679,13 +127624,13 @@ "decorators": [] }, { - "$id": "9334", + "$id": "9498", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "9335", + "$id": "9499", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125701,13 +127646,13 @@ "decorators": [] }, { - "$id": "9336", + "$id": "9500", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9337", + "$id": "9501", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -125723,13 +127668,13 @@ "decorators": [] }, { - "$id": "9338", + "$id": "9502", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -125741,13 +127686,13 @@ "decorators": [] }, { - "$id": "9339", + "$id": "9503", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9340", + "$id": "9504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125763,13 +127708,13 @@ "decorators": [] }, { - "$id": "9341", + "$id": "9505", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9342", + "$id": "9506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125785,13 +127730,13 @@ "decorators": [] }, { - "$id": "9343", + "$id": "9507", "kind": "method", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9216" + "$ref": "9380" }, "location": "Query", "isApiVersion": false, @@ -125805,7 +127750,7 @@ ], "response": { "type": { - "$ref": "6460" + "$ref": "6443" }, "resultSegments": [ "data" @@ -125821,7 +127766,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9325" + "$ref": "9489" }, "responseSegments": [ "last_id" @@ -125832,26 +127777,26 @@ } }, { - "$id": "9344", + "$id": "9508", "kind": "basic", "name": "getRunStep", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run step.", "operation": { - "$id": "9345", + "$id": "9509", "name": "getRunStep", "resourceName": "Runs", "summary": "Retrieves a run step.", "accessibility": "public", "parameters": [ { - "$id": "9346", + "$id": "9510", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2144" + "$ref": "2240" }, "isApiVersion": false, "optional": false, @@ -125862,12 +127807,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.accept" }, { - "$id": "9347", + "$id": "9511", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2146" + "$ref": "2242" }, "isApiVersion": false, "optional": false, @@ -125878,13 +127823,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.openAIBeta" }, { - "$id": "9348", + "$id": "9512", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "9349", + "$id": "9513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125902,13 +127847,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.thread_id" }, { - "$id": "9350", + "$id": "9514", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "9351", + "$id": "9515", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125926,13 +127871,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.run_id" }, { - "$id": "9352", + "$id": "9516", "kind": "path", "name": "step_id", "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "9353", + "$id": "9517", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125950,13 +127895,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.step_id" }, { - "$id": "9354", + "$id": "9518", "kind": "query", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9216" + "$ref": "9380" }, "isApiVersion": false, "explode": false, @@ -125974,7 +127919,7 @@ 200 ], "bodyType": { - "$ref": "6461" + "$ref": "6444" }, "headers": [], "isErrorResponse": false, @@ -125994,12 +127939,12 @@ }, "parameters": [ { - "$id": "9355", + "$id": "9519", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2148" + "$ref": "2244" }, "location": "Header", "isApiVersion": false, @@ -126011,12 +127956,12 @@ "decorators": [] }, { - "$id": "9356", + "$id": "9520", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2150" + "$ref": "2246" }, "location": "Header", "isApiVersion": false, @@ -126028,13 +127973,13 @@ "decorators": [] }, { - "$id": "9357", + "$id": "9521", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "9358", + "$id": "9522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126050,13 +127995,13 @@ "decorators": [] }, { - "$id": "9359", + "$id": "9523", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "9360", + "$id": "9524", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126072,13 +128017,13 @@ "decorators": [] }, { - "$id": "9361", + "$id": "9525", "kind": "method", "name": "step_id", "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "9362", + "$id": "9526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126094,13 +128039,13 @@ "decorators": [] }, { - "$id": "9363", + "$id": "9527", "kind": "method", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9216" + "$ref": "9380" }, "location": "Query", "isApiVersion": false, @@ -126114,7 +128059,7 @@ ], "response": { "type": { - "$ref": "6461" + "$ref": "6444" } }, "isOverride": false, @@ -126125,13 +128070,13 @@ ], "parameters": [ { - "$id": "9364", + "$id": "9528", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9365", + "$id": "9529", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -126142,7 +128087,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9366", + "$id": "9530", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -126160,36 +128105,36 @@ "crossLanguageDefinitionId": "OpenAI.Runs", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "9367", + "$id": "9531", "kind": "client", "name": "Threads", "namespace": "OpenAI", "methods": [ { - "$id": "9368", + "$id": "9532", "kind": "basic", "name": "createThread", "accessibility": "public", "apiVersions": [], "summary": "Create a thread.", "operation": { - "$id": "9369", + "$id": "9533", "name": "createThread", "resourceName": "Threads", "summary": "Create a thread.", "accessibility": "public", "parameters": [ { - "$id": "9370", + "$id": "9534", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2152" + "$ref": "2248" }, "isApiVersion": false, "optional": false, @@ -126200,12 +128145,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.accept" }, { - "$id": "9371", + "$id": "9535", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2154" + "$ref": "2250" }, "isApiVersion": false, "optional": false, @@ -126216,13 +128161,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.openAIBeta" }, { - "$id": "9372", + "$id": "9536", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2156" + "$ref": "2252" }, "isApiVersion": false, "optional": false, @@ -126233,12 +128178,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.contentType" }, { - "$id": "9373", + "$id": "9537", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6234" + "$ref": "6217" }, "isApiVersion": false, "contentTypes": [ @@ -126258,7 +128203,7 @@ 200 ], "bodyType": { - "$ref": "6610" + "$ref": "6593" }, "headers": [], "isErrorResponse": false, @@ -126281,12 +128226,12 @@ }, "parameters": [ { - "$id": "9374", + "$id": "9538", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2158" + "$ref": "2254" }, "location": "Header", "isApiVersion": false, @@ -126298,12 +128243,12 @@ "decorators": [] }, { - "$id": "9375", + "$id": "9539", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2160" + "$ref": "2256" }, "location": "Header", "isApiVersion": false, @@ -126315,12 +128260,12 @@ "decorators": [] }, { - "$id": "9376", + "$id": "9540", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6234" + "$ref": "6217" }, "location": "Body", "isApiVersion": false, @@ -126332,13 +128277,13 @@ "decorators": [] }, { - "$id": "9377", + "$id": "9541", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2156" + "$ref": "2252" }, "location": "Header", "isApiVersion": false, @@ -126352,7 +128297,7 @@ ], "response": { "type": { - "$ref": "6610" + "$ref": "6593" } }, "isOverride": false, @@ -126361,26 +128306,26 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread" }, { - "$id": "9378", + "$id": "9542", "kind": "basic", "name": "getThread", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a thread.", "operation": { - "$id": "9379", + "$id": "9543", "name": "getThread", "resourceName": "Threads", "summary": "Retrieves a thread.", "accessibility": "public", "parameters": [ { - "$id": "9380", + "$id": "9544", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2162" + "$ref": "2258" }, "isApiVersion": false, "optional": false, @@ -126391,12 +128336,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread.accept" }, { - "$id": "9381", + "$id": "9545", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2164" + "$ref": "2260" }, "isApiVersion": false, "optional": false, @@ -126407,13 +128352,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread.openAIBeta" }, { - "$id": "9382", + "$id": "9546", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "9383", + "$id": "9547", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126437,7 +128382,7 @@ 200 ], "bodyType": { - "$ref": "6610" + "$ref": "6593" }, "headers": [], "isErrorResponse": false, @@ -126457,12 +128402,12 @@ }, "parameters": [ { - "$id": "9384", + "$id": "9548", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2166" + "$ref": "2262" }, "location": "Header", "isApiVersion": false, @@ -126474,12 +128419,12 @@ "decorators": [] }, { - "$id": "9385", + "$id": "9549", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2168" + "$ref": "2264" }, "location": "Header", "isApiVersion": false, @@ -126491,13 +128436,13 @@ "decorators": [] }, { - "$id": "9386", + "$id": "9550", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "9387", + "$id": "9551", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126515,7 +128460,7 @@ ], "response": { "type": { - "$ref": "6610" + "$ref": "6593" } }, "isOverride": false, @@ -126524,26 +128469,26 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread" }, { - "$id": "9388", + "$id": "9552", "kind": "basic", "name": "modifyThread", "accessibility": "public", "apiVersions": [], "summary": "Modifies a thread.", "operation": { - "$id": "9389", + "$id": "9553", "name": "modifyThread", "resourceName": "Threads", "summary": "Modifies a thread.", "accessibility": "public", "parameters": [ { - "$id": "9390", + "$id": "9554", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2170" + "$ref": "2266" }, "isApiVersion": false, "optional": false, @@ -126554,12 +128499,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.accept" }, { - "$id": "9391", + "$id": "9555", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2172" + "$ref": "2268" }, "isApiVersion": false, "optional": false, @@ -126570,13 +128515,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.openAIBeta" }, { - "$id": "9392", + "$id": "9556", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "9393", + "$id": "9557", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126594,13 +128539,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.thread_id" }, { - "$id": "9394", + "$id": "9558", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2174" + "$ref": "2270" }, "isApiVersion": false, "optional": false, @@ -126611,12 +128556,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.contentType" }, { - "$id": "9395", + "$id": "9559", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6627" + "$ref": "6610" }, "isApiVersion": false, "contentTypes": [ @@ -126636,7 +128581,7 @@ 200 ], "bodyType": { - "$ref": "6610" + "$ref": "6593" }, "headers": [], "isErrorResponse": false, @@ -126659,12 +128604,12 @@ }, "parameters": [ { - "$id": "9396", + "$id": "9560", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2176" + "$ref": "2272" }, "location": "Header", "isApiVersion": false, @@ -126676,12 +128621,12 @@ "decorators": [] }, { - "$id": "9397", + "$id": "9561", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2178" + "$ref": "2274" }, "location": "Header", "isApiVersion": false, @@ -126693,13 +128638,13 @@ "decorators": [] }, { - "$id": "9398", + "$id": "9562", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "9399", + "$id": "9563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126715,12 +128660,12 @@ "decorators": [] }, { - "$id": "9400", + "$id": "9564", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6627" + "$ref": "6610" }, "location": "Body", "isApiVersion": false, @@ -126732,13 +128677,13 @@ "decorators": [] }, { - "$id": "9401", + "$id": "9565", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2174" + "$ref": "2270" }, "location": "Header", "isApiVersion": false, @@ -126752,7 +128697,7 @@ ], "response": { "type": { - "$ref": "6610" + "$ref": "6593" } }, "isOverride": false, @@ -126761,26 +128706,26 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread" }, { - "$id": "9402", + "$id": "9566", "kind": "basic", "name": "deleteThread", "accessibility": "public", "apiVersions": [], "summary": "Delete a thread.", "operation": { - "$id": "9403", + "$id": "9567", "name": "deleteThread", "resourceName": "Threads", "summary": "Delete a thread.", "accessibility": "public", "parameters": [ { - "$id": "9404", + "$id": "9568", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2180" + "$ref": "2276" }, "isApiVersion": false, "optional": false, @@ -126791,12 +128736,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.accept" }, { - "$id": "9405", + "$id": "9569", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2182" + "$ref": "2278" }, "isApiVersion": false, "optional": false, @@ -126807,13 +128752,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.openAIBeta" }, { - "$id": "9406", + "$id": "9570", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "9407", + "$id": "9571", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126837,7 +128782,7 @@ 200 ], "bodyType": { - "$ref": "6636" + "$ref": "6619" }, "headers": [], "isErrorResponse": false, @@ -126857,12 +128802,12 @@ }, "parameters": [ { - "$id": "9408", + "$id": "9572", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2184" + "$ref": "2280" }, "location": "Header", "isApiVersion": false, @@ -126874,12 +128819,12 @@ "decorators": [] }, { - "$id": "9409", + "$id": "9573", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2186" + "$ref": "2282" }, "location": "Header", "isApiVersion": false, @@ -126891,13 +128836,13 @@ "decorators": [] }, { - "$id": "9410", + "$id": "9574", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "9411", + "$id": "9575", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126915,7 +128860,7 @@ ], "response": { "type": { - "$ref": "6636" + "$ref": "6619" } }, "isOverride": false, @@ -126926,13 +128871,13 @@ ], "parameters": [ { - "$id": "9412", + "$id": "9576", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9413", + "$id": "9577", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -126943,7 +128888,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9414", + "$id": "9578", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -126961,36 +128906,36 @@ "crossLanguageDefinitionId": "OpenAI.Threads", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "9415", + "$id": "9579", "kind": "client", "name": "VectorStores", "namespace": "OpenAI", "methods": [ { - "$id": "9416", + "$id": "9580", "kind": "paging", "name": "GetVectorStores", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector stores.", "operation": { - "$id": "9417", + "$id": "9581", "name": "GetVectorStores", "resourceName": "VectorStores", "summary": "Returns a list of vector stores.", "accessibility": "public", "parameters": [ { - "$id": "9418", + "$id": "9582", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2188" + "$ref": "2284" }, "isApiVersion": false, "optional": false, @@ -127001,13 +128946,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.accept" }, { - "$id": "9419", + "$id": "9583", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9420", + "$id": "9584", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127022,13 +128967,13 @@ "readOnly": false }, { - "$id": "9421", + "$id": "9585", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "isApiVersion": false, "explode": false, @@ -127039,13 +128984,13 @@ "readOnly": false }, { - "$id": "9422", + "$id": "9586", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9423", + "$id": "9587", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127060,13 +129005,13 @@ "readOnly": false }, { - "$id": "9424", + "$id": "9588", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9425", + "$id": "9589", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127087,7 +129032,7 @@ 200 ], "bodyType": { - "$ref": "6642" + "$ref": "6625" }, "headers": [], "isErrorResponse": false, @@ -127107,12 +129052,12 @@ }, "parameters": [ { - "$id": "9426", + "$id": "9590", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2190" + "$ref": "2286" }, "location": "Header", "isApiVersion": false, @@ -127124,13 +129069,13 @@ "decorators": [] }, { - "$id": "9427", + "$id": "9591", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9428", + "$id": "9592", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127146,13 +129091,13 @@ "decorators": [] }, { - "$id": "9429", + "$id": "9593", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "1395" + "$ref": "1521" }, "location": "Query", "isApiVersion": false, @@ -127164,13 +129109,13 @@ "decorators": [] }, { - "$id": "9430", + "$id": "9594", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9431", + "$id": "9595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127186,13 +129131,13 @@ "decorators": [] }, { - "$id": "9432", + "$id": "9596", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9433", + "$id": "9597", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127210,7 +129155,7 @@ ], "response": { "type": { - "$ref": "6645" + "$ref": "6628" }, "resultSegments": [ "data" @@ -127226,7 +129171,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9422" + "$ref": "9586" }, "responseSegments": [ "last_id" @@ -127237,26 +129182,26 @@ } }, { - "$id": "9434", + "$id": "9598", "kind": "basic", "name": "createVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Creates a vector store.", "operation": { - "$id": "9435", + "$id": "9599", "name": "createVectorStore", "resourceName": "VectorStores", "summary": "Creates a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9436", + "$id": "9600", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2192" + "$ref": "2288" }, "isApiVersion": false, "optional": false, @@ -127267,13 +129212,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.accept" }, { - "$id": "9437", + "$id": "9601", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2194" + "$ref": "2290" }, "isApiVersion": false, "optional": false, @@ -127284,12 +129229,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.contentType" }, { - "$id": "9438", + "$id": "9602", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6694" + "$ref": "6677" }, "isApiVersion": false, "contentTypes": [ @@ -127309,7 +129254,7 @@ 200 ], "bodyType": { - "$ref": "6646" + "$ref": "6629" }, "headers": [], "isErrorResponse": false, @@ -127332,12 +129277,12 @@ }, "parameters": [ { - "$id": "9439", + "$id": "9603", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2196" + "$ref": "2292" }, "location": "Header", "isApiVersion": false, @@ -127349,12 +129294,12 @@ "decorators": [] }, { - "$id": "9440", + "$id": "9604", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6694" + "$ref": "6677" }, "location": "Body", "isApiVersion": false, @@ -127366,13 +129311,13 @@ "decorators": [] }, { - "$id": "9441", + "$id": "9605", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2194" + "$ref": "2290" }, "location": "Header", "isApiVersion": false, @@ -127386,7 +129331,7 @@ ], "response": { "type": { - "$ref": "6646" + "$ref": "6629" } }, "isOverride": false, @@ -127395,26 +129340,360 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore" }, { - "$id": "9442", + "$id": "9606", "kind": "basic", "name": "getVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store.", "operation": { - "$id": "9443", + "$id": "9607", "name": "getVectorStore", "resourceName": "VectorStores", "summary": "Retrieves a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9444", + "$id": "9608", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2294" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept" + }, + { + "$id": "9609", + "kind": "path", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store to retrieve.", + "type": { + "$id": "9610", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.vector_store_id" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "6629" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/vector_stores/{vector_store_id}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore", + "decorators": [] + }, + "parameters": [ + { + "$id": "9611", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2296" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9612", + "kind": "method", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store to retrieve.", + "type": { + "$id": "9613", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "6629" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore" + }, + { + "$id": "9614", + "kind": "basic", + "name": "modifyVectorStore", + "accessibility": "public", + "apiVersions": [], + "summary": "Modifies a vector store.", + "operation": { + "$id": "9615", + "name": "modifyVectorStore", + "resourceName": "VectorStores", + "summary": "Modifies a vector store.", + "accessibility": "public", + "parameters": [ + { + "$id": "9616", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2298" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept" + }, + { + "$id": "9617", + "kind": "path", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store to modify.", + "type": { + "$id": "9618", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id" + }, + { + "$id": "9619", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2300" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType" + }, + { + "$id": "9620", + "kind": "body", + "name": "requestBody", + "serializedName": "requestBody", + "type": { + "$ref": "6685" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.requestBody" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "6629" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/vector_stores/{vector_store_id}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore", + "decorators": [] + }, + "parameters": [ + { + "$id": "9621", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2302" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9622", + "kind": "method", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store to modify.", + "type": { + "$id": "9623", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9624", + "kind": "method", + "name": "requestBody", + "serializedName": "requestBody", + "type": { + "$ref": "6685" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9625", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2300" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "6629" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore" + }, + { + "$id": "9626", + "kind": "basic", + "name": "deleteVectorStore", + "accessibility": "public", + "apiVersions": [], + "summary": "Delete a vector store.", + "operation": { + "$id": "9627", + "name": "deleteVectorStore", + "resourceName": "VectorStores", + "summary": "Delete a vector store.", + "accessibility": "public", + "parameters": [ + { + "$id": "9628", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2198" + "$ref": "2304" }, "isApiVersion": false, "optional": false, @@ -127422,16 +129701,16 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept" + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept" }, { - "$id": "9445", + "$id": "9629", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store to retrieve.", + "doc": "The ID of the vector store to delete.", "type": { - "$id": "9446", + "$id": "9630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127446,7 +129725,7 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.vector_store_id" } ], "responses": [ @@ -127455,7 +129734,7 @@ 200 ], "bodyType": { - "$ref": "6646" + "$ref": "6692" }, "headers": [], "isErrorResponse": false, @@ -127464,41 +129743,41 @@ ] } ], - "httpMethod": "GET", + "httpMethod": "DELETE", "uri": "{endpoint}", "path": "/vector_stores/{vector_store_id}", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore", "decorators": [] }, "parameters": [ { - "$id": "9447", + "$id": "9631", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2200" + "$ref": "2306" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9448", + "$id": "9632", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store to retrieve.", + "doc": "The ID of the vector store to delete.", "type": { - "$id": "9449", + "$id": "9633", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127508,7 +129787,7 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.vector_store_id", "readOnly": false, "access": "public", "decorators": [] @@ -127516,35 +129795,35 @@ ], "response": { "type": { - "$ref": "6646" + "$ref": "6692" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore" + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore" }, { - "$id": "9450", + "$id": "9634", "kind": "basic", - "name": "modifyVectorStore", + "name": "AddFileBatchToVectorStore", "accessibility": "public", "apiVersions": [], - "summary": "Modifies a vector store.", + "summary": "Create a vector store file batch.", "operation": { - "$id": "9451", - "name": "modifyVectorStore", + "$id": "9635", + "name": "AddFileBatchToVectorStore", "resourceName": "VectorStores", - "summary": "Modifies a vector store.", + "summary": "Create a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "9452", + "$id": "9636", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2202" + "$ref": "2308" }, "isApiVersion": false, "optional": false, @@ -127552,16 +129831,16 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept" + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept" }, { - "$id": "9453", + "$id": "9637", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store to modify.", + "doc": "The ID of the vector store for which to create a file batch.", "type": { - "$id": "9454", + "$id": "9638", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127576,16 +129855,16 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id" }, { - "$id": "9455", + "$id": "9639", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2204" + "$ref": "2310" }, "isApiVersion": false, "optional": false, @@ -127593,15 +129872,15 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType" + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType" }, { - "$id": "9456", + "$id": "9640", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6702" + "$ref": "6698" }, "isApiVersion": false, "contentTypes": [ @@ -127612,7 +129891,7 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.requestBody" + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.requestBody" } ], "responses": [ @@ -127621,7 +129900,7 @@ 200 ], "bodyType": { - "$ref": "6646" + "$ref": "6703" }, "headers": [], "isErrorResponse": false, @@ -127632,42 +129911,42 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}", + "path": "/vector_stores/{vector_store_id}/file_batches", "requestMediaTypes": [ "application/json" ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch", "decorators": [] }, "parameters": [ { - "$id": "9457", + "$id": "9641", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2206" + "$ref": "2312" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9458", + "$id": "9642", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store to modify.", + "doc": "The ID of the vector store for which to create a file batch.", "type": { - "$id": "9459", + "$id": "9643", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127677,42 +129956,42 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9460", + "$id": "9644", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6702" + "$ref": "6698" }, "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.requestBody", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.requestBody", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9461", + "$id": "9645", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2204" + "$ref": "2310" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType", "readOnly": false, "access": "public", "decorators": [] @@ -127720,35 +129999,35 @@ ], "response": { "type": { - "$ref": "6646" + "$ref": "6703" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore" + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch" }, { - "$id": "9462", + "$id": "9646", "kind": "basic", - "name": "deleteVectorStore", + "name": "getVectorStoreFileBatch", "accessibility": "public", "apiVersions": [], - "summary": "Delete a vector store.", + "summary": "Retrieves a vector store file batch.", "operation": { - "$id": "9463", - "name": "deleteVectorStore", + "$id": "9647", + "name": "getVectorStoreFileBatch", "resourceName": "VectorStores", - "summary": "Delete a vector store.", + "summary": "Retrieves a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "9464", + "$id": "9648", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2208" + "$ref": "2314" }, "isApiVersion": false, "optional": false, @@ -127756,16 +130035,16 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept" + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept" }, { - "$id": "9465", + "$id": "9649", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store to delete.", + "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9466", + "$id": "9650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127780,7 +130059,31 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id" + }, + { + "$id": "9651", + "kind": "path", + "name": "batch_id", + "serializedName": "batch_id", + "doc": "The ID of the file batch being retrieved.", + "type": { + "$id": "9652", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.batch_id" } ], "responses": [ @@ -127789,7 +130092,7 @@ 200 ], "bodyType": { - "$ref": "6709" + "$ref": "6703" }, "headers": [], "isErrorResponse": false, @@ -127798,41 +130101,41 @@ ] } ], - "httpMethod": "DELETE", + "httpMethod": "GET", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}", + "path": "/vector_stores/{vector_store_id}/file_batches/{batch_id}", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch", "decorators": [] }, "parameters": [ { - "$id": "9467", + "$id": "9653", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2210" + "$ref": "2316" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9468", + "$id": "9654", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store to delete.", + "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9469", + "$id": "9655", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127842,7 +130145,29 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9656", + "kind": "method", + "name": "batch_id", + "serializedName": "batch_id", + "doc": "The ID of the file batch being retrieved.", + "type": { + "$id": "9657", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.batch_id", "readOnly": false, "access": "public", "decorators": [] @@ -127850,35 +130175,35 @@ ], "response": { "type": { - "$ref": "6709" + "$ref": "6703" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore" + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch" }, { - "$id": "9470", + "$id": "9658", "kind": "basic", - "name": "AddFileBatchToVectorStore", + "name": "cancelVectorStoreFileBatch", "accessibility": "public", "apiVersions": [], - "summary": "Create a vector store file batch.", + "summary": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.", "operation": { - "$id": "9471", - "name": "AddFileBatchToVectorStore", + "$id": "9659", + "name": "cancelVectorStoreFileBatch", "resourceName": "VectorStores", - "summary": "Create a vector store file batch.", + "summary": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.", "accessibility": "public", "parameters": [ { - "$id": "9472", + "$id": "9660", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2212" + "$ref": "2318" }, "isApiVersion": false, "optional": false, @@ -127886,16 +130211,16 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept" + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept" }, { - "$id": "9473", + "$id": "9661", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store for which to create a file batch.", + "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9474", + "$id": "9662", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127910,43 +130235,304 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id" }, { - "$id": "9475", + "$id": "9663", + "kind": "path", + "name": "batch_id", + "serializedName": "batch_id", + "doc": "The ID of the file batch to cancel.", + "type": { + "$id": "9664", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.batch_id" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "6703" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch", + "decorators": [] + }, + "parameters": [ + { + "$id": "9665", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2320" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9666", + "kind": "method", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store that the file batch belongs to.", + "type": { + "$id": "9667", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9668", + "kind": "method", + "name": "batch_id", + "serializedName": "batch_id", + "doc": "The ID of the file batch to cancel.", + "type": { + "$id": "9669", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.batch_id", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "6703" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch" + }, + { + "$id": "9670", + "kind": "paging", + "name": "GetVectorStoreFilesInBatch", + "accessibility": "public", + "apiVersions": [], + "summary": "Returns a list of vector store files in a batch.", + "operation": { + "$id": "9671", + "name": "GetVectorStoreFilesInBatch", + "resourceName": "VectorStores", + "summary": "Returns a list of vector store files in a batch.", + "accessibility": "public", + "parameters": [ + { + "$id": "9672", "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "2214" + "$ref": "2322" }, "isApiVersion": false, "optional": false, - "isContentType": true, + "isContentType": false, "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType" + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept" }, { - "$id": "9476", - "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", + "$id": "9673", + "kind": "path", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$ref": "6715" + "$id": "9674", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, - "contentTypes": [ - "application/json" - ], - "defaultContentType": "application/json", + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, "optional": false, "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.requestBody" + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id" + }, + { + "$id": "9675", + "kind": "path", + "name": "batch_id", + "serializedName": "batch_id", + "doc": "The ID of the file batch that the files belong to.", + "type": { + "$id": "9676", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id" + }, + { + "$id": "9677", + "kind": "query", + "name": "limit", + "serializedName": "limit", + "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", + "type": { + "$id": "9678", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.limit", + "readOnly": false + }, + { + "$id": "9679", + "kind": "query", + "name": "order", + "serializedName": "order", + "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", + "type": { + "$ref": "1521" + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.order", + "readOnly": false + }, + { + "$id": "9680", + "kind": "query", + "name": "after", + "serializedName": "after", + "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", + "type": { + "$id": "9681", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.after", + "readOnly": false + }, + { + "$id": "9682", + "kind": "query", + "name": "before", + "serializedName": "before", + "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", + "type": { + "$id": "9683", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.before", + "readOnly": false + }, + { + "$id": "9684", + "kind": "query", + "name": "filter", + "serializedName": "filter", + "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", + "type": { + "$ref": "1529" + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.filter", + "readOnly": false } ], "responses": [ @@ -127955,7 +130541,7 @@ 200 ], "bodyType": { - "$ref": "6720" + "$ref": "6725" }, "headers": [], "isErrorResponse": false, @@ -127964,89 +130550,175 @@ ] } ], - "httpMethod": "POST", + "httpMethod": "GET", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/file_batches", - "requestMediaTypes": [ - "application/json" - ], + "path": "/vector_stores/{vector_store_id}/file_batches/{batch_id}/files", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch", "decorators": [] }, "parameters": [ { - "$id": "9477", + "$id": "9685", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2324" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9686", + "kind": "method", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store that the file batch belongs to.", + "type": { + "$id": "9687", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9688", + "kind": "method", + "name": "batch_id", + "serializedName": "batch_id", + "doc": "The ID of the file batch that the files belong to.", + "type": { + "$id": "9689", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9690", + "kind": "method", + "name": "limit", + "serializedName": "limit", + "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", + "type": { + "$id": "9691", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.limit", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9692", "kind": "method", - "name": "accept", - "serializedName": "Accept", + "name": "order", + "serializedName": "order", + "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { - "$ref": "2216" + "$ref": "1521" }, - "location": "Header", + "location": "Query", "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept", + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.order", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9478", + "$id": "9693", "kind": "method", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store for which to create a file batch.", + "name": "after", + "serializedName": "after", + "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9479", + "$id": "9694", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", + "location": "Query", "isApiVersion": false, - "optional": false, + "optional": true, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.after", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9480", + "$id": "9695", "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", + "name": "before", + "serializedName": "before", + "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$ref": "6715" + "$id": "9696", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Body", + "location": "Query", "isApiVersion": false, - "optional": false, + "optional": true, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.requestBody", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.before", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9481", + "$id": "9697", "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "filter", + "serializedName": "filter", + "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { - "$ref": "2214" + "$ref": "1529" }, - "location": "Header", + "location": "Query", "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType", + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.filter", "readOnly": false, "access": "public", "decorators": [] @@ -128054,35 +130726,53 @@ ], "response": { "type": { - "$ref": "6720" - } + "$ref": "6728" + }, + "resultSegments": [ + "data" + ] }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch" + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch", + "pagingMetadata": { + "itemPropertySegments": [ + "data" + ], + "continuationToken": { + "parameter": { + "$ref": "9680" + }, + "responseSegments": [ + "last_id" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } }, { - "$id": "9482", - "kind": "basic", - "name": "getVectorStoreFileBatch", + "$id": "9698", + "kind": "paging", + "name": "listVectorStoreFiles", "accessibility": "public", "apiVersions": [], - "summary": "Retrieves a vector store file batch.", + "summary": "Returns a list of vector store files.", "operation": { - "$id": "9483", - "name": "getVectorStoreFileBatch", + "$id": "9699", + "name": "listVectorStoreFiles", "resourceName": "VectorStores", - "summary": "Retrieves a vector store file batch.", + "summary": "Returns a list of vector store files.", "accessibility": "public", "parameters": [ { - "$id": "9484", + "$id": "9700", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2218" + "$ref": "2326" }, "isApiVersion": false, "optional": false, @@ -128090,16 +130780,16 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept" + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept" }, { - "$id": "9485", + "$id": "9701", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file batch belongs to.", + "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "9486", + "$id": "9702", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128114,16 +130804,54 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id" }, { - "$id": "9487", - "kind": "path", - "name": "batch_id", - "serializedName": "batch_id", - "doc": "The ID of the file batch being retrieved.", + "$id": "9703", + "kind": "query", + "name": "limit", + "serializedName": "limit", + "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", + "type": { + "$id": "9704", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.limit", + "readOnly": false + }, + { + "$id": "9705", + "kind": "query", + "name": "order", + "serializedName": "order", + "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", + "type": { + "$ref": "1521" + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.order", + "readOnly": false + }, + { + "$id": "9706", + "kind": "query", + "name": "after", + "serializedName": "after", + "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9488", + "$id": "9707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128131,14 +130859,49 @@ }, "isApiVersion": false, "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, - "optional": false, + "optional": true, "scope": "Method", "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.batch_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.after", + "readOnly": false + }, + { + "$id": "9708", + "kind": "query", + "name": "before", + "serializedName": "before", + "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", + "type": { + "$id": "9709", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.before", + "readOnly": false + }, + { + "$id": "9710", + "kind": "query", + "name": "filter", + "serializedName": "filter", + "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", + "type": { + "$ref": "1529" + }, + "isApiVersion": false, + "explode": false, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.filter", + "readOnly": false } ], "responses": [ @@ -128147,7 +130910,7 @@ 200 ], "bodyType": { - "$ref": "6720" + "$ref": "6725" }, "headers": [], "isErrorResponse": false, @@ -128158,39 +130921,39 @@ ], "httpMethod": "GET", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/file_batches/{batch_id}", + "path": "/vector_stores/{vector_store_id}/files", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles", "decorators": [] }, "parameters": [ { - "$id": "9489", + "$id": "9711", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2220" + "$ref": "2328" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9490", + "$id": "9712", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file batch belongs to.", + "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "9491", + "$id": "9713", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128200,29 +130963,109 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9492", + "$id": "9714", "kind": "method", - "name": "batch_id", - "serializedName": "batch_id", - "doc": "The ID of the file batch being retrieved.", + "name": "limit", + "serializedName": "limit", + "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9493", + "$id": "9715", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.limit", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9716", + "kind": "method", + "name": "order", + "serializedName": "order", + "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", + "type": { + "$ref": "1521" + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.order", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9717", + "kind": "method", + "name": "after", + "serializedName": "after", + "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", + "type": { + "$id": "9718", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", + "location": "Query", "isApiVersion": false, - "optional": false, + "optional": true, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.batch_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.after", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9719", + "kind": "method", + "name": "before", + "serializedName": "before", + "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", + "type": { + "$id": "9720", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.before", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9721", + "kind": "method", + "name": "filter", + "serializedName": "filter", + "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", + "type": { + "$ref": "1529" + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.filter", "readOnly": false, "access": "public", "decorators": [] @@ -128230,35 +131073,53 @@ ], "response": { "type": { - "$ref": "6720" - } + "$ref": "6728" + }, + "resultSegments": [ + "data" + ] }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch" + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles", + "pagingMetadata": { + "itemPropertySegments": [ + "data" + ], + "continuationToken": { + "parameter": { + "$ref": "9706" + }, + "responseSegments": [ + "last_id" + ], + "responseLocation": "Body" + }, + "pageSizeParameterSegments": [] + } }, { - "$id": "9494", + "$id": "9722", "kind": "basic", - "name": "cancelVectorStoreFileBatch", + "name": "AddFileToVectorStore", "accessibility": "public", "apiVersions": [], - "summary": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.", + "summary": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).", "operation": { - "$id": "9495", - "name": "cancelVectorStoreFileBatch", + "$id": "9723", + "name": "AddFileToVectorStore", "resourceName": "VectorStores", - "summary": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.", + "summary": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).", "accessibility": "public", "parameters": [ { - "$id": "9496", + "$id": "9724", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2222" + "$ref": "2330" }, "isApiVersion": false, "optional": false, @@ -128266,16 +131127,16 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept" + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept" }, { - "$id": "9497", + "$id": "9725", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file batch belongs to.", + "doc": "The ID of the vector store for which to create a File.", "type": { - "$id": "9498", + "$id": "9726", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128290,31 +131151,43 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id" }, { - "$id": "9499", - "kind": "path", - "name": "batch_id", - "serializedName": "batch_id", - "doc": "The ID of the file batch to cancel.", + "$id": "9727", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "9500", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2332" }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType" + }, + { + "$id": "9728", + "kind": "body", + "name": "requestBody", + "serializedName": "requestBody", + "type": { + "$ref": "6769" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", "optional": false, "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.batch_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.requestBody" } ], "responses": [ @@ -128323,7 +131196,7 @@ 200 ], "bodyType": { - "$ref": "6720" + "$ref": "6729" }, "headers": [], "isErrorResponse": false, @@ -128334,39 +131207,42 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel", + "path": "/vector_stores/{vector_store_id}/files", + "requestMediaTypes": [ + "application/json" + ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile", "decorators": [] }, "parameters": [ { - "$id": "9501", + "$id": "9729", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2224" + "$ref": "2334" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9502", + "$id": "9730", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file batch belongs to.", + "doc": "The ID of the vector store for which to create a File.", "type": { - "$id": "9503", + "$id": "9731", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128376,29 +131252,42 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9504", + "$id": "9732", "kind": "method", - "name": "batch_id", - "serializedName": "batch_id", - "doc": "The ID of the file batch to cancel.", + "name": "requestBody", + "serializedName": "requestBody", "type": { - "$id": "9505", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "6769" }, - "location": "Path", + "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.batch_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9733", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2332" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType", "readOnly": false, "access": "public", "decorators": [] @@ -128406,138 +131295,52 @@ ], "response": { "type": { - "$ref": "6720" + "$ref": "6729" } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch" - }, - { - "$id": "9506", - "kind": "paging", - "name": "GetVectorStoreFilesInBatch", - "accessibility": "public", - "apiVersions": [], - "summary": "Returns a list of vector store files in a batch.", - "operation": { - "$id": "9507", - "name": "GetVectorStoreFilesInBatch", - "resourceName": "VectorStores", - "summary": "Returns a list of vector store files in a batch.", - "accessibility": "public", - "parameters": [ - { - "$id": "9508", - "kind": "header", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2226" - }, - "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept" - }, - { - "$id": "9509", - "kind": "path", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file batch belongs to.", - "type": { - "$id": "9510", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id" - }, - { - "$id": "9511", - "kind": "path", - "name": "batch_id", - "serializedName": "batch_id", - "doc": "The ID of the file batch that the files belong to.", - "type": { - "$id": "9512", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id" - }, - { - "$id": "9513", - "kind": "query", - "name": "limit", - "serializedName": "limit", - "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", - "type": { - "$id": "9514", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.limit", - "readOnly": false - }, + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile" + }, + { + "$id": "9734", + "kind": "basic", + "name": "getVectorStoreFile", + "accessibility": "public", + "apiVersions": [], + "summary": "Retrieves a vector store file.", + "operation": { + "$id": "9735", + "name": "getVectorStoreFile", + "resourceName": "VectorStores", + "summary": "Retrieves a vector store file.", + "accessibility": "public", + "parameters": [ { - "$id": "9515", - "kind": "query", - "name": "order", - "serializedName": "order", - "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", + "$id": "9736", + "kind": "header", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "1395" + "$ref": "2336" }, "isApiVersion": false, - "explode": false, - "optional": true, - "scope": "Method", + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.order", - "readOnly": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept" }, { - "$id": "9516", - "kind": "query", - "name": "after", - "serializedName": "after", - "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", + "$id": "9737", + "kind": "path", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9517", + "$id": "9738", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128545,20 +131348,23 @@ }, "isApiVersion": false, "explode": false, - "optional": true, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.after", - "readOnly": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id" }, { - "$id": "9518", - "kind": "query", - "name": "before", - "serializedName": "before", - "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", + "$id": "9739", + "kind": "path", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file being retrieved.", "type": { - "$id": "9519", + "$id": "9740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128566,28 +131372,14 @@ }, "isApiVersion": false, "explode": false, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.before", - "readOnly": false - }, - { - "$id": "9520", - "kind": "query", - "name": "filter", - "serializedName": "filter", - "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", - "type": { - "$ref": "1403" - }, - "isApiVersion": false, - "explode": false, - "optional": true, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.filter", - "readOnly": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.file_id" } ], "responses": [ @@ -128596,7 +131388,7 @@ 200 ], "bodyType": { - "$ref": "6742" + "$ref": "6729" }, "headers": [], "isErrorResponse": false, @@ -128607,39 +131399,39 @@ ], "httpMethod": "GET", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/file_batches/{batch_id}/files", + "path": "/vector_stores/{vector_store_id}/files/{file_id}", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile", "decorators": [] }, "parameters": [ { - "$id": "9521", + "$id": "9741", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2228" + "$ref": "2338" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9522", + "$id": "9742", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file batch belongs to.", + "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9523", + "$id": "9743", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128649,19 +131441,19 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9524", + "$id": "9744", "kind": "method", - "name": "batch_id", - "serializedName": "batch_id", - "doc": "The ID of the file batch that the files belong to.", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file being retrieved.", "type": { - "$id": "9525", + "$id": "9745", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128671,109 +131463,7 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9526", - "kind": "method", - "name": "limit", - "serializedName": "limit", - "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", - "type": { - "$id": "9527", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.limit", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9528", - "kind": "method", - "name": "order", - "serializedName": "order", - "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", - "type": { - "$ref": "1395" - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.order", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9529", - "kind": "method", - "name": "after", - "serializedName": "after", - "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", - "type": { - "$id": "9530", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.after", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9531", - "kind": "method", - "name": "before", - "serializedName": "before", - "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", - "type": { - "$id": "9532", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.before", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9533", - "kind": "method", - "name": "filter", - "serializedName": "filter", - "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", - "type": { - "$ref": "1403" - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.filter", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.file_id", "readOnly": false, "access": "public", "decorators": [] @@ -128781,53 +131471,35 @@ ], "response": { "type": { - "$ref": "6745" - }, - "resultSegments": [ - "data" - ] + "$ref": "6729" + } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch", - "pagingMetadata": { - "itemPropertySegments": [ - "data" - ], - "continuationToken": { - "parameter": { - "$ref": "9516" - }, - "responseSegments": [ - "last_id" - ], - "responseLocation": "Body" - }, - "pageSizeParameterSegments": [] - } + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile" }, { - "$id": "9534", - "kind": "paging", - "name": "listVectorStoreFiles", + "$id": "9746", + "kind": "basic", + "name": "RemoveFileFromVectorStore", "accessibility": "public", "apiVersions": [], - "summary": "Returns a list of vector store files.", + "summary": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.", "operation": { - "$id": "9535", - "name": "listVectorStoreFiles", + "$id": "9747", + "name": "RemoveFileFromVectorStore", "resourceName": "VectorStores", - "summary": "Returns a list of vector store files.", + "summary": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.", "accessibility": "public", "parameters": [ { - "$id": "9536", + "$id": "9748", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2230" + "$ref": "2340" }, "isApiVersion": false, "optional": false, @@ -128835,16 +131507,16 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept" + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept" }, { - "$id": "9537", + "$id": "9749", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the files belong to.", + "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9538", + "$id": "9750", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128859,75 +131531,16 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id" - }, - { - "$id": "9539", - "kind": "query", - "name": "limit", - "serializedName": "limit", - "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", - "type": { - "$id": "9540", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.limit", - "readOnly": false - }, - { - "$id": "9541", - "kind": "query", - "name": "order", - "serializedName": "order", - "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", - "type": { - "$ref": "1395" - }, - "isApiVersion": false, - "explode": false, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.order", - "readOnly": false - }, - { - "$id": "9542", - "kind": "query", - "name": "after", - "serializedName": "after", - "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", - "type": { - "$id": "9543", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.after", - "readOnly": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id" }, { - "$id": "9544", - "kind": "query", - "name": "before", - "serializedName": "before", - "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", + "$id": "9751", + "kind": "path", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file to delete.", "type": { - "$id": "9545", + "$id": "9752", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128935,28 +131548,14 @@ }, "isApiVersion": false, "explode": false, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.before", - "readOnly": false - }, - { - "$id": "9546", - "kind": "query", - "name": "filter", - "serializedName": "filter", - "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", - "type": { - "$ref": "1403" - }, - "isApiVersion": false, - "explode": false, - "optional": true, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.filter", - "readOnly": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.file_id" } ], "responses": [ @@ -128965,7 +131564,7 @@ 200 ], "bodyType": { - "$ref": "6742" + "$ref": "6775" }, "headers": [], "isErrorResponse": false, @@ -128974,41 +131573,41 @@ ] } ], - "httpMethod": "GET", + "httpMethod": "DELETE", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/files", + "path": "/vector_stores/{vector_store_id}/files/{file_id}", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile", "decorators": [] }, "parameters": [ { - "$id": "9547", + "$id": "9753", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2232" + "$ref": "2342" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9548", + "$id": "9754", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the files belong to.", + "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9549", + "$id": "9755", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129018,109 +131617,29 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9550", - "kind": "method", - "name": "limit", - "serializedName": "limit", - "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", - "type": { - "$id": "9551", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.limit", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9552", - "kind": "method", - "name": "order", - "serializedName": "order", - "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", - "type": { - "$ref": "1395" - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.order", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9553", - "kind": "method", - "name": "after", - "serializedName": "after", - "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", - "type": { - "$id": "9554", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.after", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9555", + "$id": "9756", "kind": "method", - "name": "before", - "serializedName": "before", - "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file to delete.", "type": { - "$id": "9556", + "$id": "9757", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.before", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9557", - "kind": "method", - "name": "filter", - "serializedName": "filter", - "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", - "type": { - "$ref": "1403" - }, - "location": "Query", + "location": "Path", "isApiVersion": false, - "optional": true, + "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.filter", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.file_id", "readOnly": false, "access": "public", "decorators": [] @@ -129128,70 +131647,60 @@ ], "response": { "type": { - "$ref": "6745" - }, - "resultSegments": [ - "data" - ] + "$ref": "6775" + } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles", - "pagingMetadata": { - "itemPropertySegments": [ - "data" - ], - "continuationToken": { - "parameter": { - "$ref": "9542" - }, - "responseSegments": [ - "last_id" - ], - "responseLocation": "Body" - }, - "pageSizeParameterSegments": [] - } + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile" }, { - "$id": "9558", + "$id": "9758", "kind": "basic", - "name": "AddFileToVectorStore", + "name": "updateVectorStoreFileAttributes", "accessibility": "public", "apiVersions": [], - "summary": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).", + "summary": "Update the attributes of a vector store file.", "operation": { - "$id": "9559", - "name": "AddFileToVectorStore", + "$id": "9759", + "name": "updateVectorStoreFileAttributes", "resourceName": "VectorStores", - "summary": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).", + "summary": "Update the attributes of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "9560", - "kind": "header", - "name": "accept", - "serializedName": "Accept", + "$id": "9760", + "kind": "path", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store the file being updated belongs to.", "type": { - "$ref": "2234" + "$id": "9761", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept" + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id" }, { - "$id": "9561", + "$id": "9762", "kind": "path", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store for which to create a File.", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file to update attributes for.", "type": { - "$id": "9562", + "$id": "9763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129206,32 +131715,48 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id" }, { - "$id": "9563", + "$id": "9764", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2236" + "$ref": "2344" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType" + }, + { + "$id": "9765", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2346" }, "isApiVersion": false, "optional": false, - "isContentType": true, + "isContentType": false, "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType" + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept" }, { - "$id": "9564", + "$id": "9766", "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", + "name": "updateVectorStoreFileAttributesRequest", + "serializedName": "updateVectorStoreFileAttributesRequest", "type": { - "$ref": "6786" + "$ref": "6781" }, "isApiVersion": false, "contentTypes": [ @@ -129239,10 +131764,10 @@ ], "defaultContentType": "application/json", "optional": false, - "scope": "Method", + "scope": "Spread", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.requestBody" + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.body" } ], "responses": [ @@ -129251,7 +131776,7 @@ 200 ], "bodyType": { - "$ref": "6746" + "$ref": "6729" }, "headers": [], "isErrorResponse": false, @@ -129262,42 +131787,47 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/files", + "path": "/vector_stores/{vector_store_id}/files/{file_id}", "requestMediaTypes": [ "application/json" ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes", "decorators": [] }, "parameters": [ { - "$id": "9565", + "$id": "9767", "kind": "method", - "name": "accept", - "serializedName": "Accept", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store the file being updated belongs to.", "type": { - "$ref": "2238" + "$id": "9768", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Header", + "location": "Path", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9566", + "$id": "9769", "kind": "method", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store for which to create a File.", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file to update attributes for.", "type": { - "$id": "9567", + "$id": "9770", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129307,42 +131837,59 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9568", + "$id": "9771", "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", + "name": "attributes", + "serializedName": "attributes", "type": { - "$ref": "6786" + "$ref": "6783" }, "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.requestBody", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.attributes", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9569", + "$id": "9772", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2236" + "$ref": "2344" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9773", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2346" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept", "readOnly": false, "access": "public", "decorators": [] @@ -129350,52 +131897,36 @@ ], "response": { "type": { - "$ref": "6746" + "$ref": "6729" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile" + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes" }, { - "$id": "9570", + "$id": "9774", "kind": "basic", - "name": "getVectorStoreFile", + "name": "retrieveVectorStoreFileContent", "accessibility": "public", "apiVersions": [], - "summary": "Retrieves a vector store file.", + "summary": "Retrieves the content of a vector store file.", "operation": { - "$id": "9571", - "name": "getVectorStoreFile", + "$id": "9775", + "name": "retrieveVectorStoreFileContent", "resourceName": "VectorStores", - "summary": "Retrieves a vector store file.", + "summary": "Retrieves the content of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "9572", - "kind": "header", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2240" - }, - "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept" - }, - { - "$id": "9573", + "$id": "9776", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9574", + "$id": "9777", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129410,16 +131941,16 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id" }, { - "$id": "9575", + "$id": "9778", "kind": "path", "name": "file_id", "serializedName": "file_id", - "doc": "The ID of the file being retrieved.", + "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "9576", + "$id": "9779", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129434,7 +131965,23 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.file_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id" + }, + { + "$id": "9780", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2348" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.accept" } ], "responses": [ @@ -129443,7 +131990,7 @@ 200 ], "bodyType": { - "$ref": "6746" + "$ref": "6784" }, "headers": [], "isErrorResponse": false, @@ -129454,39 +132001,22 @@ ], "httpMethod": "GET", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/files/{file_id}", + "path": "/vector_stores/{vector_store_id}/files/{file_id}/content", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile", + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent", "decorators": [] }, "parameters": [ { - "$id": "9577", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2242" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9578", + "$id": "9781", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9579", + "$id": "9782", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129496,19 +132026,19 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9580", + "$id": "9783", "kind": "method", "name": "file_id", "serializedName": "file_id", - "doc": "The ID of the file being retrieved.", + "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "9581", + "$id": "9784", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129518,7 +132048,24 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.file_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9785", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2348" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.accept", "readOnly": false, "access": "public", "decorators": [] @@ -129526,52 +132073,36 @@ ], "response": { "type": { - "$ref": "6746" + "$ref": "6784" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile" + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent" }, { - "$id": "9582", + "$id": "9786", "kind": "basic", - "name": "RemoveFileFromVectorStore", + "name": "searchVectorStore", "accessibility": "public", "apiVersions": [], - "summary": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.", + "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", "operation": { - "$id": "9583", - "name": "RemoveFileFromVectorStore", + "$id": "9787", + "name": "searchVectorStore", "resourceName": "VectorStores", - "summary": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.", + "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", "accessibility": "public", "parameters": [ { - "$id": "9584", - "kind": "header", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2244" - }, - "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept" - }, - { - "$id": "9585", + "$id": "9788", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file belongs to.", + "doc": "The ID of the vector store to search.", "type": { - "$id": "9586", + "$id": "9789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129586,31 +132117,59 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id" + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id" }, { - "$id": "9587", - "kind": "path", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file to delete.", + "$id": "9790", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "9588", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2350" }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, "optional": false, - "scope": "Method", + "isContentType": true, + "scope": "Constant", + "readOnly": false, "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType" + }, + { + "$id": "9791", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2352" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.file_id" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept" + }, + { + "$id": "9792", + "kind": "body", + "name": "vectorStoreSearchRequest", + "serializedName": "vectorStoreSearchRequest", + "type": { + "$ref": "6802" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Spread", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.body" } ], "responses": [ @@ -129619,7 +132178,7 @@ 200 ], "bodyType": { - "$ref": "6792" + "$ref": "6813" }, "headers": [], "isErrorResponse": false, @@ -129628,73 +132187,170 @@ ] } ], - "httpMethod": "DELETE", + "httpMethod": "POST", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/files/{file_id}", + "path": "/vector_stores/{vector_store_id}/search", + "requestMediaTypes": [ + "application/json" + ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore", "decorators": [] }, "parameters": [ { - "$id": "9589", + "$id": "9793", "kind": "method", - "name": "accept", - "serializedName": "Accept", + "name": "vector_store_id", + "serializedName": "vector_store_id", + "doc": "The ID of the vector store to search.", "type": { - "$ref": "2246" + "$id": "9794", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Header", + "location": "Path", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9590", + "$id": "9795", "kind": "method", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file belongs to.", + "name": "query", + "serializedName": "query", + "doc": "A query string for a search", "type": { - "$id": "9591", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "6804" }, - "location": "Path", + "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.query", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9592", + "$id": "9796", "kind": "method", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file to delete.", + "name": "rewrite_query", + "serializedName": "rewrite_query", + "doc": "Whether to rewrite the natural language query for vector search.", "type": { - "$id": "9593", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "9797", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "location": "Path", + "location": "Body", "isApiVersion": false, - "optional": false, + "optional": true, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.file_id", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.rewrite_query", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9798", + "kind": "method", + "name": "max_num_results", + "serializedName": "max_num_results", + "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", + "type": { + "$id": "9799", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Body", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.max_num_results", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9800", + "kind": "method", + "name": "filters", + "serializedName": "filters", + "doc": "A filter to apply based on file attributes.", + "type": { + "$ref": "6811" + }, + "location": "Body", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.filters", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9801", + "kind": "method", + "name": "ranking_options", + "serializedName": "ranking_options", + "doc": "Ranking options for search.", + "type": { + "$ref": "6798" + }, + "location": "Body", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.ranking_options", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9802", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2350" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9803", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2352" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept", "readOnly": false, "access": "public", "decorators": [] @@ -129702,84 +132358,99 @@ ], "response": { "type": { - "$ref": "6792" + "$ref": "6813" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile" - }, + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore" + } + ], + "parameters": [ + { + "$id": "9804", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "9805", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "9806", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://api.openai.com/v1" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.VectorStores", + "apiVersions": [], + "parent": { + "$ref": "8485" + } + }, + { + "$id": "9807", + "kind": "client", + "name": "Completions", + "namespace": "OpenAI", + "methods": [ { - "$id": "9594", + "$id": "9808", "kind": "basic", - "name": "updateVectorStoreFileAttributes", + "name": "createCompletion", "accessibility": "public", "apiVersions": [], - "summary": "Update the attributes of a vector store file.", + "summary": "Creates a completion for the provided prompt and parameters.", "operation": { - "$id": "9595", - "name": "updateVectorStoreFileAttributes", - "resourceName": "VectorStores", - "summary": "Update the attributes of a vector store file.", + "$id": "9809", + "name": "createCompletion", + "resourceName": "Completions", + "summary": "Creates a completion for the provided prompt and parameters.", "accessibility": "public", "parameters": [ { - "$id": "9596", - "kind": "path", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store the file being updated belongs to.", + "$id": "9810", + "kind": "header", + "name": "accept", + "serializedName": "Accept", "type": { - "$id": "9597", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2354" }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, "optional": false, - "scope": "Method", - "decorators": [], + "isContentType": false, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id" - }, - { - "$id": "9598", - "kind": "path", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file to update attributes for.", - "type": { - "$id": "9599", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, - "optional": false, - "scope": "Method", "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id" + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept" }, { - "$id": "9600", + "$id": "9811", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2248" + "$ref": "2356" }, "isApiVersion": false, "optional": false, @@ -129787,31 +132458,15 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType" - }, - { - "$id": "9601", - "kind": "header", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2250" - }, - "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept" + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType" }, { - "$id": "9602", + "$id": "9812", "kind": "body", - "name": "updateVectorStoreFileAttributesRequest", - "serializedName": "updateVectorStoreFileAttributesRequest", + "name": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6798" + "$ref": "6838" }, "isApiVersion": false, "contentTypes": [ @@ -129819,10 +132474,10 @@ ], "defaultContentType": "application/json", "optional": false, - "scope": "Spread", + "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.body" + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.requestBody" } ], "responses": [ @@ -129831,7 +132486,7 @@ 200 ], "bodyType": { - "$ref": "6746" + "$ref": "6889" }, "headers": [], "isErrorResponse": false, @@ -129842,109 +132497,65 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/files/{file_id}", + "path": "/completions", "requestMediaTypes": [ "application/json" ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes", + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion", "decorators": [] }, "parameters": [ { - "$id": "9603", - "kind": "method", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store the file being updated belongs to.", - "type": { - "$id": "9604", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9605", + "$id": "9813", "kind": "method", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file to update attributes for.", + "name": "accept", + "serializedName": "Accept", "type": { - "$id": "9606", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2358" }, - "location": "Path", + "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id", + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9607", + "$id": "9814", "kind": "method", - "name": "attributes", - "serializedName": "attributes", + "name": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6800" + "$ref": "6838" }, "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.attributes", + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.requestBody", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9608", + "$id": "9815", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2248" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9609", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2250" + "$ref": "2356" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept", + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType", "readOnly": false, "access": "public", "decorators": [] @@ -129952,83 +132563,115 @@ ], "response": { "type": { - "$ref": "6746" + "$ref": "6889" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes" - }, + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion" + } + ], + "parameters": [ + { + "$id": "9816", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "9817", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "9818", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://api.openai.com/v1" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Completions", + "apiVersions": [], + "parent": { + "$ref": "8485" + } + }, + { + "$id": "9819", + "kind": "client", + "name": "Realtime", + "namespace": "OpenAI", + "methods": [ { - "$id": "9610", + "$id": "9820", "kind": "basic", - "name": "retrieveVectorStoreFileContent", + "name": "startRealtimeSession", "accessibility": "public", "apiVersions": [], - "summary": "Retrieves the content of a vector store file.", + "summary": "Starts a real-time session for conversation or transcription.", "operation": { - "$id": "9611", - "name": "retrieveVectorStoreFileContent", - "resourceName": "VectorStores", - "summary": "Retrieves the content of a vector store file.", + "$id": "9821", + "name": "startRealtimeSession", + "resourceName": "Realtime", + "summary": "Starts a real-time session for conversation or transcription.", "accessibility": "public", "parameters": [ { - "$id": "9612", - "kind": "path", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file belongs to.", + "$id": "9822", + "kind": "header", + "name": "openAIBeta", + "serializedName": "OpenAI-Beta", "type": { - "$id": "9613", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2360" }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, "optional": false, - "scope": "Method", - "decorators": [], + "isContentType": false, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta" }, { - "$id": "9614", - "kind": "path", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file with content being retrieved.", + "$id": "9823", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "9615", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2362" }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, "optional": false, - "scope": "Method", - "decorators": [], + "isContentType": true, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType" }, { - "$id": "9616", + "$id": "9824", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2252" + "$ref": "2364" }, "isApiVersion": false, "optional": false, @@ -130036,7 +132679,33 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.accept" + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept" + }, + { + "$id": "9825", + "kind": "body", + "name": "requestMessages", + "serializedName": "requestMessages", + "type": { + "$id": "9826", + "kind": "array", + "name": "ArrayRealtimeClientEvent", + "valueType": { + "$ref": "6920" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.requestMessages" } ], "responses": [ @@ -130045,7 +132714,14 @@ 200 ], "bodyType": { - "$ref": "6801" + "$id": "9827", + "kind": "array", + "name": "ArrayRealtimeServerEvent", + "valueType": { + "$ref": "7217" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] }, "headers": [], "isErrorResponse": false, @@ -130054,73 +132730,84 @@ ] } ], - "httpMethod": "GET", + "httpMethod": "POST", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/files/{file_id}/content", + "path": "/realtime", + "requestMediaTypes": [ + "application/json" + ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession", "decorators": [] }, "parameters": [ { - "$id": "9617", + "$id": "9828", "kind": "method", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store that the file belongs to.", + "name": "openAIBeta", + "serializedName": "OpenAI-Beta", "type": { - "$id": "9618", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2366" }, - "location": "Path", + "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id", + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9619", + "$id": "9829", "kind": "method", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file with content being retrieved.", + "name": "requestMessages", + "serializedName": "requestMessages", "type": { - "$id": "9620", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "9826" }, - "location": "Path", + "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.requestMessages", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9621", + "$id": "9830", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2362" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9831", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2252" + "$ref": "2364" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.accept", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept", "readOnly": false, "access": "public", "decorators": [] @@ -130128,60 +132815,36 @@ ], "response": { "type": { - "$ref": "6801" + "$ref": "9827" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent" + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession" }, { - "$id": "9622", + "$id": "9832", "kind": "basic", - "name": "searchVectorStore", + "name": "createEphemeralToken", "accessibility": "public", "apiVersions": [], - "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", + "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API. Can be configured with the same session parameters as the session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", "operation": { - "$id": "9623", - "name": "searchVectorStore", - "resourceName": "VectorStores", - "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", + "$id": "9833", + "name": "createEphemeralToken", + "resourceName": "Realtime", + "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API. Can be configured with the same session parameters as the session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", "accessibility": "public", "parameters": [ { - "$id": "9624", - "kind": "path", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store to search.", - "type": { - "$id": "9625", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id" - }, - { - "$id": "9626", + "$id": "9834", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2254" + "$ref": "2368" }, "isApiVersion": false, "optional": false, @@ -130189,15 +132852,15 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType" + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType" }, { - "$id": "9627", + "$id": "9835", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2256" + "$ref": "2370" }, "isApiVersion": false, "optional": false, @@ -130205,15 +132868,15 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept" + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept" }, { - "$id": "9628", + "$id": "9836", "kind": "body", - "name": "vectorStoreSearchRequest", - "serializedName": "vectorStoreSearchRequest", + "name": "request", + "serializedName": "request", "type": { - "$ref": "6819" + "$ref": "7701" }, "isApiVersion": false, "contentTypes": [ @@ -130221,10 +132884,10 @@ ], "defaultContentType": "application/json", "optional": false, - "scope": "Spread", + "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.body" + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.request" } ], "responses": [ @@ -130233,7 +132896,7 @@ 200 ], "bodyType": { - "$ref": "6830" + "$ref": "7761" }, "headers": [], "isErrorResponse": false, @@ -130244,168 +132907,65 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/vector_stores/{vector_store_id}/search", + "path": "/realtime/sessions", "requestMediaTypes": [ "application/json" ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken", "decorators": [] }, "parameters": [ { - "$id": "9629", - "kind": "method", - "name": "vector_store_id", - "serializedName": "vector_store_id", - "doc": "The ID of the vector store to search.", - "type": { - "$id": "9630", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9631", + "$id": "9837", "kind": "method", - "name": "query", - "serializedName": "query", - "doc": "A query string for a search", + "name": "request", + "serializedName": "request", "type": { - "$ref": "6821" + "$ref": "7701" }, "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.query", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9632", - "kind": "method", - "name": "rewrite_query", - "serializedName": "rewrite_query", - "doc": "Whether to rewrite the natural language query for vector search.", - "type": { - "$id": "9633", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "location": "Body", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.rewrite_query", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9634", - "kind": "method", - "name": "max_num_results", - "serializedName": "max_num_results", - "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", - "type": { - "$id": "9635", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "location": "Body", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.max_num_results", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9636", - "kind": "method", - "name": "filters", - "serializedName": "filters", - "doc": "A filter to apply based on file attributes.", - "type": { - "$ref": "6828" - }, - "location": "Body", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.filters", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9637", - "kind": "method", - "name": "ranking_options", - "serializedName": "ranking_options", - "doc": "Ranking options for search.", - "type": { - "$ref": "6815" - }, - "location": "Body", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.ranking_options", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.request", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9638", + "$id": "9838", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2254" + "$ref": "2368" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9639", + "$id": "9839", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2256" + "$ref": "2370" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept", "readOnly": false, "access": "public", "decorators": [] @@ -130413,115 +132973,68 @@ ], "response": { "type": { - "$ref": "6830" + "$ref": "7761" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore" - } - ], - "parameters": [ - { - "$id": "9640", - "kind": "endpoint", - "name": "endpoint", - "serializedName": "endpoint", - "doc": "Service host", - "type": { - "$id": "9641", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "isApiVersion": false, - "optional": false, - "scope": "Client", - "isEndpoint": true, - "defaultValue": { - "type": { - "$id": "9642", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://api.openai.com/v1" - }, - "serverUrlTemplate": "{endpoint}", - "skipUrlEncoding": false, - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.endpoint" - } - ], - "initializedBy": 0, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.VectorStores", - "apiVersions": [], - "parent": { - "$ref": "8281" - } - }, - { - "$id": "9643", - "kind": "client", - "name": "Completions", - "namespace": "OpenAI", - "methods": [ + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken" + }, { - "$id": "9644", + "$id": "9840", "kind": "basic", - "name": "createCompletion", + "name": "createEphemeralTranscriptionToken", "accessibility": "public", "apiVersions": [], - "summary": "Creates a completion for the provided prompt and parameters.", + "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the transcription_session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", "operation": { - "$id": "9645", - "name": "createCompletion", - "resourceName": "Completions", - "summary": "Creates a completion for the provided prompt and parameters.", + "$id": "9841", + "name": "createEphemeralTranscriptionToken", + "resourceName": "Realtime", + "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the transcription_session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", "accessibility": "public", "parameters": [ { - "$id": "9646", + "$id": "9842", "kind": "header", - "name": "accept", - "serializedName": "Accept", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2258" + "$ref": "2372" }, "isApiVersion": false, "optional": false, - "isContentType": false, + "isContentType": true, "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept" + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType" }, { - "$id": "9647", + "$id": "9843", "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "2260" + "$ref": "2374" }, "isApiVersion": false, "optional": false, - "isContentType": true, + "isContentType": false, "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType" + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept" }, { - "$id": "9648", + "$id": "9844", "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", + "name": "request", + "serializedName": "request", "type": { - "$ref": "6855" + "$ref": "7180" }, "isApiVersion": false, "contentTypes": [ @@ -130532,7 +133045,7 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.requestBody" + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.request" } ], "responses": [ @@ -130541,7 +133054,7 @@ 200 ], "bodyType": { - "$ref": "6905" + "$ref": "7672" }, "headers": [], "isErrorResponse": false, @@ -130552,65 +133065,65 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/completions", + "path": "/realtime/transcription_sessions", "requestMediaTypes": [ "application/json" ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken", "decorators": [] }, "parameters": [ { - "$id": "9649", + "$id": "9845", "kind": "method", - "name": "accept", - "serializedName": "Accept", + "name": "request", + "serializedName": "request", "type": { - "$ref": "2262" + "$ref": "7180" }, - "location": "Header", + "location": "Body", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.request", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9650", + "$id": "9846", "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "6855" + "$ref": "2372" }, - "location": "Body", + "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.requestBody", + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9651", + "$id": "9847", "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "2260" + "$ref": "2374" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept", "readOnly": false, "access": "public", "decorators": [] @@ -130618,24 +133131,24 @@ ], "response": { "type": { - "$ref": "6905" + "$ref": "7672" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion" + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken" } ], "parameters": [ { - "$id": "9652", + "$id": "9848", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9653", + "$id": "9849", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -130646,7 +133159,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9654", + "$id": "9850", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -130661,39 +133174,39 @@ ], "initializedBy": 0, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Completions", + "crossLanguageDefinitionId": "OpenAI.Realtime", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "9655", + "$id": "9851", "kind": "client", - "name": "Models", + "name": "Uploads", "namespace": "OpenAI", "methods": [ { - "$id": "9656", + "$id": "9852", "kind": "basic", - "name": "listModels", + "name": "createUpload", "accessibility": "public", "apiVersions": [], - "summary": "Lists the currently available models, and provides basic information about each one such as the\nowner and availability.", + "summary": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.\n\nOnce you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.\n\nFor certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:\n- [Assistants](/docs/assistants/tools/file-search/supported-files)\n\nFor guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create).", "operation": { - "$id": "9657", - "name": "listModels", - "resourceName": "Models", - "summary": "Lists the currently available models, and provides basic information about each one such as the\nowner and availability.", + "$id": "9853", + "name": "createUpload", + "resourceName": "Uploads", + "summary": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.\n\nOnce you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.\n\nFor certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:\n- [Assistants](/docs/assistants/tools/file-search/supported-files)\n\nFor guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create).", "accessibility": "public", "parameters": [ { - "$id": "9658", + "$id": "9854", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2264" + "$ref": "2376" }, "isApiVersion": false, "optional": false, @@ -130701,115 +133214,43 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Models.listModels.accept" - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "6936" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "GET", - "uri": "{endpoint}", - "path": "/models", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Models.listModels", - "decorators": [] - }, - "parameters": [ - { - "$id": "9659", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2266" + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept" }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Models.listModels.accept", - "readOnly": false, - "access": "public", - "decorators": [] - } - ], - "response": { - "type": { - "$ref": "6936" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Models.listModels" - }, - { - "$id": "9660", - "kind": "basic", - "name": "retrieveModel", - "accessibility": "public", - "apiVersions": [], - "summary": "Retrieves a model instance, providing basic information about the model such as the owner and\npermissioning.", - "operation": { - "$id": "9661", - "name": "retrieveModel", - "resourceName": "Models", - "summary": "Retrieves a model instance, providing basic information about the model such as the owner and\npermissioning.", - "accessibility": "public", - "parameters": [ { - "$id": "9662", + "$id": "9855", "kind": "header", - "name": "accept", - "serializedName": "Accept", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2268" + "$ref": "2378" }, "isApiVersion": false, "optional": false, - "isContentType": false, + "isContentType": true, "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.accept" + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType" }, { - "$id": "9663", - "kind": "path", - "name": "model", - "serializedName": "model", - "doc": "The ID of the model to use for this request.", + "$id": "9856", + "kind": "body", + "name": "requestBody", + "serializedName": "requestBody", "type": { - "$id": "9664", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "7808" }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", "optional": false, "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.model" + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.requestBody" } ], "responses": [ @@ -130818,7 +133259,7 @@ 200 ], "bodyType": { - "$ref": "6940" + "$ref": "7816" }, "headers": [], "isErrorResponse": false, @@ -130827,51 +133268,67 @@ ] } ], - "httpMethod": "GET", + "httpMethod": "POST", "uri": "{endpoint}", - "path": "/models/{model}", + "path": "/uploads", + "requestMediaTypes": [ + "application/json" + ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel", + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload", "decorators": [] }, "parameters": [ { - "$id": "9665", + "$id": "9857", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2270" + "$ref": "2380" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.accept", + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9666", + "$id": "9858", "kind": "method", - "name": "model", - "serializedName": "model", - "doc": "The ID of the model to use for this request.", + "name": "requestBody", + "serializedName": "requestBody", "type": { - "$id": "9667", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "7808" }, - "location": "Path", + "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.model", + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9859", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2378" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType", "readOnly": false, "access": "public", "decorators": [] @@ -130879,35 +133336,35 @@ ], "response": { "type": { - "$ref": "6940" + "$ref": "7816" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel" + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload" }, { - "$id": "9668", + "$id": "9860", "kind": "basic", - "name": "deleteModel", + "name": "addUploadPart", "accessibility": "public", "apiVersions": [], - "summary": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.", + "summary": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).", "operation": { - "$id": "9669", - "name": "deleteModel", - "resourceName": "Models", - "summary": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.", + "$id": "9861", + "name": "addUploadPart", + "resourceName": "Uploads", + "summary": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).", "accessibility": "public", "parameters": [ { - "$id": "9670", + "$id": "9862", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2272" + "$ref": "2382" }, "isApiVersion": false, "optional": false, @@ -130915,16 +133372,31 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.accept" + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept" + }, + { + "$id": "9863", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "type": { + "$ref": "2384" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType" }, { - "$id": "9671", + "$id": "9864", "kind": "path", - "name": "model", - "serializedName": "model", - "doc": "The model to delete", + "name": "upload_id", + "serializedName": "upload_id", "type": { - "$id": "9672", + "$id": "9865", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130939,7 +133411,26 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.model" + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id" + }, + { + "$id": "9866", + "kind": "body", + "name": "requestBody", + "serializedName": "requestBody", + "type": { + "$ref": "7835" + }, + "isApiVersion": false, + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.requestBody" } ], "responses": [ @@ -130948,7 +133439,7 @@ 200 ], "bodyType": { - "$ref": "6949" + "$ref": "7838" }, "headers": [], "isErrorResponse": false, @@ -130957,41 +133448,60 @@ ] } ], - "httpMethod": "DELETE", + "httpMethod": "POST", "uri": "{endpoint}", - "path": "/models/{model}", + "path": "/uploads/{upload_id}/parts", + "requestMediaTypes": [ + "multipart/form-data" + ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Models.deleteModel", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart", "decorators": [] }, "parameters": [ { - "$id": "9673", + "$id": "9867", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2274" + "$ref": "2386" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.accept", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9674", + "$id": "9868", "kind": "method", - "name": "model", - "serializedName": "model", - "doc": "The model to delete", + "name": "contentType", + "serializedName": "Content-Type", "type": { - "$id": "9675", + "$ref": "2388" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9869", + "kind": "method", + "name": "upload_id", + "serializedName": "upload_id", + "type": { + "$id": "9870", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131001,7 +133511,24 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.model", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9871", + "kind": "method", + "name": "requestBody", + "serializedName": "requestBody", + "type": { + "$ref": "7835" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.requestBody", "readOnly": false, "access": "public", "decorators": [] @@ -131009,82 +133536,35 @@ ], "response": { "type": { - "$ref": "6949" + "$ref": "7838" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Models.deleteModel" - } - ], - "parameters": [ - { - "$id": "9676", - "kind": "endpoint", - "name": "endpoint", - "serializedName": "endpoint", - "doc": "Service host", - "type": { - "$id": "9677", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "isApiVersion": false, - "optional": false, - "scope": "Client", - "isEndpoint": true, - "defaultValue": { - "type": { - "$id": "9678", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://api.openai.com/v1" - }, - "serverUrlTemplate": "{endpoint}", - "skipUrlEncoding": false, - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.endpoint" - } - ], - "initializedBy": 0, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Models", - "apiVersions": [], - "parent": { - "$ref": "8281" - } - }, - { - "$id": "9679", - "kind": "client", - "name": "Realtime", - "namespace": "OpenAI", - "methods": [ + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart" + }, { - "$id": "9680", + "$id": "9872", "kind": "basic", - "name": "startRealtimeSession", + "name": "completeUpload", "accessibility": "public", "apiVersions": [], - "summary": "Starts a real-time session for conversation or transcription.", + "summary": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.", "operation": { - "$id": "9681", - "name": "startRealtimeSession", - "resourceName": "Realtime", - "summary": "Starts a real-time session for conversation or transcription.", + "$id": "9873", + "name": "completeUpload", + "resourceName": "Uploads", + "summary": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.", "accessibility": "public", "parameters": [ { - "$id": "9682", + "$id": "9874", "kind": "header", - "name": "openAIBeta", - "serializedName": "OpenAI-Beta", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "2276" + "$ref": "2390" }, "isApiVersion": false, "optional": false, @@ -131092,55 +133572,55 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta" + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept" }, { - "$id": "9683", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "$id": "9875", + "kind": "path", + "name": "upload_id", + "serializedName": "upload_id", "type": { - "$ref": "2278" + "$id": "9876", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, "optional": false, - "isContentType": true, - "scope": "Constant", - "readOnly": false, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType" + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id" }, { - "$id": "9684", + "$id": "9877", "kind": "header", - "name": "accept", - "serializedName": "Accept", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2280" + "$ref": "2392" }, "isApiVersion": false, "optional": false, - "isContentType": false, + "isContentType": true, "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept" + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType" }, { - "$id": "9685", + "$id": "9878", "kind": "body", - "name": "requestMessages", - "serializedName": "requestMessages", + "name": "requestBody", + "serializedName": "requestBody", "type": { - "$id": "9686", - "kind": "array", - "name": "ArrayRealtimeClientEvent", - "valueType": { - "$ref": "6955" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] + "$ref": "7847" }, "isApiVersion": false, "contentTypes": [ @@ -131151,7 +133631,7 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.requestMessages" + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.requestBody" } ], "responses": [ @@ -131160,14 +133640,7 @@ 200 ], "bodyType": { - "$id": "9687", - "kind": "array", - "name": "ArrayRealtimeServerEvent", - "valueType": { - "$ref": "7252" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] + "$ref": "7816" }, "headers": [], "isErrorResponse": false, @@ -131178,82 +133651,86 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/realtime", + "path": "/uploads/{upload_id}/complete", "requestMediaTypes": [ "application/json" ], "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload", "decorators": [] }, "parameters": [ { - "$id": "9688", + "$id": "9879", "kind": "method", - "name": "openAIBeta", - "serializedName": "OpenAI-Beta", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "2282" + "$ref": "2394" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9689", + "$id": "9880", "kind": "method", - "name": "requestMessages", - "serializedName": "requestMessages", + "name": "upload_id", + "serializedName": "upload_id", "type": { - "$ref": "9686" + "$id": "9881", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Body", + "location": "Path", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.requestMessages", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9690", + "$id": "9882", "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "2278" + "$ref": "7847" }, - "location": "Header", + "location": "Body", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.requestBody", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9691", + "$id": "9883", "kind": "method", - "name": "accept", - "serializedName": "Accept", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2280" + "$ref": "2392" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType", "readOnly": false, "access": "public", "decorators": [] @@ -131261,52 +133738,35 @@ ], "response": { "type": { - "$ref": "9687" + "$ref": "7816" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession" + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload" }, { - "$id": "9692", + "$id": "9884", "kind": "basic", - "name": "createEphemeralToken", + "name": "cancelUpload", "accessibility": "public", "apiVersions": [], - "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API. Can be configured with the same session parameters as the session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", + "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "operation": { - "$id": "9693", - "name": "createEphemeralToken", - "resourceName": "Realtime", - "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API. Can be configured with the same session parameters as the session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", + "$id": "9885", + "name": "cancelUpload", + "resourceName": "Uploads", + "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "accessibility": "public", "parameters": [ { - "$id": "9694", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "2284" - }, - "isApiVersion": false, - "optional": false, - "isContentType": true, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType" - }, - { - "$id": "9695", + "$id": "9886", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2286" + "$ref": "2396" }, "isApiVersion": false, "optional": false, @@ -131314,26 +133774,30 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept" + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept" }, { - "$id": "9696", - "kind": "body", - "name": "request", - "serializedName": "request", + "$id": "9887", + "kind": "path", + "name": "upload_id", + "serializedName": "upload_id", "type": { - "$ref": "7736" + "$id": "9888", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, - "contentTypes": [ - "application/json" - ], - "defaultContentType": "application/json", + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, "optional": false, "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.request" + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.upload_id" } ], "responses": [ @@ -131342,7 +133806,7 @@ 200 ], "bodyType": { - "$ref": "7796" + "$ref": "7816" }, "headers": [], "isErrorResponse": false, @@ -131353,65 +133817,48 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/realtime/sessions", - "requestMediaTypes": [ - "application/json" - ], + "path": "/uploads/{upload_id}/cancel", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken", + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload", "decorators": [] }, "parameters": [ { - "$id": "9697", - "kind": "method", - "name": "request", - "serializedName": "request", - "type": { - "$ref": "7736" - }, - "location": "Body", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.request", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9698", + "$id": "9889", "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "2284" + "$ref": "2398" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType", + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9699", + "$id": "9890", "kind": "method", - "name": "accept", - "serializedName": "Accept", + "name": "upload_id", + "serializedName": "upload_id", "type": { - "$ref": "2286" + "$id": "9891", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Header", + "location": "Path", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.upload_id", "readOnly": false, "access": "public", "decorators": [] @@ -131419,79 +133866,364 @@ ], "response": { "type": { - "$ref": "7796" + "$ref": "7816" } }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken" - }, + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload" + } + ], + "parameters": [ { - "$id": "9700", - "kind": "basic", - "name": "createEphemeralTranscriptionToken", + "$id": "9892", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "9893", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "9894", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://api.openai.com/v1" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Uploads", + "apiVersions": [], + "parent": { + "$ref": "8485" + } + }, + { + "$id": "9895", + "kind": "client", + "name": "Conversations", + "namespace": "OpenAI", + "methods": [ + { + "$id": "9896", + "kind": "paging", + "name": "GetConversationItems", "accessibility": "public", "apiVersions": [], - "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the transcription_session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", + "doc": "List all items for a conversation with the given ID.", + "summary": "List items", "operation": { - "$id": "9701", - "name": "createEphemeralTranscriptionToken", - "resourceName": "Realtime", - "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the transcription_session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", + "$id": "9897", + "name": "GetConversationItems", + "resourceName": "OpenAI", + "summary": "List items", + "doc": "List all items for a conversation with the given ID.", "accessibility": "public", "parameters": [ { - "$id": "9702", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "$id": "9898", + "kind": "path", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to list items for.", "type": { - "$ref": "2288" + "$id": "9899", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, "optional": false, - "isContentType": true, - "scope": "Constant", + "scope": "Method", + "decorators": [], "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.listConversationItems.conversation_id" + }, + { + "$id": "9900", + "kind": "query", + "name": "limit", + "serializedName": "limit", + "doc": "A limit on the number of objects to be returned. Limit can range between\n1 and 100, and the default is 20.", + "type": { + "$id": "9901", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "isApiVersion": false, + "explode": true, + "optional": true, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType" + "crossLanguageDefinitionId": "OpenAI.listConversationItems.limit", + "readOnly": false }, { - "$id": "9703", - "kind": "header", - "name": "accept", - "serializedName": "Accept", + "$id": "9902", + "kind": "query", + "name": "order", + "serializedName": "order", + "doc": "The order to return the input items in. Default is `desc`.\n- `asc`: Return the input items in ascending order.\n- `desc`: Return the input items in descending order.", "type": { - "$ref": "2290" + "$id": "9903", + "kind": "enum", + "name": "ListConversationItemsRequestOrder", + "crossLanguageDefinitionId": "OpenAI.listConversationItems.RequestOrder.anonymous", + "valueType": { + "$id": "9904", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "9905", + "kind": "enumvalue", + "name": "asc", + "value": "asc", + "valueType": { + "$ref": "9904" + }, + "enumType": { + "$ref": "9903" + }, + "decorators": [] + }, + { + "$id": "9906", + "kind": "enumvalue", + "name": "desc", + "value": "desc", + "valueType": { + "$ref": "9904" + }, + "enumType": { + "$ref": "9903" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "None", + "decorators": [] }, "isApiVersion": false, - "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, + "explode": true, + "optional": true, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept" + "crossLanguageDefinitionId": "OpenAI.listConversationItems.order", + "readOnly": false }, { - "$id": "9704", - "kind": "body", - "name": "request", - "serializedName": "request", + "$id": "9907", + "kind": "query", + "name": "after", + "serializedName": "after", + "doc": "An item ID to list items after, used in pagination.", "type": { - "$ref": "7215" + "$id": "9908", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, - "contentTypes": [ - "application/json" - ], - "defaultContentType": "application/json", - "optional": false, + "explode": true, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.listConversationItems.after", + "readOnly": false + }, + { + "$id": "9909", + "kind": "query", + "name": "include", + "serializedName": "include", + "doc": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).", + "type": { + "$id": "9910", + "kind": "array", + "name": "ArrayIncludeEnum", + "valueType": { + "$id": "9911", + "kind": "enum", + "name": "IncludeEnum", + "crossLanguageDefinitionId": "OpenAI.IncludeEnum", + "valueType": { + "$id": "9912", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "9913", + "kind": "enumvalue", + "name": "file_search_call.results", + "value": "file_search_call.results", + "valueType": { + "$ref": "9912" + }, + "enumType": { + "$ref": "9911" + }, + "decorators": [] + }, + { + "$id": "9914", + "kind": "enumvalue", + "name": "web_search_call.results", + "value": "web_search_call.results", + "valueType": { + "$ref": "9912" + }, + "enumType": { + "$ref": "9911" + }, + "decorators": [] + }, + { + "$id": "9915", + "kind": "enumvalue", + "name": "web_search_call.action.sources", + "value": "web_search_call.action.sources", + "valueType": { + "$ref": "9912" + }, + "enumType": { + "$ref": "9911" + }, + "decorators": [] + }, + { + "$id": "9916", + "kind": "enumvalue", + "name": "message.input_image.image_url", + "value": "message.input_image.image_url", + "valueType": { + "$ref": "9912" + }, + "enumType": { + "$ref": "9911" + }, + "decorators": [] + }, + { + "$id": "9917", + "kind": "enumvalue", + "name": "computer_call_output.output.image_url", + "value": "computer_call_output.output.image_url", + "valueType": { + "$ref": "9912" + }, + "enumType": { + "$ref": "9911" + }, + "decorators": [] + }, + { + "$id": "9918", + "kind": "enumvalue", + "name": "code_interpreter_call.outputs", + "value": "code_interpreter_call.outputs", + "valueType": { + "$ref": "9912" + }, + "enumType": { + "$ref": "9911" + }, + "decorators": [] + }, + { + "$id": "9919", + "kind": "enumvalue", + "name": "reasoning.encrypted_content", + "value": "reasoning.encrypted_content", + "valueType": { + "$ref": "9912" + }, + "enumType": { + "$ref": "9911" + }, + "decorators": [] + }, + { + "$id": "9920", + "kind": "enumvalue", + "name": "message.output_text.logprobs", + "value": "message.output_text.logprobs", + "valueType": { + "$ref": "9912" + }, + "enumType": { + "$ref": "9911" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "doc": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).", + "isFixed": true, + "isFlags": false, + "usage": "None", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "isApiVersion": false, + "explode": true, + "optional": true, "scope": "Method", "decorators": [], + "crossLanguageDefinitionId": "OpenAI.listConversationItems.include", + "readOnly": false + }, + { + "$id": "9921", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2400" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.request" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.listConversationItems.accept" } ], "responses": [ @@ -131500,7 +134232,114 @@ 200 ], "bodyType": { - "$ref": "7707" + "$id": "9922", + "kind": "model", + "name": "ConversationItemList", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ConversationItemList", + "usage": "None", + "doc": "A list of Conversation items.", + "summary": "The conversation item list", + "decorators": [], + "properties": [ + { + "$id": "9923", + "kind": "property", + "name": "object", + "doc": "The type of object returned, must be `list`.", + "type": { + "$ref": "2402" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationItemList.object", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "9924", + "kind": "property", + "name": "data", + "doc": "A list of conversation items.", + "type": { + "$ref": "5300" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationItemList.data", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "9925", + "kind": "property", + "name": "has_more", + "doc": "Whether there are more items available.", + "type": { + "$id": "9926", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationItemList.has_more", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "9927", + "kind": "property", + "name": "first_id", + "doc": "The ID of the first item in the list.", + "type": { + "$id": "9928", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationItemList.first_id", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "9929", + "kind": "property", + "name": "last_id", + "doc": "The ID of the last item in the list.", + "type": { + "$id": "9930", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationItemList.last_id", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] }, "headers": [], "isErrorResponse": false, @@ -131509,67 +134348,131 @@ ] } ], - "httpMethod": "POST", + "httpMethod": "GET", "uri": "{endpoint}", - "path": "/realtime/transcription_sessions", - "requestMediaTypes": [ - "application/json" - ], + "path": "/conversations/{conversation_id}/items", "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken", + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "OpenAI.listConversationItems", "decorators": [] }, "parameters": [ { - "$id": "9705", + "$id": "9931", "kind": "method", - "name": "request", - "serializedName": "request", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to list items for.", "type": { - "$ref": "7215" + "$id": "9932", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Body", + "location": "Path", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.request", + "crossLanguageDefinitionId": "OpenAI.listConversationItems.conversation_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9706", + "$id": "9933", "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "limit", + "serializedName": "limit", + "doc": "A limit on the number of objects to be returned. Limit can range between\n1 and 100, and the default is 20.", + "type": { + "$id": "9934", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.listConversationItems.limit", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9935", + "kind": "method", + "name": "order", + "serializedName": "order", + "doc": "The order to return the input items in. Default is `desc`.\n- `asc`: Return the input items in ascending order.\n- `desc`: Return the input items in descending order.", + "type": { + "$ref": "9903" + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.listConversationItems.order", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9936", + "kind": "method", + "name": "after", + "serializedName": "after", + "doc": "An item ID to list items after, used in pagination.", + "type": { + "$id": "9937", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.listConversationItems.after", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9938", + "kind": "method", + "name": "include", + "serializedName": "include", + "doc": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).", "type": { - "$ref": "2288" + "$ref": "9910" }, - "location": "Header", + "location": "Query", "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType", + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.listConversationItems.include", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9707", + "$id": "9939", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2290" + "$ref": "2400" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept", + "crossLanguageDefinitionId": "OpenAI.listConversationItems.accept", "readOnly": false, "access": "public", "decorators": [] @@ -131577,99 +134480,88 @@ ], "response": { "type": { - "$ref": "7707" - } + "$ref": "5300" + }, + "resultSegments": [ + "data" + ] }, "isOverride": false, - "generateConvenient": true, + "generateConvenient": false, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken" - } - ], - "parameters": [ - { - "$id": "9708", - "kind": "endpoint", - "name": "endpoint", - "serializedName": "endpoint", - "doc": "Service host", - "type": { - "$id": "9709", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "isApiVersion": false, - "optional": false, - "scope": "Client", - "isEndpoint": true, - "defaultValue": { - "type": { - "$id": "9710", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://api.openai.com/v1" - }, - "serverUrlTemplate": "{endpoint}", - "skipUrlEncoding": false, - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.endpoint" - } - ], - "initializedBy": 0, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Realtime", - "apiVersions": [], - "parent": { - "$ref": "8281" - } - }, - { - "$id": "9711", - "kind": "client", - "name": "Uploads", - "namespace": "OpenAI", - "methods": [ + "crossLanguageDefinitionId": "OpenAI.listConversationItems", + "pagingMetadata": { + "itemPropertySegments": [ + "data" + ], + "pageSizeParameterSegments": [] + } + }, { - "$id": "9712", + "$id": "9940", "kind": "basic", - "name": "createUpload", + "name": "createConversationItems", "accessibility": "public", "apiVersions": [], - "summary": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.\n\nOnce you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.\n\nFor certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:\n- [Assistants](/docs/assistants/tools/file-search/supported-files)\n\nFor guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create).", + "doc": "Create items in a conversation with the given ID.", + "summary": "Create items", "operation": { - "$id": "9713", - "name": "createUpload", - "resourceName": "Uploads", - "summary": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.\n\nOnce you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.\n\nFor certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:\n- [Assistants](/docs/assistants/tools/file-search/supported-files)\n\nFor guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create).", + "$id": "9941", + "name": "createConversationItems", + "resourceName": "OpenAI", + "summary": "Create items", + "doc": "Create items in a conversation with the given ID.", "accessibility": "public", "parameters": [ { - "$id": "9714", - "kind": "header", - "name": "accept", - "serializedName": "Accept", + "$id": "9942", + "kind": "path", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to add the item to.", "type": { - "$ref": "2292" + "$id": "9943", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, "optional": false, - "isContentType": false, - "scope": "Constant", + "scope": "Method", + "decorators": [], "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.createConversationItems.conversation_id" + }, + { + "$id": "9944", + "kind": "query", + "name": "include", + "serializedName": "include", + "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", + "type": { + "$ref": "9910" + }, + "isApiVersion": false, + "explode": true, + "optional": true, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept" + "crossLanguageDefinitionId": "OpenAI.createConversationItems.include", + "readOnly": false }, { - "$id": "9715", + "$id": "9945", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2294" + "$ref": "2404" }, "isApiVersion": false, "optional": false, @@ -131677,15 +134569,55 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType" + "crossLanguageDefinitionId": "OpenAI.createConversationItems.contentType" + }, + { + "$id": "9946", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2406" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.createConversationItems.accept" }, { - "$id": "9716", + "$id": "9947", "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", + "name": "body", + "serializedName": "body", "type": { - "$ref": "7843" + "$id": "9948", + "kind": "model", + "name": "CreateConversationItemsParametersBody", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CreateConversationItemsParametersBody", + "usage": "None", + "decorators": [], + "properties": [ + { + "$id": "9949", + "kind": "property", + "name": "items", + "type": { + "$ref": "5300" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateConversationItemsParametersBody.items", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] }, "isApiVersion": false, "contentTypes": [ @@ -131696,7 +134628,7 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.requestBody" + "crossLanguageDefinitionId": "OpenAI.createConversationItems.body" } ], "responses": [ @@ -131705,7 +134637,7 @@ 200 ], "bodyType": { - "$ref": "7851" + "$ref": "9922" }, "headers": [], "isErrorResponse": false, @@ -131716,65 +134648,105 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/uploads", + "path": "/conversations/{conversation_id}/items", "requestMediaTypes": [ "application/json" ], "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload", + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "OpenAI.createConversationItems", "decorators": [] }, "parameters": [ { - "$id": "9717", + "$id": "9950", "kind": "method", - "name": "accept", - "serializedName": "Accept", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to add the item to.", "type": { - "$ref": "2296" + "$id": "9951", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Header", + "location": "Path", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.createConversationItems.conversation_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9718", + "$id": "9952", "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", + "name": "include", + "serializedName": "include", + "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", + "type": { + "$ref": "9910" + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.createConversationItems.include", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9953", + "kind": "method", + "name": "body", + "serializedName": "body", "type": { - "$ref": "7843" + "$ref": "9948" }, "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.requestBody", + "crossLanguageDefinitionId": "OpenAI.createConversationItems.body", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9719", + "$id": "9954", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2294" + "$ref": "2404" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType", + "crossLanguageDefinitionId": "OpenAI.createConversationItems.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "9955", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2406" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.createConversationItems.accept", "readOnly": false, "access": "public", "decorators": [] @@ -131782,67 +134754,62 @@ ], "response": { "type": { - "$ref": "7851" + "$ref": "9922" } }, "isOverride": false, - "generateConvenient": true, + "generateConvenient": false, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload" + "crossLanguageDefinitionId": "OpenAI.createConversationItems" }, { - "$id": "9720", + "$id": "9956", "kind": "basic", - "name": "addUploadPart", + "name": "deleteConversationItem", "accessibility": "public", "apiVersions": [], - "summary": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).", + "doc": "Delete an item from a conversation with the given IDs.", + "summary": "Delete an item", "operation": { - "$id": "9721", - "name": "addUploadPart", - "resourceName": "Uploads", - "summary": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).", + "$id": "9957", + "name": "deleteConversationItem", + "resourceName": "OpenAI", + "summary": "Delete an item", + "doc": "Delete an item from a conversation with the given IDs.", "accessibility": "public", "parameters": [ { - "$id": "9722", - "kind": "header", - "name": "accept", - "serializedName": "Accept", + "$id": "9958", + "kind": "path", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation that contains the item.", "type": { - "$ref": "2298" + "$id": "9959", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept" - }, - { - "$id": "9723", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "type": { - "$ref": "2300" - }, - "isApiVersion": false, - "optional": false, - "isContentType": true, - "scope": "Constant", "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType" + "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.conversation_id" }, { - "$id": "9724", + "$id": "9960", "kind": "path", - "name": "upload_id", - "serializedName": "upload_id", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item to delete.", "type": { - "$id": "9725", + "$id": "9961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131857,26 +134824,23 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id" + "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.item_id" }, { - "$id": "9726", - "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", + "$id": "9962", + "kind": "header", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "7870" + "$ref": "2408" }, "isApiVersion": false, - "contentTypes": [ - "multipart/form-data" - ], - "defaultContentType": "multipart/form-data", "optional": false, - "scope": "Method", - "decorators": [], + "isContentType": false, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.requestBody" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.accept" } ], "responses": [ @@ -131885,7 +134849,95 @@ 200 ], "bodyType": { - "$ref": "7873" + "$id": "9963", + "kind": "model", + "name": "ConversationResource", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ConversationResource", + "usage": "None", + "decorators": [], + "properties": [ + { + "$id": "9964", + "kind": "property", + "name": "id", + "doc": "The unique ID of the conversation.", + "type": { + "$id": "9965", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationResource.id", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "9966", + "kind": "property", + "name": "object", + "doc": "The object type, which is always `conversation`.", + "type": { + "$ref": "2410" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationResource.object", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "9967", + "kind": "property", + "name": "metadata", + "doc": "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.", + "type": { + "$id": "9968", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationResource.metadata", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "9969", + "kind": "property", + "name": "created_at", + "doc": "The time at which the conversation was created, measured in seconds since the Unix epoch.", + "type": { + "$id": "9970", + "kind": "integer", + "name": "integer", + "crossLanguageDefinitionId": "TypeSpec.integer", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ConversationResource.created_at", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] }, "headers": [], "isErrorResponse": false, @@ -131894,60 +134946,46 @@ ] } ], - "httpMethod": "POST", + "httpMethod": "DELETE", "uri": "{endpoint}", - "path": "/uploads/{upload_id}/parts", - "requestMediaTypes": [ - "multipart/form-data" - ], + "path": "/conversations/{conversation_id}/items/{item_id}", "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart", + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "OpenAI.deleteConversationItem", "decorators": [] }, "parameters": [ { - "$id": "9727", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2302" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9728", + "$id": "9971", "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation that contains the item.", "type": { - "$ref": "2304" + "$id": "9972", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Header", + "location": "Path", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.conversation_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9729", + "$id": "9973", "kind": "method", - "name": "upload_id", - "serializedName": "upload_id", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item to delete.", "type": { - "$id": "9730", + "$id": "9974", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131957,24 +134995,24 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id", + "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.item_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9731", + "$id": "9975", "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "7870" + "$ref": "2408" }, - "location": "Body", + "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.requestBody", + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.accept", "readOnly": false, "access": "public", "decorators": [] @@ -131982,51 +135020,62 @@ ], "response": { "type": { - "$ref": "7873" + "$ref": "9963" } }, "isOverride": false, - "generateConvenient": true, + "generateConvenient": false, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart" + "crossLanguageDefinitionId": "OpenAI.deleteConversationItem" }, { - "$id": "9732", + "$id": "9976", "kind": "basic", - "name": "completeUpload", + "name": "getConversationItem", "accessibility": "public", "apiVersions": [], - "summary": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.", + "doc": "Get a single item from a conversation with the given IDs.", + "summary": "Retrieve an item", "operation": { - "$id": "9733", - "name": "completeUpload", - "resourceName": "Uploads", - "summary": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.", + "$id": "9977", + "name": "getConversationItem", + "resourceName": "OpenAI", + "summary": "Retrieve an item", + "doc": "Get a single item from a conversation with the given IDs.", "accessibility": "public", "parameters": [ { - "$id": "9734", - "kind": "header", - "name": "accept", - "serializedName": "Accept", + "$id": "9978", + "kind": "path", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation that contains the item.", "type": { - "$ref": "2306" + "$id": "9979", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept" + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.getConversationItem.conversation_id" }, { - "$id": "9735", + "$id": "9980", "kind": "path", - "name": "upload_id", - "serializedName": "upload_id", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item to retrieve.", "type": { - "$id": "9736", + "$id": "9981", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132041,43 +135090,40 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id" + "crossLanguageDefinitionId": "OpenAI.getConversationItem.item_id" }, { - "$id": "9737", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "$id": "9982", + "kind": "query", + "name": "include", + "serializedName": "include", + "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", "type": { - "$ref": "2308" + "$ref": "9910" }, "isApiVersion": false, - "optional": false, - "isContentType": true, - "scope": "Constant", - "readOnly": false, + "explode": true, + "optional": true, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType" + "crossLanguageDefinitionId": "OpenAI.getConversationItem.include", + "readOnly": false }, { - "$id": "9738", - "kind": "body", - "name": "requestBody", - "serializedName": "requestBody", + "$id": "9983", + "kind": "header", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "7882" + "$ref": "2412" }, "isApiVersion": false, - "contentTypes": [ - "application/json" - ], - "defaultContentType": "application/json", "optional": false, - "scope": "Method", - "decorators": [], + "isContentType": false, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.requestBody" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.getConversationItem.accept" } ], "responses": [ @@ -132086,7 +135132,7 @@ 200 ], "bodyType": { - "$ref": "7851" + "$ref": "5301" }, "headers": [], "isErrorResponse": false, @@ -132095,43 +135141,46 @@ ] } ], - "httpMethod": "POST", + "httpMethod": "GET", "uri": "{endpoint}", - "path": "/uploads/{upload_id}/complete", - "requestMediaTypes": [ - "application/json" - ], + "path": "/conversations/{conversation_id}/items/{item_id}", "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload", + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "OpenAI.getConversationItem", "decorators": [] }, "parameters": [ { - "$id": "9739", + "$id": "9984", "kind": "method", - "name": "accept", - "serializedName": "Accept", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation that contains the item.", "type": { - "$ref": "2310" + "$id": "9985", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "location": "Header", + "location": "Path", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.getConversationItem.conversation_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9740", + "$id": "9986", "kind": "method", - "name": "upload_id", - "serializedName": "upload_id", + "name": "item_id", + "serializedName": "item_id", + "doc": "The ID of the item to retrieve.", "type": { - "$id": "9741", + "$id": "9987", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132141,42 +135190,42 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id", + "crossLanguageDefinitionId": "OpenAI.getConversationItem.item_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9742", + "$id": "9988", "kind": "method", - "name": "requestBody", - "serializedName": "requestBody", + "name": "include", + "serializedName": "include", + "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", "type": { - "$ref": "7882" + "$ref": "9910" }, - "location": "Body", + "location": "Query", "isApiVersion": false, - "optional": false, + "optional": true, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.requestBody", + "crossLanguageDefinitionId": "OpenAI.getConversationItem.include", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9743", + "$id": "9989", "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "2308" + "$ref": "2412" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType", + "crossLanguageDefinitionId": "OpenAI.getConversationItem.accept", "readOnly": false, "access": "public", "decorators": [] @@ -132184,35 +135233,54 @@ ], "response": { "type": { - "$ref": "7851" + "$ref": "5301" } }, "isOverride": false, - "generateConvenient": true, + "generateConvenient": false, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload" + "crossLanguageDefinitionId": "OpenAI.getConversationItem" }, { - "$id": "9744", + "$id": "9990", "kind": "basic", - "name": "cancelUpload", + "name": "createConversation", "accessibility": "public", "apiVersions": [], - "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", + "doc": "Create a conversation.", + "summary": "Create a conversation", "operation": { - "$id": "9745", - "name": "cancelUpload", - "resourceName": "Uploads", - "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", + "$id": "9991", + "name": "createConversation", + "resourceName": "OpenAI", + "summary": "Create a conversation", + "doc": "Create a conversation.", "accessibility": "public", "parameters": [ { - "$id": "9746", + "$id": "9992", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2414" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.createConversation.contentType" + }, + { + "$id": "9993", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2312" + "$ref": "2416" }, "isApiVersion": false, "optional": false, @@ -132220,30 +135288,84 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept" + "crossLanguageDefinitionId": "OpenAI.createConversation.accept" }, { - "$id": "9747", - "kind": "path", - "name": "upload_id", - "serializedName": "upload_id", + "$id": "9994", + "kind": "body", + "name": "body", + "serializedName": "body", "type": { - "$id": "9748", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "9995", + "kind": "model", + "name": "CreateConversationBody", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CreateConversationBody", + "usage": "None", + "decorators": [], + "properties": [ + { + "$id": "9996", + "kind": "property", + "name": "metadata", + "type": { + "$id": "9997", + "kind": "nullable", + "type": { + "$id": "9998", + "kind": "model", + "name": "Metadata", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.Metadata", + "usage": "None", + "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", + "decorators": [], + "properties": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateConversationBody.metadata", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "9999", + "kind": "property", + "name": "items", + "type": { + "$id": "10000", + "kind": "nullable", + "type": { + "$ref": "5300" + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateConversationBody.items", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", "optional": false, "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.upload_id" + "crossLanguageDefinitionId": "OpenAI.createConversation.body" } ], "responses": [ @@ -132252,7 +135374,7 @@ 200 ], "bodyType": { - "$ref": "7851" + "$ref": "9963" }, "headers": [], "isErrorResponse": false, @@ -132263,405 +135385,127 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/uploads/{upload_id}/cancel", + "path": "/conversations", + "requestMediaTypes": [ + "application/json" + ], "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload", + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "OpenAI.createConversation", "decorators": [] }, "parameters": [ { - "$id": "9749", - "kind": "method", - "name": "accept", - "serializedName": "Accept", - "type": { - "$ref": "2314" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9750", + "$id": "10001", "kind": "method", - "name": "upload_id", - "serializedName": "upload_id", + "name": "body", + "serializedName": "body", "type": { - "$id": "9751", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "9995" }, - "location": "Path", + "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.upload_id", + "crossLanguageDefinitionId": "OpenAI.createConversation.body", "readOnly": false, - "access": "public", - "decorators": [] - } - ], - "response": { - "type": { - "$ref": "7851" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload" - } - ], - "parameters": [ - { - "$id": "9752", - "kind": "endpoint", - "name": "endpoint", - "serializedName": "endpoint", - "doc": "Service host", - "type": { - "$id": "9753", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "isApiVersion": false, - "optional": false, - "scope": "Client", - "isEndpoint": true, - "defaultValue": { - "type": { - "$id": "9754", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://api.openai.com/v1" - }, - "serverUrlTemplate": "{endpoint}", - "skipUrlEncoding": false, - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.endpoint" - } - ], - "initializedBy": 0, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Uploads", - "apiVersions": [], - "parent": { - "$ref": "8281" - } - }, - { - "$id": "9755", - "kind": "client", - "name": "Conversations", - "namespace": "OpenAI", - "methods": [ - { - "$id": "9756", - "kind": "paging", - "name": "GetConversationItems", - "accessibility": "public", - "apiVersions": [], - "doc": "List all items for a conversation with the given ID.", - "summary": "List items", - "operation": { - "$id": "9757", - "name": "GetConversationItems", - "resourceName": "OpenAI", - "summary": "List items", - "doc": "List all items for a conversation with the given ID.", - "accessibility": "public", - "parameters": [ - { - "$id": "9758", - "kind": "path", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to list items for.", - "type": { - "$id": "9759", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.listConversationItems.conversation_id" - }, - { - "$id": "9760", - "kind": "query", - "name": "limit", - "serializedName": "limit", - "doc": "A limit on the number of objects to be returned. Limit can range between\n1 and 100, and the default is 20.", - "type": { - "$id": "9761", - "kind": "integer", - "name": "integer", - "crossLanguageDefinitionId": "TypeSpec.integer", - "decorators": [] - }, - "isApiVersion": false, - "explode": true, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.listConversationItems.limit", - "readOnly": false - }, - { - "$id": "9762", - "kind": "query", - "name": "order", - "serializedName": "order", - "doc": "The order to return the input items in. Default is `desc`.\n- `asc`: Return the input items in ascending order.\n- `desc`: Return the input items in descending order.", - "type": { - "$id": "9763", - "kind": "enum", - "name": "ListConversationItemsRequestOrder", - "crossLanguageDefinitionId": "OpenAI.listConversationItems.RequestOrder.anonymous", - "valueType": { - "$id": "9764", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "9765", - "kind": "enumvalue", - "name": "asc", - "value": "asc", - "valueType": { - "$ref": "9764" - }, - "enumType": { - "$ref": "9763" - }, - "decorators": [] - }, - { - "$id": "9766", - "kind": "enumvalue", - "name": "desc", - "value": "desc", - "valueType": { - "$ref": "9764" - }, - "enumType": { - "$ref": "9763" - }, - "decorators": [] - } - ], - "namespace": "OpenAI", - "isFixed": true, - "isFlags": false, - "usage": "None", - "decorators": [] - }, - "isApiVersion": false, - "explode": true, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.listConversationItems.order", - "readOnly": false - }, - { - "$id": "9767", - "kind": "query", - "name": "after", - "serializedName": "after", - "doc": "An item ID to list items after, used in pagination.", - "type": { - "$id": "9768", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": true, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.listConversationItems.after", - "readOnly": false - }, - { - "$id": "9769", - "kind": "query", - "name": "include", - "serializedName": "include", - "doc": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).", - "type": { - "$id": "9770", - "kind": "array", - "name": "ArrayIncludeEnum", - "valueType": { - "$id": "9771", - "kind": "enum", - "name": "IncludeEnum", - "crossLanguageDefinitionId": "OpenAI.IncludeEnum", - "valueType": { - "$id": "9772", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "9773", - "kind": "enumvalue", - "name": "file_search_call.results", - "value": "file_search_call.results", - "valueType": { - "$ref": "9772" - }, - "enumType": { - "$ref": "9771" - }, - "decorators": [] - }, - { - "$id": "9774", - "kind": "enumvalue", - "name": "web_search_call.results", - "value": "web_search_call.results", - "valueType": { - "$ref": "9772" - }, - "enumType": { - "$ref": "9771" - }, - "decorators": [] - }, - { - "$id": "9775", - "kind": "enumvalue", - "name": "web_search_call.action.sources", - "value": "web_search_call.action.sources", - "valueType": { - "$ref": "9772" - }, - "enumType": { - "$ref": "9771" - }, - "decorators": [] - }, - { - "$id": "9776", - "kind": "enumvalue", - "name": "message.input_image.image_url", - "value": "message.input_image.image_url", - "valueType": { - "$ref": "9772" - }, - "enumType": { - "$ref": "9771" - }, - "decorators": [] - }, - { - "$id": "9777", - "kind": "enumvalue", - "name": "computer_call_output.output.image_url", - "value": "computer_call_output.output.image_url", - "valueType": { - "$ref": "9772" - }, - "enumType": { - "$ref": "9771" - }, - "decorators": [] - }, - { - "$id": "9778", - "kind": "enumvalue", - "name": "code_interpreter_call.outputs", - "value": "code_interpreter_call.outputs", - "valueType": { - "$ref": "9772" - }, - "enumType": { - "$ref": "9771" - }, - "decorators": [] - }, - { - "$id": "9779", - "kind": "enumvalue", - "name": "reasoning.encrypted_content", - "value": "reasoning.encrypted_content", - "valueType": { - "$ref": "9772" - }, - "enumType": { - "$ref": "9771" - }, - "decorators": [] - }, - { - "$id": "9780", - "kind": "enumvalue", - "name": "message.output_text.logprobs", - "value": "message.output_text.logprobs", - "valueType": { - "$ref": "9772" - }, - "enumType": { - "$ref": "9771" - }, - "decorators": [] - } - ], - "namespace": "OpenAI", - "doc": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).", - "isFixed": true, - "isFlags": false, - "usage": "None", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", + "access": "public", + "decorators": [] + }, + { + "$id": "10002", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2414" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.createConversation.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "10003", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2416" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.createConversation.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "9963" + } + }, + "isOverride": false, + "generateConvenient": false, + "generateProtocol": true, + "crossLanguageDefinitionId": "OpenAI.createConversation" + }, + { + "$id": "10004", + "kind": "basic", + "name": "deleteConversation", + "accessibility": "public", + "apiVersions": [], + "doc": "Delete a conversation. Items in the conversation will not be deleted.", + "summary": "Delete a conversation", + "operation": { + "$id": "10005", + "name": "deleteConversation", + "resourceName": "OpenAI", + "summary": "Delete a conversation", + "doc": "Delete a conversation. Items in the conversation will not be deleted.", + "accessibility": "public", + "parameters": [ + { + "$id": "10006", + "kind": "path", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to delete.", + "type": { + "$id": "10007", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "isApiVersion": false, - "explode": true, - "optional": true, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.listConversationItems.include", - "readOnly": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.deleteConversation.conversation_id" }, { - "$id": "9781", + "$id": "10008", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2316" + "$ref": "2418" }, "isApiVersion": false, "optional": false, @@ -132669,7 +135513,7 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.listConversationItems.accept" + "crossLanguageDefinitionId": "OpenAI.deleteConversation.accept" } ], "responses": [ @@ -132678,57 +135522,36 @@ 200 ], "bodyType": { - "$id": "9782", + "$id": "10009", "kind": "model", - "name": "ConversationItemList", + "name": "DeletedConversationResource", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ConversationItemList", + "crossLanguageDefinitionId": "OpenAI.DeletedConversationResource", "usage": "None", - "doc": "A list of Conversation items.", - "summary": "The conversation item list", "decorators": [], "properties": [ { - "$id": "9783", + "$id": "10010", "kind": "property", "name": "object", - "doc": "The type of object returned, must be `list`.", - "type": { - "$ref": "2318" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationItemList.object", - "serializationOptions": {}, - "isHttpMetadata": false - }, - { - "$id": "9784", - "kind": "property", - "name": "data", - "doc": "A list of conversation items.", "type": { - "$ref": "5222" + "$ref": "2420" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationItemList.data", + "crossLanguageDefinitionId": "OpenAI.DeletedConversationResource.object", "serializationOptions": {}, "isHttpMetadata": false }, { - "$id": "9785", + "$id": "10011", "kind": "property", - "name": "has_more", - "doc": "Whether there are more items available.", + "name": "deleted", "type": { - "$id": "9786", + "$id": "10012", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -132739,38 +135562,16 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationItemList.has_more", - "serializationOptions": {}, - "isHttpMetadata": false - }, - { - "$id": "9787", - "kind": "property", - "name": "first_id", - "doc": "The ID of the first item in the list.", - "type": { - "$id": "9788", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationItemList.first_id", + "crossLanguageDefinitionId": "OpenAI.DeletedConversationResource.deleted", "serializationOptions": {}, "isHttpMetadata": false }, { - "$id": "9789", + "$id": "10013", "kind": "property", - "name": "last_id", - "doc": "The ID of the last item in the list.", + "name": "id", "type": { - "$id": "9790", + "$id": "10014", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132781,7 +135582,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationItemList.last_id", + "crossLanguageDefinitionId": "OpenAI.DeletedConversationResource.id", "serializationOptions": {}, "isHttpMetadata": false } @@ -132794,24 +135595,24 @@ ] } ], - "httpMethod": "GET", + "httpMethod": "DELETE", "uri": "{endpoint}", - "path": "/conversations/{conversation_id}/items", + "path": "/conversations/{conversation_id}", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "OpenAI.listConversationItems", + "crossLanguageDefinitionId": "OpenAI.deleteConversation", "decorators": [] }, "parameters": [ { - "$id": "9791", + "$id": "10015", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", - "doc": "The ID of the conversation to list items for.", + "doc": "The ID of the conversation to delete.", "type": { - "$id": "9792", + "$id": "10016", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132821,104 +135622,392 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.listConversationItems.conversation_id", + "crossLanguageDefinitionId": "OpenAI.deleteConversation.conversation_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9793", + "$id": "10017", "kind": "method", - "name": "limit", - "serializedName": "limit", - "doc": "A limit on the number of objects to be returned. Limit can range between\n1 and 100, and the default is 20.", + "name": "accept", + "serializedName": "Accept", "type": { - "$id": "9794", - "kind": "integer", - "name": "integer", - "crossLanguageDefinitionId": "TypeSpec.integer", + "$ref": "2418" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.deleteConversation.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "10009" + } + }, + "isOverride": false, + "generateConvenient": false, + "generateProtocol": true, + "crossLanguageDefinitionId": "OpenAI.deleteConversation" + }, + { + "$id": "10018", + "kind": "basic", + "name": "getConversation", + "accessibility": "public", + "apiVersions": [], + "doc": "Get a conversation", + "summary": "Retrieve a conversation", + "operation": { + "$id": "10019", + "name": "getConversation", + "resourceName": "OpenAI", + "summary": "Retrieve a conversation", + "doc": "Get a conversation", + "accessibility": "public", + "parameters": [ + { + "$id": "10020", + "kind": "path", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to retrieve.", + "type": { + "$id": "10021", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.getConversation.conversation_id" + }, + { + "$id": "10022", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2422" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.getConversation.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "9963" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/conversations/{conversation_id}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "OpenAI.getConversation", + "decorators": [] + }, + "parameters": [ + { + "$id": "10023", + "kind": "method", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to retrieve.", + "type": { + "$id": "10024", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", + "location": "Path", "isApiVersion": false, - "optional": true, + "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.listConversationItems.limit", + "crossLanguageDefinitionId": "OpenAI.getConversation.conversation_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9795", + "$id": "10025", "kind": "method", - "name": "order", - "serializedName": "order", - "doc": "The order to return the input items in. Default is `desc`.\n- `asc`: Return the input items in ascending order.\n- `desc`: Return the input items in descending order.", + "name": "accept", + "serializedName": "Accept", "type": { - "$ref": "9763" + "$ref": "2422" }, - "location": "Query", + "location": "Header", "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.listConversationItems.order", + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.getConversation.accept", "readOnly": false, "access": "public", "decorators": [] - }, + } + ], + "response": { + "type": { + "$ref": "9963" + } + }, + "isOverride": false, + "generateConvenient": false, + "generateProtocol": true, + "crossLanguageDefinitionId": "OpenAI.getConversation" + }, + { + "$id": "10026", + "kind": "basic", + "name": "updateConversation", + "accessibility": "public", + "apiVersions": [], + "doc": "Update a conversation", + "summary": "Update a conversation", + "operation": { + "$id": "10027", + "name": "updateConversation", + "resourceName": "OpenAI", + "summary": "Update a conversation", + "doc": "Update a conversation", + "accessibility": "public", + "parameters": [ + { + "$id": "10028", + "kind": "path", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to update.", + "type": { + "$id": "10029", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.updateConversation.conversation_id" + }, + { + "$id": "10030", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2424" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.updateConversation.contentType" + }, + { + "$id": "10031", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "2426" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.updateConversation.accept" + }, + { + "$id": "10032", + "kind": "body", + "name": "body", + "serializedName": "body", + "type": { + "$id": "10033", + "kind": "model", + "name": "UpdateConversationBody", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.UpdateConversationBody", + "usage": "None", + "decorators": [], + "properties": [ + { + "$id": "10034", + "kind": "property", + "name": "metadata", + "doc": "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.", + "type": { + "$id": "10035", + "kind": "nullable", + "type": { + "$ref": "9998" + }, + "namespace": "OpenAI" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.UpdateConversationBody.metadata", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.updateConversation.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "9963" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/conversations/{conversation_id}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "OpenAI.updateConversation", + "decorators": [] + }, + "parameters": [ { - "$id": "9796", + "$id": "10036", "kind": "method", - "name": "after", - "serializedName": "after", - "doc": "An item ID to list items after, used in pagination.", + "name": "conversation_id", + "serializedName": "conversation_id", + "doc": "The ID of the conversation to update.", "type": { - "$id": "9797", + "$id": "10037", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", + "location": "Path", "isApiVersion": false, - "optional": true, + "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.listConversationItems.after", + "crossLanguageDefinitionId": "OpenAI.updateConversation.conversation_id", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9798", + "$id": "10038", "kind": "method", - "name": "include", - "serializedName": "include", - "doc": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).", + "name": "body", + "serializedName": "body", "type": { - "$ref": "9770" + "$ref": "10033" }, - "location": "Query", + "location": "Body", "isApiVersion": false, - "optional": true, + "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.listConversationItems.include", + "crossLanguageDefinitionId": "OpenAI.updateConversation.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "10039", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "2424" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.updateConversation.contentType", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9799", + "$id": "10040", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2316" + "$ref": "2426" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.listConversationItems.accept", + "crossLanguageDefinitionId": "OpenAI.updateConversation.accept", "readOnly": false, "access": "public", "decorators": [] @@ -132926,88 +136015,85 @@ ], "response": { "type": { - "$ref": "5222" - }, - "resultSegments": [ - "data" - ] + "$ref": "9963" + } + }, + "isOverride": false, + "generateConvenient": false, + "generateProtocol": true, + "crossLanguageDefinitionId": "OpenAI.updateConversation" + } + ], + "parameters": [ + { + "$id": "10041", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "10042", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "10043", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://api.openai.com/v1" }, - "isOverride": false, - "generateConvenient": false, - "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.listConversationItems", - "pagingMetadata": { - "itemPropertySegments": [ - "data" - ], - "pageSizeParameterSegments": [] - } - }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI", + "apiVersions": [], + "parent": { + "$ref": "8485" + } + }, + { + "$id": "10044", + "kind": "client", + "name": "Embeddings", + "namespace": "OpenAI", + "methods": [ { - "$id": "9800", + "$id": "10045", "kind": "basic", - "name": "createConversationItems", + "name": "GenerateEmbeddings", "accessibility": "public", "apiVersions": [], - "doc": "Create items in a conversation with the given ID.", - "summary": "Create items", + "doc": "Creates an embedding vector representing the input text.", + "summary": "Create embeddings", "operation": { - "$id": "9801", - "name": "createConversationItems", + "$id": "10046", + "name": "GenerateEmbeddings", "resourceName": "OpenAI", - "summary": "Create items", - "doc": "Create items in a conversation with the given ID.", + "summary": "Create embeddings", + "doc": "Creates an embedding vector representing the input text.", "accessibility": "public", "parameters": [ { - "$id": "9802", - "kind": "path", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to add the item to.", - "type": { - "$id": "9803", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.createConversationItems.conversation_id" - }, - { - "$id": "9804", - "kind": "query", - "name": "include", - "serializedName": "include", - "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", - "type": { - "$ref": "9770" - }, - "isApiVersion": false, - "explode": true, - "optional": true, - "scope": "Method", - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.createConversationItems.include", - "readOnly": false - }, - { - "$id": "9805", + "$id": "10047", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2320" + "$ref": "2428" }, "isApiVersion": false, "optional": false, @@ -133015,15 +136101,15 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.createConversationItems.contentType" + "crossLanguageDefinitionId": "OpenAI.createEmbedding.contentType" }, { - "$id": "9806", + "$id": "10048", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2322" + "$ref": "2430" }, "isApiVersion": false, "optional": false, @@ -133031,39 +136117,15 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.createConversationItems.accept" + "crossLanguageDefinitionId": "OpenAI.createEmbedding.accept" }, { - "$id": "9807", + "$id": "10049", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9808", - "kind": "model", - "name": "CreateConversationItemsParametersBody", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateConversationItemsParametersBody", - "usage": "None", - "decorators": [], - "properties": [ - { - "$id": "9809", - "kind": "property", - "name": "items", - "type": { - "$ref": "5222" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateConversationItemsParametersBody.items", - "serializationOptions": {}, - "isHttpMetadata": false - } - ] + "$ref": "7851" }, "isApiVersion": false, "contentTypes": [ @@ -133074,7 +136136,7 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.createConversationItems.body" + "crossLanguageDefinitionId": "OpenAI.createEmbedding.body" } ], "responses": [ @@ -133083,7 +136145,7 @@ 200 ], "bodyType": { - "$ref": "9782" + "$ref": "7864" }, "headers": [], "isErrorResponse": false, @@ -133094,105 +136156,65 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/conversations/{conversation_id}/items", + "path": "/embeddings", "requestMediaTypes": [ "application/json" ], "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "OpenAI.createConversationItems", + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.createEmbedding", "decorators": [] }, "parameters": [ { - "$id": "9810", - "kind": "method", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to add the item to.", - "type": { - "$id": "9811", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.createConversationItems.conversation_id", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9812", - "kind": "method", - "name": "include", - "serializedName": "include", - "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", - "type": { - "$ref": "9770" - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.createConversationItems.include", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9813", + "$id": "10050", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9808" + "$ref": "7851" }, "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.createConversationItems.body", + "crossLanguageDefinitionId": "OpenAI.createEmbedding.body", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9814", + "$id": "10051", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2320" + "$ref": "2428" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.createConversationItems.contentType", + "crossLanguageDefinitionId": "OpenAI.createEmbedding.contentType", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9815", + "$id": "10052", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2322" + "$ref": "2430" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.createConversationItems.accept", + "crossLanguageDefinitionId": "OpenAI.createEmbedding.accept", "readOnly": false, "access": "public", "decorators": [] @@ -133200,93 +136222,131 @@ ], "response": { "type": { - "$ref": "9782" + "$ref": "7864" } }, "isOverride": false, - "generateConvenient": false, + "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.createConversationItems" - }, + "crossLanguageDefinitionId": "OpenAI.createEmbedding" + } + ], + "parameters": [ { - "$id": "9816", + "$id": "10053", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "10054", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "10055", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://api.openai.com/v1" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI", + "apiVersions": [], + "parent": { + "$ref": "8485" + } + }, + { + "$id": "10056", + "kind": "client", + "name": "Images", + "namespace": "OpenAI", + "methods": [ + { + "$id": "10057", "kind": "basic", - "name": "deleteConversationItem", + "name": "GenerateImageEdits", "accessibility": "public", "apiVersions": [], - "doc": "Delete an item from a conversation with the given IDs.", - "summary": "Delete an item", + "doc": "Creates an edited or extended image given one or more source images and a prompt. This endpoint only supports `gpt-image-1` and `dall-e-2`.", + "summary": "Create image edit", "operation": { - "$id": "9817", - "name": "deleteConversationItem", + "$id": "10058", + "name": "GenerateImageEdits", "resourceName": "OpenAI", - "summary": "Delete an item", - "doc": "Delete an item from a conversation with the given IDs.", + "summary": "Create image edit", + "doc": "Creates an edited or extended image given one or more source images and a prompt. This endpoint only supports `gpt-image-1` and `dall-e-2`.", "accessibility": "public", "parameters": [ { - "$id": "9818", - "kind": "path", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation that contains the item.", + "$id": "10059", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", "type": { - "$id": "9819", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2432" }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, "optional": false, - "scope": "Method", - "decorators": [], + "isContentType": true, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.conversation_id" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.createImageEdit.contentType" }, { - "$id": "9820", - "kind": "path", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the item to delete.", + "$id": "10060", + "kind": "header", + "name": "accept", + "serializedName": "Accept", "type": { - "$id": "9821", + "$id": "10061", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, "optional": false, + "isContentType": false, "scope": "Method", - "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.item_id" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.createImageEdit.accept" }, { - "$id": "9822", - "kind": "header", - "name": "accept", - "serializedName": "Accept", + "$id": "10062", + "kind": "body", + "name": "body", + "serializedName": "body", "type": { - "$ref": "2324" + "$ref": "7881" }, "isApiVersion": false, + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.accept" + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.createImageEdit.body" } ], "responses": [ @@ -133295,170 +136355,96 @@ 200 ], "bodyType": { - "$id": "9823", - "kind": "model", - "name": "ConversationResource", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ConversationResource", - "usage": "None", - "decorators": [], - "properties": [ - { - "$id": "9824", - "kind": "property", - "name": "id", - "doc": "The unique ID of the conversation.", - "type": { - "$id": "9825", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationResource.id", - "serializationOptions": {}, - "isHttpMetadata": false - }, - { - "$id": "9826", - "kind": "property", - "name": "object", - "doc": "The object type, which is always `conversation`.", - "type": { - "$ref": "2326" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationResource.object", - "serializationOptions": {}, - "isHttpMetadata": false - }, + "$id": "10063", + "kind": "union", + "name": "", + "variantTypes": [ { - "$id": "9827", - "kind": "property", - "name": "metadata", - "doc": "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.", - "type": { - "$id": "9828", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationResource.metadata", - "serializationOptions": {}, - "isHttpMetadata": false + "$ref": "7919" }, { - "$id": "9829", - "kind": "property", - "name": "created_at", - "doc": "The time at which the conversation was created, measured in seconds since the Unix epoch.", - "type": { - "$id": "9830", - "kind": "integer", - "name": "integer", - "crossLanguageDefinitionId": "TypeSpec.integer", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ConversationResource.created_at", - "serializationOptions": {}, - "isHttpMetadata": false + "$ref": "7950" } - ] + ], + "namespace": "", + "decorators": [] }, - "headers": [], + "headers": [ + { + "name": "contentType", + "nameInResponse": "content-type", + "type": { + "$ref": "2434" + } + } + ], "isErrorResponse": false, "contentTypes": [ - "application/json" + "application/json", + "text/event-stream" ] } ], - "httpMethod": "DELETE", + "httpMethod": "POST", "uri": "{endpoint}", - "path": "/conversations/{conversation_id}/items/{item_id}", + "path": "/images/edits", + "requestMediaTypes": [ + "multipart/form-data" + ], "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "OpenAI.deleteConversationItem", + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.createImageEdit", "decorators": [] }, "parameters": [ { - "$id": "9831", + "$id": "10064", "kind": "method", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation that contains the item.", + "name": "contentType", + "serializedName": "Content-Type", "type": { - "$id": "9832", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2436" }, - "location": "Path", + "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.conversation_id", + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.createImageEdit.contentType", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9833", + "$id": "10065", "kind": "method", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the item to delete.", + "name": "body", + "serializedName": "body", "type": { - "$id": "9834", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "7881" }, - "location": "Path", + "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.item_id", + "crossLanguageDefinitionId": "OpenAI.createImageEdit.body", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9835", + "$id": "10066", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2324" + "$ref": "10061" }, "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.accept", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.createImageEdit.accept", "readOnly": false, "access": "public", "decorators": [] @@ -133466,110 +136452,85 @@ ], "response": { "type": { - "$ref": "9823" + "$ref": "10063" } }, "isOverride": false, - "generateConvenient": false, + "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.deleteConversationItem" + "crossLanguageDefinitionId": "OpenAI.createImageEdit" }, { - "$id": "9836", + "$id": "10067", "kind": "basic", - "name": "getConversationItem", + "name": "GenerateImages", "accessibility": "public", "apiVersions": [], - "doc": "Get a single item from a conversation with the given IDs.", - "summary": "Retrieve an item", + "doc": "Creates an image given a prompt. [Learn more](https://platform.openai.com/docs/guides/images).", + "summary": "Create image", "operation": { - "$id": "9837", - "name": "getConversationItem", + "$id": "10068", + "name": "GenerateImages", "resourceName": "OpenAI", - "summary": "Retrieve an item", - "doc": "Get a single item from a conversation with the given IDs.", + "summary": "Create image", + "doc": "Creates an image given a prompt. [Learn more](https://platform.openai.com/docs/guides/images).", "accessibility": "public", "parameters": [ { - "$id": "9838", - "kind": "path", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation that contains the item.", + "$id": "10069", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "9839", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2438" }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, "optional": false, - "scope": "Method", - "decorators": [], + "isContentType": true, + "scope": "Constant", "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.getConversationItem.conversation_id" + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.createImage.contentType" }, { - "$id": "9840", - "kind": "path", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the item to retrieve.", + "$id": "10070", + "kind": "header", + "name": "accept", + "serializedName": "Accept", "type": { - "$id": "9841", + "$id": "10071", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, "optional": false, + "isContentType": false, "scope": "Method", - "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.getConversationItem.item_id" - }, - { - "$id": "9842", - "kind": "query", - "name": "include", - "serializedName": "include", - "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", - "type": { - "$ref": "9770" - }, - "isApiVersion": false, - "explode": true, - "optional": true, - "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.getConversationItem.include", - "readOnly": false + "crossLanguageDefinitionId": "OpenAI.createImage.accept" }, { - "$id": "9843", - "kind": "header", - "name": "accept", - "serializedName": "Accept", + "$id": "10072", + "kind": "body", + "name": "body", + "serializedName": "body", "type": { - "$ref": "2328" + "$ref": "7994" }, "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", "optional": false, - "isContentType": false, - "scope": "Constant", - "readOnly": false, + "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.getConversationItem.accept" + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.createImage.body" } ], "responses": [ @@ -133578,100 +136539,97 @@ 200 ], "bodyType": { - "$ref": "5223" + "$id": "10073", + "kind": "union", + "name": "", + "variantTypes": [ + { + "$ref": "7919" + }, + { + "$ref": "8025" + } + ], + "namespace": "", + "decorators": [] }, - "headers": [], + "headers": [ + { + "name": "contentType", + "nameInResponse": "content-type", + "type": { + "$ref": "2440" + } + } + ], "isErrorResponse": false, "contentTypes": [ - "application/json" + "application/json", + "text/event-stream" ] } ], - "httpMethod": "GET", + "httpMethod": "POST", "uri": "{endpoint}", - "path": "/conversations/{conversation_id}/items/{item_id}", + "path": "/images/generations", + "requestMediaTypes": [ + "application/json" + ], "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "OpenAI.getConversationItem", + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.createImage", "decorators": [] }, "parameters": [ { - "$id": "9844", + "$id": "10074", "kind": "method", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation that contains the item.", + "name": "body", + "serializedName": "body", "type": { - "$id": "9845", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "7994" }, - "location": "Path", + "location": "Body", "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.getConversationItem.conversation_id", + "crossLanguageDefinitionId": "OpenAI.createImage.body", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9846", + "$id": "10075", "kind": "method", - "name": "item_id", - "serializedName": "item_id", - "doc": "The ID of the item to retrieve.", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "9847", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2438" }, - "location": "Path", + "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.getConversationItem.item_id", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9848", - "kind": "method", - "name": "include", - "serializedName": "include", - "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", - "type": { - "$ref": "9770" - }, - "location": "Query", - "isApiVersion": false, - "optional": true, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.getConversationItem.include", + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.createImage.contentType", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9849", + "$id": "10076", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2328" + "$ref": "10071" }, "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.getConversationItem.accept", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.createImage.accept", "readOnly": false, "access": "public", "decorators": [] @@ -133679,38 +136637,37 @@ ], "response": { "type": { - "$ref": "5223" + "$ref": "10073" } }, "isOverride": false, - "generateConvenient": false, + "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.getConversationItem" + "crossLanguageDefinitionId": "OpenAI.createImage" }, { - "$id": "9850", + "$id": "10077", "kind": "basic", - "name": "createConversation", + "name": "GenerateImageVariations", "accessibility": "public", "apiVersions": [], - "doc": "Create a conversation.", - "summary": "Create a conversation", + "doc": "Creates a variation of a given image. This endpoint only supports `dall-e-2`.", + "summary": "Create image variation", "operation": { - "$id": "9851", - "name": "createConversation", + "$id": "10078", + "name": "GenerateImageVariations", "resourceName": "OpenAI", - "summary": "Create a conversation", - "doc": "Create a conversation.", + "summary": "Create image variation", + "doc": "Creates a variation of a given image. This endpoint only supports `dall-e-2`.", "accessibility": "public", "parameters": [ { - "$id": "9852", + "$id": "10079", "kind": "header", "name": "contentType", "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2330" + "$ref": "2442" }, "isApiVersion": false, "optional": false, @@ -133718,15 +136675,15 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.createConversation.contentType" + "crossLanguageDefinitionId": "OpenAI.createImageVariation.contentType" }, { - "$id": "9853", + "$id": "10080", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2332" + "$ref": "2444" }, "isApiVersion": false, "optional": false, @@ -133734,84 +136691,26 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.createConversation.accept" + "crossLanguageDefinitionId": "OpenAI.createImageVariation.accept" }, { - "$id": "9854", + "$id": "10081", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9855", - "kind": "model", - "name": "CreateConversationBody", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.CreateConversationBody", - "usage": "None", - "decorators": [], - "properties": [ - { - "$id": "9856", - "kind": "property", - "name": "metadata", - "type": { - "$id": "9857", - "kind": "nullable", - "type": { - "$id": "9858", - "kind": "model", - "name": "Metadata", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.Metadata", - "usage": "None", - "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", - "decorators": [], - "properties": [] - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateConversationBody.metadata", - "serializationOptions": {}, - "isHttpMetadata": false - }, - { - "$id": "9859", - "kind": "property", - "name": "items", - "type": { - "$id": "9860", - "kind": "nullable", - "type": { - "$ref": "5222" - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateConversationBody.items", - "serializationOptions": {}, - "isHttpMetadata": false - } - ] + "$ref": "8056" }, "isApiVersion": false, "contentTypes": [ - "application/json" + "multipart/form-data" ], - "defaultContentType": "application/json", + "defaultContentType": "multipart/form-data", "optional": false, "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.createConversation.body" + "crossLanguageDefinitionId": "OpenAI.createImageVariation.body" } ], "responses": [ @@ -133820,7 +136719,7 @@ 200 ], "bodyType": { - "$ref": "9823" + "$ref": "7919" }, "headers": [], "isErrorResponse": false, @@ -133831,65 +136730,64 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/conversations", + "path": "/images/variations", "requestMediaTypes": [ - "application/json" + "multipart/form-data" ], "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "OpenAI.createConversation", + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.createImageVariation", "decorators": [] }, "parameters": [ { - "$id": "9861", + "$id": "10082", "kind": "method", - "name": "body", - "serializedName": "body", + "name": "contentType", + "serializedName": "Content-Type", "type": { - "$ref": "9855" + "$ref": "2446" }, - "location": "Body", + "location": "Header", "isApiVersion": false, "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.createConversation.body", + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.createImageVariation.contentType", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9862", + "$id": "10083", "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "name": "body", + "serializedName": "body", "type": { - "$ref": "2330" + "$ref": "8056" }, - "location": "Header", + "location": "Body", "isApiVersion": false, "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.createConversation.contentType", + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.createImageVariation.body", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9863", + "$id": "10084", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2332" + "$ref": "2444" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.createConversation.accept", + "crossLanguageDefinitionId": "OpenAI.createImageVariation.accept", "readOnly": false, "access": "public", "decorators": [] @@ -133897,61 +136795,84 @@ ], "response": { "type": { - "$ref": "9823" + "$ref": "7919" } }, "isOverride": false, - "generateConvenient": false, + "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.createConversation" - }, + "crossLanguageDefinitionId": "OpenAI.createImageVariation" + } + ], + "parameters": [ + { + "$id": "10085", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "10086", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "10087", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://api.openai.com/v1" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI", + "apiVersions": [], + "parent": { + "$ref": "8485" + } + }, + { + "$id": "10088", + "kind": "client", + "name": "Models", + "namespace": "OpenAI", + "methods": [ { - "$id": "9864", + "$id": "10089", "kind": "basic", - "name": "deleteConversation", + "name": "GetModels", "accessibility": "public", "apiVersions": [], - "doc": "Delete a conversation. Items in the conversation will not be deleted.", - "summary": "Delete a conversation", + "doc": "Lists the currently available models, and provides basic information about each one such as the owner and availability.", + "summary": "List models", "operation": { - "$id": "9865", - "name": "deleteConversation", + "$id": "10090", + "name": "GetModels", "resourceName": "OpenAI", - "summary": "Delete a conversation", - "doc": "Delete a conversation. Items in the conversation will not be deleted.", + "summary": "List models", + "doc": "Lists the currently available models, and provides basic information about each one such as the owner and availability.", "accessibility": "public", "parameters": [ { - "$id": "9866", - "kind": "path", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to delete.", - "type": { - "$id": "9867", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "isApiVersion": false, - "explode": false, - "style": "simple", - "allowReserved": false, - "skipUrlEncoding": false, - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.deleteConversation.conversation_id" - }, - { - "$id": "9868", + "$id": "10091", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2334" + "$ref": "2448" }, "isApiVersion": false, "optional": false, @@ -133959,7 +136880,7 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.deleteConversation.accept" + "crossLanguageDefinitionId": "OpenAI.listModels.accept" } ], "responses": [ @@ -133968,71 +136889,7 @@ 200 ], "bodyType": { - "$id": "9869", - "kind": "model", - "name": "DeletedConversationResource", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DeletedConversationResource", - "usage": "None", - "decorators": [], - "properties": [ - { - "$id": "9870", - "kind": "property", - "name": "object", - "type": { - "$ref": "2336" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DeletedConversationResource.object", - "serializationOptions": {}, - "isHttpMetadata": false - }, - { - "$id": "9871", - "kind": "property", - "name": "deleted", - "type": { - "$id": "9872", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DeletedConversationResource.deleted", - "serializationOptions": {}, - "isHttpMetadata": false - }, - { - "$id": "9873", - "kind": "property", - "name": "id", - "type": { - "$id": "9874", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DeletedConversationResource.id", - "serializationOptions": {}, - "isHttpMetadata": false - } - ] + "$ref": "8070" }, "headers": [], "isErrorResponse": false, @@ -134041,51 +136898,29 @@ ] } ], - "httpMethod": "DELETE", + "httpMethod": "GET", "uri": "{endpoint}", - "path": "/conversations/{conversation_id}", + "path": "/models", "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "OpenAI.deleteConversation", + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.listModels", "decorators": [] }, "parameters": [ { - "$id": "9875", - "kind": "method", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to delete.", - "type": { - "$id": "9876", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.deleteConversation.conversation_id", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9877", + "$id": "10092", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2334" + "$ref": "2448" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.deleteConversation.accept", + "crossLanguageDefinitionId": "OpenAI.listModels.accept", "readOnly": false, "access": "public", "decorators": [] @@ -134093,38 +136928,38 @@ ], "response": { "type": { - "$ref": "9869" + "$ref": "8070" } }, "isOverride": false, - "generateConvenient": false, + "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.deleteConversation" + "crossLanguageDefinitionId": "OpenAI.listModels" }, { - "$id": "9878", + "$id": "10093", "kind": "basic", - "name": "getConversation", + "name": "deleteModel", "accessibility": "public", "apiVersions": [], - "doc": "Get a conversation", - "summary": "Retrieve a conversation", + "doc": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.", + "summary": "Delete a fine-tuned model", "operation": { - "$id": "9879", - "name": "getConversation", + "$id": "10094", + "name": "deleteModel", "resourceName": "OpenAI", - "summary": "Retrieve a conversation", - "doc": "Get a conversation", + "summary": "Delete a fine-tuned model", + "doc": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.", "accessibility": "public", "parameters": [ { - "$id": "9880", + "$id": "10095", "kind": "path", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to retrieve.", + "name": "model", + "serializedName": "model", + "doc": "The model to delete", "type": { - "$id": "9881", + "$id": "10096", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134139,15 +136974,15 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.getConversation.conversation_id" + "crossLanguageDefinitionId": "OpenAI.deleteModel.model" }, { - "$id": "9882", + "$id": "10097", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2338" + "$ref": "2450" }, "isApiVersion": false, "optional": false, @@ -134155,7 +136990,7 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.getConversation.accept" + "crossLanguageDefinitionId": "OpenAI.deleteModel.accept" } ], "responses": [ @@ -134164,7 +136999,7 @@ 200 ], "bodyType": { - "$ref": "9823" + "$ref": "8083" }, "headers": [], "isErrorResponse": false, @@ -134173,24 +137008,24 @@ ] } ], - "httpMethod": "GET", + "httpMethod": "DELETE", "uri": "{endpoint}", - "path": "/conversations/{conversation_id}", + "path": "/models/{model}", "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "OpenAI.getConversation", + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.deleteModel", "decorators": [] }, "parameters": [ { - "$id": "9883", + "$id": "10098", "kind": "method", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to retrieve.", + "name": "model", + "serializedName": "model", + "doc": "The model to delete", "type": { - "$id": "9884", + "$id": "10099", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134200,24 +137035,24 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.getConversation.conversation_id", + "crossLanguageDefinitionId": "OpenAI.deleteModel.model", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9885", + "$id": "10100", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2338" + "$ref": "2450" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.getConversation.accept", + "crossLanguageDefinitionId": "OpenAI.deleteModel.accept", "readOnly": false, "access": "public", "decorators": [] @@ -134225,38 +137060,38 @@ ], "response": { "type": { - "$ref": "9823" + "$ref": "8083" } }, "isOverride": false, - "generateConvenient": false, + "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.getConversation" + "crossLanguageDefinitionId": "OpenAI.deleteModel" }, { - "$id": "9886", + "$id": "10101", "kind": "basic", - "name": "updateConversation", + "name": "GetModel", "accessibility": "public", "apiVersions": [], - "doc": "Update a conversation", - "summary": "Update a conversation", + "doc": "Retrieves a model instance, providing basic information about the model such as the owner and permissioning.", + "summary": "Retrieve model", "operation": { - "$id": "9887", - "name": "updateConversation", + "$id": "10102", + "name": "GetModel", "resourceName": "OpenAI", - "summary": "Update a conversation", - "doc": "Update a conversation", + "summary": "Retrieve model", + "doc": "Retrieves a model instance, providing basic information about the model such as the owner and permissioning.", "accessibility": "public", "parameters": [ { - "$id": "9888", + "$id": "10103", "kind": "path", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to update.", + "name": "model", + "serializedName": "model", + "doc": "The ID of the model to use for this request", "type": { - "$id": "9889", + "$id": "10104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134271,32 +137106,15 @@ "scope": "Method", "decorators": [], "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.updateConversation.conversation_id" - }, - { - "$id": "9890", - "kind": "header", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "2340" - }, - "isApiVersion": false, - "optional": false, - "isContentType": true, - "scope": "Constant", - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.updateConversation.contentType" + "crossLanguageDefinitionId": "OpenAI.retrieveModel.model" }, { - "$id": "9891", + "$id": "10105", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2342" + "$ref": "2452" }, "isApiVersion": false, "optional": false, @@ -134304,56 +137122,7 @@ "scope": "Constant", "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.updateConversation.accept" - }, - { - "$id": "9892", - "kind": "body", - "name": "body", - "serializedName": "body", - "type": { - "$id": "9893", - "kind": "model", - "name": "UpdateConversationBody", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.UpdateConversationBody", - "usage": "None", - "decorators": [], - "properties": [ - { - "$id": "9894", - "kind": "property", - "name": "metadata", - "doc": "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.", - "type": { - "$id": "9895", - "kind": "nullable", - "type": { - "$ref": "9858" - }, - "namespace": "OpenAI" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.UpdateConversationBody.metadata", - "serializationOptions": {}, - "isHttpMetadata": false - } - ] - }, - "isApiVersion": false, - "contentTypes": [ - "application/json" - ], - "defaultContentType": "application/json", - "optional": false, - "scope": "Method", - "decorators": [], - "readOnly": false, - "crossLanguageDefinitionId": "OpenAI.updateConversation.body" + "crossLanguageDefinitionId": "OpenAI.retrieveModel.accept" } ], "responses": [ @@ -134362,7 +137131,7 @@ 200 ], "bodyType": { - "$ref": "9823" + "$ref": "8074" }, "headers": [], "isErrorResponse": false, @@ -134371,27 +137140,24 @@ ] } ], - "httpMethod": "POST", + "httpMethod": "GET", "uri": "{endpoint}", - "path": "/conversations/{conversation_id}", - "requestMediaTypes": [ - "application/json" - ], + "path": "/models/{model}", "bufferResponse": true, "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "OpenAI.updateConversation", + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "OpenAI.retrieveModel", "decorators": [] }, "parameters": [ { - "$id": "9896", + "$id": "10106", "kind": "method", - "name": "conversation_id", - "serializedName": "conversation_id", - "doc": "The ID of the conversation to update.", + "name": "model", + "serializedName": "model", + "doc": "The ID of the model to use for this request", "type": { - "$id": "9897", + "$id": "10107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134401,59 +137167,24 @@ "isApiVersion": false, "optional": false, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.updateConversation.conversation_id", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9898", - "kind": "method", - "name": "body", - "serializedName": "body", - "type": { - "$ref": "9893" - }, - "location": "Body", - "isApiVersion": false, - "optional": false, - "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.updateConversation.body", - "readOnly": false, - "access": "public", - "decorators": [] - }, - { - "$id": "9899", - "kind": "method", - "name": "contentType", - "serializedName": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "2340" - }, - "location": "Header", - "isApiVersion": false, - "optional": false, - "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.updateConversation.contentType", + "crossLanguageDefinitionId": "OpenAI.retrieveModel.model", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "9900", + "$id": "10108", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2342" + "$ref": "2452" }, "location": "Header", "isApiVersion": false, "optional": false, "scope": "Constant", - "crossLanguageDefinitionId": "OpenAI.updateConversation.accept", + "crossLanguageDefinitionId": "OpenAI.retrieveModel.accept", "readOnly": false, "access": "public", "decorators": [] @@ -134461,24 +137192,24 @@ ], "response": { "type": { - "$ref": "9823" + "$ref": "8074" } }, "isOverride": false, - "generateConvenient": false, + "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.updateConversation" + "crossLanguageDefinitionId": "OpenAI.retrieveModel" } ], "parameters": [ { - "$id": "9901", + "$id": "10109", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9902", + "$id": "10110", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -134489,7 +137220,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9903", + "$id": "10111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -134507,17 +137238,17 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } }, { - "$id": "9904", + "$id": "10112", "kind": "client", "name": "Videos", "namespace": "OpenAI", "methods": [ { - "$id": "9905", + "$id": "10113", "kind": "paging", "name": "ListVideos", "accessibility": "public", @@ -134525,7 +137256,7 @@ "doc": "List videos", "summary": "List videos", "operation": { - "$id": "9906", + "$id": "10114", "name": "ListVideos", "resourceName": "OpenAI", "summary": "List videos", @@ -134533,13 +137264,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9907", + "$id": "10115", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of items to retrieve", "type": { - "$id": "9908", + "$id": "10116", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -134554,18 +137285,18 @@ "readOnly": false }, { - "$id": "9909", + "$id": "10117", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$id": "9910", + "$id": "10118", "kind": "enum", "name": "OrderEnum", "crossLanguageDefinitionId": "OpenAI.OrderEnum", "valueType": { - "$id": "9911", + "$id": "10119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134573,28 +137304,28 @@ }, "values": [ { - "$id": "9912", + "$id": "10120", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "9911" + "$ref": "10119" }, "enumType": { - "$ref": "9910" + "$ref": "10118" }, "decorators": [] }, { - "$id": "9913", + "$id": "10121", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "9911" + "$ref": "10119" }, "enumType": { - "$ref": "9910" + "$ref": "10118" }, "decorators": [] } @@ -134614,13 +137345,13 @@ "readOnly": false }, { - "$id": "9914", + "$id": "10122", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last item from the previous pagination request", "type": { - "$id": "9915", + "$id": "10123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134635,12 +137366,12 @@ "readOnly": false }, { - "$id": "9916", + "$id": "10124", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2344" + "$ref": "2454" }, "isApiVersion": false, "optional": false, @@ -134657,7 +137388,7 @@ 200 ], "bodyType": { - "$id": "9917", + "$id": "10125", "kind": "model", "name": "VideoListResource", "namespace": "OpenAI", @@ -134666,12 +137397,12 @@ "decorators": [], "properties": [ { - "$id": "9918", + "$id": "10126", "kind": "property", "name": "object", "doc": "The type of object returned, must be `list`.", "type": { - "$ref": "2346" + "$ref": "2456" }, "optional": false, "readOnly": false, @@ -134683,16 +137414,16 @@ "isHttpMetadata": false }, { - "$id": "9919", + "$id": "10127", "kind": "property", "name": "data", "doc": "A list of items", "type": { - "$id": "9920", + "$id": "10128", "kind": "array", "name": "ArrayVideoResource", "valueType": { - "$id": "9921", + "$id": "10129", "kind": "model", "name": "VideoResource", "namespace": "OpenAI", @@ -134703,12 +137434,12 @@ "decorators": [], "properties": [ { - "$id": "9922", + "$id": "10130", "kind": "property", "name": "id", "doc": "Unique identifier for the video job.", "type": { - "$id": "9923", + "$id": "10131", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134724,12 +137455,12 @@ "isHttpMetadata": false }, { - "$id": "9924", + "$id": "10132", "kind": "property", "name": "object", "doc": "The object type, which is always `video`.", "type": { - "$ref": "2348" + "$ref": "2458" }, "optional": false, "readOnly": false, @@ -134741,17 +137472,17 @@ "isHttpMetadata": false }, { - "$id": "9925", + "$id": "10133", "kind": "property", "name": "model", "doc": "The video generation model that produced the job.", "type": { - "$id": "9926", + "$id": "10134", "kind": "enum", "name": "VideoModel", "crossLanguageDefinitionId": "OpenAI.VideoModel", "valueType": { - "$id": "9927", + "$id": "10135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134759,28 +137490,28 @@ }, "values": [ { - "$id": "9928", + "$id": "10136", "kind": "enumvalue", "name": "sora-2", "value": "sora-2", "valueType": { - "$ref": "9927" + "$ref": "10135" }, "enumType": { - "$ref": "9926" + "$ref": "10134" }, "decorators": [] }, { - "$id": "9929", + "$id": "10137", "kind": "enumvalue", "name": "sora-2-pro", "value": "sora-2-pro", "valueType": { - "$ref": "9927" + "$ref": "10135" }, "enumType": { - "$ref": "9926" + "$ref": "10134" }, "decorators": [] } @@ -134801,17 +137532,17 @@ "isHttpMetadata": false }, { - "$id": "9930", + "$id": "10138", "kind": "property", "name": "status", "doc": "Current lifecycle status of the video job.", "type": { - "$id": "9931", + "$id": "10139", "kind": "enum", "name": "VideoStatus", "crossLanguageDefinitionId": "OpenAI.VideoStatus", "valueType": { - "$id": "9932", + "$id": "10140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134819,54 +137550,54 @@ }, "values": [ { - "$id": "9933", + "$id": "10141", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "9932" + "$ref": "10140" }, "enumType": { - "$ref": "9931" + "$ref": "10139" }, "decorators": [] }, { - "$id": "9934", + "$id": "10142", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "9932" + "$ref": "10140" }, "enumType": { - "$ref": "9931" + "$ref": "10139" }, "decorators": [] }, { - "$id": "9935", + "$id": "10143", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "9932" + "$ref": "10140" }, "enumType": { - "$ref": "9931" + "$ref": "10139" }, "decorators": [] }, { - "$id": "9936", + "$id": "10144", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "9932" + "$ref": "10140" }, "enumType": { - "$ref": "9931" + "$ref": "10139" }, "decorators": [] } @@ -134887,12 +137618,12 @@ "isHttpMetadata": false }, { - "$id": "9937", + "$id": "10145", "kind": "property", "name": "progress", "doc": "Approximate completion percentage for the generation task.", "type": { - "$id": "9938", + "$id": "10146", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -134908,12 +137639,12 @@ "isHttpMetadata": false }, { - "$id": "9939", + "$id": "10147", "kind": "property", "name": "created_at", "doc": "Unix timestamp (seconds) for when the job was created.", "type": { - "$id": "9940", + "$id": "10148", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -134929,14 +137660,14 @@ "isHttpMetadata": false }, { - "$id": "9941", + "$id": "10149", "kind": "property", "name": "completed_at", "type": { - "$id": "9942", + "$id": "10150", "kind": "nullable", "type": { - "$id": "9943", + "$id": "10151", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -134954,14 +137685,14 @@ "isHttpMetadata": false }, { - "$id": "9944", + "$id": "10152", "kind": "property", "name": "expires_at", "type": { - "$id": "9945", + "$id": "10153", "kind": "nullable", "type": { - "$id": "9946", + "$id": "10154", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -134979,17 +137710,17 @@ "isHttpMetadata": false }, { - "$id": "9947", + "$id": "10155", "kind": "property", "name": "size", "doc": "The resolution of the generated video.", "type": { - "$id": "9948", + "$id": "10156", "kind": "enum", "name": "VideoSize", "crossLanguageDefinitionId": "OpenAI.VideoSize", "valueType": { - "$id": "9949", + "$id": "10157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134997,54 +137728,54 @@ }, "values": [ { - "$id": "9950", + "$id": "10158", "kind": "enumvalue", "name": "720x1280", "value": "720x1280", "valueType": { - "$ref": "9949" + "$ref": "10157" }, "enumType": { - "$ref": "9948" + "$ref": "10156" }, "decorators": [] }, { - "$id": "9951", + "$id": "10159", "kind": "enumvalue", "name": "1280x720", "value": "1280x720", "valueType": { - "$ref": "9949" + "$ref": "10157" }, "enumType": { - "$ref": "9948" + "$ref": "10156" }, "decorators": [] }, { - "$id": "9952", + "$id": "10160", "kind": "enumvalue", "name": "1024x1792", "value": "1024x1792", "valueType": { - "$ref": "9949" + "$ref": "10157" }, "enumType": { - "$ref": "9948" + "$ref": "10156" }, "decorators": [] }, { - "$id": "9953", + "$id": "10161", "kind": "enumvalue", "name": "1792x1024", "value": "1792x1024", "valueType": { - "$ref": "9949" + "$ref": "10157" }, "enumType": { - "$ref": "9948" + "$ref": "10156" }, "decorators": [] } @@ -135065,17 +137796,17 @@ "isHttpMetadata": false }, { - "$id": "9954", + "$id": "10162", "kind": "property", "name": "seconds", "doc": "Duration of the generated clip in seconds.", "type": { - "$id": "9955", + "$id": "10163", "kind": "enum", "name": "VideoSeconds", "crossLanguageDefinitionId": "OpenAI.VideoSeconds", "valueType": { - "$id": "9956", + "$id": "10164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135083,41 +137814,41 @@ }, "values": [ { - "$id": "9957", + "$id": "10165", "kind": "enumvalue", "name": "4", "value": "4", "valueType": { - "$ref": "9956" + "$ref": "10164" }, "enumType": { - "$ref": "9955" + "$ref": "10163" }, "decorators": [] }, { - "$id": "9958", + "$id": "10166", "kind": "enumvalue", "name": "8", "value": "8", "valueType": { - "$ref": "9956" + "$ref": "10164" }, "enumType": { - "$ref": "9955" + "$ref": "10163" }, "decorators": [] }, { - "$id": "9959", + "$id": "10167", "kind": "enumvalue", "name": "12", "value": "12", "valueType": { - "$ref": "9956" + "$ref": "10164" }, "enumType": { - "$ref": "9955" + "$ref": "10163" }, "decorators": [] } @@ -135138,14 +137869,14 @@ "isHttpMetadata": false }, { - "$id": "9960", + "$id": "10168", "kind": "property", "name": "remixed_from_video_id", "type": { - "$id": "9961", + "$id": "10169", "kind": "nullable", "type": { - "$id": "9962", + "$id": "10170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135163,14 +137894,14 @@ "isHttpMetadata": false }, { - "$id": "9963", + "$id": "10171", "kind": "property", "name": "error", "type": { - "$id": "9964", + "$id": "10172", "kind": "nullable", "type": { - "$id": "9965", + "$id": "10173", "kind": "model", "name": "Error-2", "namespace": "OpenAI", @@ -135179,11 +137910,11 @@ "decorators": [], "properties": [ { - "$id": "9966", + "$id": "10174", "kind": "property", "name": "code", "type": { - "$id": "9967", + "$id": "10175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135199,11 +137930,11 @@ "isHttpMetadata": false }, { - "$id": "9968", + "$id": "10176", "kind": "property", "name": "message", "type": { - "$id": "9969", + "$id": "10177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135246,11 +137977,11 @@ "isHttpMetadata": false }, { - "$id": "9970", + "$id": "10178", "kind": "property", "name": "first_id", "type": { - "$id": "9971", + "$id": "10179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135266,11 +137997,11 @@ "isHttpMetadata": false }, { - "$id": "9972", + "$id": "10180", "kind": "property", "name": "last_id", "type": { - "$id": "9973", + "$id": "10181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135286,12 +138017,12 @@ "isHttpMetadata": false }, { - "$id": "9974", + "$id": "10182", "kind": "property", "name": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "9975", + "$id": "10183", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -135326,13 +138057,13 @@ }, "parameters": [ { - "$id": "9976", + "$id": "10184", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of items to retrieve", "type": { - "$id": "9977", + "$id": "10185", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -135348,13 +138079,13 @@ "decorators": [] }, { - "$id": "9978", + "$id": "10186", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$ref": "9910" + "$ref": "10118" }, "location": "Query", "isApiVersion": false, @@ -135366,13 +138097,13 @@ "decorators": [] }, { - "$id": "9979", + "$id": "10187", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last item from the previous pagination request", "type": { - "$id": "9980", + "$id": "10188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135388,12 +138119,12 @@ "decorators": [] }, { - "$id": "9981", + "$id": "10189", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2344" + "$ref": "2454" }, "location": "Header", "isApiVersion": false, @@ -135407,7 +138138,7 @@ ], "response": { "type": { - "$ref": "9920" + "$ref": "10128" }, "resultSegments": [ "data" @@ -135425,7 +138156,7 @@ } }, { - "$id": "9982", + "$id": "10190", "kind": "basic", "name": "createVideo", "accessibility": "public", @@ -135433,7 +138164,7 @@ "doc": "Create a video", "summary": "Create video", "operation": { - "$id": "9983", + "$id": "10191", "name": "createVideo", "resourceName": "OpenAI", "summary": "Create video", @@ -135441,12 +138172,12 @@ "accessibility": "public", "parameters": [ { - "$id": "9984", + "$id": "10192", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2350" + "$ref": "2460" }, "isApiVersion": false, "optional": false, @@ -135457,12 +138188,12 @@ "crossLanguageDefinitionId": "OpenAI.createVideo.contentType" }, { - "$id": "9985", + "$id": "10193", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2352" + "$ref": "2462" }, "isApiVersion": false, "optional": false, @@ -135473,12 +138204,12 @@ "crossLanguageDefinitionId": "OpenAI.createVideo.accept" }, { - "$id": "9986", + "$id": "10194", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9987", + "$id": "10195", "kind": "model", "name": "CreateVideoBody", "namespace": "OpenAI", @@ -135489,13 +138220,13 @@ "decorators": [], "properties": [ { - "$id": "9988", + "$id": "10196", "kind": "property", "name": "model", "serializedName": "model", "doc": "The video generation model to use. Defaults to `sora-2`.", "type": { - "$ref": "9926" + "$ref": "10134" }, "optional": true, "readOnly": false, @@ -135517,18 +138248,18 @@ "isHttpMetadata": false }, { - "$id": "9989", + "$id": "10197", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Text prompt that describes the video to generate.", "type": { - "$id": "9990", + "$id": "10198", "kind": "string", "name": "VideoPrompt", "crossLanguageDefinitionId": "OpenAI.VideoPrompt", "baseType": { - "$id": "9991", + "$id": "10199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135556,13 +138287,13 @@ "isHttpMetadata": false }, { - "$id": "9992", + "$id": "10200", "kind": "property", "name": "input_reference", "serializedName": "input_reference", "doc": "Optional image reference that guides generation.", "type": { - "$id": "9993", + "$id": "10201", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -135589,13 +138320,13 @@ "isHttpMetadata": false }, { - "$id": "9994", + "$id": "10202", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "Clip duration in seconds. Defaults to 4 seconds.", "type": { - "$ref": "9955" + "$ref": "10163" }, "optional": true, "readOnly": false, @@ -135617,13 +138348,13 @@ "isHttpMetadata": false }, { - "$id": "9995", + "$id": "10203", "kind": "property", "name": "size", "serializedName": "size", "doc": "Output resolution formatted as width x height. Defaults to 720x1280.", "type": { - "$ref": "9948" + "$ref": "10156" }, "optional": true, "readOnly": false, @@ -135664,7 +138395,7 @@ 200 ], "bodyType": { - "$ref": "9921" + "$ref": "10129" }, "headers": [], "isErrorResponse": false, @@ -135687,12 +138418,12 @@ }, "parameters": [ { - "$id": "9996", + "$id": "10204", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2354" + "$ref": "2464" }, "location": "Header", "isApiVersion": false, @@ -135704,12 +138435,12 @@ "decorators": [] }, { - "$id": "9997", + "$id": "10205", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9987" + "$ref": "10195" }, "location": "Body", "isApiVersion": false, @@ -135721,12 +138452,12 @@ "decorators": [] }, { - "$id": "9998", + "$id": "10206", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2352" + "$ref": "2462" }, "location": "Header", "isApiVersion": false, @@ -135740,7 +138471,7 @@ ], "response": { "type": { - "$ref": "9921" + "$ref": "10129" } }, "isOverride": false, @@ -135749,7 +138480,7 @@ "crossLanguageDefinitionId": "OpenAI.createVideo" }, { - "$id": "9999", + "$id": "10207", "kind": "basic", "name": "DeleteVideo", "accessibility": "public", @@ -135757,7 +138488,7 @@ "doc": "Delete a video", "summary": "Delete video", "operation": { - "$id": "10000", + "$id": "10208", "name": "DeleteVideo", "resourceName": "OpenAI", "summary": "Delete video", @@ -135765,13 +138496,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10001", + "$id": "10209", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to delete.", "type": { - "$id": "10002", + "$id": "10210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135789,12 +138520,12 @@ "crossLanguageDefinitionId": "OpenAI.DeleteVideo.video_id" }, { - "$id": "10003", + "$id": "10211", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2356" + "$ref": "2466" }, "isApiVersion": false, "optional": false, @@ -135811,7 +138542,7 @@ 200 ], "bodyType": { - "$id": "10004", + "$id": "10212", "kind": "model", "name": "DeletedVideoResource", "namespace": "OpenAI", @@ -135822,12 +138553,12 @@ "decorators": [], "properties": [ { - "$id": "10005", + "$id": "10213", "kind": "property", "name": "object", "doc": "The object type that signals the deletion response.", "type": { - "$ref": "2358" + "$ref": "2468" }, "optional": false, "readOnly": false, @@ -135839,12 +138570,12 @@ "isHttpMetadata": false }, { - "$id": "10006", + "$id": "10214", "kind": "property", "name": "deleted", "doc": "Indicates that the video resource was deleted.", "type": { - "$id": "10007", + "$id": "10215", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -135860,12 +138591,12 @@ "isHttpMetadata": false }, { - "$id": "10008", + "$id": "10216", "kind": "property", "name": "id", "doc": "Identifier of the deleted video.", "type": { - "$id": "10009", + "$id": "10217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135900,13 +138631,13 @@ }, "parameters": [ { - "$id": "10010", + "$id": "10218", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to delete.", "type": { - "$id": "10011", + "$id": "10219", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135922,12 +138653,12 @@ "decorators": [] }, { - "$id": "10012", + "$id": "10220", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2356" + "$ref": "2466" }, "location": "Header", "isApiVersion": false, @@ -135941,7 +138672,7 @@ ], "response": { "type": { - "$ref": "10004" + "$ref": "10212" } }, "isOverride": false, @@ -135950,7 +138681,7 @@ "crossLanguageDefinitionId": "OpenAI.DeleteVideo" }, { - "$id": "10013", + "$id": "10221", "kind": "basic", "name": "GetVideo", "accessibility": "public", @@ -135958,7 +138689,7 @@ "doc": "Retrieve a video", "summary": "Retrieve video", "operation": { - "$id": "10014", + "$id": "10222", "name": "GetVideo", "resourceName": "OpenAI", "summary": "Retrieve video", @@ -135966,13 +138697,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10015", + "$id": "10223", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to retrieve.", "type": { - "$id": "10016", + "$id": "10224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135990,12 +138721,12 @@ "crossLanguageDefinitionId": "OpenAI.GetVideo.video_id" }, { - "$id": "10017", + "$id": "10225", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2360" + "$ref": "2470" }, "isApiVersion": false, "optional": false, @@ -136012,7 +138743,7 @@ 200 ], "bodyType": { - "$ref": "9921" + "$ref": "10129" }, "headers": [], "isErrorResponse": false, @@ -136032,13 +138763,13 @@ }, "parameters": [ { - "$id": "10018", + "$id": "10226", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to retrieve.", "type": { - "$id": "10019", + "$id": "10227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136054,12 +138785,12 @@ "decorators": [] }, { - "$id": "10020", + "$id": "10228", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2360" + "$ref": "2470" }, "location": "Header", "isApiVersion": false, @@ -136073,7 +138804,7 @@ ], "response": { "type": { - "$ref": "9921" + "$ref": "10129" } }, "isOverride": false, @@ -136082,7 +138813,7 @@ "crossLanguageDefinitionId": "OpenAI.GetVideo" }, { - "$id": "10021", + "$id": "10229", "kind": "basic", "name": "DownloadVideo", "accessibility": "public", @@ -136090,7 +138821,7 @@ "doc": "Download video content", "summary": "Retrieve video content", "operation": { - "$id": "10022", + "$id": "10230", "name": "DownloadVideo", "resourceName": "OpenAI", "summary": "Retrieve video content", @@ -136098,13 +138829,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10023", + "$id": "10231", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video whose media to download.", "type": { - "$id": "10024", + "$id": "10232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136122,18 +138853,18 @@ "crossLanguageDefinitionId": "OpenAI.RetrieveVideoContent.video_id" }, { - "$id": "10025", + "$id": "10233", "kind": "query", "name": "variant", "serializedName": "variant", "doc": "Which downloadable asset to return. Defaults to the MP4 video.", "type": { - "$id": "10026", + "$id": "10234", "kind": "enum", "name": "VideoContentVariant", "crossLanguageDefinitionId": "OpenAI.VideoContentVariant", "valueType": { - "$id": "10027", + "$id": "10235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136141,41 +138872,41 @@ }, "values": [ { - "$id": "10028", + "$id": "10236", "kind": "enumvalue", "name": "video", "value": "video", "valueType": { - "$ref": "10027" + "$ref": "10235" }, "enumType": { - "$ref": "10026" + "$ref": "10234" }, "decorators": [] }, { - "$id": "10029", + "$id": "10237", "kind": "enumvalue", "name": "thumbnail", "value": "thumbnail", "valueType": { - "$ref": "10027" + "$ref": "10235" }, "enumType": { - "$ref": "10026" + "$ref": "10234" }, "decorators": [] }, { - "$id": "10030", + "$id": "10238", "kind": "enumvalue", "name": "spritesheet", "value": "spritesheet", "valueType": { - "$ref": "10027" + "$ref": "10235" }, "enumType": { - "$ref": "10026" + "$ref": "10234" }, "decorators": [] } @@ -136195,12 +138926,12 @@ "readOnly": false }, { - "$id": "10031", + "$id": "10239", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "10032", + "$id": "10240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136221,12 +138952,12 @@ 200 ], "bodyType": { - "$id": "10033", + "$id": "10241", "kind": "union", "name": "", "variantTypes": [ { - "$id": "10034", + "$id": "10242", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -136234,7 +138965,7 @@ "decorators": [] }, { - "$id": "10035", + "$id": "10243", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136249,14 +138980,14 @@ "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2362" + "$ref": "2472" } }, { "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2364" + "$ref": "2474" } } ], @@ -136279,13 +139010,13 @@ }, "parameters": [ { - "$id": "10036", + "$id": "10244", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video whose media to download.", "type": { - "$id": "10037", + "$id": "10245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136301,13 +139032,13 @@ "decorators": [] }, { - "$id": "10038", + "$id": "10246", "kind": "method", "name": "variant", "serializedName": "variant", "doc": "Which downloadable asset to return. Defaults to the MP4 video.", "type": { - "$ref": "10026" + "$ref": "10234" }, "location": "Query", "isApiVersion": false, @@ -136319,12 +139050,12 @@ "decorators": [] }, { - "$id": "10039", + "$id": "10247", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "10032" + "$ref": "10240" }, "location": "Header", "isApiVersion": false, @@ -136338,7 +139069,7 @@ ], "response": { "type": { - "$ref": "10033" + "$ref": "10241" } }, "isOverride": false, @@ -136347,7 +139078,7 @@ "crossLanguageDefinitionId": "OpenAI.RetrieveVideoContent" }, { - "$id": "10040", + "$id": "10248", "kind": "basic", "name": "CreateVideoRemix", "accessibility": "public", @@ -136355,7 +139086,7 @@ "doc": "Create a video remix", "summary": "Remix video", "operation": { - "$id": "10041", + "$id": "10249", "name": "CreateVideoRemix", "resourceName": "OpenAI", "summary": "Remix video", @@ -136363,13 +139094,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10042", + "$id": "10250", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the completed video to remix.", "type": { - "$id": "10043", + "$id": "10251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136387,12 +139118,12 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.video_id" }, { - "$id": "10044", + "$id": "10252", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2366" + "$ref": "2476" }, "isApiVersion": false, "optional": false, @@ -136403,12 +139134,12 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.contentType" }, { - "$id": "10045", + "$id": "10253", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2368" + "$ref": "2478" }, "isApiVersion": false, "optional": false, @@ -136419,12 +139150,12 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.accept" }, { - "$id": "10046", + "$id": "10254", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "10047", + "$id": "10255", "kind": "model", "name": "CreateVideoRemixBody", "namespace": "OpenAI", @@ -136435,18 +139166,18 @@ "decorators": [], "properties": [ { - "$id": "10048", + "$id": "10256", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Updated text prompt that directs the remix generation.", "type": { - "$id": "10049", + "$id": "10257", "kind": "string", "name": "VideoPrompt", "crossLanguageDefinitionId": "OpenAI.VideoPrompt", "baseType": { - "$id": "10050", + "$id": "10258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136493,7 +139224,7 @@ 200 ], "bodyType": { - "$ref": "9921" + "$ref": "10129" }, "headers": [], "isErrorResponse": false, @@ -136516,13 +139247,13 @@ }, "parameters": [ { - "$id": "10051", + "$id": "10259", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the completed video to remix.", "type": { - "$id": "10052", + "$id": "10260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136538,12 +139269,12 @@ "decorators": [] }, { - "$id": "10053", + "$id": "10261", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2370" + "$ref": "2480" }, "location": "Header", "isApiVersion": false, @@ -136555,12 +139286,12 @@ "decorators": [] }, { - "$id": "10054", + "$id": "10262", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "10047" + "$ref": "10255" }, "location": "Body", "isApiVersion": false, @@ -136572,12 +139303,12 @@ "decorators": [] }, { - "$id": "10055", + "$id": "10263", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2368" + "$ref": "2478" }, "location": "Header", "isApiVersion": false, @@ -136591,7 +139322,7 @@ ], "response": { "type": { - "$ref": "9921" + "$ref": "10129" } }, "isOverride": false, @@ -136602,13 +139333,13 @@ ], "parameters": [ { - "$id": "10056", + "$id": "10264", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10057", + "$id": "10265", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -136619,7 +139350,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10058", + "$id": "10266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -136637,7 +139368,7 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8281" + "$ref": "8485" } } ]